.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Brand colors for hero background */
  min-height: 70vh;
  justify-content: center;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text contrast */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-slot-games__video-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for video */
  text-align: center;
  color: #ffffff;
}

.page-slot-games__video-container {
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-slot-games__video-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #000;
  border-radius: 10px;
}

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

.page-slot-games__video-description {
  font-size: 1.1em;
  color: #cccccc;
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #242424; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-slot-games__intro-section {
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
}

.page-slot-games__section-title--light {
  color: #FFD700;
}

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

.page-slot-games__text-block--light {
  color: #f0f0f0;
}

.page-slot-games__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-slot-games__why-choose-section {
  background-color: #1a1a1a;
}

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

.page-slot-games__feature-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
}

.page-slot-games__games-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

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

.page-slot-games__game-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

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

.page-slot-games__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-slot-games__how-to-play-section {
  background-color: #242424;
}

.page-slot-games__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__ordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-slot-games__tips-section {
  background-color: #0d0d0d;
  padding: 60px 20px;
  color: #ffffff;
  text-align: center;
}

.page-slot-games__unordered-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-slot-games__promotions-section {
  background-color: #242424;
}

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

.page-slot-games__promo-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

.page-slot-games__cta-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #8B0000 0%, #FFD700 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-slot-games__cta-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: 30px;
  color: #f0f0f0;
}

.page-slot-games__cta-image-wrapper {
  max-width: 600px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__cta-image {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.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: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-slot-games__btn-secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
}

.page-slot-games__link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-slot-games__link:hover {
  color: #e6c200;
}

.page-slot-games__link--highlight {
  font-weight: bold;
}

.page-slot-games__faq-section {
  background-color: #1a1a1a;
}

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

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  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;
  background-color: #3a3a3a;
  color: #f0f0f0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-slot-games__conclusion-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__cta-title {
    font-size: 2.2em;
  }
  .page-slot-games__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Mobile video responsiveness */
  .page-slot-games__video-section {
    padding: 40px 15px;
  }
  .page-slot-games__video-title {
    font-size: 2em;
  }
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__features-grid, .page-slot-games__games-grid, .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__content-area,
  .page-slot-games__tips-section,
  .page-slot-games__cta-section,
  .page-slot-games__conclusion-section,
  .page-slot-games__games-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-slot-games__text-block, .page-slot-games__ordered-list, .page-slot-games__unordered-list {
    font-size: 1em;
    text-align: left;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 15px;
  }
}

/* Content area images must be >= 200px. These rules ensure they are not shrunk below 200px. */
.page-slot-games__content-area img,
.page-slot-games__features-grid img,
.page-slot-games__games-grid img,
.page-slot-games__promotions-grid img,
.page-slot-games__cta-image {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-slot-games__content-area img,
  .page-slot-games__features-grid img,
  .page-slot-games__games-grid img,
  .page-slot-games__promotions-grid img,
  .page-slot-games__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow shrinking below 200px if container is smaller */
    min-height: unset !important;
  }
}