/* style/slot-games.css */

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

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

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

/* Sections */
.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative */
  overflow: hidden;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly */
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__text-contrast-fix {
  color: #333333;
}

.page-slot-games__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color);
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: var(--deep-green-color);
  border: 2px solid var(--deep-green-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--deep-green-color);
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

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

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

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

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

.page-slot-games__light-bg .page-slot-games__card-text {
  color: #555555;
}

/* Features List */
.page-slot-games__features-list,
.page-slot-games__tips-list,
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__feature-item,
.page-slot-games__tip-item,
.page-slot-games__promo-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-slot-games__feature-title,
.page-slot-games__tip-title,
.page-slot-games__promo-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

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

.page-slot-games__light-bg .page-slot-games__promo-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.page-slot-games__light-bg .page-slot-games__promo-item p {
  color: #555555;
}

/* Steps List */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__step-item p {
  color: #555555;
  font-size: 0.95em;
}

.page-slot-games__step-item a {
  color: var(--deep-green-color);
  text-decoration: underline;
}

.page-slot-games__step-item a:hover {
  color: var(--glow-color);
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Security Support Grid */
.page-slot-games__security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

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

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

.page-slot-games__light-bg .page-slot-games__faq-question {
  color: var(--deep-green-color);
}

.page-slot-games__faq-question:hover {
  background-color: var(--deep-green-color);
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__faq-question:hover {
  background-color: var(--deep-green-color);
  color: #ffffff;
}

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

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

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

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-games__faq-answer a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-slot-games__light-bg .page-slot-games__faq-answer a {
  color: var(--deep-green-color);
}

.page-slot-games__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Details element specific styling for FAQ */
details.page-slot-games__faq-item > summary {
  list-style: none;
}
details.page-slot-games__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Final CTA */
.page-slot-games__final-cta {
  padding-bottom: 80px;
}

/* Links within text */
.page-slot-games a {
  color: var(--glow-color);
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -100px;
  }
}

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

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

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

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

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

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

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__game-types-grid,
  .page-slot-games__features-list,
  .page-slot-games__steps-list,
  .page-slot-games__security-support-grid,
  .page-slot-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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__card,
  .page-slot-games__section,
  .page-slot-games__box,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__hero-image {
    filter: brightness(0.6); /* Darker on mobile for text */
  }

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
}