/* style/slot-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại tại đây */

: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 {
  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__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-title {
  font-size: 2.8em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top cho header */
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Giảm độ sáng để chữ dễ đọc hơn */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
  background-color: var(--page-slot-games-bg-color);
  margin-top: -80px; /* Kéo lên trên ảnh để tạo hiệu ứng */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Sử dụng clamp cho H1 */
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-slot-games__subtitle {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Card Styles */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card img {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Why Choose Section */
.page-slot-games__why-choose .page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__feature-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.page-slot-games__feature-title {
  font-size: 1.8em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__feature-text {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

.page-slot-games__download-cta {
  margin-top: 50px;
}

/* Popular Categories Section */
.page-slot-games__popular-categories .page-slot-games__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__category-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__category-text {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

.page-slot-games__play-now-cta {
  margin-top: 50px;
}

/* How to Play Section */
.page-slot-games__how-to-play .page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__step-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.8em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

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

.page-slot-games__start-playing-cta {
  margin-top: 50px;
}

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

.page-slot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__promo-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__promo-text {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

.page-slot-games__view-promos-cta {
  margin-top: 50px;
}

/* Security Section */
.page-slot-games__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-slot-games__security-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__security-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__security-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 4px solid var(--page-slot-games-primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--page-slot-games-text-main);
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__learn-more-security {
  margin-top: 50px;
}

/* Mobile Experience Section */
.page-slot-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-slot-games__mobile-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__mobile-text {
  flex: 1 1 400px;
}

.page-slot-games__mobile-feature-title {
  font-size: 2em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__mobile-feature-text {
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-slot-games__download-app-cta {
  margin-top: 20px;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games__responsible-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 4px solid var(--page-slot-games-secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--page-slot-games-text-main);
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__responsible-gaming-cta {
  margin-top: 50px;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--page-slot-games-deep-green), 0.8);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

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

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

/* Hide default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

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

/* Image and Video responsive styles (global for page-slot-games) */
.page-slot-games img,
.page-slot-games video {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper,
.page-slot-games__security-content,
.page-slot-games__mobile-content,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-slot-games__subtitle {
    font-size: 1em;
  }
  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 20px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__categories-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__security-content,
  .page-slot-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__security-list,
  .page-slot-games__responsible-list {
    text-align: center;
    padding: 0 15px;
  }
  .page-slot-games__security-item, .page-slot-games__responsible-item {
    border-left: none;
    border-top: 4px solid var(--page-slot-games-primary-color);
    padding: 15px;
  }
  .page-slot-games__mobile-text {
    text-align: center;
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    width: 90% !important;
    max-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-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games img,
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-section,
  .page-slot-games__why-choose,
  .page-slot-games__popular-categories,
  .page-slot-games__how-to-play,
  .page-slot-games__bonuses,
  .page-slot-games__security,
  .page-slot-games__mobile-experience,
  .page-slot-games__responsible-gaming,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
  .page-slot-games__video-section { /* Nếu có video */
    padding-top: 10px !important;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__security-content,
  .page-slot-games__mobile-content,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-slot-games__hero-content {
    margin-top: -20px;
  }
  .page-slot-games__step-title,
  .page-slot-games__feature-title,
  .page-slot-games__category-title,
  .page-slot-games__promo-title,
  .page-slot-games__mobile-feature-title {
    font-size: 1.4em;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}