.page-index {
  color: #333333; /* Dark text for default light body background */
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

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

.page-index__hero-content {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  max-width: 800px;
}

.page-index__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for highlight */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-index__hero-button {
  display: inline-block;
  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;
}

.page-index__hero-button--primary {
  background-color: #CC0000; /* Main brand color */
  color: #ffffff;
  border: 2px solid #CC0000;
}

.page-index__hero-button--primary:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-index__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary brand color */
  border: 2px solid #FFD700;
}

.page-index__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #CC0000; /* Main brand color on hover */
  transform: translateY(-2px);
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__about-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-index__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__about-content p {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
}

.page-index__about-image {
  flex: 1;
  min-width: 400px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index__games-section {
  padding: 60px 0;
}

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

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

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

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-index__game-title {
  font-size: 1.8em;
  color: #CC0000; /* Main brand color */
  margin: 20px 0 10px;
}

.page-index__game-title a {
  color: #CC0000;
  text-decoration: none;
}

.page-index__game-title a:hover {
  text-decoration: underline;
}

.page-index__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index__game-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary brand color */
  color: #CC0000; /* Main brand color for contrast */
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__game-button:hover {
  background-color: #e6c200;
  color: #a00000;
}

.page-index__vip-section {
  background: linear-gradient(135deg, #CC0000, #a00000); /* Gradient with main color */
  padding: 80px 0;
  color: #ffffff;
}

.page-index__vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse;
}

.page-index__vip-image {
  flex: 1;
  min-width: 400px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index__vip-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
}

.page-index__vip-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-index__vip-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary brand color */
  color: #CC0000; /* Main brand color for contrast */
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__vip-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index__promo-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-index__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #CC0000; /* Main brand color */
  margin: 20px 0 10px;
}

.page-index__promo-title a {
  color: #CC0000;
  text-decoration: none;
}

.page-index__promo-title a:hover {
  text-decoration: underline;
}

.page-index__promo-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index__promo-button {
  display: inline-block;
  background-color: #CC0000; /* Main brand color */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__promo-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-index__mobile-app-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__mobile-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
}

.page-index__mobile-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
}

.page-index__mobile-image {
  flex: 1;
  min-width: 400px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index__mobile-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary brand color */
  color: #CC0000; /* Main brand color for contrast */
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__mobile-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index__security-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-index__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse;
}

.page-index__security-image {
  flex: 1;
  min-width: 400px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index__security-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
}

.page-index__security-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
}

.page-index__security-button {
  display: inline-block;
  background-color: #CC0000; /* Main brand color */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 15px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__security-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-index__cta-section {
  background: linear-gradient(45deg, #CC0000, #FFD700); /* Blend of main and auxiliary colors */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-index__cta-section .page-index__section-title {
  color: #ffffff;
}

.page-index__cta-section .page-index__section-title::after {
  background-color: #ffffff;
}

.page-index__cta-section .page-index__section-subtitle {
  color: #f0f0f0;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.page-index__cta-button--primary {
  background-color: #ffffff;
  color: #CC0000; /* Main brand color */
  border: 2px solid #ffffff;
}

.page-index__cta-button--primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index__cta-button--secondary:hover {
  background-color: #ffffff;
  color: #CC0000; /* Main brand color on hover */
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-image, .page-index__vip-image, .page-index__mobile-image, .page-index__security-image {
    max-width: 100%;
    min-width: unset;
  }
  .page-index__about-content, .page-index__vip-content, .page-index__mobile-content, .page-index__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__about-content p, .page-index__vip-text, .page-index__mobile-text, .page-index__security-text {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 80px); /* Adjust header offset for mobile */
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__games-grid, .page-index__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-image, .page-index__promo-image {
    height: 200px;
  }
  .page-index__game-title, .page-index__promo-title {
    font-size: 1.5em;
  }
  .page-index__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive */
  .page-index img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center images */
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    min-height: 400px;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-button {
    width: 100%;
    max-width: 250px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__cta-actions {
    flex-direction: column;
  }
  .page-index__cta-button {
    width: 100%;
    max-width: 300px;
  }
}