/* style/jackpot-games-fortune-wheel.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0d0d0d;
  --background-light: #f8f9fa;
  --card-background-dark-theme: rgba(255, 255, 255, 0.08);
  --card-border-dark-theme: rgba(255, 255, 255, 0.15);
}

.page-jackpot-games-fortune-wheel {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark (#0d0d0d), so use light text */
  background-color: var(--background-dark); /* Ensure main content background matches body */
}

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

/* Video Section */
.page-jackpot-games-fortune-wheel__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #051421);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-jackpot-games-fortune-wheel__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-jackpot-games-fortune-wheel__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-jackpot-games-fortune-wheel__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from interfering with click event on parent link */
}

.page-jackpot-games-fortune-wheel__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.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-jackpot-games-fortune-wheel__video-link:hover .page-jackpot-games-fortune-wheel__video-overlay {
  opacity: 1;
}

.page-jackpot-games-fortune-wheel__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: var(--secondary-color);
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-jackpot-games-fortune-wheel__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--secondary-color); /* Gold */
  color: var(--text-dark); /* Dark text on gold */
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-jackpot-games-fortune-wheel__play-now-button:hover {
  background: #e6c200; /* Darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-jackpot-games-fortune-wheel__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-jackpot-games-fortune-wheel__title-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-dark);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games-fortune-wheel__title-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-jackpot-games-fortune-wheel__title-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-jackpot-games-fortune-wheel__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-jackpot-games-fortune-wheel__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  cursor: pointer;
}

.page-jackpot-games-fortune-wheel__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.page-jackpot-games-fortune-wheel__btn-primary:hover {
  background: #061a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--secondary-color);
}

.page-jackpot-games-fortune-wheel__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-jackpot-games-fortune-wheel__content-area {
  padding: 80px 0;
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-jackpot-games-fortune-wheel__dark-section .page-jackpot-games-fortune-wheel__section-title,
.page-jackpot-games-fortune-wheel__dark-section .page-jackpot-games-fortune-wheel__sub-title {
  color: var(--secondary-color);
}

.page-jackpot-games-fortune-wheel__dark-section p,
.page-jackpot-games-fortune-wheel__dark-section li {
  color: var(--text-light);
}

.page-jackpot-games-fortune-wheel__dark-section a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-jackpot-games-fortune-wheel__section-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__sub-title {
  font-size: 28px;
  color: var(--secondary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games-fortune-wheel p {
  font-size: 17px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-jackpot-games-fortune-wheel p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-jackpot-games-fortune-wheel__list,
.page-jackpot-games-fortune-wheel__numbered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  opacity: 0.9;
}

.page-jackpot-games-fortune-wheel__numbered-list {
  list-style-type: decimal;
}

.page-jackpot-games-fortune-wheel__list li,
.page-jackpot-games-fortune-wheel__numbered-list li {
  margin-bottom: 10px;
}

.page-jackpot-games-fortune-wheel__list strong {
  color: var(--secondary-color);
}

.page-jackpot-games-fortune-wheel__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-jackpot-games-fortune-wheel__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games-fortune-wheel__feature-item.page-jackpot-games-fortune-wheel__card {
  background: var(--card-background-dark-theme);
  color: var(--text-light);
  border: 1px solid var(--card-border-dark-theme);
}

.page-jackpot-games-fortune-wheel__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__feature-icon {
  width: 120px; /* Increased size for content image, not small icon */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-jackpot-games-fortune-wheel__feature-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-jackpot-games-fortune-wheel__feature-item p {
  font-size: 16px;
  opacity: 0.8;
}

/* FAQ Section */
.page-jackpot-games-fortune-wheel__faq-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__faq-list {
  margin-top: 40px;
}

.page-jackpot-games-fortune-wheel__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-jackpot-games-fortune-wheel__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--card-background-dark-theme);
  border: 1px solid var(--card-border-dark-theme);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-jackpot-games-fortune-wheel__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary-color);
}

.page-jackpot-games-fortune-wheel__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-jackpot-games-fortune-wheel__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-jackpot-games-fortune-wheel__faq-item.active .page-jackpot-games-fortune-wheel__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(180deg);
}

.page-jackpot-games-fortune-wheel__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 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 16px;
}

.page-jackpot-games-fortune-wheel__faq-item.active .page-jackpot-games-fortune-wheel__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 10px 10px;
}

