/* style/resources-online-betting-security.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-resources-online-betting-security {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Section styling */
.page-resources-online-betting-security__content-section {
  padding: 60px 0;
}

.page-resources-online-betting-security__dark-bg {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
}

.page-resources-online-betting-security__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-online-betting-security__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section (dark/light bg) */
}

.page-resources-online-betting-security__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-online-betting-security__text-center {
  text-align: center;
}

/* Hero Section */
.page-resources-online-betting-security__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

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

.page-resources-online-betting-security__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-resources-online-betting-security__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-online-betting-security__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-online-betting-security__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-resources-online-betting-security__btn-primary,
.page-resources-online-betting-security__btn-secondary,
.page-resources-online-betting-security__hero-actions a {
  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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

/* Specific colors for Register/Login buttons as per "自定义配色" */
.page-resources-online-betting-security__hero-actions .page-resources-online-betting-security__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-online-betting-security__hero-actions .page-resources-online-betting-security__btn-primary:hover {
  background-color: #e02020;
  color: #ffffff;
  border-color: #e02020;
}

.page-resources-online-betting-security__hero-actions .page-resources-online-betting-security__btn-secondary {
  background-color: #C30808; /* Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-online-betting-security__hero-actions .page-resources-online-betting-security__btn-secondary:hover {
  background-color: #e02020;
  color: #ffffff;
  border-color: #e02020;
}


/* General CTA buttons at the end of the page */
.page-resources-online-betting-security__cta-buttons .page-resources-online-betting-security__btn-primary {
  background-color: #017439; /* Main brand color for primary CTA */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-online-betting-security__cta-buttons .page-resources-online-betting-security__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-online-betting-security__cta-buttons .page-resources-online-betting-security__btn-secondary {
  background-color: #ffffff; /* Auxiliary color for secondary CTA */
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-online-betting-security__cta-buttons .page-resources-online-betting-security__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}


/* Images */
.page-resources-online-betting-security__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-security__image-margin-top {
  margin-top: 60px;
}

/* Card Grid */
.page-resources-online-betting-security__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-betting-security__card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333; /* Dark text for light card background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 250px; /* Ensure cards have minimum height */
  display: flex;
  flex-direction: column;
}

.page-resources-online-betting-security__dark-bg .page-resources-online-betting-security__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-security__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-online-betting-security__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-resources-online-betting-security__card-text {
  font-size: 1em;
  color: inherit;
}

/* Feature List */
.page-resources-online-betting-security__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.page-resources-online-betting-security__list-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-left: 5px solid #017439;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-resources-online-betting-security__dark-bg .page-resources-online-betting-security__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-security__list-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: inherit;
}

/* Report Steps List */
.page-resources-online-betting-security__report-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-online-betting-security__report-steps .page-resources-online-betting-security__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #ffffff;
}

.page-resources-online-betting-security__report-steps .page-resources-online-betting-security__list-item:nth-child(odd) {
  border-left-color: #C30808; /* Highlight for reporting steps */
}

/* Video Section */
.page-resources-online-betting-security__video-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}