/* style/index-latest-promotions.css */

/* Variables for colors */
:root {
    --page-main-color: #003366; /* Deep Navy Blue */
    --page-accent-color: #FFD700; /* Bright Gold */
    --page-text-light: #ffffff;
    --page-text-dark: #333333;
    --page-background-light: #f9f9f9;
    --page-background-dark: #002244;
    --page-border-color: #e0e0e0;
}

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

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

.page-index-latest-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-promotions__section--why-choose, 
.page-index-latest-promotions__section--how-to-claim, 
.page-index-latest-promotions__section--tips,
.page-index-latest-promotions__section--faq {
    background-color: var(--page-background-light);
}

.page-index-latest-promotions__section--promotions-list,
.page-index-latest-promotions__section--games {
    background-color: var(--page-background-dark);
    color: var(--page-text-light);
}

.page-index-latest-promotions__section--terms {
    background-color: var(--page-background-light);
}

.page-index-latest-promotions__section-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: var(--page-main-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-latest-promotions__section--promotions-list .page-index-latest-promotions__section-title,
.page-index-latest-promotions__section--games .page-index-latest-promotions__section-title {
    color: var(--page-accent-color);
}

.page-index-latest-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-dark);
}

.page-index-latest-promotions__section--promotions-list .page-index-latest-promotions__text-content,
.page-index-latest-promotions__section--games .page-index-latest-promotions__text-content {
    color: var(--page-text-light);
}

.page-index-latest-promotions__text-content--center {
    text-align: center;
}

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

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

