/* Base Styles & Typography */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

.page-slot-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Primary color */
  line-height: 1.2;
}

.page-slot-games__section-text {
  font-size: 17px;
  text-align: center;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 20px;
  overflow: hidden;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
  max-width: 900px;
  background: rgba(16, 16, 16, 0.7); /* Semi-transparent dark background for text */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image for design effect */
}

.page-slot-games__hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,211,107,0.5);
}

.page-slot-games__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Buttons */
.page-slot-games__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E; /* Border color */
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

/* Dark Section */
.page-slot-games__dark-section {
  background: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
}

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

.page-slot-games__feature-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* Game Types Grid */
.page-slot-games__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__game-type-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-slot-games__game-type-title {
  font-size: 22px;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-type-description {
  font-size: 15px;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* How-to-Play List */
.page-slot-games__how-to-play-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__how-to-play-list li {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  counter-increment: step-counter;
  text-align: left;
}

.page-slot-games__how-to-play-list li::before {
  content: "Bước " counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background: #F2C14E;
  color: #0A0A0A;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
}

.page-slot-games__how-to-play-step-title {
  font-size: 20px;
  color: #FFD36B;
  margin-bottom: 10px;
  margin-top: 0;
}

.page-slot-games__how-to-play-step-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* Promotions Section */
.page-slot-games__promo-card {
  display: flex;
  flex-direction: row;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.page-slot-games__promo-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.page-slot-games__promo-title {
  font-size: 28px;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-slot-games__promo-description {
  font-size: 17px;
  color: #FFF6D6;
  margin-bottom: 25px;
}

/* Game Trial Section */
.page-slot-games__game-trial-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Standard aspect ratio for games */
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #F2C14E;
}

.page-slot-games__game-trial-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-slot-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5; /* Z-index for overlay */
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-slot-games__game-trial-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
  cursor: pointer;
  z-index: 6; /* Z-index for start button */
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-trial-start:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 30px rgba(255, 211, 107, 0.9);
}

.page-slot-games__game-trial-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important; /* Force hide */
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* 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 25px;
  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: #1a1a1a;
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-slot-games__faq-banner-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

/* Conclusion Section */
.page-slot-games__conclusion-section .page-slot-games__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 25px 15px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__promo-card {
    flex-direction: column;
  }
  .page-slot-games__promo-image,
  .page-slot-games__promo-content {
    width: 100%;
  }
  .page-slot-games__promo-content {
    padding: 25px;
    text-align: center;
  }
  .page-slot-games__promo-title {
    font-size: 24px;
  }
  .page-slot-games__promo-description {
    font-size: 16px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-type-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 30px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }
  .page-slot-games__section-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-content {
    margin-top: -30px;
    padding: 20px 10px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-slot-games__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .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__how-to-play-list li {
    padding: 20px;
  }
  .page-slot-games__how-to-play-list li::before {
    top: -12px;
    left: 15px;
    padding: 3px 10px;
    font-size: 13px;
  }
  .page-slot-games__how-to-play-step-title {
    font-size: 18px;
  }
  .page-slot-games__how-to-play-step-description {
    font-size: 15px;
  }
  .page-slot-games__game-trial-wrapper {
    aspect-ratio: 4 / 3;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-type-grid {
    gap: 15px;
  }
  .page-slot-games__promo-image,
  .page-slot-games__promo-content {
    padding: 20px;
  }
}

/* No special 1023px/1024px homepage trial CSS for this inner page */

/* Ensure images don't use filters */
.page-slot-games img {
  filter: none; /* Absolutely no CSS filters */
}

/* Default colors for elements not explicitly styled to ensure contrast */
.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
  color: #FFD36B; /* Glow color for headers */
}
.page-slot-games p, .page-slot-games li {
  color: #FFF6D6; /* Text Main for paragraphs and list items */
}