.page-jackpot-games-fortune-wheel__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Brand Section */
.page-jackpot-games-fortune-wheel__brand-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__brand-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-jackpot-games-fortune-wheel__brand-item {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games-fortune-wheel__brand-item.page-jackpot-games-fortune-wheel__card {
  background: var(--card-background-dark-theme);
  color: var(--text-light);
  border: 1px solid var(--card-border-dark-theme);
}

.page-jackpot-games-fortune-wheel__brand-item h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-jackpot-games-fortune-wheel__brand-item p {
  font-size: 16px;
  opacity: 0.8;
  text-align: justify;
}

/* Blog Section */
.page-jackpot-games-fortune-wheel__blog-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__blog-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-jackpot-games-fortune-wheel__blog-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games-fortune-wheel__blog-item.page-jackpot-games-fortune-wheel__card {
  background: var(--card-background-dark-theme);
  border: 1px solid var(--card-border-dark-theme);
}

.page-jackpot-games-fortune-wheel__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games-fortune-wheel__blog-link {
  display: block;
  text-decoration: none;
  color: var(--text-light);
  padding: 20px;
}

.page-jackpot-games-fortune-wheel__blog-image {
  width: 100%;
  height: 200px; /* Ensure images are large, not small icons */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-jackpot-games-fortune-wheel__blog-item-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-jackpot-games-fortune-wheel__blog-item-excerpt {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.page-jackpot-games-fortune-wheel__blog-item-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.page-jackpot-games-fortune-wheel__blog-cta {
  margin-top: 50px;
}

/* Final CTA Section */
.page-jackpot-games-fortune-wheel__final-cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), #051421);
  box-sizing: border-box;
}

.page-jackpot-games-fortune-wheel__final-cta-title {
  font-size: 42px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games-fortune-wheel__final-cta-description {
  font-size: 19px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-jackpot-games-fortune-wheel__final-cta-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-games-fortune-wheel__final-cta-description a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games-fortune-wheel__main-title {
    font-size: 40px;
  }
  .page-jackpot-games-fortune-wheel__section-title,
  .page-jackpot-games-fortune-wheel__brand-title,
  .page-jackpot-games-fortune-wheel__blog-title {
    font-size: 34px;
  }
  .page-jackpot-games-fortune-wheel__sub-title {
    font-size: 26px;
  }
  .page-jackpot-games-fortune-wheel__play-now-button {
    font-size: 18px;
    padding: 15px 40px;
  }
  .page-jackpot-games-fortune-wheel__video-click-hint {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games-fortune-wheel__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-jackpot-games-fortune-wheel__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-jackpot-games-fortune-wheel__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-jackpot-games-fortune-wheel__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }
  
  .page-jackpot-games-fortune-wheel__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .page-jackpot-games-fortune-wheel__video-cta {
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-jackpot-games-fortune-wheel__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 17px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-jackpot-games-fortune-wheel__video-overlay {
    border-radius: 8px;
  }

  .page-jackpot-games-fortune-wheel__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  .page-jackpot-games-fortune-wheel__title-section,
  .page-jackpot-games-fortune-wheel__content-area,
  .page-jackpot-games-fortune-wheel__faq-section,
  .page-jackpot-games-fortune-wheel__brand-section,
  .page-jackpot-games-fortune-wheel__blog-section,
  .page-jackpot-games-fortune-wheel__final-cta-section {
    padding: 40px 15px;
    box-sizing: border-box;
  }

  .page-jackpot-games-fortune-wheel__container {
    padding: 0 15px;
  }

  .page-jackpot-games-fortune-wheel__main-title {
    font-size: 32px;
  }

  .page-jackpot-games-fortune-wheel__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-jackpot-games-fortune-wheel__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-jackpot-games-fortune-wheel__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-jackpot-games-fortune-wheel__section-title,
  .page-jackpot-games-fortune-wheel__brand-title,
  .page-jackpot-games-fortune-wheel__blog-title,
  .page-jackpot-games-fortune-wheel__final-cta-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-jackpot-games-fortune-wheel__sub-title {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-jackpot-games-fortune-wheel p,
  .page-jackpot-games-fortune-wheel__list,
  .page-jackpot-games-fortune-wheel__numbered-list {
    font-size: 16px;
  }

  .page-jackpot-games-fortune-wheel__feature-grid,
  .page-jackpot-games-fortune-wheel__brand-content,
  .page-jackpot-games-fortune-wheel__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-jackpot-games-fortune-wheel__feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-jackpot-games-fortune-wheel__feature-title {
    font-size: 20px;
  }

  .page-jackpot-games-fortune-wheel__faq-question {
    padding: 15px 20px;
  }

  .page-jackpot-games-fortune-wheel__faq-question h3 {
    font-size: 16px;
  }

  .page-jackpot-games-fortune-wheel__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-jackpot-games-fortune-wheel__faq-answer {
    padding: 0 20px;
  }
  
  .page-jackpot-games-fortune-wheel__faq-item.active .page-jackpot-games-fortune-wheel__faq-answer {
    padding: 15px 20px !important;
  }

  .page-jackpot-games-fortune-wheel__blog-image {
    height: 180px;
  }

  .page-jackpot-games-fortune-wheel__blog-item-title {
    font-size: 18px;
  }

  .page-jackpot-games-fortune-wheel__final-cta-title {
    font-size: 32px;
  }

  .page-jackpot-games-fortune-wheel__final-cta-description {
    font-size: 17px;
  }
  
  .page-jackpot-games-fortune-wheel img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-jackpot-games-fortune-wheel__image-full-width,
  .page-jackpot-games-fortune-wheel__blog-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-jackpot-games-fortune-wheel__section,
  .page-jackpot-games-fortune-wheel__card,
  .page-jackpot-games-fortune-wheel__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}