/* style/jackpot-games.css */

/* Base styles for the page content */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-jackpot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-jackpot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07; /* Login color as accent */
  border-radius: 2px;
}

.page-jackpot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-jackpot-games a {
  color: #26A9E0;
  text-decoration: none;
}

.page-jackpot-games a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-jackpot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-jackpot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-jackpot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-jackpot-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #ff9933;
  border-color: #ff9933;
  transform: translateY(-3px);
}

.page-jackpot-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-jackpot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-jackpot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

/* About Section */
.page-jackpot-games__about-section,
.page-jackpot-games__game-types-section,
.page-jackpot-games__strategy-section,
.page-jackpot-games__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

/* Dark background sections */
.page-jackpot-games__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
}

.page-jackpot-games__dark-bg .page-jackpot-games__section-title {
  color: #FFFFFF;
}

.page-jackpot-games__dark-bg .page-jackpot-games__text-block {
  color: #f0f0f0;
}

.page-jackpot-games__dark-bg a {
  color: #EA7C07;
}

.page-jackpot-games__dark-bg a:hover {
  text-decoration: underline;
}

/* Features Section */
.page-jackpot-games__features-section {
  padding: 80px 0;
}

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

.page-jackpot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.1); /* Slight brightness adjustment, not color change */
}

.page-jackpot-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-jackpot-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-jackpot-games__game-type-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-jackpot-games__game-type-card:hover {
  transform: translateY(-5px);
}

.page-jackpot-games__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__game-type-card h3 {
  font-size: 1.4em;
  padding: 15px;
  color: #26A9E0;
}

.page-jackpot-games__game-type-card p {
  font-size: 1em;
  padding: 0 15px 20px;
  color: #555555;
}

/* Guide Section */
.page-jackpot-games__guide-section {
  padding: 80px 0;
}

.page-jackpot-games__guide-list {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
  margin-top: 40px;
}

.page-jackpot-games__guide-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-jackpot-games__guide-list li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #EA7C07;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-jackpot-games__guide-step-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-jackpot-games__guide-step-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Strategy Section */
.page-jackpot-games__strategy-section {
  padding: 80px 0;
}

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

.page-jackpot-games__strategy-list li {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-jackpot-games__strategy-item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-jackpot-games__strategy-item-description {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-jackpot-games__promotions-section {
  padding: 80px 0;
}

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

.page-jackpot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

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

.page-jackpot-games__promotion-card h3 {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #FFFFFF;
}

.page-jackpot-games__promotion-card p {
  font-size: 1em;
  padding: 0 15px 20px;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-jackpot-games__promotion-card .page-jackpot-games__btn-primary {
  margin: 0 15px 20px;
}

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

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

.page-jackpot-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-jackpot-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px;
}