/* style/promotions.css */

/* Base styles for page-promotions */
.page-promotions {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  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__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-promotions__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-promotions__list,
.page-promotions__list-ordered {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #FFF3E6;
}

.page-promotions__list li,
.page-promotions__list-ordered li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-promotions__list li strong,
.page-promotions__list-ordered li strong {
  color: #FFA53A;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px; /* Small top padding */
  background-color: #0D0E12;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to pull content up slightly, but not overlap image */
  background-color: rgba(13, 14, 18, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__main-title {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Slightly brighter on hover */
  transform: translateY(-2px);
}

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

.page-promotions__cta-button--secondary {
  background: none;
  border: 2px solid #FFA53A;
  color: #FFA53A;
}

.page-promotions__cta-button--secondary:hover {
  background: #FFA53A;
  color: #ffffff;
}

/* Intro Section */
.page-promotions__intro-section,
.page-promotions__details-section,
.page-promotions__benefits-section,
.page-promotions__games-showcase,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

/* Content Grid */
.page-promotions__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__grid-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
}

.page-promotions__grid-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary */
  margin-bottom: 20px;
  text-align: center;
}

.page-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__image--center {
  margin-bottom: 40px;
}

/* Benefits Section */
.page-promotions__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__benefit-card,
.page-promotions__game-card {
  background-color: #17191F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
  text-align: center;
}

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FF8C1A; /* Primary */
  margin-bottom: 15px;
}

.page-promotions__card-text {
  color: #FFF3E6;
  font-size: 1rem;
}

/* Games Showcase */
.page-promotions__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__game-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-promotions__game-title a {
  color: #FFA53A; /* Auxiliary */
  text-decoration: none;
}

.page-promotions__game-title a:hover {
  text-decoration: underline;
}

.page-promotions__game-description {
  color: #FFF3E6;
  font-size: 0.95rem;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #17191F; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FF8C1A; /* Primary */
  cursor: pointer;
  user-select: none;
  background-color: #17191F;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  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;
  font-size: 1.1rem;
  color: #FFF3E6;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promotions__content-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

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

  .page-promotions__sub-title {
    font-size: 1.5rem;
  }

  .page-promotions__text-block,
  .page-promotions__list li,
  .page-promotions__list-ordered li,
  .page-promotions__card-text,
  .page-promotions__game-description,
  .page-promotions__faq-answer {
    font-size: 1rem;
  }

  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__cta-wrapper {
    padding: 0 15px;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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__cta-wrapper, .page-promotions__games-grid, .page-promotions__benefits-grid, .page-promotions__content-grid, .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__details-section,
  .page-promotions__benefits-section,
  .page-promotions__games-showcase,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-promotions__hero-content {
    margin-top: -30px;
  }
}