/* style/slot-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

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

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

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4 {
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
}

.page-slot-games h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.page-slot-games h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 600;
}

.page-slot-games p {
  margin-bottom: 15px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__section-title {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__section-spacing {
  padding: 60px 0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top, chỉ cần 10px trang trí */
  overflow: hidden;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-top: -150px; /* Kéo nội dung lên trên ảnh một chút nhưng không che phủ */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  color: var(--page-slot-games-gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
  margin-bottom: 20px;
}

.page-slot-games__intro-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-main);
}

.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;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.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);
  border: 2px solid var(--page-slot-games-gold);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* Why Choose Section */
.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-card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-card .page-slot-games__card-title {
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
}

.page-slot-games__feature-card .page-slot-games__card-text {
  color: var(--page-slot-games-text-secondary);
}

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

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

.page-slot-games__game-type-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__game-type-card .page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-type-card .page-slot-games__card-title {
  color: var(--page-slot-games-gold);
  padding: 15px 20px 5px 20px;
}

.page-slot-games__game-type-card .page-slot-games__card-text {
  color: var(--page-slot-games-text-secondary);
  padding: 0 20px 20px 20px;
}

/* How To Play Section */
.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-slot-games__step-title {
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__step-title::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--page-slot-games-gold);
  color: var(--page-slot-games-bg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-slot-games__step-text {
  color: var(--page-slot-games-text-secondary);
}

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

/* Strategy Section */
.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-slot-games__tip-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--page-slot-games-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__tip-title {
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
}

.page-slot-games__tip-text {
  color: var(--page-slot-games-text-secondary);
}

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

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

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__promo-card .page-slot-games__card-title {
  color: var(--page-slot-games-text-main);
  padding: 15px 20px 5px 20px;
}

.page-slot-games__promo-card .page-slot-games__card-text {
  color: var(--page-slot-games-text-secondary);
  padding: 0 20px 20px 20px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-slot-games__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

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

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

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-slot-games__step-list {
    counter-reset: step-counter;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-slot-games__step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    margin-top: -80px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-slot-games__intro-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% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games__section-spacing {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-slot-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-slot-games__container {
    padding: 0 15px !important;
  }

  /* Responsive images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive containers for images/videos/buttons */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for content sections on mobile */
  .page-slot-games__features-grid,
  .page-slot-games__game-type-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__step-list,
  .page-slot-games__tip-list,
  .page-slot-games__faq-list {
    gap: 20px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }
}