/* style/promotion.css */

/* Variables for colors */
:root {
    --f8bet8-primary: #11A84E;
    --f8bet8-secondary: #22C768;
    --f8bet8-button-gradient-start: #2AD16F;
    --f8bet8-button-gradient-end: #13994A;
    --f8bet8-card-bg: #11271B;
    --f8bet8-background: #08160F;
    --f8bet8-text-main: #F2FFF6;
    --f8bet8-text-secondary: #A7D9B8;
    --f8bet8-border: #2E7A4E;
    --f8bet8-glow: #57E38D;
    --f8bet8-gold: #F2C14E;
    --f8bet8-divider: #1E3A2A;
    --f8bet8-deep-green: #0A4B2C;
}

/* Base styles for the promotion page */
.page-promotion {
    color: var(--f8bet8-text-main); /* Default text color for dark background */
    background-color: var(--f8bet8-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-promotion__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0;
    background-color: var(--f8bet8-background);
}

.page-promotion__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotion__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotion__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background elements */
}

.page-promotion__main-title {
    color: var(--f8bet8-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-promotion__hero-description {
    color: var(--f8bet8-text-main);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotion__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-promotion__section-title {
    color: var(--f8bet8-gold);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

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

.page-promotion__text-block {
    color: var(--f8bet8-text-main);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-promotion__highlight {
    color: var(--f8bet8-gold);
    font-weight: bold;
}

.page-promotion__light-bg {
    background-color: var(--f8bet8-background);
}

.page-promotion__dark-bg {
    background-color: var(--f8bet8-deep-green);
}

/* Buttons */
.page-promotion__btn-primary,
.page-promotion__btn-secondary,
.page-promotion__card-btn,
.page-promotion__text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-promotion__btn-primary {
    background: linear-gradient(180deg, var(--f8bet8-button-gradient-start) 0%, var(--f8bet8-button-gradient-end) 100%);
    color: var(--f8bet8-text-main);
    border: 2px solid var(--f8bet8-button-gradient-start);
}

.page-promotion__btn-primary:hover {
    background: linear-gradient(180deg, var(--f8bet8-button-gradient-end) 0%, var(--f8bet8-button-gradient-start) 100%);
    border-color: var(--f8bet8-secondary);
    transform: translateY(-2px);
}

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

.page-promotion__btn-secondary:hover {
    background-color: var(--f8bet8-secondary);
    color: var(--f8bet8-background);
    transform: translateY(-2px);
}

.page-promotion__card-btn {
    background: linear-gradient(180deg, var(--f8bet8-button-gradient-start) 0%, var(--f8bet8-button-gradient-end) 100%);
    color: var(--f8bet8-text-main);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
    min-width: unset;
    width: fit-content;
}

.page-promotion__card-btn:hover {
    background: linear-gradient(180deg, var(--f8bet8-button-gradient-end) 0%, var(--f8bet8-button-gradient-start) 100%);
    transform: translateY(-1px);
}

.page-promotion__btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
    min-width: unset;
}

.page-promotion__btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    min-width: 250px;
}

.page-promotion__btn-full-width {
    width: 100%;
    max-width: 350px;
}

.page-promotion__text-link {
    color: var(--f8bet8-secondary);
    text-decoration: underline;
    font-weight: normal;
    padding: 0;
    border: none;
    background: none;
    min-width: unset;
}

.page-promotion__text-link:hover {
    color: var(--f8bet8-gold);
    text-decoration: none;
}

/* Benefits Section */
.page-promotion__benefits-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotion__benefit-card {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-border);
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--f8bet8-text-main);
}

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

.page-promotion__benefit-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotion__benefit-title {
    color: var(--f8bet8-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.page-promotion__benefit-description {
    font-size: 1rem;
    color: var(--f8bet8-text-secondary);
}

.page-promotion__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* Promotion Types Section */
.page-promotion__promotion-types {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotion__card {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--f8bet8-text-main);
}

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

.page-promotion__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

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

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

/* How To Claim Section */
.page-promotion__how-to-claim {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotion__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: step-counter;
}

.page-promotion__step-item {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 80px; /* Space for step number */
    color: var(--f8bet8-text-main);
}

.page-promotion__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--f8bet8-primary);
    color: var(--f8bet8-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid var(--f8bet8-gold);
}

.page-promotion__step-title {
    color: var(--f8bet8-gold);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.page-promotion__step-description {
    font-size: 1rem;
    color: var(--f8bet8-text-secondary);
    margin-bottom: 20px;
}

/* Terms Section */
.page-promotion__terms-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotion__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotion__terms-item {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-divider);
    border-left: 5px solid var(--f8bet8-primary);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--f8bet8-text-secondary);
}

.page-promotion__terms-item strong {
    color: var(--f8bet8-gold);
}

/* Why Choose Us Section */
.page-promotion__why-choose-us {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotion__reason-card {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-border);
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--f8bet8-text-main);
}

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

