/* style/slot-games.css */

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

.page-slot-games {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.85); /* Slightly transparent card BG */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--page-slot-games-glow);
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--page-slot-games-glow);
  color: var(--page-slot-games-card-bg);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-slot-games-gold);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--page-slot-games-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games p {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 15px;
}

.page-slot-games__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px; /* Recommended size for content images */
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-deep-green);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
}

.page-slot-games__card-title {
  color: var(--page-slot-games-gold);
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__feature-list,
.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__feature-item,
.page-slot-games__tip-item {
  background-color: var(--page-slot-games-deep-green);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-title,
.page-slot-games__tip-title {
  color: var(--page-slot-games-gold);
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-slot-games__step-item {
  background-color: var(--page-slot-games-deep-green);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-title {
  color: var(--page-slot-games-glow);
  font-size: 1.35rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-slot-games__step-button {
  margin-top: auto;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-deep-green);
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid var(--page-slot-games-border);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--page-slot-games-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  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: var(--page-slot-games-border);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--page-slot-games-glow);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

.page-slot-games__conclusion-section {
  text-align: center;
}

/* --- Responsive Design --- */

/* Desktop specific adjustments (if needed) */
@media (min-width: 769px) {
  .page-slot-games__hero-image {
    height: 675px; /* Fixed height for desktop hero image */
  }
  .page-slot-games__hero-content {
    margin-top: -150px; /* Overlay content slightly on image for visual appeal */
    position: relative;
    z-index: 10;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-slot-games__hero-title {
    font-size: 2rem !important;
  }

  .page-slot-games__hero-description {
    font-size: 1rem !important;
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__conclusion-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    min-width: unset;
  }

  .page-slot-games__content-area {
    padding: 20px 15px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 1.7rem !important;
    margin-bottom: 20px;
  }

  .page-slot-games h3 {
    font-size: 1.25rem !important;
    margin-top: 20px;
  }

  .page-slot-games p {
    font-size: 0.95rem !important;
  }

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

  .page-slot-games__card-grid,
  .page-slot-games__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__feature-item,
  .page-slot-games__tip-item,
  .page-slot-games__step-item,
  .page-slot-games__faq-item {
    padding: 20px;
  }

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

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

/* Ensure all images and their containers are responsive and do not overflow */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__hero-image-wrapper,
.page-slot-games__content-area,
.page-slot-games__card-grid,
.page-slot-games__card,
.page-slot-games__feature-item,
.page-slot-games__tip-item,
.page-slot-games__step-by-step,
.page-slot-games__step-item,
.page-slot-games__faq-list,
.page-slot-games__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__content-area,
  .page-slot-games__card-grid,
  .page-slot-games__card,
  .page-slot-games__feature-item,
  .page-slot-games__tip-item,
  .page-slot-games__step-by-step,
  .page-slot-games__step-item,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Added padding for content sections on mobile to prevent edge-to-edge content */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override specific padding for content-area if it already has padding */
  .page-slot-games__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Remove padding from elements that are children of already padded containers */
  .page-slot-games__card-grid .page-slot-games__card,
  .page-slot-games__feature-list .page-slot-games__feature-item,
  .page-slot-games__tip-list .page-slot-games__tip-item,
  .page-slot-games__step-by-step .page-slot-games__step-item,
  .page-slot-games__faq-list .page-slot-games__faq-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Ensure hero image wrapper padding is handled */
  .page-slot-games__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-slot-games__hero-image {
    border-radius: 0;
  }

  .page-slot-games__hero-content {
    margin-top: 0 !important;
    position: static !important;
    z-index: auto !important;
    background-color: var(--page-slot-games-card-bg) !important; /* Solid background on mobile */
  }
}