/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--page-slot-games-background); /* Deep green background */
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-slot-games__dark-text {
  color: #333333; /* For sections with light background */
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-slot-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Game Types Section */
.page-slot-games__types-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  color: var(--page-slot-games-text-main);
  margin: 15px 15px 10px 15px;
  line-height: 1.3;
}

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

.page-slot-games__card-title a:hover {
  color: var(--page-slot-games-primary-color);
}

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

/* Jackpot Section */
.page-slot-games__jackpot-section {
  padding: 60px 0;
  text-align: center;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__feature-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  width: 200px; /* Explicitly set to min size */
  height: 200px; /* Explicitly set to min size */
}

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

.page-slot-games__feature-description {
  font-size: 0.95em;
  color: var(--page-slot-games-text-secondary);
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__guide-title {
  font-size: 1.3em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
}

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

.page-slot-games__guide-description a {
  color: var(--page-slot-games-secondary-color);
  text-decoration: none;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__promo-card .page-slot-games__card-image {
  height: 220px; /* Adjust height for promo cards */
}

.page-slot-games__promo-card .page-slot-games__card-title,
.page-slot-games__promo-card .page-slot-games__card-description {
  padding: 0 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 20px;
  align-self: flex-start;
}

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

/* Security Section */
.page-slot-games__security-section {
  padding: 60px 0;
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 15px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-slot-games__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-secondary-color);
}

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

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

/* Final CTA Section */
.page-slot-games__cta-bottom {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 4.5vw, 3.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px; /* Add padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General mobile adjustments */
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 350px;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    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;
    font-size: 1em;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

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

  .page-slot-games__feature-icon {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__card-image,
  .page-slot-games__promo-card .page-slot-games__card-image,
  .page-slot-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  .page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
  }

  .page-slot-games__promo-card .page-slot-games__card-title,
  .page-slot-games__promo-card .page-slot-games__card-description {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    padding-bottom: 30px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 250px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
}