/* 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: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main); /* Light text for dark background */
  background-color: var(--page-slot-games-background);
  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, 5vw, 2.8em);
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-slot-games-text-main);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--page-slot-games-glow);
}

.page-slot-games__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--page-slot-games-primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid var(--page-slot-games-primary-color);
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-slot-games__mt-40 {
  margin-top: 40px;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  text-align: center;
  min-height: 500px;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: absolute;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
}

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

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

.page-slot-games__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-slot-games-border);
}

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

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

/* Game Types Section */
.page-slot-games__game-types {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__game-type-card {
  text-align: center;
}

.page-slot-games__game-type-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-slot-games-border);
}

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

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

/* How to Play Section */
.page-slot-games__how-to-play {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
  text-align: center;
}

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

.page-slot-games__step-item {
  text-align: left;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

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

/* Tips & Strategy Section */
.page-slot-games__tips-strategy {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

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

.page-slot-games__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__tip-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
}

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

/* Promotions Section */
.page-slot-games__promotions {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
  text-align: center;
}

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

.page-slot-games__promo-item {
  text-align: left;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  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 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-gold);
  background-color: var(--page-slot-games-card-bg);
  border-bottom: 1px solid var(--page-slot-games-border);
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

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

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

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

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

  .page-slot-games__hero-section {
    min-height: 400px;
  }

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

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

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

  .page-slot-games__hero-content a.page-slot-games__btn-primary {
    width: auto !important; /* Allow single button to be smaller if content fits */
    max-width: 80% !important; 
    margin-left: auto; 
    margin-right: auto;
  }

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

  .page-slot-games__feature-icon,
  .page-slot-games__game-type-image,
  .page-slot-games__tip-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__why-choose-us,
  .page-slot-games__game-types,
  .page-slot-games__how-to-play,
  .page-slot-games__tips-strategy,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 40px 0;
  }

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

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

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

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

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

  .page-slot-games__hero-content a.page-slot-games__btn-primary {
    max-width: 90% !important; 
  }
}