/* style/slot-games.css */

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

/* General Page Styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--vff88-text-main); /* Default text color for the page */
  background-color: var(--vff88-background); /* Body background handled by shared.css var(--background-color) */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__light-bg {
  background-color: var(--vff88-deep-green);
  color: var(--vff88-text-main);
}

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--vff88-gold);
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__sub-title {
  font-size: 2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--vff88-text-main);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--vff88-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 40px;
  background: rgba(17, 39, 27, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
  font-weight: 800;
  color: var(--vff88-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-slot-games__hero-section .page-slot-games__description {
  font-size: 1.2em;
  color: var(--vff88-text-main);
  margin-bottom: 30px;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--vff88-button-gradient);
  color: var(--vff88-text-main);
  border: 2px solid var(--vff88-glow);
  box-shadow: 0 0 15px var(--vff88-glow);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--vff88-glow);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--vff88-glow);
  color: var(--vff88-background);
  transform: translateY(-3px);
}

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

.page-slot-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-slot-games__card {
  background-color: var(--vff88-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--vff88-text-main);
  border: 1px solid var(--vff88-border);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

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

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

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

/* Why Choose Section */
.page-slot-games__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-slot-games__feature-card {
  background-color: var(--vff88-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--vff88-text-main);
  border: 1px solid var(--vff88-border);
}

.page-slot-games__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--vff88-glow));
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

/* How To Play Section */
.page-slot-games__step-by-step {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: var(--vff88-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  flex: 1 1 calc(33% - 30px);
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--vff88-border);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: var(--vff88-button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  color: var(--vff88-text-main);
  margin-bottom: 20px;
  box-shadow: 0 0 10px var(--vff88-glow);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--vff88-gold);
}

.page-slot-games__step-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--vff88-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Guide Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__list-item {
  background-color: var(--vff88-card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--vff88-glow);
}

.page-slot-games__list-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--vff88-gold);
  margin-bottom: 10px;
}

.page-slot-games__list-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--vff88-text-secondary);
}

.page-slot-games__image-centered {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

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

.page-slot-games__faq-item {
  background-color: var(--vff88-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--vff88-border);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--vff88-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--vff88-primary-color), 0.1);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--vff88-glow);
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--vff88-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

details[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 20px;
  background-image: linear-gradient(rgba(17, 168, 78, 0.8), rgba(34, 199, 104, 0.8)), url('[GALLERY:cta_banner:1200x400:vff88win,call_to_action,register_now,slot_bonus]');
  background-size: cover;
  background-position: center;
  border-top: 5px solid var(--vff88-glow);
}

.page-slot-games__cta-final .page-slot-games__section-title {
  color: var(--vff88-text-main);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__cta-final .page-slot-games__text-block {
  color: var(--vff88-text-main);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2.2em;
  }

  .page-slot-games__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

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

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

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

  .page-slot-games__sub-title {
    font-size: 1.5em;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
    margin-top: 20px;
  }

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

  .page-slot-games__hero-section .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 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__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-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

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

  .page-slot-games__step-by-step {
    flex-direction: column;
    align-items: center;
  }

  .page-slot-games__step-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

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

  .page-slot-games__grid--2-cols {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card,
  .page-slot-games__feature-card {
    padding: 20px;
    text-align: center;
    align-items: center;
  }

  .page-slot-games__card-image,
  .page-slot-games__image-full-width,
  .page-slot-games__image-centered,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__game-diversity,
  .page-slot-games__why-choose,
  .page-slot-games__how-to-play,
  .page-slot-games__strategy-guide,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-slot-games__feature-icon {
    min-width: 100px !important;
    min-height: 100px !important;
    width: 100px !important;
    height: 100px !important;
  }

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

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