.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
  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-title {
  font-size: 38px;
  font-weight: bold;
  color: #8B0000; /* Auxiliary color for titles */
  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: #FFD700; /* Primary color for underline */
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.page-slot-games__text-center {
  text-align: center;
}

/* 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); /* Ensure header offset */
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__hero-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
  background: #FFD700; /* Primary color */
  color: #8B0000; /* Dark Red text for contrast */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background: #e0b000;
  color: #ffffff;
  border-color: #e0b000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: #8B0000; /* Auxiliary color */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #8B0000;
}

.page-slot-games__btn-secondary:hover {
  background: #6a0000;
  color: #ffffff;
  border-color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games__introduction-section,
.page-slot-games__advantages-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__latest-news-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-slot-games__dark-section {
  padding: 80px 0;
  background-color: #FFD700; /* Primary color for dark section */
  color: #8B0000; /* Dark Red text for contrast */
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #8B0000;
}

.page-slot-games__dark-section .page-slot-games__section-title::after {
  background-color: #8B0000;
}

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section .page-slot-games__card-title,
.page-slot-games__dark-section .page-slot-games__card p {
  color: #8B0000;
}

/* Features Grid */
.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-item {
  background: #fdfdfd;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 700;
}

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

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

.page-slot-games__game-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #eee;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 22px;
  color: #8B0000;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-slot-games__game-card p {
  font-size: 16px;
  color: #555;
  padding: 0 15px 20px;
}

/* Advantage List */
.page-slot-games__advantage-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
  max-width: 900px;
}

.page-slot-games__advantage-list li {
  background: #fdfdfd;
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 18px;
  color: #333333;
  border-left: 5px solid #FFD700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-slot-games__advantage-list li:hover {
  background-color: #fffaf0;
  transform: translateX(5px);
}

.page-slot-games__advantage-list li strong {
  color: #8B0000;
}

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

.page-slot-games__promo-card {
  background: #8B0000; /* Auxiliary color for promo card background */
  color: #FFD700; /* Gold text for contrast */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #6a0000;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 22px;
  color: #FFD700;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-slot-games__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-slot-games__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid #FFD700;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-small:hover {
  background: #e0b000;
  color: #ffffff;
  border-color: #e0b000;
}

/* How to Play Steps */
.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: #fdfdfd;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-slot-games__step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #8B0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__step-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__step-item p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.page-slot-games__btn-inline {
  display: inline-block;
  padding: 8px 20px;
  background: #8B0000;
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  border: 1px solid #8B0000;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-inline:hover {
  background: #6a0000;
  color: #ffffff;
  border-color: #6a0000;
}

/* Security and Support Info Grid */
.page-slot-games__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-slot-games__info-card {
  background: #8B0000; /* Auxiliary color for card background */
  color: #FFD700; /* Gold text for contrast */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #6a0000;
}

.page-slot-games__info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.page-slot-games__info-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__info-card .page-slot-games__card-title {
  font-size: 22px;
  color: #FFD700;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-slot-games__info-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

/* Tips List */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
  max-width: 900px;
}

.page-slot-games__tips-list li {
  background: #fdfdfd;
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 18px;
  color: #333333;
  border-left: 5px solid #8B0000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-slot-games__tips-list li:hover {
  background-color: #fffaf0;
  transform: translateX(5px);
}

.page-slot-games__tips-list li strong {
  color: #FFD700;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #FFD700; /* Primary color for dark section */
  color: #8B0000; /* Dark Red text for contrast */
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #8B0000; /* Auxiliary color for question background */
  color: #FFD700; /* Gold text for contrast */
  border: 1px solid #6a0000;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #6a0000;
  border-color: #4d0000;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  color: #333333;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

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

.page-slot-games__news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-slot-games__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-slot-games__news-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__news-card .page-slot-games__card-title {
  font-size: 22px;
  margin: 20px 20px 10px;
  font-weight: 700;
}

.page-slot-games__news-card .page-slot-games__card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__news-card .page-slot-games__card-title a:hover {
  color: #FFD700;
}

.page-slot-games__news-card .page-slot-games__news-excerpt {
  font-size: 16px;
  color: #555;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-slot-games__news-card .page-slot-games__news-date {
  display: block;
  font-size: 14px;
  color: #999;
  padding: 0 20px 20px;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 48px;
  }

  .page-slot-games__hero-description {
    font-size: 20px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-slot-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 18px;
    padding: 14px 20px;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__advantages-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__latest-news-section,
  .page-slot-games__dark-section {
    padding: 50px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-item,
  .page-slot-games__info-card,
  .page-slot-games__news-card {
    margin-bottom: 20px;
  }

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

  .page-slot-games__feature-item p,
  .page-slot-games__step-item p,
  .page-slot-games__game-card p,
  .page-slot-games__promo-card p,
  .page-slot-games__info-card p,
  .page-slot-games__news-card .page-slot-games__news-excerpt {
    font-size: 15px;
  }

  .page-slot-games__advantage-list li,
  .page-slot-games__tips-list li {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__btn-small,
  .page-slot-games__btn-inline {
    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__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;
  }
}