/* style/slot-games.css */

/* --- Variables --- */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green-color: #0A4B2C;
}

/* --- Base Styles --- */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-background); /* Ensure consistency with body background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__section p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  background-color: var(--page-slot-games-deep-green-color);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-background);
  border-radius: 10px;
  margin-top: -50px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-slot-games-glow-color);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-glow-color);
  border: 2px solid var(--page-slot-games-glow-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-glow-color);
  color: var(--page-slot-games-background);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-tertiary {
  background: var(--page-slot-games-deep-green-color);
  color: var(--page-slot-games-text-main);
  border: 1px solid var(--page-slot-games-border-color);
  font-size: 0.95em;
  padding: 10px 20px;
  margin-top: 15px;
}

.page-slot-games__btn-tertiary:hover {
  background: var(--page-slot-games-border-color);
  transform: translateY(-2px);
}

/* --- About Slots Section --- */
.page-slot-games__about-slots p strong {
  color: var(--page-slot-games-gold-color);
}

/* --- Benefits Section --- */
.page-slot-games__benefits {
  background-color: var(--page-slot-games-deep-green-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__benefits .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

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

.page-slot-games__card {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--page-slot-games-glow-color);
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px; /* Max width for card images */
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--page-slot-games-glow-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  flex-grow: 1;
}

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

.page-slot-games__card--small .page-slot-games__card-image {
  max-width: 300px;
  height: auto;
}

.page-slot-games__providers-text {
  margin-top: 40px;
  font-style: italic;
  color: var(--page-slot-games-text-secondary);
}

/* --- How To Play Section --- */
.page-slot-games__how-to-play {
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__step-card {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__step-number {
  width: 50px;
  height: 50px;
  background: var(--page-slot-games-gold-color);
  color: var(--page-slot-games-background);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: var(--page-slot-games-glow-color);
  margin-bottom: 10px;
}

.page-slot-games__step-card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
  flex-grow: 1;
}

/* --- Strategies Section --- */
.page-slot-games__strategies {
  background-color: var(--page-slot-games-deep-green-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__strategies .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__strategy-list li {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1.05em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-list li strong {
  color: var(--page-slot-games-glow-color);
  font-size: 1.1em;
}

/* --- Security Section --- */
.page-slot-games__security {
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__feature-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__feature-icon {
  width: 48px; /* Enforced minimum size */
  height: 48px; /* Enforced minimum size */
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 1.3em;
  color: var(--page-slot-games-glow-color);
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

/* --- FAQ Section --- */
.page-slot-games__faq {
  background-color: var(--page-slot-games-deep-green-color);
}

.page-slot-games__faq .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

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

.page-slot-games__faq-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--page-slot-games-glow-color);
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-gold-color);
}

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

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__faq-answer strong {
  color: var(--page-slot-games-glow-color);
}

/* --- Conclusion Section --- */
.page-slot-games__conclusion {
  background-color: var(--page-slot-games-background);
}

.page-slot-games__conclusion p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__conclusion p a {
  color: var(--page-slot-games-glow-color);
  text-decoration: underline;
}

.page-slot-games__conclusion p a:hover {
  color: var(--page-slot-games-gold-color);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }

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

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

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

  .page-slot-games__card {
    padding: 25px;
  }
}

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

  .page-slot-games__container {
    padding: 0 15px;
  }

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

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

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-games__hero-content {
    padding: 25px 15px;
    margin-top: -20px;
    border-radius: 5px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__benefit-grid,
  .page-slot-games__game-type-grid,
  .page-slot-games__step-grid,
  .page-slot-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-image {
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__card-title {
    font-size: 1.3em;
  }

  .page-slot-games__step-card {
    padding: 20px;
  }

  .page-slot-games__strategy-list li {
    padding: 15px;
    font-size: 0.95em;
  }

  .page-slot-games__feature-icon {
    width: 48px !important;
    height: 48px !important;
  }

  .page-slot-games__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-slot-games__faq-answer {
    padding: 0 15px 15px 15px;
  }
  
  /* Mobile image and video responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-content,
  .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; /* Prevent horizontal scroll */
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
  
  .page-slot-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-slot-games__hero-image {
    object-position: center top; /* Adjust object-position for mobile hero */
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    padding: 10px 15px;
    font-size: 0.95em;
  }

  .page-slot-games__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-slot-games__card-title {
    font-size: 1.2em;
  }

  .page-slot-games__feature-title {
    font-size: 1.1em;
  }
}