.page-resources-04-code-lottery-strategy {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-resources-04-code-lottery-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-04-code-lottery-strategy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-resources-04-code-lottery-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-04-code-lottery-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-04-code-lottery-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-04-code-lottery-strategy__btn-primary,
.page-resources-04-code-lottery-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-04-code-lottery-strategy__btn-primary {
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-04-code-lottery-strategy__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-04-code-lottery-strategy__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-04-code-lottery-strategy__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources-04-code-lottery-strategy__video-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.page-resources-04-code-lottery-strategy__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
}

.page-resources-04-code-lottery-strategy__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-resources-04-code-lottery-strategy__video-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 0 auto;
}

.page-resources-04-code-lottery-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: #26A9E0;
}

.page-resources-04-code-lottery-strategy__content-area {
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-resources-04-code-lottery-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-04-code-lottery-strategy__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-04-code-lottery-strategy__paragraph a:hover {
  color: #1e87b7;
}

.page-resources-04-code-lottery-strategy__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-04-code-lottery-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-04-code-lottery-strategy__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-04-code-lottery-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-04-code-lottery-strategy__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-04-code-lottery-strategy__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-resources-04-code-lottery-strategy__faq-item.active .page-resources-04-code-lottery-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-04-code-lottery-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1.05em;
  background-color: #f9f9f9;
}

.page-resources-04-code-lottery-strategy__faq-item.active .page-resources-04-code-lottery-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-resources-04-code-lottery-strategy__faq-answer p {
  margin-bottom: 0;
}

.page-resources-04-code-lottery-strategy__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-resources-04-code-lottery-strategy__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-04-code-lottery-strategy__floating-btn--register {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-resources-04-code-lottery-strategy__floating-btn--register:hover {
  transform: translateY(-2px);
  background-color: #d16b06;
}

.page-resources-04-code-lottery-strategy__floating-btn--login {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-04-code-lottery-strategy__floating-btn--login:hover {
  transform: translateY(-2px);
  background-color: #1e87b7;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-04-code-lottery-strategy__hero-title {
    font-size: 3em;
  }

  .page-resources-04-code-lottery-strategy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-04-code-lottery-strategy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-04-code-lottery-strategy__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-04-code-lottery-strategy__hero-section {
    padding: 60px 0;
  }
  .page-resources-04-code-lottery-strategy__hero-title {
    font-size: 2.5em;
  }
  .page-resources-04-code-lottery-strategy__hero-description {
    font-size: 1em;
  }
  .page-resources-04-code-lottery-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-04-code-lottery-strategy__btn-primary,
  .page-resources-04-code-lottery-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-04-code-lottery-strategy__video-section {
    padding: 40px 0 !important;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-04-code-lottery-strategy__video-wrapper {
    margin: 20px auto;
  }

  .page-resources-04-code-lottery-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-04-code-lottery-strategy__content-area {
    padding: 40px 0;
  }
  .page-resources-04-code-lottery-strategy__paragraph {
    font-size: 1em;
  }
  .page-resources-04-code-lottery-strategy__image-full {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-04-code-lottery-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-04-code-lottery-strategy__faq-answer {
    padding: 0 15px;
  }
  .page-resources-04-code-lottery-strategy__faq-item.active .page-resources-04-code-lottery-strategy__faq-answer {
    padding: 15px !important;
  }

  .page-resources-04-code-lottery-strategy__floating-cta {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-resources-04-code-lottery-strategy__floating-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}