/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background-color: #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: #0A4B2C;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  color: var(--page-slot-games-text-main); /* Default text color for dark body background */
  background-color: var(--page-slot-games-background-color); /* Matches body background if not overridden by shared */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.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;
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-background-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-slot-games-gold-color);
  letter-spacing: -0.02em;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-slot-games-deep-green);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__light-bg .page-slot-games__text-block {
  color: #555555;
}

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

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-slot-games__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-slot-games-text-main);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__light-bg .page-slot-games__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(87, 227, 141, 0.5));
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__promo-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__light-bg .page-slot-games__feature-title {
  color: var(--page-slot-games-deep-green);
}

.page-slot-games__feature-description,
.page-slot-games__game-description,
.page-slot-games__promo-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.5;
}

.page-slot-games__light-bg .page-slot-games__feature-description {
  color: #555555;
}

/* Game Grid */
.page-slot-games__game-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-slot-games__game-card .page-slot-games__btn-primary {
  margin-top: 20px;
}

.page-slot-games__view-all-button {
  margin-top: 50px;
}

/* How To Play */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__step-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--page-slot-games-deep-green);
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

/* Promotions */
.page-slot-games__promo-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin-top: 20px;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
  color: var(--page-slot-games-text-main);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
     -moz-user-select: none; /* Old versions of Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none; /* Non-prefixed version, currently
                                 supported by Chrome, Edge, Opera and Firefox */
}

.page-slot-games__light-bg .page-slot-games__faq-question {
  background-color: #f0f0f0;
  color: #333333;
  border-bottom: 1px solid #cccccc;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: #555555;
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  border-bottom: 1px solid transparent; /* Hide border when open */
}

.page-slot-games__faq-item > summary {
  list-style: none;
}

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

.page-slot-games__faq-answer p {
  margin-top: 15px;
}

.page-slot-games__faq-answer .page-slot-games__btn-secondary {
  margin-top: 20px;
}

/* Conclusion */
.page-slot-games__conclusion .page-slot-games__cta-buttons {
  margin-top: 40px;
}

/* Global Image/Video/Button Responsiveness (Mandatory) */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

  .page-slot-games__hero-content {
    padding: 20px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__faq-item,
  .page-slot-games__step-item,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* Body handles header offset */
  }

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

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

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

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

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
}