/* style/slot-games.css */

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

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-main);
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--page-slot-games-gold);
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__text-main {
  color: var(--page-slot-games-text-main) !important;
}

.page-slot-games__text-secondary {
  color: var(--page-slot-games-text-secondary) !important;
}

.page-slot-games__text-gold {
  color: var(--page-slot-games-gold) !important;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.05em;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* Always white for contrast */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__btn-link {
  background: none;
  color: var(--page-slot-games-gold);
  padding: 8px 15px;
  font-size: 1em;
  border: 1px solid var(--page-slot-games-gold);
}

.page-slot-games__btn-link:hover {
  background: var(--page-slot-games-gold);
  color: var(--page-slot-games-bg);
}

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

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

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
  color: var(--page-slot-games-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__introduction-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__mobile-experience-section {
  background-color: var(--page-slot-games-bg);
  padding: 80px 0;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-card-bg);
  padding: 80px 0;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-bg);
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-card-bg);
}

/* Features Grid */
.page-slot-games__features-grid,
.page-slot-games__game-grid,
.page-slot-games__security-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-card,
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__feature-image,
.page-slot-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

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

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

/* How to Play */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-slot-games__steps-list li {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  border-left: 5px solid var(--page-slot-games-gold);
}

.page-slot-games__steps-list li strong {
  display: block;
  margin-bottom: 5px;
  color: var(--page-slot-games-gold);
  font-size: 1.2em;
}

/* Popular Games */
.page-slot-games__game-card .page-slot-games__btn-link {
  margin-top: 20px;
}

.page-slot-games__view-all-games {
  margin-top: 60px;
}

/* Promotions */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__promo-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  border-left: 4px solid var(--page-slot-games-gold);
}

.page-slot-games__promo-item strong {
  color: var(--page-slot-games-gold);
}

/* Security Section */
.page-slot-games__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-icon {
  width: 100px; /* Min size 200px required, but for icon-like elements, a smaller display size with larger source is acceptable if explicitly noted. For now, adhering to 200px min. */
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size for placeholder */
  min-height: 200px; /* Enforce min size for placeholder */
}

.page-slot-games__security-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-slot-games-text-main);
}

/* Mobile Experience */
.page-slot-games__mobile-app-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 20px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__download-app {
  margin-top: 40px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-deep-green);
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-slot-games-gold);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

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

.page-slot-games__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-slot-games-card-bg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    max-width: 80%;
  }
  .page-slot-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__hero-content {
    top: 55%;
    width: 95%;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 6vw, 2.8em);
  }
  .page-slot-games__hero-description {
    font-size: 0.95em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__security-grid,
  .page-slot-games__mobile-app-image,
  .page-slot-games__container,
  .page-slot-games__card,
  .page-slot-games__cta-buttons,
  .page-slot-games__download-app,
  .page-slot-games__view-all-games {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__mobile-experience-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 50px 0;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__security-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
}