/* style/slot-jackpots.css */

/* Base styles for the page */
.page-slot-jackpots {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matches body background for consistency */
}

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

/* Sections */
.page-slot-jackpots__section {
  padding: 60px 0;
}

.page-slot-jackpots__dark-bg {
  background-color: #1a1a1a;
}

.page-slot-jackpots__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-slot-jackpots__section-description {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-slot-jackpots__section-description--small {
  font-size: 16px;
  margin-top: 30px;
}

.page-slot-jackpots__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Hero Section */
.page-slot-jackpots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-slot-jackpots__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-jackpots__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-slot-jackpots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-slot-jackpots__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-jackpots__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-slot-jackpots__btn-primary,
.page-slot-jackpots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-jackpots__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-slot-jackpots__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-slot-jackpots__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-jackpots__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-jackpots__btn-text {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-slot-jackpots__btn-text:hover {
  color: #1a7aa2;
}

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

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

/* Image and Text Grid */
.page-slot-jackpots__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-jackpots__image-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-slot-jackpots__image-text-grid .page-slot-jackpots__text-content {
  flex: 1;
  min-width: 300px;
}

.page-slot-jackpots__image-text-grid .page-slot-jackpots__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-jackpots__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Card Grid */
.page-slot-jackpots__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-jackpots__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-jackpots__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

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

.page-slot-jackpots__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-jackpots__card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-jackpots__card-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.page-slot-jackpots__card-button:hover {
  background-color: #1a7aa2;
}

/* Game Providers Grid */
.page-slot-jackpots__grid-4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-slot-jackpots__provider-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.page-slot-jackpots__provider-logo img:hover {
  opacity: 1;
}

/* Tip List */
.page-slot-jackpots__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-jackpots__tip-list li {
  margin-bottom: 30px;
}

.page-slot-jackpots__tip-list li p {
  text-align: left;
  font-size: 16px;
  margin-left: 0;
  margin-right: 0;
}

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

.page-slot-jackpots__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-jackpots__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-jackpots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-slot-jackpots__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-jackpots__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-slot-jackpots__faq-toggle {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-left: 15px;
}

.page-slot-jackpots__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-jackpots__image-text-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-jackpots__image-text-grid--reverse {
    flex-direction: column;
  }

  .page-slot-jackpots__image-text-grid .page-slot-jackpots__text-content,
  .page-slot-jackpots__image-text-grid .page-slot-jackpots__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-jackpots__section {
    padding: 40px 0;
  }

  .page-slot-jackpots__hero-section {
    min-height: 450px;
    padding: 10px 0 40px 0;
  }

  .page-slot-jackpots__hero-title {
    font-size: 32px;
  }

  .page-slot-jackpots__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-jackpots__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-jackpots__btn-primary,
  .page-slot-jackpots__btn-secondary,
  .page-slot-jackpots a[class*="button"],
  .page-slot-jackpots 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-jackpots__cta-buttons,
  .page-slot-jackpots__button-group,
  .page-slot-jackpots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-jackpots__cta-buttons {
    flex-direction: column;
  }

  .page-slot-jackpots__section-title {
    font-size: 28px;
  }

  .page-slot-jackpots__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-jackpots__sub-title {
    font-size: 20px;
  }

  /* Mobile image adaptation */
  .page-slot-jackpots img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-jackpots__image-wrapper,
  .page-slot-jackpots__card,
  .page-slot-jackpots__container,
  .page-slot-jackpots__grid-3-cols,
  .page-slot-jackpots__grid-4-cols,
  .page-slot-jackpots__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-slot-jackpots__card-image {
    height: 180px;
  }

  .page-slot-jackpots__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-slot-jackpots__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-slot-jackpots__provider-logo {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-slot-jackpots__hero-title {
    font-size: 28px;
  }

  .page-slot-jackpots__section-title {
    font-size: 24px;
  }

  .page-slot-jackpots__hero-description {
    font-size: 15px;
  }

  .page-slot-jackpots__btn-primary,
  .page-slot-jackpots__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-slot-jackpots__card-title {
    font-size: 20px;
  }

  .page-slot-jackpots__card p {
    font-size: 15px;
  }

  .page-slot-jackpots__faq-qtext {
    font-size: 15px;
  }
}