/* Base styles for promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  border-bottom: 2px solid #3A2A12;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  height: auto;
}

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

.page-promotions__hero-content {
  position: relative;
  padding: 40px 15px;
  text-align: center;
  background: rgba(10, 10, 10, 0.7);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #FFD36B; /* Accent color */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.8);
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small,
.page-promotions__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promotions__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-2px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  border-radius: 5px;
}

.page-promotions__btn-small:hover {
  opacity: 0.9;
}

.page-promotions__btn-large {
  padding: 16px 35px;
  font-size: 20px;
}

/* Dark sections for contrast */
.page-promotions__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
  margin-bottom: 50px;
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description {
  color: #FFD36B;
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 60px 0;
}

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

.page-promotions__feature-item {
  text-align: center;
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__feature-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__feature-item h3 {
  font-size: 24px;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-promotions__feature-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Categories Section */
.page-promotions__categories-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

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

.page-promotions__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
}

.page-promotions__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-promotions__card-content h3 {
  font-size: 22px;
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-content p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__claim-steps li {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  counter-increment: step-counter;
}

.page-promotions__claim-steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  border: 3px solid #0A0A0A;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.6);
}

.page-promotions__claim-steps li h3 {
  font-size: 24px;
  color: #F2C14E;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions__claim-steps li p {
  font-size: 16px;
  color: #FFF6D6;
  text-align: center;
}

.page-promotions__claim-steps li a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-promotions__claim-steps li a:hover {
  color: #F2C14E;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 30px;
  color: #FFF6D6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-promotions__terms-section .page-promotions__btn-secondary {
  display: block;
  margin: 40px auto 0;
  width: fit-content;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 0;
}

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

.page-promotions__advantage-item {
  text-align: center;
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__advantage-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__advantage-item h3 {
  font-size: 22px;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promotions__advantage-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 50px 0;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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(242, 193, 78, 0.1);
}

.page-promotions__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
  color: #FFD36B;
}

.page-promotions__cta-bottom-section .page-promotions__section-description {
  color: #FFF6D6;
}

/* Responsive Styles */

/* Fixed template for homepage game trial - REQUIRED TO BE INCLUDED */
@media (max-width: 1023px) {
  .page-promotions__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-promotions__hero-brand,
  .page-promotions__hero-jackpot {
    display: none !important;
  }
  .page-promotions__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-topbar,
  .page-promotions__game-trial-bottombar {
    display: none !important;
  }
  .page-promotions__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-promotions__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-promotions__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}