/* style/promotions.css */

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

.page-promotions {
    background-color: var(--fb8bet-background);
    color: var(--fb8bet-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
    background-color: var(--fb8bet-deep-green);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

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

.page-promotions__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--fb8bet-gold);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-promotions__section {
    padding: 60px 0;
    background-color: var(--fb8bet-background);
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--fb8bet-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-promotions__why-choose .page-promotions__section-description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-promotions__card {
    background-color: var(--fb8bet-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fb8bet-border);
    color: var(--fb8bet-text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__feature-title,
.page-promotions__card-title,
.page-promotions__step-title {
    font-size: 1.5rem;
    color: var(--fb8bet-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-text,
.page-promotions__card-text,
.page-promotions__step-text {
    color: var(--fb8bet-text-secondary);
    font-size: 1rem;
}

.page-promotions__image-fullwidth {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-promotions__promotion-card {
    text-align: center;
}

.page-promotions__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
    text-align: left;
}

.page-promotions__card-list li {
    color: var(--fb8bet-text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-promotions__card-list li::before {
    content: '•';
    color: var(--fb8bet-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.page-promotions__step-item {
    text-align: center;
    position: relative;
    padding-top: 50px;
}

.page-promotions__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--fb8bet-primary);
    color: var(--fb8bet-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid var(--fb8bet-gold);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-promotions__step-text a {
    color: var(--fb8bet-gold);
    text-decoration: underline;
}

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

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

.page-promotions__terms-list li {
    background-color: var(--fb8bet-card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--fb8bet-border);
    color: var(--fb8bet-text-main);
    position: relative;
    padding-left: 45px;
}

.page-promotions__list-icon {
    color: var(--fb8bet-gold);
    font-weight: bold;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.page-promotions__terms-list li span {
    font-weight: bold;
    color: var(--fb8bet-primary);
}

.page-promotions__terms-list li a {
    color: var(--fb8bet-gold);
    text-decoration: underline;
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--fb8bet-border);
    background-color: var(--fb8bet-card-bg);
    overflow: hidden;
}

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

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

.page-promotions__faq-item:not([open]) .page-promotions__faq-question {
    border-bottom: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--fb8bet-text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--fb8bet-gold);
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--fb8bet-text-secondary);
    border-top: 1px solid var(--fb8bet-divider);
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

.page-promotions__faq-answer a {
    color: var(--fb8bet-gold);
    text-decoration: underline;
}

.page-promotions__cta-final {
    text-align: center;
    padding-bottom: 80px;
}

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

.page-promotions__btn-primary {
    background: var(--fb8bet-button-gradient);
    color: var(--fb8bet-text-main);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--fb8bet-primary);
    color: var(--fb8bet-text-main);
    transform: translateY(-2px);
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__features-grid,
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px 15px;
    }
    .page-promotions__hero-content {
        padding: 0 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__hero-description,
    .page-promotions__section-description {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-promotions__features-grid,
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__feature-title,
    .page-promotions__card-title,
    .page-promotions__step-title {
        font-size: 1.3rem;
    }
    .page-promotions__card-image {
        max-width: 100%;
    }
    .page-promotions__card {
        padding: 20px;
    }
    .page-promotions__terms-list li {
        padding: 15px;
        padding-left: 40px;
    }
    .page-promotions__list-icon {
        left: 10px;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 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 {
        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,
    .page-promotions__why-choose,
    .page-promotions__promotion-types,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__cta-final {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile button responsiveness */
    .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-bottom,
    .page-promotions__hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-promotions__cta-bottom .page-promotions__btn-primary {
        margin: 0;
    }
    .page-promotions__promotion-card .page-promotions__btn-secondary {
        margin-top: 15px;
    }
}