/* Base styles for the slot-games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #f0f2f5;
}

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

.page-slot-games__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #C91F17;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(230, 184, 0, 0.6);
}

.page-slot-games__btn-secondary {
  background: #B71C1C; /* Background color for secondary button */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4);
}

.page-slot-games__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red on hover */
  border-color: #FFCC66; /* Glow color on hover */
  box-shadow: 0 6px 20px rgba(122, 14, 14, 0.6);
}

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 5px;
}

.page-slot-games__cta-container {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 50px;
  overflow: hidden;
  color: #FFF5E1; /* Text Main for dark background */
  background: #B71C1C; /* Background color */
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for text readability */
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #FFF5E1; /* Text Main for dark background */
}

.page-slot-games__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  color: #FFF5E1; /* Text Main for dark background */
}

.page-slot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

.page-slot-games__introduction-section p {
  font-size: 17px;
  text-align: justify;
  margin-bottom: 15px;
  color: #333333;
}

/* Game Categories */
.page-slot-games__game-categories {
  padding: 60px 0;
  background: #B71C1C; /* Background color */
  margin-bottom: 50px;
}

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

.page-slot-games__card {
  background: #D32F2F; /* Card BG color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF5E1; /* Text Main color */
  border: 1px solid #F2B544; /* Border color */
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(242, 181, 68, 0.3);
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 15px 10px;
  color: #FFF5E1; /* Text Main color */
}

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

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

.page-slot-games__card p {
  font-size: 15px;
  margin: 0 15px 20px;
  flex-grow: 1;
  color: #FFF5E1; /* Text Main color */
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
  margin-bottom: 50px;
}

.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
}

.page-slot-games__feature-item {
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(201, 31, 23, 0.3));
}

.page-slot-games__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #C91F17;
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  color: #555;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-bottom: 50px;
}

.page-slot-games__instruction-list {
  list-style: none;
  padding: 0;
  counter-reset: instruction-counter;
}

.page-slot-games__instruction-list li {
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-slot-games__instruction-list li::before {
  counter-increment: instruction-counter;
  content: "Bước " counter(instruction-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #E53935;
  color: #FFF5E1;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.page-slot-games__instruction-title {
  font-size: 22px;
  color: #C91F17;
  margin-bottom: 10px;
}

.page-slot-games__instruction-list li p {
  font-size: 16px;
  color: #444;
  text-align: justify;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background: #B71C1C; /* Background color */
  margin-bottom: 50px;
}

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

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #C91F17; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f0f2f5;
}

.page-slot-games__responsible-gaming-section p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #444;
  text-align: justify;
}

/* Text colors */
.page-slot-games__text-main {
  color: #FFF5E1;
}

.page-slot-games__bg-red {
  background-color: #B71C1C;
}

.page-slot-games__dark-bg {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-slot-games__light-bg {
  background-color: #f0f2f5;
  color: #333333;
}

/* Responsive Design */
/* Mobile/Tablet specific styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px 15px;
    width: 100%;
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

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

  .page-slot-games__hero-buttons,
  .page-slot-games__cta-container {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }

  .page-slot-games__category-grid,
  .page-slot-games__features-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    margin-bottom: 15px;
  }

  .page-slot-games__card-image {
    height: 180px;
  }

  .page-slot-games__card-title {
    font-size: 20px;
  }

  .page-slot-games__instruction-list li {
    padding-left: 50px;
    margin-bottom: 20px;
  }

  .page-slot-games__instruction-list li::before {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .page-slot-games__instruction-title {
    font-size: 18px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__game-categories,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__responsible-gaming-section {
    padding: 30px 0;
    margin-bottom: 30px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

/* No specific 1023px/1024px rules for inner page slot-games.html, as it's not the homepage trial */