/* style/promotions.css */

:root {
  --promotions-bg-dark: #08160F;
  --promotions-card-bg: #11271B;
  --promotions-text-main: #F2FFF6;
  --promotions-text-secondary: #A7D9B8;
  --promotions-border: #2E7A4E;
  --promotions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --promotions-glow: #57E38D;
  --promotions-gold: #F2C14E;
  --promotions-divider: #1E3A2A;
  --promotions-deep-green: #0A4B2C;
}

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

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* body already handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--promotions-bg-dark);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to position content over lower part of hero image */
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--promotions-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 1.1rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--promotions-btn-gradient);
  color: var(--promotions-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--promotions-glow);
  border: 2px solid var(--promotions-glow);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--promotions-glow);
  color: var(--promotions-bg-dark);
  transform: translateY(-3px);
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  color: var(--promotions-text-main);
  text-align: center;
  margin-bottom: 30px;
}

.page-promotions__section-description {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__dark-section {
  background-color: var(--promotions-bg-dark);
  padding: 80px 0;
}

.page-promotions__promotion-categories {
  padding: 80px 0;
}

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

.page-promotions__promotion-card {
  background-color: var(--promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-promotions__card-link {
  display: inline-block;
  color: var(--promotions-gold);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--promotions-gold);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-promotions__card-link:hover {
  color: var(--promotions-glow);
  border-color: var(--promotions-glow);
}

.page-promotions__vip-program {
  padding: 80px 0;
  background-color: var(--promotions-bg-dark);
}

.page-promotions__vip-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-promotions__vip-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__vip-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__vip-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__sub-title {
  font-size: 1.8rem;
  color: var(--promotions-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-promotions__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-promotions__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--promotions-text-secondary);
}

.page-promotions__list li::before {
  content: '★';
  color: var(--promotions-gold);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.page-promotions__btn-centered {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: var(--promotions-deep-green);
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions__step-card {
  background-color: var(--promotions-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon {
  background: var(--promotions-btn-gradient);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--promotions-text-main);
  margin: 0 auto 25px auto;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--promotions-text-main);
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  color: var(--promotions-text-secondary);
}

.page-promotions__step-text a {
  color: var(--promotions-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-promotions__terms-conditions {
  padding: 80px 0;
  background-color: var(--promotions-bg-dark);
}

.page-promotions__terms-list {
  margin-bottom: 40px;
}

.page-promotions__terms-list li {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--promotions-text-secondary);
}

.page-promotions__terms-list li strong {
  color: var(--promotions-text-main);
}

.page-promotions__text-link {
  color: var(--promotions-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
  color: var(--promotions-glow);
}

.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--promotions-deep-green);
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--promotions-text-main);
  cursor: pointer;
  background-color: var(--promotions-card-bg);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(17, 39, 27, 0.7);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: rgba(17, 39, 27, 0.7);
}

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

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--promotions-gold);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

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

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

/* Remove default details arrow */
.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-item summary {
  list-style: none;
}

.page-promotions__cta-section-bottom {
  padding: 80px 0;
  background-color: var(--promotions-bg-dark);
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
  }
  .page-promotions__vip-content {
    flex-direction: column-reverse;
  }
  .page-promotions__vip-text,
  .page-promotions__vip-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-promotions__description {
    font-size: 1rem;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-promotions__section-description {
    font-size: 0.9rem;
  }

  .page-promotions__dark-section,
  .page-promotions__promotion-categories,
  .page-promotions__vip-program,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-section-bottom {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px; /* Add padding for mobile content */
  }

  /* 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__promotion-card,
  .page-promotions__vip-image-wrapper,
  .page-promotions__step-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Video responsiveness (if any) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }

  /* Button responsiveness */
  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .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-left: 15px;
    padding-right: 15px;
  }
  .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;
    overflow: hidden !important;
    flex-direction: column; /* Ensure buttons stack vertically */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-content {
    margin-top: -60px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-promotions__faq-toggle {
    font-size: 1.5rem;
  }
}