/* style/jackpot-slots-gameplay.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #121212; /* From body background */
  --bg-light-card: rgba(255, 255, 255, 0.1);
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --font-login-register: #FFFF00;
}

/* Base styles for dark body background */
.page-jackpot-slots-gameplay {
  color: var(--text-light); /* Light text for dark body background */
  background-color: transparent; /* Rely on body background */
}

.page-jackpot-slots-gameplay__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-jackpot-slots-gameplay__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-jackpot-slots-gameplay__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-jackpot-slots-gameplay__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.page-jackpot-slots-gameplay__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots-gameplay__description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-jackpot-slots-gameplay__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-jackpot-slots-gameplay__btn-primary,
.page-jackpot-slots-gameplay__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 180px;
  box-sizing: border-box;
}

.page-jackpot-slots-gameplay__btn-primary {
  background-color: var(--btn-register-bg);
  color: var(--font-login-register);
  border: 2px solid var(--btn-register-bg);
}

.page-jackpot-slots-gameplay__btn-primary:hover {
  background-color: darken(var(--btn-register-bg), 10%);
  border-color: darken(var(--btn-register-bg), 10%);
}

.page-jackpot-slots-gameplay__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-jackpot-slots-gameplay__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-jackpot-slots-gameplay__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--bg-dark); /* Ensure content area has a consistent dark background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots-gameplay__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

.page-jackpot-slots-gameplay__content-area p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-jackpot-slots-gameplay__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-jackpot-slots-gameplay__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.page-jackpot-slots-gameplay__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-jackpot-slots-gameplay__card {
  background-color: var(--bg-light-card); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-jackpot-slots-gameplay__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-jackpot-slots-gameplay__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-jackpot-slots-gameplay__tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-jackpot-slots-gameplay__tip-card {
  background-color: var(--bg-light-card);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  height: 100%;
  box-sizing: border-box;
}

.page-jackpot-slots-gameplay__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-jackpot-slots-gameplay__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-jackpot-slots-gameplay__faq-item {
  background-color: var(--bg-light-card);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-jackpot-slots-gameplay__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-jackpot-slots-gameplay__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-jackpot-slots-gameplay__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.page-jackpot-slots-gameplay__faq-item[open] .page-jackpot-slots-gameplay__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-slots-gameplay__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-jackpot-slots-gameplay__main-title {
    font-size: 2.8rem;
  }

  .page-jackpot-slots-gameplay__section-title {
    font-size: 2rem;
  }
}

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

  .page-jackpot-slots-gameplay__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-jackpot-slots-gameplay__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-jackpot-slots-gameplay__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-jackpot-slots-gameplay__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-jackpot-slots-gameplay__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-jackpot-slots-gameplay__btn-primary,
  .page-jackpot-slots-gameplay__btn-secondary {
    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-jackpot-slots-gameplay__content-area {
    padding: 30px 15px;
  }

  .page-jackpot-slots-gameplay__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-jackpot-slots-gameplay__list {
    margin-left: 20px;
  }

  .page-jackpot-slots-gameplay img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-slots-gameplay__card-grid,
  .page-jackpot-slots-gameplay__tip-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-slots-gameplay__card,
  .page-jackpot-slots-gameplay__tip-card {
    padding: 20px;
  }

  .page-jackpot-slots-gameplay__card-image {
    height: 180px;
  }

  .page-jackpot-slots-gameplay__card-title {
    font-size: 1.3rem;
  }

  .page-jackpot-slots-gameplay__tip-title {
    font-size: 1.2rem;
  }

  .page-jackpot-slots-gameplay__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-jackpot-slots-gameplay__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots-gameplay__main-title {
    font-size: 1.8rem;
  }

  .page-jackpot-slots-gameplay__section-title {
    font-size: 1.6rem;
  }

  .page-jackpot-slots-gameplay__btn-primary,
  .page-jackpot-slots-gameplay__btn-secondary {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}