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

.page-slot-games {
  background-color: var(--ev99-background); /* Body background is from shared, this is for main content sections if needed */
  color: var(--ev99-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--ev99-background);
}

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

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--ev99-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-slot-games__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: var(--ev99-green-secondary);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding for aesthetic */
  overflow: hidden;
  background-color: var(--ev99-background);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
  color: var(--ev99-text-main);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--ev99-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--ev99-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-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;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--ev99-button-gradient);
  color: #ffffff;
  border: 2px solid var(--ev99-green-main);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--ev99-green-secondary);
  color: var(--ev99-text-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__about-ev99 .page-slot-games__text-block,
.page-slot-games__game-types .page-slot-games__text-block,
.page-slot-games__strategies .page-slot-games__text-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: var(--ev99-text-main);
}

.page-slot-games__about-ev99 p,
.page-slot-games__game-types p,
.page-slot-games__strategies p {
  margin-bottom: 20px;
  color: var(--ev99-text-secondary);
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card,
.page-slot-games__step-card {
  background-color: var(--ev99-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--ev99-border);
  color: var(--ev99-text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--ev99-green-secondary);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.page-slot-games__feature-card p,
.page-slot-games__promo-card p,
.page-slot-games__step-card p {
  color: var(--ev99-text-secondary);
  font-size: 0.95em;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  color: var(--ev99-gold);
  font-weight: bold;
  margin-bottom: 15px;
  background: var(--ev99-deep-green);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--ev99-green-main);
  box-shadow: 0 0 10px var(--ev99-glow);
}

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

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

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--ev99-deep-green);
  padding: 80px 20px;
}

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

.page-slot-games__faq-item {
  background-color: var(--ev99-card-bg);
  border: 1px solid var(--ev99-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--ev99-deep-green), 0.8);
}

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--ev99-gold);
  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: 15px 25px 20px 25px;
  color: var(--ev99-text-secondary);
  font-size: 0.95em;
  line-height: 1.7;
}

.page-slot-games__conclusion .page-slot-games__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--ev99-text-main);
}

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

  .page-slot-games__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

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

  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

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

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

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

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

  .page-slot-games__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em) !important;
    margin-bottom: 15px;
  }

  .page-slot-games__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em) !important;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__container {
    padding: 0 10px;
  }

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

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

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card,
  .page-slot-games__faq-section,
  .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__video-section {
    padding-top: 10px !important; /* body has padding-top, this is for aesthetic */
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons--spaced {
    flex-direction: column;
    gap: 10px;
  }

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

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

  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card {
    padding: 20px;
    align-items: center; /* Center content in mobile cards */
    text-align: center;
  }

  .page-slot-games__card-title {
    font-size: 1.3em;
  }

  .page-slot-games__step-number {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-image {
    max-height: 300px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em) !important;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.4em, 7vw, 2em) !important;
  }

  .page-slot-games__sub-title {
    font-size: clamp(1.1em, 6vw, 1.5em) !important;
  }
}