/* style/resources-jackpot-winning-tips.css */
.page-resources-jackpot-winning-tips {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

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

.page-resources-jackpot-winning-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-resources-jackpot-winning-tips__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-jackpot-winning-tips__main-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-jackpot-winning-tips__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-jackpot-winning-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-resources-jackpot-winning-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-jackpot-winning-tips__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-jackpot-winning-tips__btn-primary,
.page-resources-jackpot-winning-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-jackpot-winning-tips__btn-primary {
  background: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-resources-jackpot-winning-tips__btn-primary:hover {
  background: #e0b800;
  border-color: #e0b800;
}

.page-resources-jackpot-winning-tips__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-jackpot-winning-tips__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000;
}

.page-resources-jackpot-winning-tips__content-section,
.page-resources-jackpot-winning-tips__tips-section,
.page-resources-jackpot-winning-tips__advanced-tips-section,
.page-resources-jackpot-winning-tips__factors-section,
.page-resources-jackpot-winning-tips__faq-section,
.page-resources-jackpot-winning-tips__conclusion-section {
  padding: 60px 0;
}

.page-resources-jackpot-winning-tips__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-jackpot-winning-tips__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-resources-jackpot-winning-tips__text-block {
  margin-bottom: 30px;
}

.page-resources-jackpot-winning-tips__text-block p {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-jackpot-winning-tips__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-jackpot-winning-tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-jackpot-winning-tips__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-jackpot-winning-tips__card:hover {
  transform: translateY(-10px);
}

.page-resources-jackpot-winning-tips__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-resources-jackpot-winning-tips__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-jackpot-winning-tips__card-text {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-resources-jackpot-winning-tips__list {
  list-style: none;
  padding: 0;
}

.page-resources-jackpot-winning-tips__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-resources-jackpot-winning-tips__list-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-jackpot-winning-tips__list-item p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-jackpot-winning-tips__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-resources-jackpot-winning-tips__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-jackpot-winning-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-jackpot-winning-tips__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jackpot-winning-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: background 0.3s ease;
}

.page-resources-jackpot-winning-tips__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-resources-jackpot-winning-tips__faq-title {
  font-size: 1.25em;
  margin: 0;
  color: #FFD700;
}

.page-resources-jackpot-winning-tips__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-resources-jackpot-winning-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-jackpot-winning-tips__faq-item.active .page-resources-jackpot-winning-tips__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px 25px;
}

.page-resources-jackpot-winning-tips__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-resources-jackpot-winning-tips__cta-buttons--bottom {
  margin-top: 50px;
}

/* Background colors for sections */
.page-resources-jackpot-winning-tips__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-resources-jackpot-winning-tips__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-jackpot-winning-tips__main-title {
    font-size: 2.8em;
  }
  .page-resources-jackpot-winning-tips__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-jackpot-winning-tips__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-jackpot-winning-tips__main-title {
    font-size: 2.2em;
  }

  .page-resources-jackpot-winning-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-jackpot-winning-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-jackpot-winning-tips__section-description,
  .page-resources-jackpot-winning-tips__text-block p,
  .page-resources-jackpot-winning-tips__card-text,
  .page-resources-jackpot-winning-tips__list-item p,
  .page-resources-jackpot-winning-tips__faq-answer p {
    font-size: 0.95em;
  }

  .page-resources-jackpot-winning-tips__sub-title {
    font-size: 1.5em;
  }

  .page-resources-jackpot-winning-tips__card-title {
    font-size: 1.3em;
  }

  .page-resources-jackpot-winning-tips__list-title {
    font-size: 1.4em;
  }

  .page-resources-jackpot-winning-tips__btn-primary,
  .page-resources-jackpot-winning-tips__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-jackpot-winning-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-resources-jackpot-winning-tips img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-jackpot-winning-tips__card-image,
  .page-resources-jackpot-winning-tips__content-image,
  .page-resources-jackpot-winning-tips__hero-image {
    min-width: unset;
    min-height: unset;
  }

  /* Container padding for mobile */
  .page-resources-jackpot-winning-tips__container,
  .page-resources-jackpot-winning-tips__content-section,
  .page-resources-jackpot-winning-tips__tips-section,
  .page-resources-jackpot-winning-tips__advanced-tips-section,
  .page-resources-jackpot-winning-tips__factors-section,
  .page-resources-jackpot-winning-tips__faq-section,
  .page-resources-jackpot-winning-tips__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  
  .page-resources-jackpot-winning-tips__card {
    padding: 20px;
  }

  .page-resources-jackpot-winning-tips__faq-question {
    padding: 15px 20px;
  }

  .page-resources-jackpot-winning-tips__faq-title {
    font-size: 1.1em;
  }

  .page-resources-jackpot-winning-tips__faq-answer {
    padding: 0 20px;
  }

  .page-resources-jackpot-winning-tips__faq-item.active .page-resources-jackpot-winning-tips__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-jackpot-winning-tips__main-title {
    font-size: 1.8em;
  }
  .page-resources-jackpot-winning-tips__section-title {
    font-size: 1.6em;
  }
  .page-resources-jackpot-winning-tips__hero-description {
    font-size: 0.9em;
  }
  .page-resources-jackpot-winning-tips__btn-primary,
  .page-resources-jackpot-winning-tips__btn-secondary {
    font-size: 0.9em;
  }
}