/* style/promotions.css */

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

.page-promotions {
    color: #333333; /* Default text color for light background */
    background-color: #f4f4f4; /* body background from shared.css */
}

.page-promotions__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__light-bg {
    background-color: #f4f4f4;
    color: #333333;
}

.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;
    padding: 10px 0 60px 0; /* body already handles header offset, small top padding for aesthetic */
    overflow: hidden;
    text-align: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    margin-top: -150px; /* Adjust as needed to overlap slightly with image for design */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 30px 20px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-promotions__main-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.page-promotions__hero-description {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__btn-primary {
    display: inline-block;
    background: var(--btn-gradient);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--color-deep-green);
    font-weight: 700;
}
.page-promotions__dark-bg .page-promotions__section-title {
    color: var(--color-gold);
}

.page-promotions__section-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}
.page-promotions__dark-bg .page-promotions__section-intro {
    color: var(--color-text-secondary);
}

/* Feature Grid */
.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: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}
.page-promotions__dark-bg .page-promotions__card {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-promotions__card:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.page-promotions__dark-bg .page-promotions__feature-title {
    color: var(--color-gold);
}

.page-promotions__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}
.page-promotions__dark-bg .page-promotions__feature-text {
    color: var(--color-text-secondary);
}

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

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

.page-promotions__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

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

.page-promotions__promo-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.page-promotions__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-promotions__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-background);
}

/* How-to-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: #ffffff;
    color: #333333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
}

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

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

.page-promotions__step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

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

/* Terms & Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__terms-item {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border: 1px solid var(--color-border);
}

.page-promotions__terms-subtitle {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-promotions__terms-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    color: var(--color-primary);
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #eee;
}

/* Download App Section */
.page-promotions__download-app {
    padding: 80px 0;
}

.page-promotions__download-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-promotions__download-content {
    flex: 1;
}

.page-promotions__download-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__download-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--color-border);
}

.page-promotions__small-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-promotions__hero-content {
        margin-top: -100px;
        padding: 20px;
    }
    .page-promotions__download-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-promotions__download-content,
    .page-promotions__download-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-promotions__download-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        margin-top: -60px; /* Adjust overlap for smaller screens */
        padding: 15px;
        max-width: 90%;
    }
    .page-promotions__main-title {
        font-size: 2rem;
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: 2rem;
    }
    .page-promotions__section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-promotions__card,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__terms-item,
    .page-promotions__faq-item {
        padding: 20px;
    }
    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__terms-subtitle {
        font-size: 1.3rem;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Mobile responsive for images and containers */
    .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-section,
    .page-promotions__hero-image-wrapper,
    .page-promotions__hero-content,
    .page-promotions__download-app,
    .page-promotions__download-flex,
    .page-promotions__download-content,
    .page-promotions__download-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__terms-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Ensure no horizontal scroll */
    }
    .page-promotions__hero-section {
      padding-top: 10px !important;
    }

    /* Button specific mobile styles */
    .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 {
      display: flex;
      justify-content: center;
      padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-top: -40px;
    }
    .page-promotions__main-title {
        font-size: 1.6rem;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
    }
    .page-promotions__promo-image {
        height: 200px;
    }
    .page-promotions__step-image {
        height: 150px;
    }
}