/* style/slot-games.css */

/* Base styles for the slot games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: #0a0a0a; /* Inherited from shared.css, ensure contrast */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero_main:1920x1080:sv388 login,slot games,jackpot,online gambling,vietnam]') no-repeat center center/cover;
}

.page-slot-games__main-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-slot-games__intro-text {
  font-size: 1.3em;
  color: #f8f8f8;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

.page-slot-games__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(38, 169, 224, 0.2);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  color: #cccccc;
  font-size: 1em;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-slot-games__game-card .page-slot-games__game-title {
  font-size: 1.3em;
  color: #26A9E0;
  padding: 15px 15px 5px;
}

.page-slot-games__game-card .page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games__game-description {
  color: #cccccc;
  font-size: 0.95em;
  padding: 0 15px 15px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 5px solid #26A9E0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-slot-games__steps-list li:last-child {
  margin-bottom: 0;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__steps-list p {
  color: #cccccc;
  margin-bottom: 0;
}

.page-slot-games__steps-list p a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games__steps-list p a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-slot-games__promo-list {
  list-style: disc;
  margin-left: 20px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-slot-games__promo-list li {
  margin-bottom: 10px;
}

.page-slot-games__promo-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games__promo-list li a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

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

.page-slot-games__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Banner Section */
.page-slot-games__cta-banner {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(to right, #26A9E0, #1a7fb3);
  color: #FFFFFF;
}

.page-slot-games__cta-banner-content {
  max-width: 800px;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f8f8f8;
}

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

/* Utility classes for color contrast */
.page-slot-games__dark-bg {
  color: #ffffff;
}

.page-slot-games__light-bg {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }
  .page-slot-games__intro-text {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 80px 0;
  }
  .page-slot-games__main-title {
    font-size: 2.5em;
  }
  .page-slot-games__intro-text {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__paragraph {
    font-size: 1em;
  }
  .page-slot-games__feature-grid,
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__steps-list li,
  .page-slot-games__faq-item {
    padding: 20px;
  }
  .page-slot-games__game-image {
    height: 180px;
  }
  .page-slot-games__cta-banner {
    padding: 60px 0;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
  .page-slot-games__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Mobile specific image and video responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied if not handled by body */
  }

  .page-slot-games__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 2em;
  }
  .page-slot-games__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__cta-title {
    font-size: 1.5em;
  }
}