/* style/slot-games.css */

/* Base styles */
.page-slot-games {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3 {
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
}

.page-slot-games h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-slot-games h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-slot-games p {
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
}

.page-slot-games__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

.page-slot-games a {
  color: #57E38D;
  text-decoration: none;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #57E38D;
  border: 2px solid #57E38D;
}

.page-slot-games__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

/* Video Section */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-slot-games__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 15px;
  margin-bottom: 30px;
}

.page-slot-games__video-wrapper .page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  cursor: pointer;
}

.page-slot-games__video-link:hover .page-slot-games__video {
  opacity: 0.9;
}

.page-slot-games__video-cta {
  margin-top: 20px;
}

/* Content Area */
.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-slot-games__feature-card {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  background-color: #11271B; /* Card BG */
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-slot-games__feature-title {
  color: #F2FFF6;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__feature-text {
  color: #A7D9B8;
  font-size: 0.95em;
}

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

.page-slot-games__type-card {
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  background-color: #11271B;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__type-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-slot-games__type-title {
  color: #F2FFF6;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-slot-games__type-text {
  color: #A7D9B8;
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-slot-games__step-card {
  padding: 30px;
  border-radius: 15px;
  background-color: #11271B;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-slot-games__step-title {
  color: #F2FFF6;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  color: #A7D9B8;
}

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

.page-slot-games__game-card {
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  background-color: #11271B;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-slot-games__game-title {
  color: #F2FFF6;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__game-title a {
  color: #F2FFF6;
}

.page-slot-games__game-description {
  color: #A7D9B8;
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-slot-games__promotion-card {
  padding: 25px;
  border-radius: 15px;
  background-color: #11271B;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-slot-games__promotion-title {
  color: #F2FFF6;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__promotion-title a {
  color: #F2FFF6;
}

.page-slot-games__promotion-text {
  color: #A7D9B8;
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

/* Responsible Gaming */
.page-slot-games__responsible-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  color: #A7D9B8;
  font-size: 1.1em;
}

.page-slot-games__responsible-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-slot-games__responsible-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #2AD16F;
}

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

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games__faq-item {
  background-color: #11271B;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  font-size: 1.1em;
  background-color: #11271B;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none; /* For details/summary */
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D;
}

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8;
  font-size: 0.95em;
}

.page-slot-games__faq-item:not([open]) .page-slot-games__faq-answer {
  display: none; /* Hide by default for non-details elements */
}

/* Final CTA Section */
.page-slot-games__final-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A4B2C;
  margin-top: 60px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__content-area,
  .page-slot-games__final-cta {
    padding-left: 30px;
    padding-right: 30px;
  }
}

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

  .page-slot-games h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-slot-games h3 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__content-area,
  .page-slot-games__final-cta {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons-bottom {
    flex-direction: column;
    align-items: center;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__hero-image-wrapper,
  .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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

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

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