.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.8rem;
  color: #ffc107; /* Secondary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for readability on dark backgrounds */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #ffc107;
  color: #0a0a0a;
  border: 2px solid #ffc107;
}

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

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

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

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__promotions-section,
.page-slot-games__guide-section,
.page-slot-games__faq-section,
.page-slot-games__video-section {
  padding: 80px 0;
  color: #f0f0f0;
}

.page-slot-games__features-section,
.page-slot-games__strategy-section,
.page-slot-games__why-choose-us,
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

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

.page-slot-games__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card {
  background-color: #0a0a0a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-slot-games__feature-title,
.page-slot-games__promo-title {
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description,
.page-slot-games__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Guide List */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__guide-list li {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-list li strong {
  color: #ffc107;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}

/* Strategy List */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__strategy-list li {
  background-color: #0a0a0a;
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 50px;
}

.page-slot-games__strategy-list li::before {
  content: '⚡'; /* Use an emoji or icon */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #ffc107;
}

/* Why Choose Us List */
.page-slot-games__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-slot-games__why-list li {
  background-color: #0a0a0a;
  padding: 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #007bff;
}

.page-slot-games__why-list li strong {
  color: #ffc107;
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Action Center */
.page-slot-games__action-center {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Video Section */
.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Max width for desktop video */
  margin: 40px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-slot-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-slot-games__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  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 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffc107;
  cursor: pointer;
  background-color: #007bff; /* Primary color for question background */
  transition: background-color 0.3s ease;
}

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

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

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: #0a0a0a;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-slot-games__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  max-width: 100%;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }
  .page-slot-games__section-title {
    font-size: 2.2rem;
  }
  .page-slot-games__text-block,
  .page-slot-games__guide-list li,
  .page-slot-games__strategy-list li,
  .page-slot-games__why-list li {
    font-size: 1rem;
  }
  .page-slot-games__feature-title,
  .page-slot-games__promo-title {
    font-size: 1.5rem;
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
  }
  .page-slot-games__intro-section,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__video-section,
  .page-slot-games__features-section,
  .page-slot-games__strategy-section,
  .page-slot-games__why-choose-us,
  .page-slot-games__cta-section {
    padding: 50px 0;
  }

  /* Image and Video responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-list li,
  .page-slot-games__strategy-list li,
  .page-slot-games__why-list li,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

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

  .page-slot-games__action-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__strategy-list li {
    padding-left: 45px;
  }
  .page-slot-games__strategy-list li::before {
    left: 10px;
    font-size: 1.3rem;
  }

  /* Buttons within containers */
  .page-slot-games__action-center .page-slot-games__btn-primary,
  .page-slot-games__action-center .page-slot-games__btn-secondary {
    width: auto !important; /* Allow buttons to size naturally within flex column */
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8rem;
  }
  .page-slot-games__hero-description {
    font-size: 0.9rem;
  }
  .page-slot-games__section-title {
    font-size: 1.6rem;
  }
  .page-slot-games__text-block {
    font-size: 0.95rem;
  }
}