.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color, #B71C1C); /* Fallback if shared.css doesn't define */
}

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

.page-slot-games__section-spacing {
  padding: 60px 0;
}

.page-slot-games__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-slot-games__highlight-text {
  color: #FFCC66; /* Glow */
  font-weight: bold;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual appeal, but not covering text */
  background: rgba(183, 28, 28, 0.8); /* Background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFD86A; /* Brighter gold for H1 */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: #FFF5E1;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: #C91F17;
}

.page-slot-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 20px;
  background: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  border: none;
  margin-top: 10px;
}

.page-slot-games__btn-small:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-slot-games__inline-link {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

.page-slot-games__inline-link:hover {
  color: #F4D34D;
}

/* Features Section */
.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-item {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 400px; /* Ensure cards have consistent height */
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #F2B544; /* Border */
}

.page-slot-games__feature-title {
  font-size: 1.8em;
  color: #FFD86A; /* Brighter gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #FFF5E1;
}

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

.page-slot-games__step-item {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-slot-games__step-number {
  font-size: 3em;
  color: #F4D34D; /* Gold */
  font-weight: bold;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.8em;
  color: #FFD86A;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #FFF5E1;
}

/* Game Showcase */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__game-tile {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  border-bottom: 2px solid #F2B544; /* Border */
}

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

/* Promotions Section */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-slot-games__promo-item {
  background-color: #D32F2F; /* Card BG */
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #FFF5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 800px;
  width: 100%;
  text-align: left;
}

.page-slot-games__promo-item::before {
  content: '⚡';
  margin-right: 10px;
  color: #FFCC66; /* Glow */
}

/* Security Section */
/* Styles similar to info section, ensuring dark background and light text */

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

.page-slot-games__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #FFD86A; /* Brighter gold */
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-left: 15px;
  line-height: 1;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: #C91F17;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

/* CTA Section */
.page-slot-games__cta-section .page-slot-games__section-title {
  color: #FFD86A;
}

.page-slot-games__cta-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__features-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-slot-games__game-image {
    height: 200px;
  }

  .page-slot-games__promo-item {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* General */
  .page-slot-games__section-spacing {
    padding: 40px 0;
  }

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

  .page-slot-games__text-block {
    font-size: 1em;
  }

  /* Hero Section */
  .page-slot-games__hero-section {
    flex-direction: column;
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

  .page-slot-games__hero-image {
    height: 300px; /* Adjust height for mobile */
    object-fit: contain; /* Hero mobile image object-fit:contain */
    aspect-ratio: unset; /* Hero mobile image aspect-ratio:unset */
    max-height: none; /* Hero mobile image max-height:none */
  }

  .page-slot-games__hero-content {
    margin-top: -50px; /* Adjust margin for smaller screen */
    padding: 25px 15px;
    border-radius: 8px;
  }

  .page-slot-games__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .page-slot-games__hero-description {
    font-size: 0.95em;
  }

  .page-slot-games__hero-cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
}