/* style/slot-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --background-dark: #121212; /* From shared.css body */
  --background-light: #f8f8f8;
  --card-background-dark-mode: rgba(255, 255, 255, 0.08);
  --card-border-dark-mode: rgba(255, 255, 255, 0.15);
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-on-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--background-dark);
}

.page-slot-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card {
  background: var(--card-background-dark-mode);
  color: var(--text-on-dark);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding-top for fixed header */
  text-align: center;
  background-color: var(--background-dark);
  background-image: url('[GALLERY:bg:nhat vip moi nhat, cá cược trực tuyến, nổ hũ, nền hero, trừu tượng]');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-slot-games__hero-title {
  font-size: 52px;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: var(--text-on-dark);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-on-light);
}

.page-slot-games__features-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__features-section .page-slot-games__section-description {
  color: var(--text-on-light);
}

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

.page-slot-games__features-section .page-slot-games__card {
  background: #ffffff;
  color: var(--text-on-light);
  border: 1px solid #e0e0e0;
  text-align: center;
}

.page-slot-games__feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-slot-games__feature-text {
  font-size: 16px;
  color: var(--text-on-light);
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-on-dark);
}

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

.page-slot-games__game-type-item {
  text-align: center;
}

.page-slot-games__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-type-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-slot-games__game-type-text {
  font-size: 16px;
  color: var(--text-on-dark);
}

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

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-on-light);
}

.page-slot-games__guide-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__guide-section .page-slot-games__section-description {
  color: var(--text-on-light);
}

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

.page-slot-games__guide-item {
  background: #ffffff;
  color: var(--text-on-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--background-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-slot-games__guide-step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-slot-games__guide-step-text {
  font-size: 16px;
  color: var(--text-on-light);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-on-dark);
}

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

.page-slot-games__promotion-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promotion-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-slot-games__promotion-text {
  font-size: 16px;
  color: var(--text-on-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__promotion-button {
  margin-top: auto;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-on-light);
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-on-light);
  pointer-events: none;
}

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

.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 15px;
  opacity: 0;
  color: var(--text-on-light);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

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

/* Contact Section */
.page-slot-games__contact-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-on-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 44px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 100px 0 60px; /* Mobile padding-top for fixed header */
  }
  .page-slot-games__hero-title {
    font-size: 36px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-slot-games__hero-cta-buttons .page-slot-games__cta-button {
    margin-left: auto;
    margin-right: auto;
  }

  .page-slot-games__section-title {
    font-size: 28px;
  }
  .page-slot-games__section-description {
    font-size: 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__features-section .page-slot-games__card,
  .page-slot-games__game-type-item,
  .page-slot-games__guide-item,
  .page-slot-games__promotion-item {
    padding: 20px;
  }

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

  .page-slot-games__feature-title,
  .page-slot-games__game-type-title,
  .page-slot-games__guide-step-title,
  .page-slot-games__promotion-title {
    font-size: 20px;
  }

  .page-slot-games__game-type-image,
  .page-slot-games__promotion-image {
    height: 200px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  .page-slot-games__contact-section .page-slot-games__cta-button {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 30px;
  }
  .page-slot-games__section-title {
    font-size: 24px;
  }
  .page-slot-games__hero-section {
    padding: 80px 0 40px;
  }
  .page-slot-games__hero-cta-buttons {
    margin-bottom: 30px;
  }
  .page-slot-games__guide-step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}