/* style/slot-games.css */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-bg-color: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-top: -80px; /* Pull content up slightly over image for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Card BG with opacity */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__hero-title {
  color: var(--page-slot-games-gold-color);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

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

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

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

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-gold-color);
  color: var(--page-slot-games-bg-color);
  transform: translateY(-3px);
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__text-block {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-card-bg);
  padding: 60px 0;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__dark-bg .page-slot-games__text-block,
.page-slot-games__dark-bg .page-slot-games__link {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__link {
  color: var(--page-slot-games-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__link:hover {
  color: var(--page-slot-games-gold-color);
  text-decoration: underline;
}

.page-slot-games__highlight {
  color: var(--page-slot-games-gold-color);
  font-weight: bold;
}

.page-slot-games__feature-list,
.page-slot-games__tip-list,
.page-slot-games__security-list,
.page-slot-games__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__feature-list li,
.page-slot-games__tip-list li,
.page-slot-games__security-list li,
.page-slot-games__app-benefits li {
  background: var(--page-slot-games-deep-green);
  border-left: 5px solid var(--page-slot-games-primary-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  color: var(--page-slot-games-text-main);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-list li strong,
.page-slot-games__tip-list li strong,
.page-slot-games__security-list li strong,
.page-slot-games__app-benefits li strong {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__games-showcase-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

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

.page-slot-games__game-card {
  background: var(--page-slot-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card-title {
  color: var(--page-slot-games-gold-color);
  font-size: 1.5rem;
  margin: 20px 15px 10px 15px;
}

.page-slot-games__game-card-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
}

.page-slot-games__btn-play {
  display: inline-block;
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.page-slot-games__btn-play:hover {
  background: var(--page-slot-games-primary-color);
}

.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-slot-games__step-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 25px;
  color: var(--page-slot-games-text-main);
  font-size: 1.05rem;
}

.page-slot-games__step-list li::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter) ":";
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  background: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-list li strong {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__strategies-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__promotions-section {
  padding: 60px 0;
}

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

.page-slot-games__promo-card {
  background: var(--page-slot-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card-title {
  color: var(--page-slot-games-gold-color);
  font-size: 1.4rem;
  margin: 20px 15px 10px 15px;
}

.page-slot-games__promo-card-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
}

.page-slot-games__btn-view-details {
  display: inline-block;
  background: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.3s ease;
  border: 1px solid var(--page-slot-games-primary-color);
}

.page-slot-games__btn-view-details:hover {
  background: var(--page-slot-games-primary-color);
}

.page-slot-games__security-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-slot-games__security-list {
  flex: 2;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-slot-games__app-download-section {
  padding: 60px 0;
}

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

.page-slot-games__app-benefits li {
  background: var(--page-slot-games-deep-green);
  border-left: 5px solid var(--page-slot-games-gold-color);
}

.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding */
  box-sizing: border-box;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__video-container {
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__video-wrapper {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--page-slot-games-gold-color);
  transition: border-color 0.3s ease;
}

.page-slot-games__video-wrapper:hover {
  border-color: var(--page-slot-games-primary-color);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item[open] {
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-slot-games-gold-color);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.5;
}

.page-slot-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-slot-games__hero-title {
    font-size: 2rem;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95rem;
  }

  .page-slot-games__feature-list li,
  .page-slot-games__tip-list li,
  .page-slot-games__security-list li,
  .page-slot-games__app-benefits li {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .page-slot-games__game-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-card-image,
  .page-slot-games__promo-card-image {
    height: 180px;
  }

  .page-slot-games__game-card-title,
  .page-slot-games__promo-card-title {
    font-size: 1.3rem;
  }

  .page-slot-games__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__security-image {
    max-width: 100%;
  }

  .page-slot-games__step-list li {
    padding-left: 50px;
    font-size: 0.95rem;
  }

  .page-slot-games__step-list li::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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,
  .page-slot-games__game-card,
  .page-slot-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px 15px;
  }

  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__cta-button,
  .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-direction: column; /* Ensure buttons stack vertically */
  }
}

/* Ensure content section padding is consistent on mobile */
.page-slot-games__introduction-section,
.page-slot-games__games-showcase-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategies-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section,
.page-slot-games__app-download-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding-left: 0;
  padding-right: 0;
}
.page-slot-games__introduction-section > .page-slot-games__container,
.page-slot-games__games-showcase-section > .page-slot-games__container,
.page-slot-games__how-to-play-section > .page-slot-games__container,
.page-slot-games__strategies-section > .page-slot-games__container,
.page-slot-games__promotions-section > .page-slot-games__container,
.page-slot-games__security-section > .page-slot-games__container,
.page-slot-games__app-download-section > .page-slot-games__container,
.page-slot-games__faq-section > .page-slot-games__container,
.page-slot-games__conclusion-section > .page-slot-games__container {
  padding-left: 15px;
  padding-right: 15px;
}