/* style/resources-betting-platform-security-fairness.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f4f7f6;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-betting-platform-security-fairness {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so text should be light */
  background-color: var(--bg-dark); /* Inherited from shared.css, explicitly set for context */
}

/* Ensure main content has padding to avoid fixed header overlap */
.page-resources-betting-platform-security-fairness {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

.page-resources-betting-platform-security-fairness__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-betting-platform-security-fairness__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-betting-platform-security-fairness__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-platform-security-fairness__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-betting-platform-security-fairness__cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources-betting-platform-security-fairness__cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-platform-security-fairness__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3em;
}

.page-resources-betting-platform-security-fairness__content-section {
  padding: 60px 0;
}

.page-resources-betting-platform-security-fairness__content-section:nth-of-type(odd) {
  background-color: var(--bg-dark);
  color: var(--text-color-light);
}

.page-resources-betting-platform-security-fairness__content-section:nth-of-type(even) {
  background-color: var(--bg-light);
  color: var(--text-color-dark);
}

.page-resources-betting-platform-security-fairness__dark-section {
  background-color: var(--bg-dark);
  color: var(--text-color-light);
}

.page-resources-betting-platform-security-fairness__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-betting-platform-security-fairness__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-betting-platform-security-fairness__content-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-betting-platform-security-fairness__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-betting-platform-security-fairness__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-betting-platform-security-fairness {
    padding-top: 100px; /* Tablet: Adjust based on actual header height */
  }
  .page-resources-betting-platform-security-fairness__main-title {
    font-size: 2.8em;
  }
  .page-resources-betting-platform-security-fairness__description {
    font-size: 1.1em;
  }
  .page-resources-betting-platform-security-fairness__section-title {
    font-size: 2em;
  }
  .page-resources-betting-platform-security-fairness__content-section p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-betting-platform-security-fairness {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    font-size: 15px;
  }
  .page-resources-betting-platform-security-fairness__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-betting-platform-security-fairness__hero-section {
    padding: 60px 0;
  }
  .page-resources-betting-platform-security-fairness__main-title {
    font-size: 2.2em;
  }
  .page-resources-betting-platform-security-fairness__description {
    font-size: 1em;
  }
  .page-resources-betting-platform-security-fairness__cta-button,
  .page-resources-betting-platform-security-fairness__cta-button--large {
    padding: 12px 25px !important;
    font-size: 1em !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-betting-platform-security-fairness__content-section {
    padding: 40px 0;
  }
  .page-resources-betting-platform-security-fairness__section-title {
    font-size: 1.8em;
  }
  .page-resources-betting-platform-security-fairness__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
}

/* Body background is dark: #121212 (brightness 18) -> use light text */
.page-resources-betting-platform-security-fairness__content-section:nth-of-type(odd) p,
.page-resources-betting-platform-security-fairness__content-section:nth-of-type(odd) h2 {
  color: var(--text-color-light);
}

.page-resources-betting-platform-security-fairness__content-section:nth-of-type(even) p,
.page-resources-betting-platform-security-fairness__content-section:nth-of-type(even) h2 {
  color: var(--text-color-dark);
}

.page-resources-betting-platform-security-fairness__dark-section p,
.page-resources-betting-platform-security-fairness__dark-section h2 {
  color: var(--text-color-light);
}

.page-resources-betting-platform-security-fairness__final-cta-section h2,
.page-resources-betting-platform-security-fairness__final-cta-section p {
  color: var(--text-color-light);
}