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

/* Base styles for the page content, considering shared.css body padding */
.page-promotions {
    background-color: var(--f168bet-background); /* Dark background */
    color: var(--f168bet-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H2 */
    color: var(--f168bet-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--f168bet-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 0 40px 0; /* Adjusted padding-top as body handles header offset */
    background-color: var(--f168bet-deep-green); /* Darker background for hero */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--f168bet-text-main);
}

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

.page-promotions__hero-description {
    font-size: 1.2em;
    color: var(--f168bet-text-main);
    margin-bottom: 30px;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-promotions__btn-primary {
    background: var(--f168bet-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--f168bet-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-promotions__overview-section,
.page-promotions__categories-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-download-section {
    padding: 80px 0;
    background-color: var(--f168bet-background); /* Consistent dark background */
}

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

.page-promotions__card {
    background-color: var(--f168bet-card-bg); /* Card background color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--f168bet-border);
    color: var(--f168bet-text-main); /* Light text for card content */
}

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

.page-promotions__feature-icon {
    width: 100%; /* Ensure images take full width of card */
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--f168bet-gold); /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 1em;
    color: var(--f168bet-text-secondary);
}

/* Categories Section */
.page-promotions__category-card {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    text-align: left;
    background-color: var(--f168bet-card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--f168bet-border);
}

.page-promotions__category-card:nth-child(even) {
    flex-direction: row-reverse; /* Alternate image/text direction */
}

.page-promotions__category-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 30px;
    max-width: 100%;
    display: block;
}

.page-promotions__category-card:nth-child(even) .page-promotions__category-image {
    margin-right: 0;
    margin-left: 30px;
}

.page-promotions__category-content {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

/* How to Claim Section */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: step-counter; /* Initialize counter */
}

.page-promotions__step-item {
    background-color: var(--f168bet-card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--f168bet-border);
    position: relative;
    padding-left: 80px;
}

.page-promotions__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 30px;
    background-color: var(--f168bet-primary);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: var(--f168bet-gold);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: var(--f168bet-text-secondary);
}

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

/* Terms and Conditions Section */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 40px;
    margin-top: 40px;
    color: var(--f168bet-text-main);
}

.page-promotions__term-item {
    margin-bottom: 15px;
    color: var(--f168bet-text-secondary);
}

.page-promotions__term-item strong {
    color: var(--f168bet-text-main);
}

.page-promotions__disclaimer-text {
    margin-top: 30px;
    font-style: italic;
    color: var(--f168bet-text-secondary);
    text-align: center;
}

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

.page-promotions__faq-item {
    background-color: var(--f168bet-card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--f168bet-border);
    color: var(--f168bet-text-main);
}

.page-promotions__faq-item details > summary {
    list-style: none; /* Hide default marker for details */
}
.page-promotions__faq-item details > summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--f168bet-gold);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--f168bet-deep-green);
    border-radius: 12px 12px 0 0;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--f168bet-primary);
}

.page-promotions__faq-answer {
    padding: 0 30px 20px 30px;
    font-size: 1em;
    color: var(--f168bet-text-secondary);
    /* Max-height and overflow are handled natively by <details> tag */
    /* For non-details fallback, these would be managed by JS */
}

/* CTA Download Section */
.page-promotions__cta-download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    background-color: var(--f168bet-deep-green);
}

.page-promotions__cta-download-content {
    flex: 1;
    padding-right: 40px;
    text-align: left;
}

.page-promotions__cta-download-content .page-promotions__section-title,
.page-promotions__cta-download-content .page-promotions__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-promotions__cta-download-image-wrapper {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__cta-download-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* General Link Styling */
.page-promotions a {
    color: var(--f168bet-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions a:hover {
    color: var(--f168bet-gold);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-promotions__category-card {
        flex-direction: column;
    }
    .page-promotions__category-card:nth-child(even) {
        flex-direction: column;
    }
    .page-promotions__category-image,
    .page-promotions__category-content {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding: 15px 0;
    }
    .page-promotions__category-image {
        margin-bottom: 20px;
    }
    .page-promotions__cta-download-section {
        flex-direction: column;
    }
    .page-promotions__cta-download-content {
        padding-right: 0;
        text-align: center;
    }
    .page-promotions__cta-download-content .page-promotions__section-title,
    .page-promotions__cta-download-content .page-promotions__section-description {
        text-align: center;
    }
    .page-promotions__cta-download-image {
        max-width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        padding: 40px 0 20px 0;
    }

    .page-promotions__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }

    .page-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__overview-section,
    .page-promotions__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-download-section {
        padding: 50px 0;
    }

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

    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__feature-grid {
        gap: 20px;
    }

    .page-promotions__card {
        padding: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Lighter shadow for mobile */
    }

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

    .page-promotions__category-card {
        padding: 15px;
    }

    .page-promotions__category-image {
        margin-bottom: 15px;
    }

    .page-promotions__category-content {
        padding: 10px 0;
    }

    .page-promotions__step-item {
        padding: 25px 20px 25px 70px;
    }

    .page-promotions__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        left: 15px;
        top: 25px;
    }

    .page-promotions__step-title {
        font-size: 1.2em;
    }

    .page-promotions__terms-list {
        padding-left: 25px;
    }

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

    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-promotions__cta-download-content {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .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-image-wrapper,
    .page-promotions__cta-download-image-wrapper,
    .page-promotions__cta-download-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-promotions__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Video (if any) responsiveness */
    .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; /* body handles header offset */
    }
}

/* Ensure no filter on images */
.page-promotions img {
    filter: none;
}