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

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom */
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-slot-games__hero-content {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for responsive H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--background-color-page);
  transform: translateY(-3px);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block p {
  margin-bottom: 1em;
  line-height: 1.7;
  color: var(--text-main);
}

.page-slot-games__text-block p a {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__text-block p a:hover {
  text-decoration: underline;
}

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

.page-slot-games__feature-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games__game-desc {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__step-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color);
  background: var(--deep-green-color);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--gold-color);
}

.page-slot-games__step-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--glow-color);
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-slot-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games__promo-desc {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__section-faq {
  background-color: var(--deep-green-color);
  border-radius: 15px;
  padding: 60px 20px;
  margin-top: 60px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-faq .page-slot-games__section-title {
  color: var(--text-main);
  margin-bottom: 50px;
}

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

.page-slot-games__faq-item[open] {
  background: var(--deep-green-color);
  border-color: var(--glow-color);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow-color);
  margin-left: 15px;
}

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

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

.page-slot-games__faq-answer p {
  margin-bottom: 1em;
}

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

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

.page-slot-games__section-cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

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

  .page-slot-games__hero-section,
  .page-slot-games__content-area,
  .page-slot-games__section-faq {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    padding-left: 15px;
    padding-right: 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__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .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__content-area,
  .page-slot-games__section-faq,
  .page-slot-games__features-grid,
  .page-slot-games__feature-card,
  .page-slot-games__game-grid,
  .page-slot-games__game-card,
  .page-slot-games__guide-steps,
  .page-slot-games__step-card,
  .page-slot-games__promo-grid,
  .page-slot-games__promo-card,
  .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: hidden !important;
  }

  .page-slot-games__feature-icon {
    width: 200px;
    height: auto;
  }

  .page-slot-games__game-image {
    max-width: 280px;
  }

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

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

/* Ensure content area images are at least 200px */
.page-slot-games__feature-icon,
.page-slot-games__game-image,
.page-slot-games__promo-image {
  min-width: 200px;
  min-height: 150px; /* Adjust height for aspect ratio */
}

/* Specific content area image rules, not affecting header/footer */
.page-slot-games img:not([class*="shared-"]) {
  /* This ensures content images are not tiny */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}