/* style/promotions.css */

/* Biến CSS */
:root {
    --page-promotions-primary-color: #0A2463;
    --page-promotions-secondary-color: #E0B94A;
    --page-promotions-text-light: #F8F8F8; /* Sáng hơn cho nền tối */
    --page-promotions-text-dark: #2C3E50; /* Tối hơn cho nền sáng */
    --page-promotions-background-dark: #0A2463;
    --page-promotions-background-light: #F0F2F5;
    --page-promotions-accent-color: #E0B94A;
    --page-promotions-card-bg: #FFFFFF;
    --page-promotions-border-color: #E0E0E0;
    --page-promotions-shadow-color: rgba(0, 0, 0, 0.1);
}

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

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

/* Hero Section */
.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-background-dark) 0%, #1A3A70 100%);
    color: var(--page-promotions-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions__hero-section .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-promotions-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* General Button Styles */
.page-promotions__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    text-align: center;
}

.page-promotions__button--primary {
    background-color: var(--page-promotions-accent-color);
    color: var(--page-promotions-background-dark);
    box-shadow: 0 4px 15px var(--page-promotions-shadow-color);
}

.page-promotions__button--primary:hover {
    background-color: #F0CC60; /* Slightly lighter gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--page-promotions-shadow-color);
}

.page-promotions__button--secondary {
    background-color: var(--page-promotions-background-dark);
    color: var(--page-promotions-accent-color);
    border: 2px solid var(--page-promotions-accent-color);
}

.page-promotions__button--secondary:hover {
    background-color: var(--page-promotions-accent-color);
    color: var(--page-promotions-background-dark);
    transform: translateY(-3px);
}

.page-promotions__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__button--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section Titles */
.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    text-align: center;
    margin-bottom: 30px;
    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(--page-promotions-accent-color);
    border-radius: 2px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--page-promotions-text-dark);
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-promotions-text-dark);
}

.page-promotions__highlight {
    color: var(--page-promotions-primary-color);
    font-weight: bold;
}

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

.page-promotions__inline-link:hover {
    text-decoration: underline;
}

/* Intro Section */
.page-promotions__intro-section,
.page-promotions__selection-guide,
.page-promotions__responsible-gambling {
    padding: 60px 0;
    background-color: var(--page-promotions-card-bg);
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.page-promotions__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-promotions__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--page-promotions-shadow-color);
}

.page-promotions__image-wrapper--right {
    float: right;
    margin-left: 30px;
    max-width: 40%;
}

/* Types Section (Cards) */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: var(--page-promotions-background-light);
}

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

.page-promotions__card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--page-promotions-shadow-color);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

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

.page-promotions__card-text {
    font-size: 1em;
    color: var(--page-promotions-text-dark);
    margin-bottom: 25px;
}

/* List Styles */
.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-promotions__list li {
    background-color: var(--page-promotions-background-light);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--page-promotions-accent-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--page-promotions-text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.page-promotions__list li:hover {
    transform: translateX(5px);
}

.page-promotions__list strong {
    color: var(--page-promotions-primary-color);
}

/* Detail Offers Section */
.page-promotions__detail-offers {
    padding: 80px 0;
    background-color: var(--page-promotions-card-bg);
}

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

.page-promotions__offer-card {
    background-color: var(--page-promotions-background-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promotions__offer-title {
    font-size: 1.6em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
}

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

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

.page-promotions__offer-description {
    font-size: 1em;
    color: var(--page-promotions-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* CTA Section */
.page-promotions__cta-section {
    background: linear-gradient(45deg, var(--page-promotions-primary-color) 0%, #1a3a70 100%);
    color: var(--page-promotions-text-light);
    padding: 80px 0;
    text-align: center;
    margin-top: 50px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: var(--page-promotions-text-light);
}

.page-promotions__cta-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-accent-color);
}

.page-promotions__cta-section .page-promotions__text-content {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-promotions__hero-subtitle {
        font-size: 1.2em;
    }

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

    .page-promotions__image-wrapper--right {
        float: none;
        margin: 30px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 80px 0;
    }

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

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

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

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

    .page-promotions__button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-promotions__button--large {
        padding: 15px 30px;
        font-size: 1em;
    }

    .page-promotions__intro-section,
    .page-promotions__selection-guide,
    .page-promotions__responsible-gambling,
    .page-promotions__types-section,
    .page-promotions__detail-offers,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
}

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

    .page-promotions__hero-subtitle {
        font-size: 0.9em;
    }

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

    .page-promotions__button {
        width: 100%;
        box-sizing: border-box;
    }
}