/* style/slot-games.css */

/* Base styles and color scheme */
.page-slot-games {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  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-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 1px;
  max-width: 900px;
}

.page-slot-games__description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for secondary text */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: inset 0 0 0 1px rgba(46, 122, 78, 0.5);
}

.page-slot-games__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-slot-games__btn-tertiary {
  background: #1E3A2A; /* Divider */
  color: #A7D9B8; /* Text Secondary */
  border: 1px solid #2E7A4E; /* Border */
  font-size: 16px;
  padding: 10px 20px;
  margin-top: 15px;
}

.page-slot-games__btn-tertiary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

/* 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 */
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.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: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

/* Games Showcase Section */
.page-slot-games__games-showcase-section {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  padding: 15px 15px 5px;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-slot-games__play-button {
  display: block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-align: center;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 0 0 10px 10px;
}

.page-slot-games__play-button:hover {
  opacity: 0.9;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__step-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  position: relative;
  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;
  background-color: #2AD16F;
  color: #08160F;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.5);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

.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: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  padding: 15px 20px 5px;
  text-align: left;
}

.page-slot-games__promo-card .page-slot-games__card-description {
  padding: 0 20px 15px;
  text-align: left;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Important for desktop */
  max-width: 900px; /* Max width for video */
  margin: 0 auto 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it's a block element */
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__video-cta p {
  font-size: 18px;
  color: #A7D9B8;
  margin-bottom: 25px;
}

/* Responsible Gambling Section */
.page-slot-games__responsible-gambling-section {
  padding: 80px 0;
}

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

.page-slot-games__responsible-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__responsible-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-slot-games__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border */
}

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #2AD16F;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

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

.page-slot-games__cta-final-section .page-slot-games__btn-primary {
  margin-top: 40px;
  font-size: 20px;
  padding: 16px 40px;
}

/* Global image size and filter rules for .page-slot-games */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
  }

  .page-slot-games__features-section,
  .page-slot-games__games-showcase-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__video-section,
  .page-slot-games__responsible-gambling-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 60px 0;
  }

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

@media (max-width: 768px) {
  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsive */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video container responsive */
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    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 already handles --header-offset */
  }

  /* Buttons responsive */
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary,
  .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;
  }

  /* Button containers responsive */
  .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;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-slot-games__hero-section {
    padding: 20px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .page-slot-games__description {
    font-size: 16px;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .page-slot-games__card-title {
    font-size: 20px;
  }

  .page-slot-games__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-slot-games__promo-card .page-slot-games__btn-primary {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }
}