/* Base styles for the promotions page */
.page-promotions {
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  padding-bottom: 50px;
}

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

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #FFF1E8;
}

/* 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;
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(42, 18, 18, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  transform: translateY(-50px); /* Overlap slightly for visual flow */
  position: relative;
  z-index: 2;
  border: 1px solid #6A1E1E;
}

.page-promotions__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
  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, 176, 74, 0.6);
}

.page-promotions__cta-button--bottom {
  margin-top: 40px;
}

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

.page-promotions__promo-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 16px;
  color: #FFF1E8;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background-color: #F3C54D; /* Gold */
  color: #140C0C;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-promotions__step-content h3 {
  font-size: 20px;
  color: #F3C54D; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__step-content p {
  font-size: 16px;
  color: #FFF1E8;
  line-height: 1.6;
}

.page-promotions__step-content a {
  color: #FFB04A; /* Lighter gold for links */
  text-decoration: underline;
}

.page-promotions__step-content a:hover {
  color: #F3C54D;
}

/* Terms and Conditions */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF1E8;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 16px;
}

.page-promotions__text-link {
  display: block;
  text-align: center;
  color: #FFB04A;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
}

.page-promotions__text-link:hover {
  text-decoration: underline;
  color: #F3C54D;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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(255, 255, 255, 0.05); /* Slightly lighter hover */
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2); /* Darker background for answer */
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #FFF1E8;
}

/* Responsive styles */
@media (max-width: 1023px) {
  /* No game trial specific CSS as this is a promotions page */
}

@media (min-width: 1024px) {
  /* No game trial specific CSS as this is a promotions page */
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 28px;
  }

  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-promotions__hero-content {
    padding: 30px 15px;
    transform: translateY(-30px);
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-promotions__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-button {
    font-size: 16px;
    padding: 12px 25px;
    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__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-promotions__card-text {
    font-size: 15px;
  }

  .page-promotions__card-button {
    font-size: 15px;
    padding: 10px 20px;
    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__steps-list {
    gap: 20px;
  }

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

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

  .page-promotions__step-content h3 {
    font-size: 18px;
  }

  .page-promotions__step-content p {
    font-size: 15px;
  }

  .page-promotions__terms-list {
    font-size: 15px;
    padding-left: 20px;
  }

  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: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  .page-promotions__faq-answer p {
    font-size: 15px;
  }

  /* General image and container responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__hero-section,
  .page-promotions__promo-grid,
  .page-promotions__promo-card,
  .page-promotions__how-to-claim,
  .page-promotions__promo-terms,
  .page-promotions__faq-section,
  .page-promotions__faq-list,
  .page-promotions__step-item,
  .page-promotions__cta-button,
  .page-promotions__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button groups for mobile */
  .page-promotions__cta-buttons,
  .page-promotions__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}