/* style/slot-jackpot.css */

/* Base styles for the page */
.page-slot-jackpot {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Section spacing and general content area */
.page-slot-jackpot__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-slot-jackpot__section-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #F2C14E; /* Custom Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-jackpot__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Custom Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-jackpot__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-jackpot__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-jackpot__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the background image for text readability */
}

.page-slot-jackpot__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly with the image for visual flow */
  position: relative;
  z-index: 1;
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text block */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-jackpot__main-title {
  font-size: clamp(2.5em, 5vw, 4em); /* Responsive font size */
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Custom Glow */
}

.page-slot-jackpot__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-slot-jackpot__btn-primary,
.page-slot-jackpot__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-jackpot__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  border: none;
}

.page-slot-jackpot__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-jackpot__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Custom Gold */
  border: 2px solid #F2C14E; /* Custom Gold */
}

.page-slot-jackpot__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Light hover effect */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-jackpot__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-jackpot__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Desktop width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-jackpot__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* Why Choose Section */
.page-slot-jackpot__why-choose-section {
  background-color: #11271B; /* Custom Card BG */
  padding: 60px 0;
  margin-top: 40px;
}

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

.page-slot-jackpot__feature-card {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than section bg */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-slot-jackpot__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-jackpot__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjusted to be larger than 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-jackpot__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-jackpot__feature-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  flex-grow: 1;
}

/* How to Play Section */
.page-slot-jackpot__how-to-play-section {
  padding: 60px 0;
}

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

.page-slot-jackpot__step-card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-jackpot__step-title {
  font-size: 1.4em;
  color: #57E38D; /* Custom Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-jackpot__step-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-jackpot__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
  background: #0A4B2C; /* Custom Deep Green */
  color: #F2FFF6; /* Custom Text Main */
  border: 1px solid #2E7A4E;
}

.page-slot-jackpot__btn-link:hover {
  background: #2E7A4E; /* Custom Border */
  transform: translateY(-2px);
}

/* Game Types Section */
.page-slot-jackpot__game-types-section {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding: 60px 0;
}

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

.page-slot-jackpot__type-card {
  background-color: rgba(17, 39, 27, 0.7); /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.page-slot-jackpot__type-title {
  font-size: 1.4em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-jackpot__type-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Promotions Section */
.page-slot-jackpot__promotions-section {
  padding: 60px 0;
}

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

.page-slot-jackpot__promotion-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-slot-jackpot__promotion-image {
  width: 100%;
  max-width: 400px; /* Ensure image is larger than 200px */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-jackpot__promotion-title {
  font-size: 1.5em;
  color: #57E38D; /* Custom Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-jackpot__promotion-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  flex-grow: 1;
}

.page-slot-jackpot__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-slot-jackpot__faq-section {
  background-color: #11271B; /* Custom Card BG */
  padding: 60px 0;
  margin-top: 40px;
}

.page-slot-jackpot__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-jackpot__faq-item {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-jackpot__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-jackpot__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-slot-jackpot__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Custom Border */
}

.page-slot-jackpot__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Custom Glow */
}

.page-slot-jackpot__faq-item[open] .page-slot-jackpot__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-slot-jackpot__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.6;
}

.page-slot-jackpot__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-jackpot__btn-text-link {
  color: #57E38D; /* Custom Glow */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-jackpot__btn-text-link:hover {
  color: #F2C14E; /* Custom Gold */
}

/* Conclusion Section */
.page-slot-jackpot__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Global image and video responsive styles */
.page-slot-jackpot img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-jackpot {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-jackpot__content-area,
  .page-slot-jackpot__hero-content,
  .page-slot-jackpot__cta-buttons,
  .page-slot-jackpot__feature-grid,
  .page-slot-jackpot__steps-grid,
  .page-slot-jackpot__types-grid,
  .page-slot-jackpot__promotion-list,
  .page-slot-jackpot__faq-list,
  .page-slot-jackpot__video-container,
  .page-slot-jackpot__video-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-slot-jackpot__btn-primary,
  .page-slot-jackpot__btn-secondary,
  .page-slot-jackpot a[class*="button"],
  .page-slot-jackpot a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-jackpot__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-slot-jackpot__hero-content {
    margin-top: -80px; /* Adjust overlap for smaller screens */
    padding: 25px;
  }

  .page-slot-jackpot__main-title {
    font-size: clamp(2em, 8vw, 3em);
  }

  .page-slot-jackpot__hero-description {
    font-size: 1em;
  }

  .page-slot-jackpot__section-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-slot-jackpot__video-section {
    padding-top: 10px !important; /* Ensure minimal padding, not header-offset */
  }

  /* Adjust card padding for mobile */
  .page-slot-jackpot__feature-card,
  .page-slot-jackpot__step-card,
  .page-slot-jackpot__type-card,
  .page-slot-jackpot__promotion-item,
  .page-slot-jackpot__faq-item {
    padding: 20px !important;
  }

  .page-slot-jackpot__feature-icon {
    max-width: 100% !important; /* Ensure icons also responsive */
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-slot-jackpot__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

  .page-slot-jackpot__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

  .page-slot-jackpot__hero-description {
    font-size: 0.9em;
  }

  .page-slot-jackpot__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-jackpot__faq-answer {
    padding: 0 20px 15px 20px;
  }
}