/* style/slot-games.css */

/* Biến màu sắc */
:root {
  --page-slot-games-primary-color: #26A9E0;
  --page-slot-games-secondary-color: #FFFFFF;
  --page-slot-games-text-dark: #333333;
  --page-slot-games-text-light: #FFFFFF;
  --page-slot-games-bg-light: #FFFFFF;
  --page-slot-games-bg-dark: #0d0d0d; /* Giả định body background là màu tối */
  --page-slot-games-button-login-color: #EA7C07;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-text-light); /* Mặc định text màu sáng vì body background tối */
  background-color: var(--black-color); /* Sử dụng biến từ shared.css */
}

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

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-bg-light);
  color: var(--page-slot-games-text-dark);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header che */
  min-height: 70vh;
  overflow: hidden;
  gap: 30px;
}

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Nền tối để text nổi bật */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-slot-games-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-slot-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Làm mờ video để text dễ đọc */
}

.page-slot-games__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

/* General Content Area */
.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-slot-games__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Buttons */
.page-slot-games__btn-primary {
  display: inline-block;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-secondary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-slot-games__btn-primary:hover {
  background-color: #1e87b7;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid var(--page-slot-games-primary-color);
  cursor: pointer;
  font-size: 1em;
}

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

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Cash-in Guide Section */
.page-slot-games__cashin-guide-section .page-slot-games__list-item {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

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

/* Featured Games Section */
.page-slot-games__game-cards-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-secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-text-dark);
}

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

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

.page-slot-games__game-card-content {
  padding: 20px;
}

.page-slot-games__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__game-card-title a {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
}

.page-slot-games__game-card-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-card-description {
  font-size: 1em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background: var(--page-slot-games-secondary-color);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  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: 1.05em;
  color: var(--page-slot-games-text-dark);
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-slot-games__hero-content {
    padding: 15px;
  }
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__subsection-title {
    font-size: 1.3em;
  }
  .page-slot-games__content-area,
  .page-slot-games__step-by-step,
  .page-slot-games__game-cards-grid,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Video responsiveness */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-video-wrapper,
  .page-slot-games__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Buttons responsiveness */
  .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;
    text-align: center;
  }
  .page-slot-games__cta-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__game-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__subsection-title {
    font-size: 1.2em;
  }
  .page-slot-games__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slot-games__btn-secondary {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}