/* style/resources-bet999-tips.css */
.page-resources-bet999-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222; /* Inherited from shared.css, specified here for clarity */
}

.page-resources-bet999-tips__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  box-sizing: border-box;
}

.page-resources-bet999-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-bet999-tips__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-bet999-tips__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-bet999-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-bet999-tips__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-bet999-tips__btn-primary:hover {
  background-color: #1a7fb3;
}

.page-resources-bet999-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px);
  position: relative;
  z-index: 4;
}

.page-resources-bet999-tips__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-bet999-tips__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-resources-bet999-tips__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #26A9E0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-resources-bet999-tips__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-bet999-tips__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-bet999-tips__image-text-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 30px;
}

.page-resources-bet999-tips__image-text-block.page-resources-bet999-tips__reverse {
  flex-direction: row-reverse;
}

.page-resources-bet999-tips__image-left,
.page-resources-bet999-tips__image-right {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-resources-bet999-tips__text-content {
  flex: 1;
  max-width: 50%;
}

.page-resources-bet999-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-bet999-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-bet999-tips__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-bet999-tips__card {
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-resources-bet999-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-bet999-tips__card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-bet999-tips__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-bet999-tips__card-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-bet999-tips__product-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-bet999-tips__tip-item {
  background-color: #f2faff;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-bet999-tips__tip-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-bet999-tips__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
}

.page-resources-bet999-tips__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-bet999-tips__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
}

.page-resources-bet999-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-resources-bet999-tips__video-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #EA7C07; /* Login color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-resources-bet999-tips__video-cta:hover {
    background-color: #c76706;
}

.page-resources-bet999-tips__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.page-resources-bet999-tips__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-resources-bet999-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-resources-bet999-tips__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-bet999-tips__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

.page-resources-bet999-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-resources-bet999-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-bet999-tips__faq-item.active .page-resources-bet999-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 20px !important;
}

.page-resources-bet999-tips__faq-answer .page-resources-bet999-tips__paragraph {
  margin-bottom: 0;
}

.page-resources-bet999-tips__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f2faff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-bet999-tips__hero-title {
    font-size: 2.8em;
  }
  .page-resources-bet999-tips__hero-description {
    font-size: 1.1em;
  }
  .page-resources-bet999-tips__section-title {
    font-size: 2em;
  }
  .page-resources-bet999-tips__sub-title {
    font-size: 1.6em;
  }
  .page-resources-bet999-tips__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-resources-bet999-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-bet999-tips__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-bet999-tips__hero-title {
    font-size: 2.2em;
  }
  .page-resources-bet999-tips__hero-description {
    font-size: 1em;
  }
  .page-resources-bet999-tips__btn-primary,
  .page-resources-bet999-tips__btn-secondary,
  .page-resources-bet999-tips a[class*="button"],
  .page-resources-bet999-tips 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-resources-bet999-tips__cta-buttons,
  .page-resources-bet999-tips__button-group,
  .page-resources-bet999-tips__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-resources-bet999-tips__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-resources-bet999-tips__image-left,
  .page-resources-bet999-tips__image-right,
  .page-resources-bet999-tips__text-content {
    max-width: 100%;
    width: 100%;
  }
  .page-resources-bet999-tips__card-grid,
  .page-resources-bet999-tips__product-tips {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-bet999-tips__content-area {
    padding: 20px 15px;
    transform: translateY(-30px);
  }
  .page-resources-bet999-tips__section-title {
    font-size: 1.8em;
  }
  .page-resources-bet999-tips__sub-title {
    font-size: 1.4em;
  }
  .page-resources-bet999-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-bet999-tips__section,
  .page-resources-bet999-tips__card,
  .page-resources-bet999-tips__container,
  .page-resources-bet999-tips__video-section,
  .page-resources-bet999-tips__video-container,
  .page-resources-bet999-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-bet999-tips video,
  .page-resources-bet999-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-bet999-tips__video-wrapper {
    padding-bottom: 75%; /* Adjust for 4:3 or similar on mobile if needed, or keep 16:9 */
  }
  .page-resources-bet999-tips__video-cta {
    font-size: 0.9em;
    padding: 12px 25px;
  }
  .page-resources-bet999-tips__faq-question {
    padding: 12px 15px;
  }
  .page-resources-bet999-tips__faq-answer {
    padding: 0 15px;
  }
  .page-resources-bet999-tips__faq-item.active .page-resources-bet999-tips__faq-answer {
    padding: 10px 15px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-bet999-tips__hero-title {
    font-size: 1.8em;
  }
  .page-resources-bet999-tips__hero-description {
    font-size: 0.9em;
  }
  .page-resources-bet999-tips__btn-primary {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-resources-bet999-tips__section-title {
    font-size: 1.5em;
  }
  .page-resources-bet999-tips__sub-title {
    font-size: 1.2em;
  }
  .page-resources-bet999-tips__paragraph {
    font-size: 0.95em;
  }
  .page-resources-bet999-tips__card-title {
    font-size: 1.1em;
  }
  .page-resources-bet999-tips__tip-title {
    font-size: 1.2em;
  }
  .page-resources-bet999-tips__faq-title {
    font-size: 1em;
  }
}