:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-promotions {
    color: var(--text-main-color); /* Deep Orange Black theme, so light text on dark body */
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
}

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

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

.page-promotions__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
    line-height: 1.2;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure a minimum height for the hero image */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin: -100px auto 0; /* Adjust to place content below image, not overlaying */
    background: rgba(13, 14, 18, 0.85); /* Dark background for readability */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
}

.page-promotions__main-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px var(--glow-color);
    max-width: 100%;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-promotions__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.page-promotions__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

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

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

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 140, 26, 0.5);
}

/* How To Join Section */
.page-promotions__how-to-join .page-promotions__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__guide-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
    width: 100%;
}

.page-promotions__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.page-promotions__step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__step-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 140, 26, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 26, 0.5);
}

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

.page-promotions__terms-list li {
    background-color: var(--card-bg);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__terms-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__terms-list p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main-color);
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}
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-color: var(--card-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: rgba(var(--primary-color), 0.1);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--card-bg), 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}
.page-promotions__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 10px;
}

/* Why Choose Section */
.page-promotions__why-choose .page-promotions__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-promotions__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-promotions__feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main-color);
    flex-grow: 1;
}

/* Final CTA Section */
.page-promotions__cta-final {
    background: linear-gradient(90deg, var(--background-color), rgba(var(--primary-color), 0.1), var(--background-color));
    padding: 80px 0;
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* General image responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -80px;
        transform: translateY(-40px);
        padding: 30px 20px;
    }
    .page-promotions__main-title {
        font-size: 40px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__text-block {
        font-size: 17px;
    }
    .page-promotions__promotions-grid,
    .page-promotions__steps-list,
    .page-promotions__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__terms-subtitle,
    .page-promotions__feature-title {
        font-size: 22px;
    }
}

@media (max-width: 849px) {
    .page-promotions__hero-image {
        object-fit: contain; /* Banner object-fit:contain */
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-promotions__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
    }
    .page-promotions__hero-image {
        min-height: 250px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__hero-content {
        margin-top: -60px;
        transform: translateY(-30px);
        padding: 25px 15px;
    }
    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-promotions__cta-button {
        font-size: 18px;
        padding: 12px 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Sections */
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 15px;
        line-height: 1.7;
    }
    .page-promotions__container {
        padding: 0 15px; /* Add padding to container on mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Promotions Grid (similar to 5-entry layout) */
    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    .page-promotions__promo-image {
        height: 180px; /* Adjust height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__promo-content {
        padding: 20px;
    }
    .page-promotions__promo-title {
        font-size: 20px;
    }
    .page-promotions__promo-description {
        font-size: 14px;
    }
    .page-promotions__btn-secondary {
        font-size: 15px;
        padding: 8px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* How To Join Section */
    .page-promotions__guide-image {
        margin-bottom: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__step-item {
        padding: 25px;
    }
    .page-promotions__step-title {
        font-size: 20px;
    }
    .page-promotions__step-description {
        font-size: 14px;
    }
    .page-promotions__btn-primary {
        font-size: 16px;
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Terms & Conditions Section */
    .page-promotions__terms-list li {
        padding: 20px;
    }
    .page-promotions__terms-subtitle {
        font-size: 20px;
    }
    .page-promotions__terms-list p {
        font-size: 14px;
    }

    /* FAQ Section */
    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;
        height: 24px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    .page-promotions__faq-answer p {
        font-size: 14px;
    }

    /* Why Choose Section */
    .page-promotions__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__feature-item {
        padding: 25px;
    }
    .page-promotions__feature-title {
        font-size: 20px;
    }
    .page-promotions__feature-item p {
        font-size: 14px;
    }

    /* Final CTA Section */
    .page-promotions__cta-final {
        padding: 50px 0;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__cta-buttons a {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Ensure all images are responsive on mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__promo-image {
        aspect-ratio: 4/3; /* Adjust aspect ratio for card images if needed */
        object-fit: cover;
    }
    .page-promotions__promo-card img {
        border: none; /* No border for card images */
        box-shadow: none; /* No box-shadow for card images */
    }
    .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;
    }
}