:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-light-bg: #333333;
  --text-color-dark-bg: #FFFFFF;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-register-text: #FFFF00;
  --button-login-text: #FFFF00;
  --background-color-page: #FFFFFF;
}

.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light-bg); /* Default text color for light body background */
  background-color: var(--background-color-page);
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 32px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light-bg);
}

/* HERO Section Styles */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, #017439cc 100%); /* Adjusted for contrast */
  color: var(--text-color-dark-bg);
}

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

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

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

.page-index__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index__btn-register {
  background: var(--button-register-bg);
  color: var(--button-register-text);
}

.page-index__btn-register:hover {
  background: #E01010;
}

.page-index__btn-login {
  background: var(--button-login-bg);
  color: var(--button-login-text);
}

.page-index__btn-login:hover {
  background: #E01010;
}

.page-index__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__btn-primary:hover {
  background: #005f2c;
}

.page-index__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Module 1: Introduction Section */
.page-index__introduction-section {
  padding: 60px 0;
  background-color: var(--background-color-page);
  color: var(--text-color-light-bg);
}

/* Module 2: Quick Access Section */
.page-index__quick-access-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-index__quick-access-section .page-index__section-title,
.page-index__quick-access-section .page-index__section-description {
  color: var(--text-color-dark-bg);
}

.page-index__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Module 3: Games & Services Section */
.page-index__games-services-section {
  padding: 60px 0;
  background-color: var(--background-color-page);
  color: var(--text-color-light-bg);
}

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

.page-index__game-card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-color-light-bg);
}}