.page-sports-betting-rules {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-sports-betting-rules__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

.page-sports-betting-rules__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-sports-betting-rules__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
  overflow: hidden;
}

.page-sports-betting-rules__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
}

.page-sports-betting-rules__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-rules__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  font-weight: 300;
  color: #e0e0e0;
}

.page-sports-betting-rules__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-rules__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-sports-betting-rules__cta-button--secondary {
  background-color: #0056b3;
  color: #ffffff;
  margin-left: 15px;
}

.page-sports-betting-rules__cta-button--secondary:hover {
  background-color: #004085;
}

.page-sports-betting-rules__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-sports-betting-rules__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.page-sports-betting-rules__section:last-of-type {
  border-bottom: none;
}

.page-sports-betting-rules__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

.page-sports-betting-rules__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-sports-betting-rules__general-rules p,
.page-sports-betting-rules__specific-rules p,
.page-sports-betting-rules__tips p,
.page-sports-betting-rules__support p,
.page-sports-betting-rules__join-us p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports-betting-rules__rule-item,
.page-sports-betting-rules__sport-rules-item,
.page-sports-betting-rules__tip-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports-betting-rules__rule-item:hover,
.page-sports-betting-rules__sport-rules-item:hover,
.page-sports-betting-rules__tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-sports-betting-rules__rule-heading,
.page-sports-betting-rules__sport-heading,
.page-sports-betting-rules__tip-heading {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-betting-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555;
}

.page-sports-betting-rules__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-sports-betting-rules__list li strong {
  color: #333;
}

.page-sports-betting-rules__image-row {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports-betting-rules__image-item {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-sports-betting-rules__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  object-fit: cover;
}

.page-sports-betting-rules__action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports-betting-rules__title {
    font-size: 2.8em;
  }
  .page-sports-betting-rules__subtitle {
    font-size: 1.2em;
  }
  .page-sports-betting-rules__section-title {
    font-size: 2em;
  }
  .page-sports-betting-rules__rule-heading,
  .page-sports-betting-rules__sport-heading,
  .page-sports-betting-rules__tip-heading {
    font-size: 1.6em;
  }
  .page-sports-betting-rules__section {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-sports-betting-rules__hero {
    padding: 60px 15px;
  }
  .page-sports-betting-rules__title {
    font-size: 2.2em;
  }
  .page-sports-betting-rules__subtitle {
    font-size: 1em;
  }
  .page-sports-betting-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports-betting-rules__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-sports-betting-rules__action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-sports-betting-rules__image-item {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .page-sports-betting-rules__title {
    font-size: 1.8em;
  }
  .page-sports-betting-rules__section-title {
    font-size: 1.8em;
  }
  .page-sports-betting-rules__rule-heading,
  .page-sports-betting-rules__sport-heading,
  .page-sports-betting-rules__tip-heading {
    font-size: 1.4em;
  }
  .page-sports-betting-rules__rule-item,
  .page-sports-betting-rules__sport-rules-item,
  .page-sports-betting-rules__tip-item {
    padding: 20px;
  }
  .page-sports-betting-rules__list {
    margin-left: 20px;
  }
  .page-sports-betting-rules__image-row {
    flex-direction: column;
  }
}