/* style/jackpot-games.css */

/* 🚨 Body background is dark, so text should be light */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css, explicitly set for context */
}

/* Fixed header spacing for the first content module if no hero. 
   Since this page has a hero, this applies to the first section *after* the hero. */
.page-jackpot-games__intro-section {
  padding-top: 60px; /* Adjust as needed */
}

/* HERO Section */
.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.page-jackpot-games__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-jackpot-games__hero-image {
  width: 100%;
  margin: 0;
}

.page-jackpot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section */
.page-jackpot-games__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1a1a1a; /* Slightly lighter dark background for contrast */
  box-sizing: border-box;
}

.page-jackpot-games__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small cards + 2 large cards */
  gap: 20px;
}

.page-jackpot-games__products-grid {
  display: grid;
  gap: 20px;
}

.page-jackpot-games__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-jackpot-games__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-jackpot-games__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Darker card background */
  border: 3px solid #ffd700; /* Gold border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-jackpot-games__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-jackpot-games__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* General Section Styles */
.page-jackpot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-jackpot-games__intro-section, 
.page-jackpot-games__quick-links-section, 
.page-jackpot-games__games-section, 
.page-jackpot-games__promotions-section, 
.page-jackpot-games__safety-support-section, 
.page-jackpot-games__faq-section, 
.page-jackpot-games__blog-section {
  padding: 80px 0;
  background-color: #121212; /* Ensure consistency with body background */
}

.page-jackpot-games__intro-section {
  text-align: center;
}

