/* General styles for page-promotions */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

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

.page-promotions__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-promotions__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-promotions__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__cta-button,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary,
.page-promotions__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover,
.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #11271B;
  color: #2AD16F;
  border: 1px solid #2AD16F;
}

.page-promotions__btn-secondary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
  border-color: #2E7A4E;
  transform: translateY(-2px);
}

.page-promotions__link-inline {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-promotions__link-inline:hover {
  text-decoration: underline;
  color: #57E38D;
}

/* Hero Section */
.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-promotions__hero-section .page-promotions__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-promotions__hero-content {
  flex: 1;
  min-width: 0;
}

.page-promotions__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__hero-image-wrapper {
  flex-shrink: 0;
  width: 55%;
  max-width: 800px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Featured Offers */
.page-promotions__featured-offers {
  padding: 80px 0;
}

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

.page-promotions__offer-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.4);
}

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

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

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

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

.page-promotions__card-button {
  width: 100%;
  font-size: 16px;
  padding: 12px 20px;
}

/* How to Claim */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-promotions__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-promotions__step-text {
  font-size: 16px;
  color: #A7D9B8;
}

/* Terms and Conditions */
.page-promotions__terms-conditions {
  padding: 80px 0;
}

.page-promotions__tcs-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 30px;
  padding-left: 20px;
  color: #A7D9B8;
}

.page-promotions__tcs-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-promotions__tcs-footer {
  font-size: 16px;
  color: #A7D9B8;
}

/* Why Choose vipwwin */
.page-promotions__why-choose {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-promotions__benefit-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-promotions__benefit-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-promotions__benefit-text {
  font-size: 16px;
  color: #A7D9B8;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 15px 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: #F2FFF6; /* Text Main */
}

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(46, 122, 78, 0.2); /* Slightly lighter hover */
}

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

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  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: #0A4B2C; /* Deep Green */
  border-radius: 0 0 12px 12px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
  text-align: left;
}

/* Final CTA */
.page-promotions__cta-final {
  padding: 80px 0;
}

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

/* Reward Modal (Generic for any page that might trigger it) */
.page-promotions__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-promotions__reward-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.page-promotions__reward-modal-content {
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #F2C14E; /* Gold border */
}

.page-promotions__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.page-promotions__reward-modal-close:hover {
  color: #2AD16F;
}

.page-promotions__reward-modal-title {
  font-size: 32px;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-promotions__reward-modal-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-promotions__reward-modal-button {
  width: auto;
  padding: 12px 25px;
  font-size: 18px;
}

/* The following media queries are included as per strict instructions, even if this page's HTML doesn't explicitly use all these homepage-specific sections. */
/* 1023px for homepage trial reset */
@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;
  }
}

/* 1024px for PC three-column layout (homepage specific) */
@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;
  }
  /* Additional PC layout for homepage-like sections */
  .page-promotions__promo-strip {
    margin-top: 16px;
  }
  .page-promotions__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-promotions__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .page-promotions__promo-card-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-promotions__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-promotions__hot-games-item {
    text-align: center;
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: block;
  }
  .page-promotions__brand-intro {
    display: block;
  }
  .page-promotions__brand-intro-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
  }
  .page-promotions__winner-ticker {
    position: static;
    padding-bottom: 0;
  }
}

/* Mobile Adaptation (max-width: 768px) */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__section-description {
    font-size: 16px;
  }

  /* Hero Section */
  .page-promotions__hero-section .page-promotions__container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .page-promotions__main-title {
    font-size: 32px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
  }
  .page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100% !important;
  }

  /* Offers Grid */
  .page-promotions__offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__offer-card {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__offer-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-text {
    font-size: 15px;
  }

  /* How to Claim */
  .page-promotions__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__step-title {
    font-size: 20px;
  }
  .page-promotions__step-text {
    font-size: 15px;
  }

  /* Why Choose */
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__benefit-title {
    font-size: 20px;
  }
  .page-promotions__benefit-text {
    font-size: 15px;
  }

  /* FAQ */
  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: 24px;
    width: 24px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* All images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__offer-card,
  .page-promotions__step-item,
  .page-promotions__benefit-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-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Homepage specific media queries (required to be present) */
  .page-promotions__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-promotions__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__promo-card-image {
    margin: 0 auto 10px;
  }
  .page-promotions__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: none;
  }
  .page-promotions__brand-intro {
    padding: 30px 15px;
  }
  .page-promotions__brand-intro-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .page-promotions__winner-ticker {
    padding: 10px 0;
    font-size: 14px;
  }
  /* Fixed winner ticker at bottom for mobile */
  .page-promotions__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
  .page-promotions__winner-ticker-text {
    white-space: nowrap;
    overflow: hidden;
    animation: ticker-scroll 15s linear infinite;
  }
  @keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
}

/* Overlay and game trial specific styles */
.page-promotions__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #F2FFF6;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.page-promotions__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
  opacity: 0;
}

.page-promotions__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  cursor: pointer;
}

.page-promotions__game-trial-start:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-promotions__game-trial-shell {
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 10px;
  overflow: hidden;
}