/* style/promotions.css */
/* Base styles for the page promotions section */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Main text color for dark background */
    background-color: #B71C1C; /* Dark Red background as per custom palette */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction */
    overflow: hidden; /* Ensure content doesn't overflow */
    background-color: #C91F17; /* Main brand color for hero background */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-height: 500px; /* Limit height for hero image */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    margin-top: 20px; /* Separate content from image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    color: #FFF5E1;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-promotions__section-title {
    font-size: 2.5em;
    color: #F4D34D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Text Blocks */
.page-promotions__text-block {
    font-size: 1.1em;
    color: #FFF5E1;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__text-block a {
    color: #FFD86A; /* Link color */
    text-decoration: underline;
}

.page-promotions__text-block a:hover {
    color: #E6B800; /* Darker gold on hover */
}

/* CTA Buttons */
.page-promotions__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #333333; /* Dark text for bright button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-promotions__cta-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button--secondary {
    background: #7A0E0E; /* Deep Red for secondary buttons */
    color: #FFF5E1; /* Light text for dark button */
    border: 2px solid #F2B544;
}

.page-promotions__cta-button--secondary:hover {
    background: #E53935; /* Auxiliary color on hover */
    color: #FFF5E1;
}

.page-promotions__cta-button--large {
    font-size: 1.3em;
    padding: 18px 35px;
    margin-top: 30px;
}

/* Card Styles */
.page-promotions__bonus-cards,
.page-promotions__sports-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions__card {
    background-color: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size for images */
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #F4D34D; /* Gold color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Ordered List for Steps */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__list-item {
    background-color: #D32F2F; /* Card BG color */
    border-left: 5px solid #F2B544; /* Gold border for emphasis */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #FFF5E1;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-item strong {
    color: #FFD86A; /* Highlight strong text */
}

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

.page-promotions__faq-item {
    background-color: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: #FFD86A; /* Gold color for questions */
    background-color: #7A0E0E; /* Deep Red for question background */
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-promotions__faq-item summary {
    list-style: none;
}

.page-promotions__faq-question:hover {
    background-color: #E53935; /* Auxiliary color on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD86A;
    margin-left: 10px;
}

.page-promotions__faq-answer {
    padding: 20px;
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1;
    font-size: 1.1em;
    border-top: 1px solid #F2B544;
}

/* Video Section */
.page-promotions__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction */
    background-color: #7A0E0E; /* Deep Red for video section background */
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 100%; /* desktop width */
}

.page-promotions__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.page-promotions__cta-banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-height: 200px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-promotions__hero-content {
        margin-top: 15px;
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions__section-title {
        font-size: 2em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-promotions__text-block {
        font-size: 1em;
    }

    .page-promotions__cta-button,
    .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;
        margin-bottom: 10px;
    }

    .page-promotions__cta-button--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }

    .page-promotions__bonus-cards,
    .page-promotions__sports-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-image {
        min-height: 150px;
    }

    .page-promotions__card-title {
        font-size: 1.3em;
    }

    .page-promotions__card-description {
        font-size: 0.95em;
    }

    .page-promotions__list-item {
        font-size: 1em;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-promotions__faq-answer {
        font-size: 1em;
        padding: 15px;
    }

    .page-promotions__video-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-promotions__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-promotions__video,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Container for multiple buttons in mobile */
    .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: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      display: flex;
      flex-direction: column;
    }
}

/* Ensure content images meet minimum size requirements */
.page-promotions img:not(.page-promotions__hero-image) {
    min-width: 200px;
    min-height: 200px;
}