.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: #1A202C; /* Main background color */
}

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

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

.page-slot-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #000000 100%);
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.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: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

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

.page-slot-games__video-section {
  padding: 60px 20px;
  background-color: #1A202C;
  color: #ffffff;
  text-align: center;
}

.page-slot-games__video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

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

.page-slot-games__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__features-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section {
  padding: 60px 20px;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-slot-games__feature-card,
.page-slot-games__game-type-card,
.page-slot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-type-card:hover,
.page-slot-games__promotion-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__feature-icon,
.page-slot-games__game-type-image,
.page-slot-games__promotion-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__feature-title,
.page-slot-games__game-type-title,
.page-slot-games__promotion-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__promotion-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-slot-games__feature-text,
.page-slot-games__game-type-text,
.page-slot-games__promotion-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

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

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-slot-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 1.1em;
  border-left: 5px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__cta-section {
  background-color: #FFD700;
  color: #1A202C;
  padding: 80px 20px;
  text-align: center;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #1A202C;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333;
}

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

.page-slot-games__btn-primary--dark {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #1A202C;
}

.page-slot-games__btn-primary--dark:hover {
  background-color: #333d4e;
  border-color: #333d4e;
}

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

.page-slot-games__btn-secondary--dark:hover {
  background-color: #1A202C;
  color: #FFD700;
}

.page-slot-games__faq-section {
  padding: 60px 20px;
  background-color: #1A202C;
  color: #ffffff;
}

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

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

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

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

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

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

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

/* Responsive Design */
@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__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding: 60px 15px;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .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% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__video-section,
  .page-slot-games__features-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__cta-section,
  .page-slot-games__faq-section {
    padding: 40px 15px;
  }
  .page-slot-games__content-area {
    padding: 20px 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promotion-card,
  .page-slot-games__step-item {
    padding: 25px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__video-container,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-slot-games__video-wrapper {
    padding-bottom: 56.25% !important;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer p {
    font-size: 0.95em;
  }
}