.page-slot-games {
  background-color: #1a1a2e; /* Body background from shared.css */
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared đã cho body padding-top, nên hero dùng 0 */
  margin-top: 0;
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  text-align: center;
  background: #1A202C;
  color: #ffffff;
}

.page-slot-games__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-slot-games__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

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

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background: #f8f9fa;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #1A202C;
}

.page-slot-games__section-intro {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-slot-games__game-type-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games__game-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-type-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-slot-games__game-type-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-type-title {
  font-size: 24px;
  font-weight: bold;
  color: #1A202C;
  margin: 0 0 10px 0;
  padding: 0 15px;
}

.page-slot-games__game-type-description {
  font-size: 16px;
  color: #666666;
  padding: 0 15px;
}

.page-slot-games__cta-buttons--centered {
  margin-top: 50px;
  justify-content: center;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background: #1A202C;
  color: #ffffff;
}

.page-slot-games__section-title--gold {
  color: #FFD700;
}

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

.page-slot-games__benefit-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

.page-slot-games__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 10px 0;
}

.page-slot-games__benefit-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background: #f8f9fa;
  color: #333333;
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.page-slot-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #1A202C;
  margin: 0 0 10px 0;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-primary--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.page-slot-games__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: #1A202C;
  text-align: center;
  margin-bottom: 30px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-slot-games__tips-list li {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__tips-list li strong {
  color: #1A202C;
}

/* Promo Section */
.page-slot-games__promo-section {
  padding: 80px 0;
  background: #1A202C;
  color: #ffffff;
}

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

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 10px 0;
  padding: 0 15px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background: #f8f9fa;
  color: #333333;
}

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

.page-slot-games__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-slot-games__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #1A202C;
  margin: 0 0 10px 0;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background: #1A202C;
  color: #ffffff;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Đảm bảo đủ lớn để chứa nội dung */
  padding: 20px 25px !important;
  opacity: 1;
}

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

.page-slot-games__faq-answer .page-slot-games__btn-primary--small {
  margin-top: 10px;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
  background: #1A202C;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__cta-bottom-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__cta-bottom-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-slot-games__cta-bottom-description {
  font-size: 19px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-slot-games__btn-primary--large {
  padding: 18px 40px;
  font-size: 20px;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 38px;
  }

  .page-slot-games__description {
    font-size: 17px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__section-intro {
    font-size: 16px;
  }

  .page-slot-games__game-type-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid,
  .page-slot-games__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-slot-games__game-type-card img,
  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__cta-bottom-title {
    font-size: 34px;
  }

  .page-slot-games__cta-bottom-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 30px 15px;
  }

  /* Hero Section */
  .page-slot-games__hero-section {
    padding-top: 0 !important; /* Đảm bảo không có padding-top dư thừa */
  }

  /* Intro Section */
  .page-slot-games__intro-section {
    padding: 40px 0;
  }

  .page-slot-games__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section Styles */
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-slot-games__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Game Types Section */
  .page-slot-games__game-types-section {
    padding: 50px 0;
  }

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

  .page-slot-games__game-type-image-wrapper {
    height: 180px;
  }

  .page-slot-games__game-type-title {
    font-size: 20px;
  }

  .page-slot-games__game-type-description {
    font-size: 14px;
  }

  /* Benefits Section */
  .page-slot-games__benefits-section {
    padding: 50px 0;
  }

  .page-slot-games__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__benefit-icon {
    width: 60px;
    height: 60px;
  }

  .page-slot-games__benefit-title {
    font-size: 20px;
  }

  .page-slot-games__benefit-description {
    font-size: 14px;
  }

  /* Guide Section */
  .page-slot-games__guide-section {
    padding: 50px 0;
  }

  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-slot-games__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 15px;
  }

  .page-slot-games__step-title {
    font-size: 20px;
  }

  .page-slot-games__step-description {
    font-size: 14px;
  }

  .page-slot-games__sub-title {
    font-size: 24px;
  }

  .page-slot-games__tips-list li {
    font-size: 15px;
    padding: 12px 15px;
  }

  /* Promo Section */
  .page-slot-games__promo-section {
    padding: 50px 0;
  }

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

  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__promo-title {
    font-size: 20px;
  }

  .page-slot-games__promo-description {
    font-size: 14px;
  }

  /* Features Section */
  .page-slot-games__features-section {
    padding: 50px 0;
  }

  .page-slot-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-slot-games__feature-title {
    font-size: 20px;
  }

  .page-slot-games__feature-description {
    font-size: 14px;
  }

  /* FAQ Section */
  .page-slot-games__faq-section {
    padding: 50px 0;
  }

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

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* CTA Bottom Section */
  .page-slot-games__cta-bottom-section {
    padding: 50px 0;
  }

  .page-slot-games__cta-bottom-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-bottom-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-games__btn-primary--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* Universal image and container rules for mobile */
  .page-slot-games img:not(.page-slot-games__benefit-icon):not(.page-slot-games__feature-icon) {
    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 và padding-right đã được đặt ở .page-slot-games__container */
  }

  /* Specific overrides for small icons if they appear, ensuring they are not 100% width */
  .page-slot-games__benefit-icon,
  .page-slot-games__feature-icon {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    object-fit: contain;
  }
}