.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicitly set for clarity */
}

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

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

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

.page-slot-games__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.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.7);
  z-index: 2;
}

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

.page-slot-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #121212; /* Dark text for bright background */
  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: #121212;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

/* Types Section */
.page-slot-games__types-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-slot-games__card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin: 20px 20px 10px;
}

.page-slot-games__card-text {
  font-size: 1rem;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background-color: #8B0000; /* Auxiliary color as background */
}

.page-slot-games__benefits-section .page-slot-games__section-title {
  color: #ffffff;
}

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

.page-slot-games__benefit-item {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-slot-games__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
  display: block; /* Ensure it respects width/height */
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__benefit-title {
  font-size: 1.4rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__benefit-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-slot-games__guide-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__guide-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-slot-games__guide-image {
  width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__guide-content {
  flex: 1;
}

.page-slot-games__guide-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__guide-text {
  color: #cccccc;
  font-size: 1.05rem;
}

/* Strategies Section */
.page-slot-games__strategies-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__strategy-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-slot-games__strategy-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__strategy-text {
  font-size: 1rem;
  color: #cccccc;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-slot-games__faq-item {
  background-color: #1a1a1a;
  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 25px;
  background-color: #222222;
  color: #FFD700;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #2a2a2a;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  font-size: 1.05rem;
}

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

/* 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: 2rem;
  }
  .page-slot-games__guide-item {
    flex-direction: column !important;
    text-align: center;
  }
  .page-slot-games__guide-item:nth-child(even) {
    flex-direction: column !important;
  }
  .page-slot-games__guide-image {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .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: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__cta-center .page-slot-games__btn-primary,
  .page-slot-games__cta-center .page-slot-games__btn-secondary {
    width: auto !important;
    max-width: 100% !important;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
  }
  .page-slot-games__text-block {
    font-size: 1rem;
  }
  .page-slot-games__card-image,
  .page-slot-games__benefit-icon,
  .page-slot-games__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__card,
  .page-slot-games__benefit-item,
  .page-slot-games__guide-item,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }
  .page-slot-games__faq-answer {
    font-size: 0.95rem;
  }
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategies-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }
  .page-slot-games__guide-image {
    width: 100%;
  }
}

@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__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.5rem;
  }
  .page-slot-games__card-title {
    font-size: 1.3rem;
  }
  .page-slot-games__benefit-title,
  .page-slot-games__guide-title,
  .page-slot-games__strategy-title {
    font-size: 1.2rem;
  }
}