/* style/promotions.css */

/* Biến CSS */
:root {
    --page-promotions-primary-color: #1A2B4C;
    --page-promotions-secondary-color: #FFD700;
    --page-promotions-text-light: #F0F0F0;
    --page-promotions-text-dark: #333333;
    --page-promotions-background-light: #FFFFFF;
    --page-promotions-background-dark: #0F1D30;
    --page-promotions-border-color: #e0e0e0;
    --page-promotions-link-color: #FFD700;
    --page-promotions-link-hover-color: #e5c100;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--page-promotions-text-dark);
    line-height: 1.6;
    background-color: var(--page-promotions-background-light);
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, var(--page-promotions-primary-color), #0F1D30);
    color: var(--page-promotions-text-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-promotions-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.page-promotions__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
}

.page-promotions__btn--primary {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__btn--primary:hover {
    background-color: var(--page-promotions-link-hover-color);
    border-color: var(--page-promotions-link-hover-color);
    transform: translateY(-2px);
}

.page-promotions__btn--secondary {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-secondary-color);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__btn--secondary:hover {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    transform: translateY(-2px);
}

.page-promotions__btn--tertiary {
    background-color: transparent;
    color: var(--page-promotions-primary-color);
    border: 2px solid var(--page-promotions-primary-color);
    padding: 10px 25px;
    font-size: 1em;
}

.page-promotions__btn--tertiary:hover {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-secondary-color);
    transform: translateY(-2px);
}

.page-promotions__text-link {
    color: var(--page-promotions-link-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__text-link:hover {
    text-decoration: underline;
    color: var(--page-promotions-link-hover-color);
}

/* Intro Section */
.page-promotions__intro {
    padding: 60px 0;
    background-color: var(--page-promotions-background-light);
    text-align: center;
}

.page-promotions__intro-title {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 20px;
}

.page-promotions__intro-text {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--page-promotions-text-dark);
}

/* Categories Section */
.page-promotions__categories {
    padding: 80px 0;
    background-color: var(--page-promotions-background-dark);
    color: var(--page-promotions-text-light);
    text-align: center;
}

.page-promotions__categories-title {
    font-size: 2.8em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 20px;
}

.page-promotions__categories-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__promo-card {
    background-color: var(--page-promotions-primary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.page-promotions__promo-title {
    font-size: 1.8em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Detail List Section */
.page-promotions__detail-list {
    padding: 80px 0;
    background-color: var(--page-promotions-background-light);
    text-align: center;
}

.page-promotions__detail-list-title {
    font-size: 2.8em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 20px;
}

.page-promotions__detail-list-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--page-promotions-text-dark);
}

.page-promotions__detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__detail-card {
    background-color: #f9f9f9;
    border: 1px solid var(--page-promotions-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__detail-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-promotions__detail-card-title a {
    color: var(--page-promotions-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__detail-card-title a:hover {
    color: var(--page-promotions-link-color);
    text-decoration: underline;
}

.page-promotions__detail-card-description {
    font-size: 1em;
    color: var(--page-promotions-text-dark);
    margin-bottom: 20px;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-light);
    text-align: center;
}

.page-promotions__how-to-claim-title {
    font-size: 2.8em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 20px;
}

.page-promotions__how-to-claim-intro {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-promotions__steps li {
    background-color: #0F1D30;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--page-promotions-secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.page-promotions__step-icon img {
    width: 50px;
    height: 50px;
    filter: invert(10%) sepia(100%) saturate(7000%) hue-rotate(200deg) brightness(50%); /* Darken gold icon for contrast */
}

.page-promotions__step-title {
    font-size: 1.8em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
}

.page-promotions__step-description a {
    color: var(--page-promotions-link-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
    color: var(--page-promotions-link-hover-color);
}

.page-promotions__cta-bottom {
    margin-top: 30px;
    font-size: 1.2em;
}

/* FAQ Section */
.page-promotions__faq {
    padding: 80px 0;
    background-color: var(--page-promotions-background-light);
}

.page-promotions__faq-title {
    font-size: 2.8em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.page-promotions__accordion-item {
    border: 1px solid var(--page-promotions-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions__accordion-header {
    width: 100%;
    background-color: #f0f0f0;
    color: var(--page-promotions-primary-color);
    padding: 18px 25px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions__accordion-header:hover {
    background-color: #e5e5e5;
}

.page-promotions__accordion-header::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions__accordion-header.active::after {
    content: '\2212'; /* Minus sign */
    transform: rotate(180deg);
}

.page-promotions__accordion-content {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.page-promotions__accordion-content p {
    padding: 15px 0;
    margin: 0;
    color: var(--page-promotions-text-dark);
    font-size: 1em;
}

/* Responsible Gaming Section */
.page-promotions__responsible-gaming {
    padding: 80px 0;
    background-color: var(--page-promotions-background-dark);
    color: var(--page-promotions-text-light);
    text-align: center;
}

.page-promotions__responsible-gaming-title {
    font-size: 2.8em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 20px;
}

.page-promotions__responsible-gaming-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.85);
}

/* Final CTA Section */
.page-promotions__cta-final {
    padding: 80px 0;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    text-align: center;
}

.page-promotions__cta-final-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__cta-final-text {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-promotions-primary-color);
}

.page-promotions__cta-final-text a {
    color: var(--page-promotions-primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__cta-final-text a:hover {
    color: #0F1D30;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-subtitle,
    .page-promotions__intro-text,
    .page-promotions__categories-description,
    .page-promotions__detail-list-description,
    .page-promotions__how-to-claim-intro,
    .page-promotions__responsible-gaming-text,
    .page-promotions__cta-final-text {
        font-size: 1.1em;
    }
    .page-promotions__intro-title,
    .page-promotions__categories-title,
    .page-promotions__detail-list-title,
    .page-promotions__how-to-claim-title,
    .page-promotions__faq-title,
    .page-promotions__responsible-gaming-title,
    .page-promotions__cta-final-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 60px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-promotions__intro,
    .page-promotions__categories,
    .page-promotions__detail-list,
    .page-promotions__how-to-claim,
    .page-promotions__faq,
    .page-promotions__responsible-gaming,
    .page-promotions__cta-final {
        padding: 50px 0;
    }
    .page-promotions__grid,
    .page-promotions__detail-grid,
    .page-promotions__steps {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-title,
    .page-promotions__detail-card-title,
    .page-promotions__step-title {
        font-size: 1.5em;
    }
    .page-promotions__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__intro-title,
    .page-promotions__categories-title,
    .page-promotions__detail-list-title,
    .page-promotions__how-to-claim-title,
    .page-promotions__faq-title,
    .page-promotions__responsible-gaming-title,
    .page-promotions__cta-final-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle,
    .page-promotions__intro-text,
    .page-promotions__categories-description,
    .page-promotions__detail-list-description,
    .page-promotions__how-to-claim-intro,
    .page-promotions__responsible-gaming-text,
    .page-promotions__cta-final-text {
        font-size: 0.95em;
    }
    .page-promotions__btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .page-promotions__promo-content, .page-promotions__detail-card, .page-promotions__steps li {
        padding: 20px;
    }
    .page-promotions__accordion-header {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-promotions__accordion-content p {
        padding: 10px 0;
    }
}