/* style/jackpot-slots.css */

:root {
  --page-jackpot-slots-primary-color: #017439;
  --page-jackpot-slots-secondary-color: #FFFFFF;
  --page-jackpot-slots-dark-background: #0a0a0a;
  --page-jackpot-slots-light-text: #ffffff;
  --page-jackpot-slots-dark-text: #333333;
  --page-jackpot-slots-register-button-bg: #C30808;
  --page-jackpot-slots-register-button-text: #FFFF00;
  --page-jackpot-slots-login-button-bg: #C30808;
  --page-jackpot-slots-login-button-text: #FFFF00;
}

.page-jackpot-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-jackpot-slots-light-text); /* Default text color for dark body background */
  background-color: var(--page-jackpot-slots-dark-background); /* Inherited from body */
}

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

.page-jackpot-slots__dark-bg {
  background-color: var(--page-jackpot-slots-dark-background);
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__light-bg {
  background-color: var(--page-jackpot-slots-secondary-color);
  color: var(--page-jackpot-slots-dark-text);
}

.page-jackpot-slots__text-light {
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit; /* Inherit from parent section */
}

.page-jackpot-slots__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-jackpot-slots__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-jackpot-slots__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: inherit;
}

.page-jackpot-slots__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-jackpot-slots__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
}

.page-jackpot-slots__btn-primary {
  background-color: var(--page-jackpot-slots-register-button-bg);
  color: var(--page-jackpot-slots-register-button-text);
  border: 2px solid var(--page-jackpot-slots-register-button-bg);
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-jackpot-slots__btn-secondary {
  background-color: transparent;
  color: var(--page-jackpot-slots-primary-color);
  border: 2px solid var(--page-jackpot-slots-primary-color);
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: var(--page-jackpot-slots-primary-color);
  color: var(--page-jackpot-slots-secondary-color);
}

.page-jackpot-slots__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-jackpot-slots__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-jackpot-slots__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-jackpot-slots__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-jackpot-slots__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-jackpot-slots__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

/* Video Section */
.page-jackpot-slots__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-jackpot-slots__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-jackpot-slots__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-jackpot-slots__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Content Area */
.page-jackpot-slots__content-area {
  padding: 60px 20px;
}

/* Game Types Section */
.page-jackpot-slots__game-types {
  padding: 60px 20px;
}

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

.page-jackpot-slots__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__card-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-jackpot-slots__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-slots__card-title a {
  color: var(--page-jackpot-slots-register-button-text); /* Yellow for titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-jackpot-slots__card-title a:hover {
  color: var(--page-jackpot-slots-primary-color);
}

.page-jackpot-slots__card-text {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Steps */
.page-jackpot-slots__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__guide-step {
  background-color: var(--page-jackpot-slots-secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--page-jackpot-slots-dark-text);
}

.page-jackpot-slots__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--page-jackpot-slots-primary-color);
  color: var(--page-jackpot-slots-secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-jackpot-slots__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--page-jackpot-slots-primary-color);
}

.page-jackpot-slots__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Section */
.page-jackpot-slots__strategy-section {
  padding: 60px 20px;
}

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

.page-jackpot-slots__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-jackpot-slots__strategy-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-slots__strategy-text {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1;
}

/* Promotions Section */
.page-jackpot-slots__promotions-section {
  padding: 60px 20px;
}

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

.page-jackpot-slots__promo-card {
  background-color: var(--page-jackpot-slots-secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-jackpot-slots-dark-text);
}

.page-jackpot-slots__promo-card .page-jackpot-slots__card-image {
  height: 200px;
}

.page-jackpot-slots__promo-card .page-jackpot-slots__card-title a {
  color: var(--page-jackpot-slots-primary-color);
}

.page-jackpot-slots__promo-card .page-jackpot-slots__card-title a:hover {
  color: var(--page-jackpot-slots-dark-text);
}

/* Features Section */
.page-jackpot-slots__features-section {
  padding: 60px 20px;
}

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

.page-jackpot-slots__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-jackpot-slots-light-text);
}

.page-jackpot-slots__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-jackpot-slots__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-slots__feature-text {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1;
}

/* FAQ Section */
.page-jackpot-slots__faq-section {
  padding: 60px 20px;
}

.page-jackpot-slots__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__faq-item {
  background-color: var(--page-jackpot-slots-secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--page-jackpot-slots-dark-text);
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--page-jackpot-slots-secondary-color);
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-jackpot-slots__faq-question:hover {
  background-color: #f5f5f5;
}

.page-jackpot-slots__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--page-jackpot-slots-primary-color);
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-jackpot-slots-primary-color);
  transition: transform 0.3s ease;
}

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

.page-jackpot-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-jackpot-slots__faq-answer p {
  margin-bottom: 0;
  color: var(--page-jackpot-slots-dark-text);
}

/* Conclusion Section */
.page-jackpot-slots__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-jackpot-slots__hero-section {
    flex-direction: column;
    text-align: center;
  }

  .page-jackpot-slots__hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .page-jackpot-slots__hero-title {
    font-size: 2.8em;
  }

  .page-jackpot-slots__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-slots__section-title {
    font-size: 2em;
  }

  .page-jackpot-slots__hero-title {
    font-size: 2.2em;
  }

  .page-jackpot-slots__hero-description,
  .page-jackpot-slots__section-description,
  .page-jackpot-slots__text-block,
  .page-jackpot-slots__list-item,
  .page-jackpot-slots__card-text,
  .page-jackpot-slots__step-text,
  .page-jackpot-slots__strategy-text,
  .page-jackpot-slots__feature-text,
  .page-jackpot-slots__faq-answer p {
    font-size: 1em;
  }

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots a[class*="button"],
  .page-jackpot-slots 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-jackpot-slots__cta-buttons,
  .page-jackpot-slots__button-group,
  .page-jackpot-slots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
  }

  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-jackpot-slots__hero-image-wrapper,
  .page-jackpot-slots__game-card,
  .page-jackpot-slots__strategy-item,
  .page-jackpot-slots__promo-card,
  .page-jackpot-slots__feature-item,
  .page-jackpot-slots__container,
  .page-jackpot-slots__video-wrapper,
  .page-jackpot-slots__hero-section,
  .page-jackpot-slots__content-area,
  .page-jackpot-slots__game-types,
  .page-jackpot-slots__strategy-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__features-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-jackpot-slots__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-jackpot-slots__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__hero-title {
    font-size: 1.8em;
  }
  .page-jackpot-slots__section-title {
    font-size: 1.5em;
  }
}