/* promotions.css */

:root {
    --color-primary: #FF8C1A;
    --color-secondary: #FFA53A;
    --color-bg-dark: #0D0E12;
    --color-card-bg: #17191F;
    --color-text-main: #FFF3E6;
    --color-border: #A84F0C;
    --color-glow: #FFB04D;
    --color-deep-orange: #D96800;
    --color-btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --color-light-bg-text: #333333; /* For light background sections */
    --color-light-bg: #ffffff;
}

.page-promotions {
    color: var(--color-text-main); /* Default text color for dark body bg */
    background-color: var(--color-bg-dark); /* Ensure main content area matches body if not already */
    font-family: 'Arial', sans-serif;
}

.page-promotions__section-padding {
    padding: 60px 0;
}

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

.page-promotions__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-promotions__section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    background-color: var(--color-bg-dark);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 40px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--color-btn-gradient);
    color: var(--color-text-main);
    border: 2px solid var(--color-deep-orange);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

/* Intro Section */
.page-promotions__intro-section {
    background-color: var(--color-bg-dark);
}

/* Promo Types Section */
.page-promotions__promo-types {
    background-color: var(--color-bg-dark);
}

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

.page-promotions__promo-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

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

.page-promotions__promo-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-card-text {
    font-size: 16px;
    color: var(--color-text-main);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__promo-card-btn {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    background-color: var(--color-light-bg);
    color: var(--color-light-bg-text); /* Text color for light background */
}

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description {
    color: var(--color-light-bg-text);
}

.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-light-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-promotions__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-main);
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 140, 26, 0.3);
}

.page-promotions__step-content {
    flex-grow: 1;
}

.page-promotions__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__step-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light-bg-text);
    margin: 0;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
    background-color: var(--color-bg-dark);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-list li {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px 25px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-list li p {
    margin: 0;
    color: var(--color-text-main);
}

/* Why Choose Section */
.page-promotions__why-choose {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
}

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

.page-promotions__feature-item {
    text-align: center;
    background: var(--color-card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

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

.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: inline-block;
}

.page-promotions__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--color-light-bg);
}

.page-promotions__faq-section .page-promotions__section-title {
    color: var(--color-light-bg-text);
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: var(--color-light-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: var(--color-light-bg);
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f0f0f0;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-light-bg-text);
}
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: var(--color-light-bg-text);
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light-bg-text);
}

/* Final CTA Section */
.page-promotions__cta-final {
    background: var(--color-primary);
    padding: 80px 0;
    text-align: center;
}

.page-promotions__cta-final-content .page-promotions__section-title,
.page-promotions__cta-final-content .page-promotions__section-description {
    color: var(--color-text-main);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-promotions__cta-large-btn {
    padding: 18px 35px;
    font-size: 20px;
    border-radius: 10px;
}

/* General image styling to prevent small icons */
.page-promotions img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__section-description {
        font-size: 16px;
    }
    .page-promotions__hero-content {
        padding: 30px 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-promotions__step-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-promotions__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 16px 20px;
    }
    .page-promotions__faq-qtext {
        font-size: 17px;
    }
    .page-promotions__faq-toggle {
        font-size: 26px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 20px 18px;
    }
    .page-promotions__cta-large-btn {
        padding: 16px 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section-padding {
        padding: 40px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Hero Section Mobile */
    .page-promotions__hero-section {
        min-height: 450px;
        padding-top: 10px; /* Small top padding, consistent */
    }
    .page-promotions__hero-image {
        object-fit: contain; /* Banner image fit for mobile */
        height: auto; /* Allow height to adjust */
    }
    .page-promotions__hero-content {
        padding: 20px 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }

    /* General Buttons Mobile */
    .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-buttons,
    .page-promotions__button-group,
    .page-promotions__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;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column; /* Ensure vertical stack */
    }

    /* General Images Mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Promo Types Mobile */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card-image {
        height: 180px;
    }
    .page-promotions__promo-card-title {
        font-size: 20px;
    }
    .page-promotions__promo-card-text {
        font-size: 15px;
    }
    .page-promotions__promo-card-btn {
        width: 100%;
    }

    /* How to Claim Mobile */
    .page-promotions__step-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 20px;
    }
    .page-promotions__step-title {
        font-size: 19px;
    }
    .page-promotions__step-content p {
        font-size: 15px;
    }

    /* Terms & Conditions Mobile */
    .page-promotions__terms-list li {
        padding: 15px 20px;
        font-size: 15px;
    }

    /* Why Choose Mobile */
    .page-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__feature-title {
        font-size: 20px;
    }
    .page-promotions__feature-text {
        font-size: 15px;
    }

    /* FAQ Mobile */
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer p {
        font-size: 15px;
    }

    /* Final CTA Mobile */
    .page-promotions__cta-final {
        padding: 50px 0;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }
    .page-promotions__cta-large-btn {
        padding: 15px 25px;
        font-size: 18px;
    }
}