/* CSS Reset & Base Styles (from shared.css) are omitted here as per instructions */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --header-offset: 122px; /* Default, will be overridden by shared.css body padding-top */
}

.page-promotions {
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color);
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
}

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

.page-promotions__hero-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image slightly for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: #e0e0e0;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #ccc;
}

.page-promotions__current-promos,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.page-promotions__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

.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-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-promotions__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-promotions__promo-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
  flex-grow: 1;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  align-self: flex-start;
}

.page-promotions__vip-program {
  padding: 80px 0;
  text-align: center;
}

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

.page-promotions__vip-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__vip-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-promotions__vip-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

.page-promotions__vip-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-promotions__how-to-claim {
  padding: 80px 0;
}

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

.page-promotions__claim-steps li {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions__claim-steps li h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-promotions__claim-steps li p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}

.page-promotions__step-icon-wrapper {
  width: 120px;
  height: 120px;
  background: rgba(255, 211, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px dashed var(--secondary-color);
}

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

.page-promotions__terms-conditions {
  padding: 80px 0;
}

.page-promotions__terms-list {
  list-style: disc inside;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 20px;
  color: #ccc;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1rem;
}

.page-promotions__terms-list li::marker {
  color: var(--primary-color);
}

.page-promotions__faq-section {
  padding: 80px 0;
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--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;
  color: var(--text-main-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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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(17, 17, 17, 0.8);
  border-radius: 0 0 5px 5px;
  color: #ccc;
}

.page-promotions__faq-answer p {
  margin: 0;
  line-height: 1.7;
}

/* --- General Responsive Styles --- */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Homepage Specific CSS (as per prompt instructions, despite being promotions.html) --- */
@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;
  }
}

/* --- Mobile Specific Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-promotions {
    padding-top: 0; /* Rely on body padding-top, no extra here */
  }

  .page-promotions__hero-section {
    padding: 40px 0;
  }

  .page-promotions__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-promotions__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__current-promos,
  .page-promotions__vip-program,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section {
    padding: 50px 0;
  }

  .page-promotions__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__promo-content {
    padding: 20px;
  }

  .page-promotions__promo-title {
    font-size: 1.2rem;
  }

  .page-promotions__promo-text {
    font-size: 0.85rem;
  }

  .page-promotions__btn-small {
    align-self: center;
    width: auto;
  }

  .page-promotions__vip-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__claim-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .page-promotions__claim-steps li {
    padding: 20px;
  }

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

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }

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

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

  /* Mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__hero-image-wrapper,
  .page-promotions__current-promos .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__vip-item,
  .page-promotions__claim-steps li,
  .page-promotions__terms-conditions .page-promotions__container,
  .page-promotions__faq-section .page-promotions__container,
  .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;
  }
}

/* Homepage Game Trial Specific CSS (from prompt example JSON, despite being promotions.html) */
.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;}