/* style/resources-choosing-betting-platform.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-font-color: #FFFF00;
  --background-light: #FFFFFF;
  --body-bg-color: #1a1a1a; /* From shared.css, for reference */
}

.page-resources-choosing-betting-platform {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--body-bg-color); /* Inherit from body or use a consistent dark background */
}

.page-resources-choosing-betting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-choosing-betting-platform__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
  color: var(--secondary-color); /* Text on hero image */
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

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

.page-resources-choosing-betting-platform__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-choosing-betting-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-choosing-betting-platform__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-choosing-betting-platform__btn-primary,
.page-resources-choosing-betting-platform__btn-secondary,
.page-resources-choosing-betting-platform__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  text-align: center;
}

.page-resources-choosing-betting-platform__btn-primary {
  background-color: var(--button-login-bg); /* Login color */
  color: var(--button-font-color);
  border: 2px solid var(--button-login-bg);
}

.page-resources-choosing-betting-platform__btn-primary:hover {
  background-color: #a00707; /* Darken login button on hover */
  transform: translateY(-2px);
}

.page-resources-choosing-betting-platform__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-choosing-betting-platform__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Content Area */
.page-resources-choosing-betting-platform__content-area {
  padding: 60px 20px;
  background-color: var(--background-light); /* Light background for main content */
  color: var(--text-dark); /* Dark text for light background */
}

.page-resources-choosing-betting-platform__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-resources-choosing-betting-platform__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-dark);
}

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

.page-resources-choosing-betting-platform__card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark); /* Dark text for light card background */
  border: 1px solid #e0e0e0;
}

.page-resources-choosing-betting-platform__card:hover {
  transform: translateY(-5px);
}

.page-resources-choosing-betting-platform__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-choosing-betting-platform__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-choosing-betting-platform__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-resources-choosing-betting-platform__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-resources-choosing-betting-platform__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-resources-choosing-betting-platform__list-item strong {
  color: var(--primary-color);
}

.page-resources-choosing-betting-platform__benefits-grid .page-resources-choosing-betting-platform__card-image {
  height: 250px; /* Slightly taller images for benefits */
}

/* CTA Section */
.page-resources-choosing-betting-platform__cta-section {
  background-color: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.page-resources-choosing-betting-platform__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-choosing-betting-platform__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-choosing-betting-platform__cta-section .page-resources-choosing-betting-platform__btn-primary {
  background-color: var(--button-register-bg); /* Register color */
  color: var(--button-font-color);
  border: 2px solid var(--button-register-bg);
}

.page-resources-choosing-betting-platform__cta-section .page-resources-choosing-betting-platform__btn-primary:hover {
  background-color: #a00707; /* Darken register button on hover */
}

/* FAQ Section */
.page-resources-choosing-betting-platform__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.page-resources-choosing-betting-platform__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-resources-choosing-betting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-choosing-betting-platform__faq-item[open] .page-resources-choosing-betting-platform__faq-question {
  border-bottom: 1px solid transparent; /* Remove border when open */
}

.page-resources-choosing-betting-platform__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-choosing-betting-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-resources-choosing-betting-platform__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

/* Conclusion Image */
.page-resources-choosing-betting-platform__conclusion-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-choosing-betting-platform__hero-title {
    font-size: 2.8em;
  }
  .page-resources-choosing-betting-platform__section-title {
    font-size: 2em;
  }
  .page-resources-choosing-betting-platform__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-choosing-betting-platform__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-choosing-betting-platform__hero-title {
    font-size: 2.2em;
  }
  .page-resources-choosing-betting-platform__hero-description {
    font-size: 1em;
  }
  .page-resources-choosing-betting-platform__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-choosing-betting-platform__btn-primary,
  .page-resources-choosing-betting-platform__btn-secondary,
  .page-resources-choosing-betting-platform__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-choosing-betting-platform__content-area,
  .page-resources-choosing-betting-platform__cta-section,
  .page-resources-choosing-betting-platform__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-choosing-betting-platform__section-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-betting-platform__paragraph,
  .page-resources-choosing-betting-platform__list-item,
  .page-resources-choosing-betting-platform__card-text,
  .page-resources-choosing-betting-platform__faq-answer {
    font-size: 1em;
  }
  .page-resources-choosing-betting-platform__card-image,
  .page-resources-choosing-betting-platform__conclusion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-choosing-betting-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-choosing-betting-platform__card {
    padding: 20px;
  }
  .page-resources-choosing-betting-platform__faq-question {
    font-size: 1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-choosing-betting-platform__hero-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-betting-platform__cta-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-betting-platform__grid {
    grid-template-columns: 1fr;
  }
}