.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-slot-games__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
  background-color: #0D0E12;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 15px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
  margin-top: -100px; /* Overlap image slightly for visual effect */
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-slot-games__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  border: 2px solid #A84F0C; /* Border */
}

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

.page-slot-games__section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-slot-games__section:nth-of-type(even) {
  background-color: #17191F; /* Card BG for alternating sections */
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 40px;
  color: #FFF3E6;
}

.page-slot-games p {
  margin-bottom: 1em;
  font-size: 1rem;
  color: #FFF3E6;
}

.page-slot-games__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: #FFA53A;
  margin: 0 15px 10px;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: #FFF3E6;
  padding: 0 15px;
}

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

.page-slot-games__feature-item {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-icon {
  width: 120px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-slot-games__feature-title {
  font-size: 1.3rem;
  color: #FFA53A;
  margin-bottom: 15px;
}

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

.page-slot-games__step-item {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-slot-games__step-item:hover {
  box-shadow: 0 0 20px rgba(255, 165, 58, 0.4);
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #FFF3E6;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #A84F0C;
  color: #FFF3E6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-link:hover {
  background: #FF8C1A;
}

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

.page-slot-games__promo-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__tips-item {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.page-slot-games__tips-item:last-child {
  margin-bottom: 0;
}

.page-slot-games__tips-item:hover {
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.3);
}

.page-slot-games__tips-subtitle {
  font-size: 1.2rem;
  color: #FFA53A;
  margin-top: 0;
  margin-bottom: 10px;
}

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
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: #2a2d36;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.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: #0D0E12; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}

/* Reward Modal Styles */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-slot-games__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.page-slot-games__reward-modal-content {
  background: #17191F; /* Card BG */
  border: 2px solid #FF8C1A;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  position: relative;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFF3E6;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
}

.page-slot-games__reward-modal-close:hover {
  color: #FF8C1A;
}

.page-slot-games__reward-modal-title {
  color: #FFB04D; /* Glow */
  font-size: 2rem;
  margin-bottom: 20px;
}

.page-slot-games__reward-modal p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

/* General Image Responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- HOMEPAGE SPECIFIC CSS (GLOBAL REQUIREMENT) --- */
/* This section is included as per the global CSS file structure requirements, 
   even if the current HTML does not directly use these elements. */
@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;
  }
  /* Additional PC-specific styles for homepage modules */
  .page-slot-games__promo-strip {
    margin-top: 16px;
  }
  .page-slot-games__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-slot-games__promo-strip-card {
    display: flex;
    flex-direction: row; /* Left image, right text */
    align-items: center;
    text-align: left;
    padding: 15px;
    background: #17191F;
    border-radius: 8px;
  }
  .page-slot-games__promo-strip-card-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
  }
  .page-slot-games__promo-strip-card-content h3 {
    font-size: 1.1rem;
    color: #FFA53A;
    margin: 0 0 5px;
  }
  .page-slot-games__promo-strip-card-content p {
    font-size: 0.9rem;
    color: #FFF3E6;
    margin: 0;
  }
  .page-slot-games__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Six columns for PC */
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-slot-games__hot-games-card {
    text-align: center;
    background: #17191F;
    border-radius: 8px;
    padding: 15px;
  }
  .page-slot-games__hot-games-card-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-slot-games__hot-games-name {
    font-size: 1rem;
    color: #FFA53A;
    margin: 0 0 5px;
  }
  .page-slot-games__hot-games-rtp {
    font-size: 0.9rem;
    color: #FFF3E6;
    margin: 0;
  }
  .page-slot-games__hot-games-desc {
    display: block; /* Show description on PC */
    font-size: 0.85rem;
    color: #A84F0C;
    margin-top: 5px;
  }
  .page-slot-games__hero-brand h1 {
    font-size: 2.5rem;
    color: #FFB04D;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-brand-trust-items {
    display: flex;
    flex-direction: column; /* Vertical flex for trust items */
    gap: 15px;
  }
  .page-slot-games__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 1000;
  }
}

/* --- MOBILE RESPONSIVENESS (GENERAL & HOMEPAGE MODULES) --- */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding-bottom: 20px;
  }
  .page-slot-games__hero-image {
    max-height: 300px;
  }
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-slot-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-slot-games__grid-layout,
  .page-slot-games__feature-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card-image {
    height: 180px;
  }
  .page-slot-games__card-title {
    font-size: 1.2rem;
  }
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__promo-card,
  .page-slot-games__tips-item {
    padding: 20px;
  }
  .page-slot-games__tips-subtitle {
    font-size: 1.1rem;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Mobile image and container adaptation */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__container,
  .page-slot-games__game-card,
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__promo-card,
  .page-slot-games__tips-item,
  details.page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Homepage module specific mobile styles */
  .page-slot-games__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Two columns for mobile promo strip */
    overflow-x: hidden;
    gap: 15px;
  }
  .page-slot-games__promo-strip-card {
    flex-direction: column; /* Top image, bottom text */
    text-align: center;
    padding: 10px;
  }
  .page-slot-games__promo-strip-card-image {
    margin: 0 auto 10px;
  }
  .page-slot-games__hot-games-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for mobile hot games */
    gap: 15px;
  }
  .page-slot-games__hot-games-name,
  .page-slot-games__hot-games-rtp,
  .page-slot-games__hot-games-desc {
    display: none; /* Hide for mobile to keep cards compact */
  }
  .page-slot-games__brand-intro {
    display: block; /* Show brand intro on mobile if hidden on desktop */
    padding: 30px 15px;
    text-align: center;
  }
  .page-slot-games__winner-ticker {
    padding: 8px 0;
    font-size: 0.9rem;
  }
}

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