/* style/promotions.css */

/* Custom Color Variables */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-bg-card: #11271B;
    --color-bg-main: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-promotions {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-bg-main); /* Body background is dark, so page content default is dark */
    line-height: 1.6;
    padding-top: 0; /* body already handles padding-top */
}

/* Highlight for keywords */
.page-promotions .highlight {
    color: var(--color-gold);
    font-weight: bold;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for visual spacing, not for header offset */
    background-color: var(--color-bg-main);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Max width of the image container */
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-promotions__hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--color-text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.page-promotions__intro-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
}

.page-promotions__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: justify;
}

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

.page-promotions__light-bg {
    background-color: #0d1e15; /* A slightly lighter dark green for contrast */
    color: var(--color-text-main);
}

.page-promotions__dark-bg {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
}

/* Card Grid */
.page-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions__card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card look */
    object-fit: cover;
    display: block;
}

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

.page-promotions__card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.page-promotions__card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-button {
    margin-top: auto;
    width: 100%;
}

/* How to Claim Section */
.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__step-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-promotions__cta-buttons--center {
    margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--color-border);
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}
.page-promotions__faq-question::marker {
    display: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-align: justify;
}

/* Final CTA Section */
.page-promotions__cta-final-content {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Terms and Conditions Section */
.page-promotions__terms-section {
    padding: 40px 20px;
    background-color: #0d1e15;
    color: var(--color-text-secondary);
    text-align: center;
}

.page-promotions__terms-section .page-promotions__section-title {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-promotions__terms-section p {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    text-align: center;
}

.page-promotions__terms-section a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__terms-section a:hover {
    color: var(--color-gold);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 700px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    /* Mobile image responsive adaptation */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__hero-image-wrapper,
    .page-promotions__welcome-bonus-section,
    .page-promotions__sports-promo-section,
    .page-promotions__casino-slot-section,
    .page-promotions__special-events-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-promotions__intro-description {
        font-size: 1rem;
    }

    /* Mobile button responsive adaptation */
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-direction: column !important;
        gap: 15px !important;
        overflow: hidden !important;
    }

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

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

    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__step-title {
        font-size: 1.2rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }

    /* Video responsive adaptation (if any video is added) */
    .page-promotions video,
    .page-promotions__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}