/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Light body background #f8f9fa, so dark text */
  background-color: #f8f9fa;
}

.page-slot-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #11A84E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #F2C14E; /* Gold color for titles on dark background */
}

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

.page-slot-games__dark-bg .page-slot-games__text-block,
.page-slot-games__dark-bg .page-slot-games__description,
.page-slot-games__dark-bg .page-slot-games__list-item p {
  color: #A7D9B8;
}

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

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-slot-games__description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #F2FFF6;
  border: 2px solid #57E38D;
}

.page-slot-games__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
}

.page-slot-games__btn-full-width {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Content Sections */
.page-slot-games__intro-section,
.page-slot-games__types-section,
.page-slot-games__benefits-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__providers-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
  padding: 60px 0;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Lists */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__list-item {
  margin-bottom: 30px;
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-slot-games__dark-bg .page-slot-games__list-item {
  background-color: #11271B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-slot-games__list-title {
  font-size: 1.6em;
  color: #11A84E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__dark-bg .page-slot-games__list-title {
  color: #F2C14E;
}

.page-slot-games__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
}

.page-slot-games__numbered-list .page-slot-games__list-item {
  list-style: decimal;
  margin-left: 20px;
}

/* Grid List (Benefits) */
.page-slot-games__grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-slot-games__card {
  background-color: #11271B; /* Custom Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.2s ease-in-out;
}

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

.page-slot-games__card .page-slot-games__item-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold for titles on dark card */
  margin-bottom: 15px;
}

.page-slot-games__card p {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__provider-item {
  text-align: center;
}

.page-slot-games__provider-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: #0A4B2C;
  padding: 10px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.3);
}

.page-slot-games__provider-name {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

.page-slot-games__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.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.2em;
  color: #F2C14E;
  list-style: none;
  -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__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D;
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  text-align: center;
  padding: 80px 20px;
}

.page-slot-games__cta-final .page-slot-games__description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

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

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

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__intro-section,
  .page-slot-games__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 40px 0;
  }

  .page-slot-games__image-content {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__list-item {
    padding: 20px;
  }

  .page-slot-games__list-title {
    font-size: 1.4em;
  }

  .page-slot-games__grid-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-slot-games__provider-logo {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__provider-name {
    font-size: 1.2em;
  }

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

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

  /* Ensure all img tags inside .page-slot-games are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/content to prevent overflow */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__provider-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

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