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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 700px;
}

.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%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-index__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45;
}

.page-index__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-index__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-index__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-index__section-title {
  font-size: 2.8rem;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-index__section-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__promo-card,
.page-index__security-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.page-index__feature-title,
.page-index__game-title,
.page-index__promo-title,
.page-index__security-title {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__feature-description,
.page-index__game-description,
.page-index__promo-description,
.page-index__security-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-index__game-card {
  text-decoration: none;
  color: inherit;
}

.page-index__game-image,
.page-index__promo-image,
.page-index__cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__promo-card .page-index__button--promo {
  margin-top: 20px;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 1rem;
}

.page-index__promo-card .page-index__button--promo:hover {
  background-color: #333333;
}

.page-index__app-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

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

.page-index__app-text-block {
  flex: 1;
  min-width: 300px;
}

.page-index__app-image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.page-index__app-section .page-index__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-index__app-section .page-index__section-intro {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-index__button--download {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-index__button--download:hover {
  background-color: #e0a53b;
}

.page-index__security-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.page-index__security-card {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: none;
  text-align: left;
}

.page-index__security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-index__security-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-index__security-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-index__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1rem;
}

.page-index__button--learn-more:hover {
  background-color: #333333;
}

.page-index__faq-section {
  background-color: #f5f5f5;
  padding: 80px 0;
}

.page-index__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
}

.page-index__faq-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-index__button--support {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1rem;
}

.page-index__button--support:hover {
  background-color: #e0a53b;
}

.page-index__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index__cta-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.page-index__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.page-index__cta-text {
  max-width: 600px;
}

.page-index__cta-title {
  font-size: 2.8rem;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-index__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3rem;
  border-radius: 10px;
}

.page-index__button--register-large:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3rem;
  }
  .page-index__hero-description {
    font-size: 1.1rem;
  }
  .page-index__section-title {
    font-size: 2.2rem;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__security-title {
    font-size: 1.6rem;
  }
  .page-index__cta-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 600px;
    padding-top: var(--header-offset, 120px);
  }
  .page-index__hero-title {
    font-size: 2.5rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__content-area {
    padding: 40px 15px;
  }
  .page-index__section-title {
    font-size: 2rem;
  }
  .page-index__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-index__features-grid, .page-index__games-grid, .page-index__promo-grid, .page-index__security-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index__app-content, .page-index__cta-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-index__app-text-block, .page-index__app-image-block, .page-index__cta-text, .page-index__cta-image {
    min-width: unset;
    width: 100%;
  }
  .page-index__app-section .page-index__section-title,
  .page-index__app-section .page-index__section-intro {
    text-align: center;
  }
  .page-index__faq-question {
    font-size: 1.2rem;
  }
  .page-index__cta-title {
    font-size: 2rem;
  }
  .page-index__cta-description {
    font-size: 1rem;
  }
  .page-index__button--register-large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  /* Mobile content area image sizing */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2rem;
  }
  .page-index__hero-content {
    padding: 20px;
  }
  .page-index__button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__security-title {
    font-size: 1.4rem;
  }
  .page-index__faq-question {
    font-size: 1.1rem;
  }
  .page-index__cta-title {
    font-size: 1.8rem;
  }
}