.page-index-latest-promotions__hero-subtitle {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-index-latest-promotions__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-index-latest-promotions__btn--secondary {
    background-color: var(--page-main-color);
    color: var(--page-text-light);
    border: 2px solid var(--page-accent-color);
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: var(--page-accent-color);
    color: var(--page-main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-latest-promotions__btn--step {
    background-color: var(--page-main-color);
    color: var(--page-text-light);
    border: 1px solid var(--page-accent-color);
    padding: 10px 25px;
    font-size: 0.95em;
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-index-latest-promotions__btn--step:hover {
    background-color: var(--page-accent-color);
    color: var(--page-main-color);
}

.page-index-latest-promotions__btn--ghost {
    background: transparent;
    color: var(--page-accent-color);
    border: 2px solid var(--page-accent-color);
    margin-left: 20px;
}

.page-index-latest-promotions__btn--ghost:hover {
    background-color: var(--page-accent-color);
    color: var(--page-main-color);
    transform: translateY(-3px);
}

.page-index-latest-promotions__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 6px;
    background-color: var(--page-accent-color);
    color: var(--page-main-color);
    font-weight: 600;
}

.page-index-latest-promotions__btn--small:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Feature List */
.page-index-latest-promotions__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
}

.page-index-latest-promotions__feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    color: var(--page-text-dark);
}

.page-index-latest-promotions__icon {
    margin-right: 15px;
    font-size: 1.4em;
    color: var(--page-accent-color);
    flex-shrink: 0;
}

.page-index-latest-promotions__icon--check::before {
    content: '✔'; /* Unicode checkmark */
}

.page-index-latest-promotions__img--large {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions__img--medium {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Promotion Cards */
.page-index-latest-promotions__promotion-card {
    background-color: var(--page-main-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-text-light);
    border: 1px solid var(--page-accent-color);
}

.page-index-latest-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-index-latest-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index-latest-promotions__card-title {
    font-size: 1.8em;
    color: var(--page-accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-promotions__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-index-latest-promotions__card-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__card-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-index-latest-promotions__icon--star::before {
    content: '★'; /* Unicode star */
    color: var(--page-accent-color);
    margin-right: 10px;
    font-size: 1.2em;
    flex-shrink: 0;
}

/* How-To-Claim Steps */
.page-index-latest-promotions__step-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-index-latest-promotions__step-list li {
    background-color: #ffffff;
    border: 1px solid var(--page-border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    counter-increment: step-counter;
    padding-left: 70px; /* Space for step number */
}

.page-index-latest-promotions__step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--page-main-color);
    color: var(--page-accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid var(--page-accent-color);
}

.page-index-latest-promotions__step-title {
    font-size: 1.5em;
    color: var(--page-main-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-index-latest-promotions__step-list p {
    font-size: 1em;
    color: var(--page-text-dark);
    margin-bottom: 10px;
}

/* Terms & Tips Lists */
.page-index-latest-promotions__text-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-index-latest-promotions__text-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-text-dark);
}

.page-index-latest-promotions__section--terms .page-index-latest-promotions__text-list li {
    color: var(--page-text-dark);
}

.page-index-latest-promotions__section--tips .page-index-latest-promotions__text-list li {
    color: var(--page-text-dark);
}

.page-index-latest-promotions__icon--info::before {
    content: 'ℹ️'; /* Unicode info icon */
    font-size: 1.3em;
    margin-right: 15px;
    color: var(--page-main-color);
    flex-shrink: 0;
}

.page-index-latest-promotions__icon--lightbulb::before {
    content: '💡'; /* Unicode lightbulb icon */
    font-size: 1.3em;
    margin-right: 15px;
    color: var(--page-accent-color);
    flex-shrink: 0;
}

/* Game Grid */
.page-index-latest-promotions__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions__game-item {
    background-color: var(--page-main-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index-latest-promotions__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-index-latest-promotions__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-latest-promotions__game-title {
    font-size: 1.6em;
    color: var(--page-accent-color);
    margin-bottom: 10px;
}

.page-index-latest-promotions__game-description {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__center-btn {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-index-latest-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--page-border-color);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions__faq-question {
    font-size: 1.3em;
    color: var(--page-main-color);
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-latest-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-accent-color);
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-latest-promotions__faq-answer {
    font-size: 1em;
    color: var(--page-text-dark);
    margin-top: 0;
    display: none;
    padding-top: 10px;
    border-top: 1px dashed var(--page-border-color);
}

.page-index-latest-promotions__faq-answer.active {
    display: block;
}

/* Bottom CTA */
.page-index-latest-promotions__cta-bottom {
    background: linear-gradient(90deg, var(--page-main-color) 0%, var(--page-background-dark) 100%);
    color: var(--page-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-index-latest-promotions__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-latest-promotions__cta-title {
    font-size: 2.5em;
    color: var(--page-accent-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-latest-promotions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

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

    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-latest-promotions__section-title {
        font-size: 2.2em;
    }

    .page-index-latest-promotions__promotion-card {
        padding: 25px;
    }

    .page-index-latest-promotions__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero {
        padding: 80px 0;
    }
    .page-index-latest-promotions__hero-title {
        font-size: 2.2em;
    }

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

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

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

    .page-index-latest-promotions__text-content,
    .page-index-latest-promotions__feature-list li,
    .page-index-latest-promotions__card-description,
    .page-index-latest-promotions__card-details li,
    .page-index-latest-promotions__step-list p,
    .page-index-latest-promotions__text-list li,
    .page-index-latest-promotions__game-description,
    .page-index-latest-promotions__faq-answer,
    .page-index-latest-promotions__cta-description {
        font-size: 0.95em;
    }

    .page-index-latest-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-latest-promotions__btn--ghost {
        margin-left: 10px;
    }

    .page-index-latest-promotions__feature-list,
    .page-index-latest-promotions__text-list,
    .page-index-latest-promotions__step-list {
        margin: 20px auto;
        padding: 0 10px;
    }

    .page-index-latest-promotions__step-list li {
        padding: 20px 20px 20px 60px;
    }

    .page-index-latest-promotions__step-list li::before {
        left: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }

    .page-index-latest-promotions__img--large,
    .page-index-latest-promotions__img--medium {
        max-width: 100%;
    }

    .page-index-latest-promotions__cta-title {
        font-size: 2em;
    }
}

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

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

    .page-index-latest-promotions__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-index-latest-promotions__btn--ghost {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .page-index-latest-promotions__section-title {
        font-size: 1.6em;
    }

    .page-index-latest-promotions__promotion-card,
    .page-index-latest-promotions__game-item,
    .page-index-latest-promotions__faq-item {
        padding: 20px;
    }

    .page-index-latest-promotions__card-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions__game-title {
        font-size: 1.4em;
    }

    .page-index-latest-promotions__cta-title {
        font-size: 1.8em;
    }
}