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

/* Fixed header offset - only small top margin for first section, body padding handled by shared.css */
.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #0A4B2C; /* Deep Green for hero background */
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #2E7A4E; /* Border */
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.page-promotions__main-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}
@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: 28px;
  }
}

.page-promotions__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .page-promotions__hero-description {
    font-size: 16px;
  }
}

.page-promotions__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .page-promotions__cta-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* For mobile button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}
.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}
.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}
.page-promotions__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}
.page-promotions__btn-secondary:hover {
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Dark background color */
}
.page-promotions__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}
.page-promotions__btn-small:hover {
  opacity: 0.9;
}

/* Hero image */
.page-promotions__hero-image-container {
  max-width: 100%;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-width: 100%; /* Ensure responsiveness */
}

/* General section styling */
.page-promotions__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 26px;
  }
}

.page-promotions__section-description {
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .page-promotions__section-description {
    font-size: 15px;
  }
}

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

.page-promotions__promo-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  max-width: 100%;
}
@media (max-width: 768px) {
  .page-promotions__promo-card-image {
    height: 180px;
  }
}

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

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .page-promotions__promo-card-title {
    font-size: 18px;
  }
}

.page-promotions__promo-card-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}
@media (max-width: 768px) {
  .page-promotions__promo-card-text {
    font-size: 14px;
  }
}

.page-promotions__cta-full-width {
  text-align: center;
  margin-top: 50px;
}

/* How to Claim section */
.page-promotions__how-to-claim {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description {
  color: #F2FFF6;
}

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

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}
.page-promotions__step-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
}
.page-promotions__step-text a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: 600;
}
.page-promotions__step-text a:hover {
  text-decoration: underline;
}

/* Terms & Conditions */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 20px;
  color: #F2FFF6;
  font-size: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-promotions__terms-list li {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

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

/* FAQ styles as provided in the prompt, adapted to BEM and colors */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Increased border-radius for modern look */
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 8px 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; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6; /* Main Text */
}
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: #1E3A2A; /* Divider for hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px; /* Increased font size */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold for question text */
}
.page-promotions__faq-toggle {
  font-size: 28px; /* Increased toggle size */
  font-weight: bold;
  color: #57E38D; /* Glow for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Increased width */
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 20px; /* Increased padding */
  background: #0A4B2C; /* Deep Green for answer background */
  border-radius: 0 0 10px 10px; /* Match item border-radius */
  color: #A7D9B8; /* Text Secondary for answer text */
  font-size: 16px;
}
@media (max-width: 768px) {
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 16px; color: #F2C14E;}
  .page-promotions__faq-toggle { font-size: 24px; width: 24px;}
  details.page-promotions__faq-item .page-promotions__faq-answer { font-size: 15px; padding: 0 15px 15px; }
}

/* General image responsiveness for content images */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container responsiveness */
.page-promotions__section,
.page-promotions__promo-grid,
.page-promotions__steps-grid,
.page-promotions__faq-list,
.page-promotions__cta-group {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Start of required homepage media queries (inert for this page's 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;
  }
}
/* --- End of required homepage media queries --- */

/* Mobile specific overrides for 768px and below */
@media (max-width: 768px) {
  .page-promotions__section {
    padding: 0 15px;
    margin: 30px auto;
  }
  
  /* Images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Containers */
  .page-promotions__hero-section,
  .page-promotions__current-promos,
  .page-promotions__how-to-claim,
  .page-promotions__terms,
  .page-promotions__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__hero-content {
    padding: 15px;
  }
}