/* style/promotions.css */

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

.page-promotions {
    background-color: var(--zbet-background); /* #08160F */
    color: var(--zbet-text-main); /* #F2FFF6 */
    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, 2.8em);
    color: var(--zbet-gold); /* #F2C14E */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background: var(--zbet-background);
}

.page-promotions__hero-section .page-promotions__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(87, 227, 141, 0.3);
    display: block;
}

.page-promotions__hero-content {
    max-width: 900px;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--zbet-text-main); /* #F2FFF6 */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
    font-size: 1.3em;
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    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: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--zbet-button-gradient);
    color: var(--zbet-text-main); /* #F2FFF6 */
    border: 2px solid var(--zbet-glow); /* #57E38D */
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--zbet-glow); /* #57E38D */
    border: 2px solid var(--zbet-glow); /* #57E38D */
}

.page-promotions__btn-secondary:hover {
    background-color: var(--zbet-glow);
    color: var(--zbet-background); /* #08160F */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

/* Promotions Grid Section */
.page-promotions__overview-section {
    padding: 80px 0;
    background-color: var(--zbet-background);
}

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

.page-promotions__promotion-card {
    background-color: var(--zbet-card-bg); /* #11271B */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--zbet-border); /* #2E7A4E */
}

.page-promotions__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--zbet-gold); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions__card-text {
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--zbet-button-gradient);
    color: var(--zbet-text-main); /* #F2FFF6 */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--zbet-deep-green); /* #0A4B2C */
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: var(--zbet-text-main); /* #F2FFF6 */
}

.page-promotions__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-promotions__steps-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-promotions__step-item {
    background-color: var(--zbet-card-bg); /* #11271B */
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--zbet-glow); /* #57E38D */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--zbet-text-main);
    position: relative;
}

.page-promotions__step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--zbet-gold); /* #F2C14E */
    color: var(--zbet-background); /* #08160F */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: var(--zbet-gold); /* #F2C14E */
    margin-bottom: 10px;
    margin-top: 10px;
}

.page-promotions__step-text {
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    font-size: 0.95em;
}

.page-promotions__guide-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
    padding: 80px 0;
    background-color: var(--zbet-background);
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 30px;
    margin-top: 30px;
    color: var(--zbet-text-secondary); /* #A7D9B8 */
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions__terms-list li p {
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    margin: 0;
}

.page-promotions__read-more {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--zbet-text-main); /* #F2FFF6 */
}

.page-promotions__read-more a {
    color: var(--zbet-glow); /* #57E38D */
    text-decoration: none;
    font-weight: 600;
}

.page-promotions__read-more a:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: var(--zbet-deep-green); /* #0A4B2C */
}

.page-promotions__why-choose-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-description {
    color: var(--zbet-text-main); /* #F2FFF6 */
}

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

.page-promotions__benefit-item {
    background-color: var(--zbet-card-bg); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--zbet-border); /* #2E7A4E */
}

.page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefit-title {
    font-size: 1.4em;
    color: var(--zbet-gold); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions__benefit-text {
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    font-size: 0.95em;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--zbet-background);
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    background-color: var(--zbet-card-bg); /* #11271B */
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--zbet-border); /* #2E7A4E */
    overflow: hidden;
}

.page-promotions__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--zbet-text-main); /* #F2FFF6 */
    background-color: var(--zbet-card-bg);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--zbet-deep-green); /* #0A4B2C */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--zbet-text-main); /* #F2FFF6 */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--zbet-glow); /* #57E38D */
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    color: var(--zbet-text-secondary); /* #A7D9B8 */
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid var(--zbet-divider); /* #1E3A2A */
    margin-top: 10px;
    padding-top: 15px;
}

.page-promotions__faq-answer p {
    margin: 0;
    color: var(--zbet-text-secondary); /* #A7D9B8 */
}

.page-promotions__faq-answer a {
    color: var(--zbet-glow); /* #57E38D */
    text-decoration: none;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--zbet-deep-green); /* #0A4B2C */
    border-top: 1px solid var(--zbet-divider); /* #1E3A2A */
}

.page-promotions__final-cta-section .page-promotions__section-title,
.page-promotions__final-cta-section .page-promotions__section-description {
    color: var(--zbet-text-main); /* #F2FFF6 */
}

.page-promotions__final-cta-section .page-promotions__btn-primary {
    margin-top: 30px;
    min-width: 280px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section .page-promotions__container {
        flex-direction: column;
    }
    .page-promotions__guide-image {
        max-width: 100%;
    }
    .page-promotions__content-wrapper {
        flex-direction: column;
    }
    .page-promotions__step-number {
        left: 15px;
    }
    .page-promotions__step-item {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__main-title {
        font-size: 2.2em;
    }
    .page-promotions__description {
        font-size: 1.1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__hero-image,
    .page-promotions__card-image,
    .page-promotions__guide-image,
    .page-promotions__benefit-icon,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-conditions-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section,
    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__benefit-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section { padding-top: 10px !important; }
    .page-promotions__card-image { height: auto; min-height: 200px; }
    .page-promotions__guide-image { min-height: 200px; }
    .page-promotions__benefit-icon { width: 100px; height: auto; }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    .page-promotions__step-number {
        width: 35px;
        height: 35px;
        font-size: 1em;
        top: -10px;
    }
    .page-promotions__step-item {
        padding: 20px;
        padding-left: 15px;
    }
}