/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000; /* Ensure consistency with body background */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games__dark-bg {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #0a1e33; /* Slightly lighter dark blue for contrast */
  color: #f0f0f0;
  padding: 80px 0;
}

.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;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-slot-games a {
  color: #FFCC00;
  text-decoration: none;
}

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

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

.page-slot-games__list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  padding-left: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  color: #FFCC00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50%;
  z-index: 0;
}

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

/* About Nổ Hũ Section */
.page-slot-games__about-nổ-hũ-section .page-slot-games__container {
  text-align: center;
}

.page-slot-games__image-content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__image-grid-item {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: auto;
}

.page-slot-games__text-content {
  flex: 1;
}

/* Types Section */
.page-slot-games__types-section .page-slot-games__text-block {
  text-align: center;
}

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

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* How to Play Section */
.page-slot-games__how-to-play-section .page-slot-games__container {
  text-align: center;
}

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

.page-slot-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  border-left: 5px solid #FFCC00;
}

.page-slot-games__steps-list li strong {
  color: #FFCC00;
}

/* Top Games Section */
.page-slot-games__top-games-section .page-slot-games__text-block {
  text-align: center;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 5px;
}

.page-slot-games__game-provider {
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-slot-games__btn-play {
  background-color: #FFCC00;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-play:hover {
  background-color: #e6b800;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__text-block {
  text-align: center;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1); 
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 10px;
}

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

/* Security Section */
.page-slot-games__security-section .page-slot-games__container {
  text-align: center;
}

/* Mobile App Section */
.page-slot-games__mobile-app-section .page-slot-games__container {
  text-align: center;
}

.page-slot-games__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-slot-games__mobile-app-image {
  flex: 1;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__container {
  text-align: center;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #003366;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #002244;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFCC00;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
  color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-slot-games__cta-section .page-slot-games__container {
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__image-content-grid,
  .page-slot-games__mobile-app-content {
    flex-direction: column;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content {
    max-width: 100%;
  }
  .page-slot-games__hero-section {
    flex-direction: column-reverse;
    padding-left: 0;
  }
  .page-slot-games__hero-content {
    text-align: center;
    padding-left: 0;
  }
  .page-slot-games__hero-buttons {
    justify-content: center;
  }
  .page-slot-games__mobile-app-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-slot-games__hero-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;
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__sub-title {
    font-size: 1.5em;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__dark-bg, .page-slot-games__light-bg {
    padding: 60px 0;
  }

  /* Image, Video, Button Responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-grid-item,
  .page-slot-games__card-image,
  .page-slot-games__game-image,
  .page-slot-games__promo-image,
  .page-slot-games__mobile-app-image {
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    object-fit: cover;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__image-content-grid,
  .page-slot-games__mobile-app-content,
  .page-slot-games__card-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-slot-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-slot-games__card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__faq-item {
    padding: 15px;
  }
  .page-slot-games__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__sub-title {
    font-size: 1.3em;
  }
}