/* style/index-betting-guide.css */

/* Base styles for the page content */
.page-index-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, matches default */
}

/* Header offset for fixed header */
.page-index-betting-guide__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply offset to the first section */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #FFFFFF; /* White text for hero section */
  text-align: center;
}

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

.page-index-betting-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 116, 57, 0.7); /* Darker overlay for text readability */
  z-index: 2;
}

.page-index-betting-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-index-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index-betting-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-index-betting-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General button styles */
.page-index-betting-guide__btn-primary,
.page-index-betting-guide__btn-secondary,
.page-index-betting-guide__btn-register,
.page-index-betting-guide__btn-login {
  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;
  box-sizing: border-box; /* Ensure padding doesn't push width */
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-index-betting-guide__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-index-betting-guide__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-index-betting-guide__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Main brand color for text */
  border: 2px solid #017439;
}

.page-index-betting-guide__btn-secondary:hover {
  background-color: #f0f0f0;
}

.page-index-betting-guide__btn-register {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register font color */
  border: 2px solid #C30808;
}

.page-index-betting-guide__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-index-betting-guide__btn-login {
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login font color */
  border: 2px solid #C30808;
}

.page-index-betting-guide__btn-login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Container for main content */
.page-index-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section titles */
.page-index-betting-guide__section-title {
  font-size: 2.5em;
  color: #017439; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index-betting-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

/* Text blocks */
.page-index-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Intro Section */
.page-index-betting-guide__intro-section {
  padding: 60px 0;
}

/* Registration section */
.page-index-betting-guide__registration-section {
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
  padding: 80px 0;
}

.page-index-betting-guide__registration-section .page-index-betting-guide__section-title {
  color: #FFFFFF; /* White title for dark background */
}

.page-index-betting-guide__registration-section .page-index-betting-guide__section-title::after {
  background-color: #FFFFFF; /* White underline for dark background */
}

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

.page-index-betting-guide__step-card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-betting-guide__step-card:hover {
  transform: translateY(-5px);
}

.page-index-betting-guide__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-betting-guide__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-index-betting-guide__card-description {
  font-size: 1em;
  text-align: left;
}

.page-index-betting-guide__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Games Section */
.page-index-betting-guide__games-section {
  padding: 80px 0;
}

.page-index-betting-guide__game-category {
  margin-bottom: 60px;
}

.page-index-betting-guide__category-title {
  font-size: 2em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  position: relative;
}

.page-index-betting-guide__category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #017439;
  border-radius: 2px;
}

.page-index-betting-guide__content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-index-betting-guide__content-row--reverse {
  flex-direction: row-reverse;
}

.page-index-betting-guide__text-content {
  flex: 1;
}

.page-index-betting-guide__text-content .page-index-betting-guide__btn-primary,
.page-index-betting-guide__text-content .page-index-betting-guide__btn-secondary {
  margin-top: 20px;
  margin-right: 15px;
}

.page-index-betting-guide__image-right,
.page-index-betting-guide__image-left {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}