/* style/resources-how-to-choose-reliable-gaming-platform.css */
.page-resources-how-to-choose-reliable-gaming-platform {
  color: #ffffff; /* Body background is #000000 (dark), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-primary,
.page-resources-how-to-choose-reliable-gaming-platform__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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-resources-how-to-choose-reliable-gaming-platform__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Default text color for dark body background */
}

.page-resources-how-to-choose-reliable-gaming-platform__introduction,
.page-resources-how-to-choose-reliable-gaming-platform__why-b29-section,
.page-resources-how-to-choose-reliable-gaming-platform__get-started-section,
.page-resources-how-to-choose-reliable-gaming-platform__faq-section {
  background-color: #000000; /* Ensure content areas have a background to contrast with body */
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-gaming-platform__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-gaming-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-how-to-choose-reliable-gaming-platform__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for card content */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-how-to-choose-reliable-gaming-platform__card:hover {
  transform: translateY(-5px);
}

.page-resources-how-to-choose-reliable-gaming-platform__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-how-to-choose-reliable-gaming-platform__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-gaming-platform__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__pitfalls-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  padding: 80px 20px;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__pitfall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-how-to-choose-reliable-gaming-platform__pitfall-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__pitfall-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-how-to-choose-reliable-gaming-platform__pitfall-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__why-b29-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-resources-how-to-choose-reliable-gaming-platform__why-b29-text {
  flex: 1;
}

.page-resources-how-to-choose-reliable-gaming-platform__why-b29-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-how-to-choose-reliable-gaming-platform__why-b29-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__video-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
  padding-bottom: 28.125%; /* 16:9 Aspect Ratio (450/800 = 0.5625 = 56.25% for height, but video width is 100% of wrapper, so use percentage of width) */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Match max-width of the image */
  width: 100%;
  box-sizing: border-box;
}

.page-resources-how-to-choose-reliable-gaming-platform__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-how-to-choose-reliable-gaming-platform__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 10px;
}

.page-resources-how-to-choose-reliable-gaming-platform__registration-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 30px;
}

.page-resources-how-to-choose-reliable-gaming-platform__registration-steps li {
  counter-increment: step-counter;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  position: relative;
  padding-left: 40px;
}

.page-resources-how-to-choose-reliable-gaming-platform__registration-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-resources-how-to-choose-reliable-gaming-platform__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-container {
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-item.active .page-resources-how-to-choose-reliable-gaming-platform__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-item.active .page-resources-how-to-choose-reliable-gaming-platform__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-resources-how-to-choose-reliable-gaming-platform__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-gaming-platform__conclusion-cta {
  background-color: #26A9E0;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__conclusion-cta .page-resources-how-to-choose-reliable-gaming-platform__section-title {
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-gaming-platform__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-reliable-gaming-platform__hero-title {
    font-size: 3em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__why-b29-content {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__why-b29-text,
  .page-resources-how-to-choose-reliable-gaming-platform__video-wrapper {
    width: 100%;
    max-width: 800px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__video-wrapper {
    padding-bottom: 56.25%; /* Adjust for 16:9 aspect ratio */
    height: 0;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-reliable-gaming-platform__hero-section {
    height: 500px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__hero-title {
    font-size: 2.2em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__btn-primary,
  .page-resources-how-to-choose-reliable-gaming-platform__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain width for better mobile button display */
    margin: 0 auto;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__section-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__content-area {
    padding: 40px 15px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile specific image, video, and button responsiveness */
  .page-resources-how-to-choose-reliable-gaming-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-how-to-choose-reliable-gaming-platform video,
  .page-resources-how-to-choose-reliable-gaming-platform__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-how-to-choose-reliable-gaming-platform__section,
  .page-resources-how-to-choose-reliable-gaming-platform__card,
  .page-resources-how-to-choose-reliable-gaming-platform__container,
  .page-resources-how-to-choose-reliable-gaming-platform__video-section,
  .page-resources-how-to-choose-reliable-gaming-platform__video-container,
  .page-resources-how-to-choose-reliable-gaming-platform__video-wrapper,
  .page-resources-how-to-choose-reliable-gaming-platform__cta-buttons,
  .page-resources-how-to-choose-reliable-gaming-platform__button-group,
  .page-resources-how-to-choose-reliable-gaming-platform__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__cta-button,
  .page-resources-how-to-choose-reliable-gaming-platform__btn-primary,
  .page-resources-how-to-choose-reliable-gaming-platform__btn-secondary,
  .page-resources-how-to-choose-reliable-gaming-platform a[class*="button"],
  .page-resources-how-to-choose-reliable-gaming-platform a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__video-wrapper {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: auto; /* Allow height to be determined by aspect ratio */
  }

  .page-resources-how-to-choose-reliable-gaming-platform__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__faq-answer {
    padding: 10px 20px;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-reliable-gaming-platform__hero-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-reliable-gaming-platform__btn-large {
    font-size: 1em;
    padding: 15px 25px;
  }
}

/* Ensure all links are white on dark background */
.page-resources-how-to-choose-reliable-gaming-platform a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-how-to-choose-reliable-gaming-platform a:hover {
  color: #1e87c0;
}