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

.page-promotions {
    background-color: var(--background-color-custom);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 40px 0;
    margin-top: -80px; /* Pull content slightly up for visual overlap, but not text on image */
    position: relative;
    z-index: 1;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-promotions__intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding: 0 20px;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
}

.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: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 0;
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: left;
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-promotions__text-block p {
    margin-bottom: 15px;
}

.page-promotions__link-text {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-promotions__link-text:hover {
    color: var(--glow-color);
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block; /* Ensure it doesn't leave extra space */
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-promotions__card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 8px var(--glow-color);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: left;
}

.page-promotions__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-number {
    background-color: var(--primary-color);
    color: var(--text-main);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
}

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

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.page-promotions__step-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__step-content a:hover {
    color: var(--glow-color);
}

.page-promotions__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: var(--deep-green);
}

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

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-promotions__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
}

.page-promotions__final-cta .page-promotions__intro-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images, videos, buttons */
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__card,
  .page-promotions__hero-section,
  .page-promotions__promo-cards,
  .page-promotions__cta-buttons,
  .page-promotions__cta-center,
  .page-promotions__faq-list,
  .page-promotions__hero-image-wrapper,
  .page-promotions__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important; /* Ensure padding on mobile */
    padding-right: 15px !important; /* Ensure padding on mobile */
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-promotions__hero-content {
      padding: 20px 15px !important;
      margin-top: -40px; /* Adjust margin for mobile */
  }

  .page-promotions__hero-section {
      padding: 30px 0 !important; /* Adjust overall padding for mobile hero */
      padding-top: 10px !important;
  }

  /* Buttons */
  .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: 12px 15px !important; /* Adjust padding for mobile buttons */
  }

  /* Multiple buttons in a group */
  .page-promotions__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* FAQ toggle for details element */
  .page-promotions__faq-question {
    padding: 15px !important;
    font-size: 1rem !important;
  }
  .page-promotions__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-promotions__card-image {
      height: auto; /* Allow image height to be dynamic on mobile */
  }

  .page-promotions__step-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .page-promotions__step-number {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .page-promotions__step-title {
      font-size: 1.1rem;
  }

  .page-promotions__section-title {
      margin-bottom: 20px;
  }
}