.page-promotion__reason-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-promotion__reason-description {
    font-size: 1rem;
    color: var(--f8bet8-text-secondary);
}

/* FAQ Section */
.page-promotion__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotion__faq-list {
    margin-top: 40px;
}

.page-promotion__faq-item {
    background-color: var(--f8bet8-card-bg);
    border: 1px solid var(--f8bet8-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--f8bet8-text-main);
}

.page-promotion__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--f8bet8-gold);
    background-color: var(--f8bet8-card-bg);
    position: relative;
}

.page-promotion__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-promotion__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-promotion__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1rem;
    color: var(--f8bet8-text-secondary);
    border-top: 1px solid var(--f8bet8-divider);
}

.page-promotion__faq-answer p {
    margin-bottom: 0;
    color: var(--f8bet8-text-secondary);
}

/* Call to Action Section */
.page-promotion__call-to-action {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotion__main-title {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }
    .page-promotion__section-title {
        font-size: 2rem;
    }
    .page-promotion__hero-content {
        padding: 0 15px;
    }
    .page-promotion__container {
        padding: 40px 15px;
    }
    .page-promotion__benefit-icon,
    .page-promotion__reason-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .page-promotion__main-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        margin-bottom: 15px;
    }
    .page-promotion__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-promotion__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-promotion__container {
        padding: 30px 15px;
    }
    .page-promotion__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotion__btn-primary,
    .page-promotion__btn-secondary,
    .page-promotion a[class*="button"],
    .page-promotion 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-promotion__cta-buttons,
    .page-promotion__button-group,
    .page-promotion__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;
    }

    /* Image & Video Responsive */
    .page-promotion img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotion video,
    .page-promotion__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotion__hero-image-wrapper,
    .page-promotion__section,
    .page-promotion__card,
    .page-promotion__container,
    .page-promotion__video-section,
    .page-promotion__video-container,
    .page-promotion__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotion__hero-section {
        padding-bottom: 40px;
    }
    .page-promotion__step-item {
        padding-left: 20px;
        padding-top: 60px;
    }
    .page-promotion__step-item::before {
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }
    .page-promotion__step-title {
        text-align: center;
        margin-top: 15px;
    }
    .page-promotion__step-description {
        text-align: center;
    }
    .page-promotion__step-item .page-promotion__btn-primary {
        margin: 0 auto;
    }
    .page-promotion__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotion__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotion__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-promotion__section-title {
        font-size: 1.6rem;
    }
    .page-promotion__hero-description {
        font-size: 0.95rem;
    }
    .page-promotion__btn-primary,
    .page-promotion__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .page-promotion__benefit-card,
    .page-promotion__reason-card {
        padding: 20px;
    }
    .page-promotion__benefit-title,
    .page-promotion__reason-title {
        font-size: 1.3rem;
    }
    .page-promotion__card-title {
        font-size: 1.2rem;
    }
    .page-promotion__step-title {
        font-size: 1.4rem;
    }
}