/* style/promotions.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #000000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1a1a1a;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark #1a1a1a, so text should be light */
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fixed Header Spacing: Apply padding-top to the main content area */
    padding-top: var(--header-offset, 120px);
}

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

.page-promotions__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Dark background for hero section */
    overflow: hidden;
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-promotions__hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.4);
}

/* Featured Promotions 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 {
    background: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

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

.page-promotions__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-promotions__card-description {
    font-size: 16px;
    color: var(--text-light);
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.page-promotions__card-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Terms & Conditions */
.page-promotions__terms-list {
    list-style: disc inside;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-left: 20px;
    color: var(--text-light);
}

.page-promotions__terms-list strong {
    color: var(--primary-color);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* 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: var(--card-bg-dark);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

.page-promotions__step-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-promotions__step-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.page-promotions__step-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

.page-promotions__button-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

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

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

.page-promotions__feature-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ Section */
.page-promotions__faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg-dark);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
    color: var(--text-light);
}

.page-promotions__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-promotions__faq-item.active .page-promotions__faq-question {
    border-radius: 8px 8px 0 0;
}

.page-promotions__faq-question:hover {
  background: #0a0a0a;
}

.page-promotions__faq-question:active {
  background: #111111;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(180deg);
}

/* Conclusion Section */
.page-promotions__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-promotions__conclusion .page-promotions__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 42px;
    }

    .page-promotions__hero-description {
        font-size: 20px;
    }

    .page-promotions__section-title {
        font-size: 32px;
    }

    .page-promotions__text-block, .page-promotions__terms-list, .page-promotions__step-description, .page-promotions__feature-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__section {
        padding: 40px 15px;
    }

    .page-promotions__hero-section {
        padding: 40px 15px;
    }

    .page-promotions__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .page-promotions__cta-button {
        padding: 15px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-promotions__text-block, .page-promotions__terms-list, .page-promotions__step-description, .page-promotions__feature-description {
        font-size: 16px;
    }

    .page-promotions__promo-grid, .page-promotions__steps-grid, .page-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions__promo-card, .page-promotions__step-item, .page-promotions__feature-item {
        padding: 25px;
    }

    .page-promotions__promo-card img {
        
    }

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-promotions__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions__section,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__feature-item,
    .page-promotions__hero-container,
    .page-promotions__faq-container,
    .page-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 28px;
    }

    .page-promotions__hero-description {
        font-size: 16px;
    }

    .page-promotions__section-title {
        font-size: 24px;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-promotions__text-block {
        text-align: left;
    }
    .page-promotions__promo-card img {
        
    }
}