/* style/slot-jackpot-games.css */

/* Variables and Base Styles */
:root {
  --primary-color: #0A2463; /* Deep Indigo */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000; /* From shared.css body background */
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency if needed */
}

/* Page content top padding for fixed header */
.page-slot-jackpot-games__video-section {
  padding-top: 10px; /* Desktop: Adjust based on fixed header height */
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  background-color: var(--bg-dark);
}

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

/* Section titles */
.page-slot-jackpot-games__section-title,
.page-slot-jackpot-games__main-title,
.page-slot-jackpot-games__brand-title,
.page-slot-jackpot-games__game-title,
.page-slot-jackpot-games__blog-item-title {
  color: var(--text-light); /* Default for dark sections */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-jackpot-games__main-title {
  font-size: 3.2em;
  color: var(--secondary-color); /* Gold for H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-jackpot-games__section-title {
  font-size: 2.5em;
  padding-top: 40px; /* Add padding to prevent content from touching the top of the section */
}

.page-slot-jackpot-games__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-slot-jackpot-games__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-slot-jackpot-games__light-bg .page-slot-jackpot-games__section-description {
  color: var(--text-dark);
}

/* Text colors for different backgrounds */
.page-slot-jackpot-games__dark-section {
  background: var(--primary-color); /* Deep Indigo */
  color: var(--text-light);
  padding: 60px 0;
}

.page-slot-jackpot-games__dark-section .page-slot-jackpot-games__section-title,
.page-slot-jackpot-games__dark-section .page-slot-jackpot-games__brand-title,
.page-slot-jackpot-games__dark-section .page-slot-jackpot-games__blog-item-title {
  color: var(--secondary-color); /* Gold titles on dark background */
}

.page-slot-jackpot-games__light-bg {
  background: var(--bg-light); /* Light background */
  color: var(--text-dark);
  padding: 60px 0;
}

.page-slot-jackpot-games__light-bg .page-slot-jackpot-games__section-title,
.page-slot-jackpot-games__light-bg .page-slot-jackpot-games__sub-title,
.page-slot-jackpot-games__light-bg .page-slot-jackpot-games__game-title,
.page-slot-jackpot-games__light-bg .page-slot-jackpot-games__blog-item-title {
  color: var(--primary-color); /* Deep Indigo titles on light background */
}

/* Highlight text */
.page-slot-jackpot-games .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Buttons */
.page-slot-jackpot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-jackpot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-light);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-slot-jackpot-games__btn-primary {
  background: var(--secondary-color); /* Gold */
  color: var(--primary-color); /* Deep Indigo text */
}

.page-slot-jackpot-games__btn-primary:hover {
  background: #e0b800; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-slot-jackpot-games__btn-secondary {
  background: var(--primary-color); /* Deep Indigo */
  color: var(--text-light); /* White text */
  border: 2px solid var(--secondary-color);
}

.page-slot-jackpot-games__btn-secondary:hover {
  background: #071a44; /* Darker indigo */
  border-color: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-slot-jackpot-games__center-button {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 300px;
}

/* Video Section */
.page-slot-jackpot-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-jackpot-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-jackpot-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-slot-jackpot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent <a> */
}

.page-slot-jackpot-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-jackpot-games__video-link:hover .page-slot-jackpot-games__video-overlay {
  opacity: 1;
}

.page-slot-jackpot-games__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-slot-jackpot-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-slot-jackpot-games__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-slot-jackpot-games__play-now-button:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Content Area */
.page-slot-jackpot-games__content-area p,
.page-slot-jackpot-games__content-area li {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: var(--text-dark); /* Ensure contrast on light background */
}

.page-slot-jackpot-games__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: var(--text-dark);
}

.page-slot-jackpot-games__list li {
  margin-bottom: 0.5em;
  color: inherit; /* Inherit color from parent for consistency */
}

.page-slot-jackpot-games__list--brand {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  color: var(--text-light); /* On dark background */
}

.page-slot-jackpot-games__list--brand li:before {
  content: "• ";
  color: var(--secondary-color); /* Gold bullet points */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-slot-jackpot-games__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-slot-jackpot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensures block behavior for max-width */
  margin: 0 auto;
}

.page-slot-jackpot-games__image-caption {
  font-size: 0.9em;
  color: #666;
  margin-top: 15px;
  text-align: center;
}

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

.page-slot-jackpot-games__game-card {
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-jackpot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

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

.page-slot-jackpot-games__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-slot-jackpot-games__game-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take available space */
}

.page-slot-jackpot-games__card-button {
  margin-top: auto; /* Pushes button to the bottom of the card */
  padding: 10px 25px;
  font-size: 0.95em;
  max-width: 200px; /* Limit button width in card */
}

/* FAQ Section */
.page-slot-jackpot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

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

.page-slot-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-jackpot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-jackpot-games__faq-question:active {
  background: #eeeeee;
}

.page-slot-jackpot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

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

.page-slot-jackpot-games__faq-item.active .page-slot-jackpot-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: var(--secondary-color);
}