/* style/promotions.css */

/* Variables for consistency */
:root {
  --nbet-primary: #1A237E; /* Dark Blue */
  --nbet-secondary: #FFD700; /* Gold */
  --nbet-text-light: #F0F0F0; /* Light text for dark backgrounds */
  --nbet-text-dark: #333333; /* Dark text for light backgrounds */
  --nbet-background-light: #FFFFFF;
  --nbet-background-dark: #2A368F; /* Slightly lighter primary for sections */
  --nbet-accent-contrast: #e5dc81; /* Complementary to primary */
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--nbet-text-dark);
  background-color: var(--nbet-background-light);
}

/* Hero Section */
.page-promotions__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nbet-primary), #3f4a9b);
  color: var(--nbet-text-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-promotions__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--nbet-secondary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-promotions__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--nbet-text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: var(--nbet-secondary);
  color: var(--nbet-primary);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--nbet-secondary);
}

.page-promotions__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

/* General Section Styling */
.page-promotions__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--nbet-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--nbet-secondary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--nbet-text-dark);
}

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

.page-promotions__promo-card {
  background-color: var(--nbet-background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

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

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-promotions__promo-title {
  font-size: 1.5em;
  color: var(--nbet-primary);
  margin: 20px 15px 10px;
}

.page-promotions__promo-description {
  font-size: 1em;
  color: var(--nbet-text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions__promo-button {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid var(--nbet-primary);
  color: var(--nbet-primary);
  background-color: transparent;
}

.page-promotions__promo-button:hover {
  background-color: var(--nbet-primary);
  color: var(--nbet-text-light);
}

.page-promotions__promo-button--primary {
  background-color: var(--nbet-secondary);
  color: var(--nbet-primary);
  border-color: var(--nbet-secondary);
}

.page-promotions__promo-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: var(--nbet-primary);
}

/* How to Join Section */
.page-promotions__how-to-join {
  background-color: var(--nbet-background-dark);
  color: var(--nbet-text-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.page-promotions__how-to-join .page-promotions__section-title {
  color: var(--nbet-secondary);
}

.page-promotions__how-to-join .page-promotions__section-title::after {
  background-color: var(--nbet-text-light);
}

.page-promotions__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-promotions__step {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  max-width: 250px;
  flex: 1 1 250px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-promotions__step:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--nbet-secondary);
  color: var(--nbet-primary);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--nbet-text-light);
  margin-bottom: 10px;
}

.page-promotions__step p {
  color: var(--nbet-text-light);
  font-size: 0.95em;
}

.page-promotions__illustration {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Terms & Conditions / Tips / FAQ */
.page-promotions__terms, .page-promotions__tips, .page-promotions__faq {
  padding: 60px 20px;
}

.page-promotions__list-items {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-promotions__list-items li {
  background-color: #f9f9f9;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--nbet-primary);
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--nbet-text-dark);
}

.page-promotions__list-items li strong {
  color: var(--nbet-primary);
}

.page-promotions__faq-item {
  background-color: #f0f4f7;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.page-promotions__faq-question {
  font-size: 1.25em;
  color: var(--nbet-primary);
  margin-bottom: 10px;
}

.page-promotions__faq-answer {
  font-size: 1em;
  color: var(--nbet-text-dark);
}

/* Final CTA Section */
.page-promotions__final-cta {
  background: linear-gradient(135deg, var(--nbet-secondary), #ffd700);
  color: var(--nbet-primary);
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__final-cta .page-promotions__section-title {
  color: var(--nbet-primary);
}

.page-promotions__final-cta .page-promotions__section-title::after {
  background-color: var(--nbet-primary);
}

.page-promotions__final-cta .page-promotions__subtitle {
  color: var(--nbet-primary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25em;
  background-color: var(--nbet-primary);
  color: var(--nbet-secondary);
  border-color: var(--nbet-primary);
}

.page-promotions__cta-button--large:hover {
  background-color: #0d1242;
  border-color: #0d1242;
  color: var(--nbet-secondary);
}

/* Text Link Styling */
.page-promotions__text-link {
  color: var(--nbet-secondary);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
  color: #e6c200;
}

.page-promotions__how-to-join .page-promotions__text-link {
  color: var(--nbet-secondary);
}

.page-promotions__how-to-join .page-promotions__text-link:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero {
    padding: 60px 15px;
  }

  .page-promotions__title {
    font-size: 2.8em;
  }

  .page-promotions__subtitle {
    font-size: 1.1em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-promotions__step {
    max-width: 220px;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero {
    padding: 50px 15px;
  }

  .page-promotions__title {
    font-size: 2.2em;
  }

  .page-promotions__subtitle {
    font-size: 1em;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__text-block {
    font-size: 1em;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__steps {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions__step {
    max-width: 90%;
    flex: none;
  }

  .page-promotions__illustration {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-promotions__title {
    font-size: 1.8em;
  }

  .page-promotions__subtitle {
    font-size: 0.9em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__promo-title {
    font-size: 1.3em;
  }

  .page-promotions__promo-button {
    font-size: 0.85em;
    padding: 8px 15px;
  }

  .page-promotions__list-items li, .page-promotions__faq-item p {
    font-size: 0.9em;
  }

  .page-promotions__faq-question {
    font-size: 1.1em;
  }

  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}