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

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

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

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

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

.page-jackpot-games__dark-bg .page-jackpot-games__card {
  background-color: var(--page-jackpot-games-card-bg);
  color: var(--page-jackpot-games-text-main);
  border: 1px solid var(--page-jackpot-games-border-color);
}

.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding for header, this is for content spacing */
  overflow: hidden;
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-align: center;
  color: var(--page-jackpot-games-text-main);
}

.page-jackpot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-jackpot-games-gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-jackpot-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-jackpot-games-text-secondary);
}

.page-jackpot-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--page-jackpot-games-gold-color);
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-jackpot-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--page-jackpot-games-text-main);
}

.page-jackpot-games__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--page-jackpot-games-text-secondary);
  text-align: left;
}

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

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-jackpot-games__btn-primary {
  background: var(--page-jackpot-games-button-gradient);
  color: var(--page-jackpot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-jackpot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-jackpot-games__btn-secondary {
  background: none;
  color: var(--page-jackpot-games-gold-color);
  border: 2px solid var(--page-jackpot-games-gold-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-jackpot-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-jackpot-games__btn-center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__image-wrapper {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-jackpot-games__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-jackpot-games__list-item {
  background-color: var(--page-jackpot-games-card-bg);
  border-left: 5px solid var(--page-jackpot-games-primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--page-jackpot-games-text-main);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games__list-item strong {
  color: var(--page-jackpot-games-gold-color);
}

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

.page-jackpot-games__card {
  background-color: var(--page-jackpot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-jackpot-games-border-color);
  min-height: 200px; /* Ensure card content is large enough */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-jackpot-games-gold-color);
}

.page-jackpot-games__card-text {
  font-size: 0.95rem;
  color: var(--page-jackpot-games-text-secondary);
}

.page-jackpot-games__download-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-jackpot-games__download-steps {
  flex: 1;
}

.page-jackpot-games__download-flex .page-jackpot-games__image-wrapper {
  flex: 1;
  margin: 0;
}

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

.page-jackpot-games__promo-card {
  background-color: var(--page-jackpot-games-card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-jackpot-games-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-jackpot-games__promo-card .page-jackpot-games__card-title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.page-jackpot-games__promo-card .page-jackpot-games__card-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-jackpot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-jackpot-games__faq-item {
  background-color: var(--page-jackpot-games-card-bg);
  border: 1px solid var(--page-jackpot-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-jackpot-games-text-main);
  cursor: pointer;
  background-color: var(--page-jackpot-games-deep-green);
  border-radius: 8px;
  list-style: none;
}

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

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

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

.page-jackpot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-jackpot-games-text-secondary);
  background-color: var(--page-jackpot-games-card-bg);
  border-top: 1px solid var(--page-jackpot-games-border-color);
}

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

.page-jackpot-games__cta-final .page-jackpot-games__container {
  background-color: var(--page-jackpot-games-deep-green);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-jackpot-games__download-flex {
    flex-direction: column;
  }
  .page-jackpot-games__download-flex .page-jackpot-games__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-jackpot-games__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-jackpot-games__description {
    font-size: 1rem;
  }

  .page-jackpot-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-jackpot-games__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-jackpot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-jackpot-games__container,
  .page-jackpot-games__section,
  .page-jackpot-games__image-wrapper,
  .page-jackpot-games__download-flex,
  .page-jackpot-games__grid-container,
  .page-jackpot-games__promo-grid,
  .page-jackpot-games__faq-list,
  .page-jackpot-games__cta-contact,
  .page-jackpot-games__cta-final .page-jackpot-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-jackpot-games__promo-image {
    height: auto !important;
  }

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

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

@media (max-width: 480px) {
  .page-jackpot-games__section {
    padding: 40px 0;
  }
  .page-jackpot-games__hero-content {
    padding: 10px;
  }
}

/* Ensure all content images are at least 200x200 */
.page-jackpot-games__content-image, .page-jackpot-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Filter for hero image is allowed for readability */
.page-jackpot-games__hero-image {
  filter: brightness(0.4);
}