/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--page-bg-color); /* Dark background from custom colors */
  color: var(--text-main-color); /* Light text for dark background */
  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 {
  padding: 60px 0;
}

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

.page-slot-games__light-bg {
  background-color: var(--text-main-color);
  color: #333333; /* Dark text for light background */
}

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold-color);
}

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

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-secondary-color);
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

/* 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,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--btn-primary-gradient);
  color: var(--btn-primary-text);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 2px solid var(--btn-secondary-text);
}

.page-slot-games__btn-secondary:hover {
  background: var(--btn-secondary-text);
  color: var(--btn-secondary-bg);
  transform: translateY(-2px);
}

.page-slot-games__btn-tertiary {
  background: transparent;
  color: var(--btn-tertiary-text);
  border: 1px solid var(--border-color);
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: var(--glow-color);
}

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

/* Feature Cards (Why Choose) */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

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

/* How to Play Steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.page-slot-games__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--btn-primary-gradient);
  color: var(--btn-primary-text);
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.5);
}

/* Popular Games Grid */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

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

.page-slot-games__promo-card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

/* Mobile App Section */
.page-slot-games__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-slot-games__text-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__mobile-app-image {
  width: 100%;
  height: auto;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-slot-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
  text-align: left;
  color: #333333; /* Dark text for light background */
}

.page-slot-games__app-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__app-benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--brand-main-color);
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__faq-question:hover {
  background-color: var(--brand-main-color);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

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

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

  .page-slot-games__main-title {
    font-size: 2.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,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-slot-games__cta-buttons {
    padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__feature-image,
  .page-slot-games__game-image,
  .page-slot-games__promo-image,
  .page-slot-games__mobile-app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__text-block,
  .page-slot-games__image-block,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__mobile-app-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games__mobile-app-image {
    margin-top: 20px;
  }

  .page-slot-games__app-benefits {
    text-align: left;
    padding-left: 0;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 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-image-wrapper {
    max-height: 250px;
  }

  .page-slot-games__cta-buttons {
    gap: 10px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}