/* style/promotions.css */

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

/* Base styles for page-promotions, inherited from body via shared.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for dark background */
  background-color: var(--color-background); /* Dark background for the main content area */
}

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

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

.page-promotions__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-promotions__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
  text-align: left;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
  min-height: 500px;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Subtle overlay */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-promotions__description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-promotions__btn-primary {
  background: var(--gradient-button);
  color: var(--color-text-main);
  border: 2px solid var(--color-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-background);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Introduction Section */
.page-promotions__introduction .page-promotions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Why BET11 Section */
.page-promotions__why-bet11 {
  background-color: var(--color-card-bg);
}

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

.page-promotions__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it respects max-width */
}

.page-promotions__card-title,
.page-promotions__card-subtitle {
  font-size: 22px;
  color: var(--color-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  text-align: left;
  flex-grow: 1;
}

/* Promotion Types */
.page-promotions__promo-category {
  margin-bottom: 60px;
  text-align: left;
}

.page-promotions__category-title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-promotions__category-description {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  text-align: center;
}

/* Guide Section */
.page-promotions__guide {
  background-color: var(--color-background);
}

.page-promotions__ordered-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 30px;
  text-align: left;
}

.page-promotions__list-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--gradient-button);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-title {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.page-promotions__list-text {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* Benefits Section */
.page-promotions__benefits {
  background-color: var(--color-deep-green);
}

.page-promotions__benefit-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__benefit-title {
  font-size: 20px;
  color: var(--color-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__benefit-text {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Important Notes & FAQ Section */
.page-promotions__important-notes,
.page-promotions__faq-section {
  background-color: var(--color-background);
}

.page-promotions__accordion {
  margin-top: 30px;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question:hover {
  background-color: var(--color-deep-green);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Conclusion Section */
.page-promotions__conclusion {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

.page-promotions__conclusion .page-promotions__section-title {
  color: var(--color-gold);
}

.page-promotions__conclusion .page-promotions__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--color-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

  .page-promotions__description {
    font-size: clamp(15px, 1.8vw, 18px);
  }

  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

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

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

  .page-promotions__list-item {
    padding-left: 60px;
  }

  .page-promotions__list-item::before {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

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

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

  .page-promotions__hero-section {
    min-height: 400px;
    padding: 10px 0 40px 0;
  }

  .page-promotions__hero-content {
    padding: 10px;
    border-radius: 8px;
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 7vw, 38px);
    margin-bottom: 15px;
  }

  .page-promotions__description {
    font-size: clamp(14px, 4vw, 18px);
    margin-bottom: 25px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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 20px !important;
    font-size: 16px !important;
  }
  
  .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: 0 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__section-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 25px;
  }

  .page-promotions__text-block {
    font-size: 15px;
  }

  .page-promotions__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__category-title {
    font-size: clamp(20px, 5vw, 30px);
  }

  .page-promotions__list-item {
    padding-left: 50px;
  }

  .page-promotions__list-item::before {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .page-promotions__benefit-icon {
    width: 70px;
    height: 70px;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
  
  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already handled by .page-promotions__container */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-section {
    min-height: 350px;
    padding: 10px 0 30px 0;
  }

  .page-promotions__main-title {
    font-size: clamp(22px, 8vw, 32px);
  }

  .page-promotions__description {
    font-size: clamp(13px, 4vw, 16px);
  }

  .page-promotions__section-title {
    font-size: clamp(20px, 7vw, 28px);
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-promotions__list-item {
    padding-left: 45px;
  }

  .page-promotions__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-promotions__faq-question {
    font-size: 15px;
    padding: 12px 15px;
  }

  .page-promotions__faq-answer {
    font-size: 14px;
    padding: 0 15px 12px 15px;
  }
}