/* style/slot-games.css */

:root {
  --e28bet-primary-color: #FF8C1A;
  --e28bet-secondary-color: #FFA53A;
  --e28bet-card-bg: #17191F;
  --e28bet-bg-color: #0D0E12;
  --e28bet-text-main: #FFF3E6;
  --e28bet-border-color: #A84F0C;
  --e28bet-glow-color: #FFB04D;
  --e28bet-deep-orange: #D96800;
}

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

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

.page-slot-games__dark-bg {
  background-color: var(--e28bet-card-bg);
  color: var(--e28bet-text-main);
  padding: 60px 20px;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--e28bet-primary-color);
  line-height: 1.2;
}

.page-slot-games__section-title--light {
  color: var(--e28bet-text-main);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block--light {
  color: var(--e28bet-text-main);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--e28bet-bg-color);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly for visual flow */
  background: linear-gradient(to top, var(--e28bet-bg-color) 0%, transparent 100%);
  padding-top: 150px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--e28bet-glow-color);
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: var(--e28bet-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--e28bet-secondary-color) 0%, var(--e28bet-deep-orange) 100%);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255,130,26,0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--e28bet-deep-orange) 0%, var(--e28bet-secondary-color) 100%);
  box-shadow: 0 7px 20px rgba(255,130,26,0.6);
  transform: translateY(-2px);
}

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

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

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games__image-content--promo {
  border: 2px solid var(--e28bet-border-color);
}

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

.page-slot-games__benefit-item {
  background-color: var(--e28bet-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  border: 1px solid var(--e28bet-border-color);
}

.page-slot-games__benefit-heading {
  font-size: 1.5em;
  color: var(--e28bet-secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  color: var(--e28bet-text-main);
  font-size: 1em;
}

/* Popular Games Section */
.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(--e28bet-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--e28bet-border-color);
}

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

.page-slot-games__game-title {
  font-size: 1.3em;
  color: var(--e28bet-secondary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

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

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

/* How To Play Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 40px auto;
}

.page-slot-games__step-item {
  position: relative;
  background-color: var(--e28bet-card-bg);
  padding: 25px 30px 25px 80px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid var(--e28bet-border-color);
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--e28bet-primary-color);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__step-heading {
  font-size: 1.3em;
  color: var(--e28bet-secondary-color);
  margin-bottom: 5px;
}

.page-slot-games__step-item p {
  font-size: 1em;
  color: var(--e28bet-text-main);
  text-align: left;
  margin-bottom: 0;
}

.page-slot-games__step-item a {
  color: var(--e28bet-secondary-color);
  text-decoration: underline;
}

.page-slot-games__step-item a:hover {
  color: var(--e28bet-primary-color);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--e28bet-secondary-color);
  cursor: pointer;
  background-color: var(--e28bet-card-bg);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--e28bet-text-main);
  text-align: left;
  display: none;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  display: block;
}

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

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__content-area,
  .page-slot-games__dark-bg {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-slot-games__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    padding-top: 100px;
  }

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

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

  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
  }

  .page-slot-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__benefit-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games__step-item {
    padding: 20px 20px 20px 60px;
  }

  .page-slot-games__step-item::before {
    left: 20px;
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.2em;
  }

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