.page-slot-games {
  color: #FFF3E6;
  background: #0D0E12;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-section {
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-slot-games__intro-text {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-slot-games__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-slot-games__dark-section {
  background: #17191F;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFB04D;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-slot-games__features-grid,
.page-slot-games__game-grid,
.page-slot-games__steps-grid,
.page-slot-games__promo-grid,
.page-slot-games__security-grid {
  display: grid;
  gap: 30px;
  padding: 0 20px;
}

.page-slot-games__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-slot-games__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-slot-games__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-slot-games__security-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-slot-games__card {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon,
.page-slot-games__game-thumbnail,
.page-slot-games__promo-thumbnail,
.page-slot-games__security-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure content images are large */
  margin: 0 auto 20px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-slot-games__security-icon {
  max-width: 200px;
  height: 150px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__step-title,
.page-slot-games__promo-title,
.page-slot-games__security-title {
  font-size: 1.4em;
  color: #FFB04D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__btn-play {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 15px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-slot-games__btn-play:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #D96800;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__btn-link {
  color: #FFA53A;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  color: #FFB04D;
  text-decoration: underline;
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
  text-align: left;
}
details.page-slot-games__faq-item summary.page-slot-games__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;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFB04D;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 165, 58, 0.05);
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}
.page-slot-games__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* --- MANDATORY HOMEPAGE TRIAL CSS BLOCKS (even if not used on this page) --- */
@media (max-width: 1023px) {
  .page-slot-games__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-slot-games__hero-brand,
  .page-slot-games__hero-jackpot {
    display: none !important;
  }
  .page-slot-games__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-slot-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-topbar,
  .page-slot-games__game-trial-bottombar {
    display: none !important;
  }
  .page-slot-games__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-slot-games__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-slot-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-slot-games__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-slot-games__hero-brand,
  .page-slot-games__hero-jackpot,
  .page-slot-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-slot-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-slot-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-slot-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* --- MANDATORY @media (max-width: 768px) CHECKLIST ITEMS --- */
@media (max-width: 768px) {
  .page-slot-games__hero-content {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    margin-top: -80px; /* Pull content up over image a bit */
    border-radius: 0;
  }
  .page-slot-games__main-title {
    font-size: 2em;
  }
  .page-slot-games__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games 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-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__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-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__security-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 1em; }
  .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

/* Common utility for hiding elements */
.is-hidden {
  display: none !important;
  pointer-events: none !important;
}