:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: var(--text-main);
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

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

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

.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: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: var(--btn-gradient);
  color: #0A0A0A; /* Dark text for light gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-promotions__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  background: var(--btn-gradient);
  color: #0A0A0A;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 211, 107, 0.3);
}

.page-promotions__btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 211, 107, 0.4);
}

.page-promotions__btn-large {
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-promotions__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main);
}

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

.page-promotions__promo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  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.6);
}

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

.page-promotions__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card-title {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promo-card-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-promotions__guide-step-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__guide-step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 211, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(255, 211, 107, 0.3), 0 0 15px rgba(255, 211, 107, 0.2);
}

.page-promotions__step-icon img {
  
  
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-promotions__step-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: var(--text-main);
}

.page-promotions__step-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-promotions__terms-list li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-promotions__terms-list li p {
  margin: 0;
}

.page-promotions__terms-list li strong {
  color: var(--secondary-color);
}

.page-promotions__read-more-terms {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-promotions__read-more-terms a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-promotions__read-more-terms a:hover {
  text-decoration: underline;
}

.page-promotions__dark-section {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-promotions__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 211, 107, 0.2);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 8px var(--glow-color));
}

.page-promotions__feature-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__feature-text {
  font-size: 1rem;
  color: var(--text-main);
}

/* FAQ Section Styling */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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: var(--secondary-color);
}

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, 211, 107, 0.05);
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: rgba(17, 17, 17, 0.8);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}

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

.page-promotions__cta-bottom-section {
  background: linear-gradient(135deg, #0A0A0A, #1A1A1A);
  padding: 80px 0;
  text-align: center;
}

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

.page-promotions__cta-bottom-content .page-promotions__section-title {
  color: var(--secondary-color);
}

.page-promotions__highlight-text {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Common image responsive styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@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;
  }
}

@media (min-width: 1024px) {
  .page-promotions__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-promotions__hero-brand,
  .page-promotions__hero-jackpot,
  .page-promotions__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-promotions__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-promotions__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-promotions__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 20px;
  }
  .page-promotions__hero-content {
    padding: 20px 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-promotions__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small,
  .page-promotions__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }
  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promo-card-image {
    height: 180px;
  }
  .page-promotions__promo-card-content {
    padding: 20px;
  }
  .page-promotions__promo-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .page-promotions__promo-card-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .page-promotions__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__guide-step-item {
    padding: 25px;
  }
  .page-promotions__step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  .page-promotions__step-icon img {
    
    
  }
  .page-promotions__step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .page-promotions__step-text {
    font-size: 0.9rem;
  }

  .page-promotions__terms-list li {
    padding: 15px;
    font-size: 0.9rem;
  }
  .page-promotions__read-more-terms {
    font-size: 0.9rem;
  }

  .page-promotions__dark-section {
    padding: 50px 0;
  }
  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__feature-item {
    padding: 25px;
  }
  .page-promotions__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  .page-promotions__feature-title {
    font-size: 1.2rem;
  }
  .page-promotions__feature-text {
    font-size: 0.9rem;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-qtext {
    font-size: 1rem;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }

  .page-promotions__cta-bottom-section {
    padding: 50px 0;
  }
  .page-promotions__cta-bottom-content .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .page-promotions__cta-bottom-content .page-promotions__section-description {
    font-size: 0.95rem;
  }

  /* General image and container rules for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__guide-step-item,
  .page-promotions__feature-item,
  details.page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }
  .page-promotions__game-trial-overlay.is-hidden {
    display: none !important;
    pointer-events: none !important;
  }
}

.page-promotions__game-trial-overlay {z-index:5;pointer-events:auto;}
.page-promotions__game-trial-overlay.is-hidden {display:none!important;pointer-events:none!important;}
.page-promotions__game-trial-start {z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-promotions__game-trial-shell {border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-promotions__reward-modal {position:fixed;inset:0;z-index:10000;}
.page-promotions__reward-modal.is-hidden {visibility: hidden; opacity: 0; transition: visibility 0s 0.3s, opacity 0.3s ease;}
.page-promotions__reward-modal:not(.is-hidden) {visibility: visible; opacity: 1; transition: opacity 0.3s ease;}
.page-promotions__reward-modal-close {position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer;}