/* style/promotions.css */

/* Biến CSS */
:root {
    --x8bet-primary: #0A2239; /* Deep Blue */
    --x8bet-accent: #E0B300;  /* Gold */
    --x8bet-light-text: #F8F8F8;
    --x8bet-dark-text: #1a1a1a;
    --x8bet-grey-bg: #f4f4f4;
    --x8bet-dark-grey: #333;
}

/* Base styles for page-promotions */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--x8bet-dark-text);
    line-height: 1.6;
    background-color: var(--x8bet-grey-bg);
}

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

.page-promotions__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-promotions__section:nth-of-type(even) {
    background-color: #e9e9e9;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--x8bet-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--x8bet-accent);
    border-radius: 2px;
}

.page-promotions__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-promotions__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-promotions__list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--x8bet-accent);
    font-size: 1.2em;
    line-height: 1;
}

.page-promotions__list--compact li {
    margin-bottom: 8px;
    font-size: 1em;
}

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

.page-promotions__btn--primary {
    background-color: var(--x8bet-accent);
    color: var(--x8bet-primary);
    font-size: 1.1em;
}

.page-promotions__btn--primary:hover {
    background-color: #ffc928; /* Lighter gold */
    color: var(--x8bet-dark-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn--secondary {
    background-color: var(--x8bet-primary);
    color: var(--x8bet-accent);
    border: 2px solid var(--x8bet-accent);
    font-size: 0.95em;
}

.page-promotions__btn--secondary:hover {
    background-color: var(--x8bet-accent);
    color: var(--x8bet-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn--link {
    background: none;
    color: var(--x8bet-primary);
    border: none;
    padding: 0;
    text-decoration: underline;
    font-weight: normal;
}

.page-promotions__btn--link:hover {
    color: var(--x8bet-accent);
    text-decoration: none;
}

.page-promotions__btn--large {
    padding: 15px 35px;
    font-size: 1.3em;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, var(--x8bet-primary) 0%, #1a3a5a 100%);
    color: var(--x8bet-light-text);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-promotions__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--x8bet-accent);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-promotions__intro p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Categories Section (Grid for promotion cards) */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--x8bet-primary);
    margin-bottom: 15px;
}

.page-promotions__card-description {
    font-size: 1em;
    color: var(--x8bet-dark-grey);
    margin-bottom: 25px;
    flex-grow: 1;
    text-align: justify;
}

/* How-to-claim section */
.page-promotions__steps-list {
    list-style: none;
    padding-left: 0;
}

.page-promotions__steps-list li {
    background-color: #fff;
    border-left: 5px solid var(--x8bet-accent);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
}

.page-promotions__steps-list li strong {
    color: var(--x8bet-primary);
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__detail-pages {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.page-promotions__detail-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.page-promotions__detail-title {
    font-size: 1.8em;
    color: var(--x8bet-primary);
    margin-bottom: 15px;
}

.page-promotions__detail-title a {
    color: var(--x8bet-primary);
    text-decoration: none;
}

.page-promotions__detail-title a:hover {
    color: var(--x8bet-accent);
    text-decoration: underline;
}

.page-promotions__detail-description {
    font-size: 1em;
    color: var(--x8bet-dark-grey);
    margin-bottom: 20px;
    text-align: justify;
}

/* Why x8bet Section */
.page-promotions__why-x8bet p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Final CTA Section */
.page-promotions__cta-final {
    background: linear-gradient(45deg, var(--x8bet-accent) 0%, #ffc928 100%);
    color: var(--x8bet-primary);
    text-align: center;
    padding: 80px 20px;
}

.page-promotions__cta-final-content {
    max-width: 900px;
}

.page-promotions__cta-final .page-promotions__section-title {
    color: var(--x8bet-primary);
    margin-bottom: 25px;
}

.page-promotions__cta-final .page-promotions__section-title::after {
    background-color: var(--x8bet-primary);
}

.page-promotions__cta-final p {
    font-size: 1.2em;
    margin-bottom: 35px;
    color: var(--x8bet-dark-grey);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

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

    .page-promotions__card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 60px 15px;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-promotions__btn--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-promotions__list li {
        font-size: 1em;
        padding-left: 25px;
    }

    .page-promotions__list li::before {
        font-size: 1em;
    }

    .page-promotions__steps-list li {
        padding: 15px;
        font-size: 1em;
    }

    .page-promotions__steps-list li strong {
        font-size: 1.1em;
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-title {
        font-size: 1.3em;
    }

    .page-promotions__card-description {
        font-size: 0.9em;
    }

    .page-promotions__detail-card {
        padding: 25px;
    }

    .page-promotions__detail-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }

    .page-promotions__section-title {
        font-size: 1.5em;
    }

    .page-promotions__grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card-image {
        height: 150px;
    }

    .page-promotions__card-title {
        font-size: 1.2em;
    }

    .page-promotions__btn--large {
        font-size: 1em;
        padding: 10px 20px;
    }

    .page-promotions__cta-final p {
        font-size: 1em;
    }
}