.page-index {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared, but for clarity */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Video Section */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #121212; /* Ensure background matches body for seamless look */
}

.page-index__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px; /* Apply border-radius here as well for consistency */
  overflow: hidden; /* Ensure content inside respects border-radius */
}

.page-index__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-index__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  background: rgba(1, 116, 57, 0.8); /* Using primary color */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.page-index__play-now-button:hover {
  background: #a30707; /* Darker shade for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Section (H1 + CTA) */
.page-index__hero-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #121212; /* Dark background for hero */
  color: #ffffff;
}

.page-index__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* Ensure H1 is white on dark background */
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for description */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index__cta-button--register {
  background: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
}

.page-index__cta-button--register:hover {
  background: #a30707; /* Darker shade for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index__cta-button--login {
  background: #017439; /* Primary color for login button */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-index__cta-button--login:hover {
  background: #005a2d; /* Darker shade for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Brand Section */
.page-index__brand-section {
  padding: 80px 20px;
  background-color: #ffffff; /* Light background for brand section */
  color: #333333; /* Dark text for light background */
}

.page-index__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__brand-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #017439; /* Primary color for section title */
}

.page-index__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__brand-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439; /* Primary color for item title */
}

.page-index__brand-item-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background-color: #121212; /* Dark background for FAQ */
  color: #ffffff;
}

.page-index__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-main-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #ffffff;
}

.page-index__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}