.page-jackpot-games__title {
  font-size: 3.2em;
  color: #ffd700; /* Gold for main title */
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.page-jackpot-games__heading {
  font-size: 2.5em;
  color: #ffd700; /* Gold for section headings */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-jackpot-games__sub-heading {
  font-size: 1.8em;
  color: #FFA500; /* Orange for sub-headings */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-jackpot-games__description, .page-jackpot-games p {
  font-size: 1.1em;
  color: #e0e0e0; /* Light grey for body text */
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-jackpot-games__description a, .page-jackpot-games p a {
  color: #FFA500; /* Orange for links in text */
  text-decoration: underline;
}

.page-jackpot-games__description a:hover, .page-jackpot-games p a:hover {
  color: #ffd700;
}

.page-jackpot-games__highlight {
  color: #ffd700;
  font-weight: bold;
}

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

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.page-jackpot-games__btn-primary {
  background: #FFA500; /* Orange background */
  color: #003366; /* Dark blue text */
  border-color: #FFA500;
}

.page-jackpot-games__btn-primary:hover {
  background: #ffd700; /* Lighter gold on hover */
  border-color: #ffd700;
  color: #000000;
  transform: translateY(-3px);
}

.page-jackpot-games__btn-secondary {
  background: #003366; /* Dark blue background */
  color: #ffd700; /* Gold text */
  border-color: #ffd700;
}

.page-jackpot-games__btn-secondary:hover {
  background: #002244; /* Darker blue on hover */
  border-color: #FFA500;
  color: #FFA500;
  transform: translateY(-3px);
}

/* Quick Links */
.page-jackpot-games__link-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.page-jackpot-games__link-list li {
  background: #2a2a2a; /* Dark card background */
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-jackpot-games__link-list li:hover {
  background-color: #3a3a3a;
}

.page-jackpot-games__link-list li a {
  color: #ffd700; /* Gold text for links */
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.page-jackpot-games__link-list li a:hover {
  color: #FFA500;
}

/* Game Categories */
.page-jackpot-games__games-section .page-jackpot-games__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.page-jackpot-games__game-category {
  background: #1a1a1a; /* Darker background for game categories */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-jackpot-games__game-category .page-jackpot-games__sub-heading {
  margin-top: 0;
  color: #ffd700;
}

.page-jackpot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-jackpot-games__feature-list li {
  background: #2a2a2a; /* Dark card background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games__feature-list li p {
  margin: 0;
  color: #e0e0e0;
}

.page-jackpot-games__feature-list li strong {
  color: #FFA500;
  font-size: 1.1em;
}

/* Promotions Section */
.page-jackpot-games__promotions-section .page-jackpot-games__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-jackpot-games__promo-card {
  background: #1a1a1a; /* Darker background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-games__promo-title {
  font-size: 1.5em;
  color: #ffd700; /* Gold for promo titles */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-jackpot-games__promo-card p {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Safety & Support Section */
.page-jackpot-games__safety-support-section .page-jackpot-games__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-jackpot-games__safety-item {
  background: #1a1a1a; /* Darker background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-jackpot-games__safety-item .page-jackpot-games__sub-heading {
  color: #FFA500;
  margin-top: 0;
}

.page-jackpot-games__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-jackpot-games__contact-list li {
  color: #e0e0e0;
  margin-bottom: 8px;
  font-size: 1.05em;
}

/* FAQ Section */
.page-jackpot-games__faq-section .page-jackpot-games__container {
  padding-bottom: 80px;
}

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

.page-jackpot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-jackpot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #2a2a2a; /* Dark background for FAQ answer */
  color: #e0e0e0;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a; /* Darker background for FAQ question */
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-jackpot-games__faq-question:hover {
  background: #2a2a2a;
  border-color: #5a5a5a;
}

.page-jackpot-games__faq-question:active {
  background: #3a3a3a;
}

.page-jackpot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffd700; /* Gold for FAQ questions */
  pointer-events: none;
}

.page-jackpot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFA500; /* Orange for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-toggle {
  color: #ffd700;
  transform: rotate(45deg); /* Change to 'x' or rotate for '−' */
}

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

.page-jackpot-games__blog-card {
  background: #1a1a1a; /* Darker background for blog cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-jackpot-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-jackpot-games__blog-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-jackpot-games__blog-title a {
  color: #ffd700; /* Gold for blog titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-jackpot-games__blog-title a:hover {
  color: #FFA500;
}

.page-jackpot-games__blog-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-jackpot-games__blog-date {
  font-size: 0.85em;
  color: #888888;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games__title {
    font-size: 2.8em;
  }
  .page-jackpot-games__heading {
    font-size: 2em;
  }
  .page-jackpot-games__sub-heading {
    font-size: 1.6em;
  }
  .page-jackpot-games__products-container {
    grid-template-columns: 1fr; /* Stack products grids vertically */
  }
  .page-jackpot-games__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for small cards */
  }
  .page-jackpot-games__products-grid--large {
    grid-template-columns: repeat(2, 1fr); /* 1x2 grid for large cards */
  }
}

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-jackpot-games__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .page-jackpot-games__hero-image img {
    width: 100%;
    height: auto;
  }
  .page-jackpot-games__products-section {
    padding: 40px 15px;
  }
  .page-jackpot-games__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-jackpot-games__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-jackpot-games__products-grid--small .page-jackpot-games__product-card {
    aspect-ratio: 1 / 1;
  }
  .page-jackpot-games__products-grid--small .page-jackpot-games__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  .page-jackpot-games__products-grid--large {
    grid-template-columns: 1fr; /* Each large card on its own row */
    gap: 15px;
  }
  .page-jackpot-games__products-grid--large .page-jackpot-games__product-card {
    aspect-ratio: 1 / 1;
  }
  .page-jackpot-games__products-grid--large .page-jackpot-games__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  .page-jackpot-games__container {
    padding: 30px 15px;
  }
  .page-jackpot-games__title {
    font-size: 2.2em;
  }
  .page-jackpot-games__heading {
    font-size: 1.8em;
  }
  .page-jackpot-games__sub-heading {
    font-size: 1.4em;
  }
  .page-jackpot-games__btn-primary, .page-jackpot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-jackpot-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__link-list {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__promotions-section .page-jackpot-games__container {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-jackpot-games__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-jackpot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-jackpot-games__faq-answer {
    padding: 0 15px;
  }
  .page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
    padding: 15px !important;
  }
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-games__intro-section,
  .page-jackpot-games__quick-links-section,
  .page-jackpot-games__games-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__safety-support-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__blog-section,
  .page-jackpot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}