/* style/promotions.css */

/* Biến CSS */
:root {
    --page-promotions-primary-color: #4A2780;
    --page-promotions-secondary-color: #FFD700;
    --page-promotions-text-light: #f0f0f0;
    --page-promotions-text-dark: #333;
    --page-promotions-background-light: #f9f9f9;
    --page-promotions-background-dark: #2c164b;
    --page-promotions-border-color: #e0e0e0;
}

.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;
}

.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-primary-color) 0%, #6a3e9c 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,pattern,fi88]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.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);
    position: relative;
    z-index: 1;
}

.page-promotions__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}

.page-promotions__btn--primary {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

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

.page-promotions__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    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(--page-promotions-secondary-color);
    border-radius: 2px;
}

.page-promotions__section-description {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: -20px auto 60px auto;
    color: #555;
}

.page-promotions__intro-section, 
.page-promotions__why-choose-section, 
.page-promotions__list-section, 
.page-promotions__how-to-claim-section, 
.page-promotions__responsible-gambling-section, 
.page-promotions__final-cta-section {
    padding: 80px 0;
}

.page-promotions__intro-section {
    background-color: var(--page-promotions-background-light);
}

.page-promotions__intro-content p {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__image-full-width {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__why-choose-section {
    background-color: var(--page-promotions-background-dark);
    color: var(--page-promotions-text-light);
}

.page-promotions__why-choose-section .page-promotions__section-title {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__why-choose-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-text-light);
}

.page-promotions__why-choose-section .page-promotions__section-description {
    color: #ccc;
}

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

.page-promotions__feature-item {
    background-color: #5d3395; /* Slightly lighter primary for card background */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-10px);
    background-color: #6a3e9c;
}

.page-promotions__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

.page-promotions__feature-item h3 {
    font-size: 1.6em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    font-size: 1em;
    color: #e0e0e0;
}

.page-promotions__list-section {
    background-color: var(--page-promotions-background-light);
}

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

.page-promotions__promotion-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__how-to-claim-section {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-light);
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__how-to-claim-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-text-light);
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: #e0e0e0;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 50px auto;
}

.page-promotions__steps-list li {
    background-color: #5d3395;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    position: relative;
}

.page-promotions__steps-list li strong {
    color: var(--page-promotions-secondary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions__steps-list li::before {
    content: attr(data-step);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__steps-list li:nth-child(1)::before { content: '1'; }
.page-promotions__steps-list li:nth-child(2)::before { content: '2'; }
.page-promotions__steps-list li:nth-child(3)::before { content: '3'; }
.page-promotions__steps-list li:nth-child(4)::before { content: '4'; }
.page-promotions__steps-list li:nth-child(5)::before { content: '5'; }

.page-promotions__text-link {
    color: var(--page-promotions-secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
    color: #fff;
}

.page-promotions__cta-text {
    text-align: center;
    font-size: 1.3em;
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--page-promotions-secondary-color);
}

.page-promotions__responsible-gambling-section {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.page-promotions__responsible-gambling-section p {
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
    font-size: 1em;
    color: #555;
}

.page-promotions__final-cta-section {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-promotions__final-cta-section .page-promotions__section-title {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__final-cta-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-text-light);
}

.page-promotions__final-cta-section .page-promotions__section-description {
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Floating Promotion Button */
.page-promotions__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.page-promotions__floating-promo:hover {
    transform: scale(1.05);
    background-color: #e6c200;
}

.page-promotions__floating-promo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--page-promotions-primary-color);
    text-decoration: none;
}

.page-promotions__floating-promo-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0.8);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-promotions__intro-section, 
    .page-promotions__why-choose-section, 
    .page-promotions__list-section, 
    .page-promotions__how-to-claim-section, 
    .page-promotions__responsible-gambling-section, 
    .page-promotions__final-cta-section {
        padding: 60px 0;
    }
    .page-promotions__steps-list li {
        font-size: 1em;
        padding: 20px 25px;
    }
    .page-promotions__steps-list li::before {
        left: -15px;
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .page-promotions__floating-promo {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-promotions__floating-promo-icon {
        width: 25px;
        height: 25px;
    }
}

@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.8em;
    }
    .page-promotions__section-description {
        font-size: 0.9em;
    }
    .page-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__promotion-card {
        margin-bottom: 20px;
    }
    .page-promotions__steps-list li {
        font-size: 0.95em;
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .page-promotions__steps-list li strong {
        margin-bottom: 5px;
    }
    .page-promotions__steps-list li::before {
        position: static;
        transform: none;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    .page-promotions__floating-promo {
        padding: 6px 12px;
        font-size: 0.8em;
        bottom: 10px;
        right: 10px;
    }
    .page-promotions__floating-promo-icon {
        width: 20px;
        height: 20px;
    }
}