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

/* Base styles for the page content */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFFFFF; /* Default text color for dark sections */
    background-color: #0A2239; /* Main background color */
}

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

/* Hero Section */
.page-index-latest-promotions__hero {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A5A 100%); /* Dark blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-index-latest-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    font-weight: bold;
}

.page-index-latest-promotions__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F8F8F8; /* Slightly off-white for readability */
}

.page-index-latest-promotions__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.page-index-latest-promotions__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2239; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    border-color: #E6C200;
}

.page-index-latest-promotions__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
}

.page-index-latest-promotions__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #0A2239;
    border: none;
}

.page-index-latest-promotions__btn--small:hover {
    background-color: #E6C200;
}

/* Section Titles */
.page-index-latest-promotions__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
    font-weight: bold;
}

.page-index-latest-promotions__section-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #F8F8F8;
}

/* Promotions Grid */
.page-index-latest-promotions__promotions-grid {
    padding: 80px 0;
    background-color: #0A2239;
}

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

.page-index-latest-promotions__promo-card {
    background-color: #1A3A5A; /* Slightly lighter dark blue for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-latest-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-index-latest-promotions__promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-promotions__promo-text {
    font-size: 1em;
    color: #F8F8F8;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Join Section */
.page-index-latest-promotions__why-join {
    padding: 80px 0;
    background-color: #0F2A43; /* A slightly different dark blue */
}

.page-index-latest-promotions__why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions__why-item {
    text-align: center;
    background-color: #1A3A5A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700); /* Gold glow */
}

.page-index-latest-promotions__why-item-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-latest-promotions__why-item-text {
    font-size: 1em;
    color: #F8F8F8;
}

/* Call to Action (CTA) Section */
.page-index-latest-promotions__cta {
    background: linear-gradient(90deg, #FFD700 0%, #E6C200 100%); /* Gold gradient */
    padding: 80px 0;
    text-align: center;
    color: #0A2239; /* Dark blue text on gold background */
}

.page-index-latest-promotions__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0A2239;
    font-weight: bold;
}

.page-index-latest-promotions__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #222222; /* Darker text for better contrast on gold */
}

.page-index-latest-promotions__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__btn--primary {
    background-color: #0A2239; /* Dark blue */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A2239;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__btn--primary:hover {
    background-color: #1A3A5A; /* Slightly lighter dark blue */
    border-color: #1A3A5A;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__btn--secondary {
    background-color: transparent;
    color: #0A2239; /* Dark blue text */
    border: 2px solid #0A2239;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__btn--secondary:hover {
    background-color: #0A2239;
    color: #FFD700;
}

/* FAQ Section */
.page-index-latest-promotions__faq {
    padding: 80px 0;
    background-color: #0A2239;
}

.page-index-latest-promotions__faq-list {
    margin-top: 40px;
}

.page-index-latest-promotions__faq-item {
    background-color: #1A3A5A;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-index-latest-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* Change to minus sign */
}

.page-index-latest-promotions__faq-answer {
    font-size: 1em;
    color: #F8F8F8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.page-index-latest-promotions__faq-answer.active {
    max-height: 500px; /* Adjust as needed for expanded content */
    opacity: 1;
    margin-top: 15px;
}

/* Responsible Gaming Section */
.page-index-latest-promotions__responsible-gaming {
    padding: 60px 0 80px 0;
    background-color: #0F2A43;
    text-align: center;
}

.page-index-latest-promotions__responsible-gaming .page-index-latest-promotions__section-title {
    color: #FFD700;
    padding-top: 0;
}

.page-index-latest-promotions__text {
    font-size: 1.1em;
    color: #F8F8F8;
    max-width: 900px;
    margin: 0 auto 20px auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-latest-promotions__hero-title {
        font-size: 3em;
    }
    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.3em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero {
        padding: 80px 0;
    }
    .page-index-latest-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-latest-promotions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-latest-promotions__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-index-latest-promotions__grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions__promo-title {
        font-size: 1.4em;
    }
    .page-index-latest-promotions__promo-text {
        font-size: 0.9em;
    }
    .page-index-latest-promotions__cta-title {
        font-size: 2em;
    }
    .page-index-latest-promotions__cta-text {
        font-size: 1.1em;
    }
    .page-index-latest-promotions__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-latest-promotions__why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__hero {
        padding: 60px 0;
    }
    .page-index-latest-promotions__hero-title {
        font-size: 2em;
    }
    .page-index-latest-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-latest-promotions__btn {
        width: 90%;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions__section-description {
        font-size: 0.9em;
    }
    .page-index-latest-promotions__promo-title {
        font-size: 1.2em;
    }
    .page-index-latest-promotions__promo-text {
        font-size: 0.9em;
    }
    .page-index-latest-promotions__cta-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__cta-text {
        font-size: 1em;
    }
    .page-index-latest-promotions__faq-question {
        font-size: 1.1em;
    }
    .page-index-latest-promotions__faq-answer {
        font-size: 0.9em;
    }
}