.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff;
}

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-index__btn-primary:hover {
  background: #1e87b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #ffffff;
  color: #26A9E0;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-index__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.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); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  overflow: hidden;
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-index__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Module 1: Intro Section */
.page-index__intro-section {
  padding: 80px 0;
}

.page-index__intro-section.page-index__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index__intro-section.page-index__dark-bg .page-index__section-title {
  color: #ffffff;
}

.page-index__intro-section.page-index__dark-bg .page-index__section-description,
.page-index__intro-section.page-index__dark-bg .page-index__intro-text {
  color: #f0f0f0;
}

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

.page-index__intro-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__intro-section.page-index__dark-bg .page-index__intro-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-index__intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__intro-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__intro-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__intro-section.page-index__dark-bg .page-index__intro-subtitle {
  color: #ffffff;
}

.page-index__intro-text {
  font-size: 16px;
  color: #666666;
}

.page-index__intro-section.page-index__dark-bg .page-index__intro-text {
  color: #f0f0f0;
}

/* Module 2: Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index__access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__access-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__access-card img {
  width: 100%;
  
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-index__access-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-index__access-text {
  font-size: 15px;
  color: #666666;
}

/* Module 3: Games Section */
.page-index__games-section {
  padding: 80px 0;
}

.page-index__games-section.page-index__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index__games-section.page-index__dark-bg .page-index__section-title {
  color: #ffffff;
}

.page-index__games-section.page-index__dark-bg .page-index__section-description {
  color: #f0f0f0;
}

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

.page-index__game-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__games-section.page-index__dark-bg .page-index__game-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  padding: 20px 25px 10px;
}

.page-index__games-section.page-index__dark-bg .page-index__game-title {
  color: #ffffff;
}

.page-index__game-text {
  font-size: 16px;
  color: #666666;
  padding: 0 25px 25px;
}

.page-index__games-section.page-index__dark-bg .page-index__game-text {
  color: #f0f0f0;
}

/* Module 4: Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 30px;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-index__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index__promo-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-index__promo-card .page-index__btn-primary {
  font-size: 16px;
  padding: 10px 25px;
}

/* Module 5: Security & Support Section */
.page-index__security-support-section {
  padding: 80px 0;
}

.page-index__security-support-section.page-index__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index__security-support-section.page-index__dark-bg .page-index__section-title {
  color: #ffffff;
}

.page-index__security-support-section.page-index__dark-bg .page-index__section-description {
  color: #f0f0f0;
}

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

.page-index__ss-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-index__security-support-section.page-index__dark-bg .page-index__ss-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-index__ss-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__ss-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}}