.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #0A0F18; /* Main dark background */
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  color: #CCCCCC;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__highlight {
  color: #FFD700;
}

.page-index__text-center {
  text-align: center;
  margin-top: 40px;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  margin: 10px;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A0F18; /* Dark text on gold */
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A0F18;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #FFD700;
  text-decoration: underline;
  padding: 5px 10px;
  font-size: 1em;
}

.page-index__btn--text:hover {
  color: #e6c200;
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin: 5px;
  background-color: #FFD700;
  color: #0A0F18;
}

.page-index__btn--small:hover {
  background-color: #e6c200;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
}

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

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 15, 24, 0.9), rgba(255, 215, 0, 0.2)); /* Dark overlay on image */
  z-index: 2;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #FFFFFF;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-index__hero-buttons .page-index__btn {
  margin: 10px 15px;
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #0A0F18;
}

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

.page-index__about-text {
  flex: 2;
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0;
}

.page-index__about-text p {
  margin-bottom: 20px;
}

.page-index__about-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #1a202c;
}

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

.page-index__feature-item {
  background-color: #0A0F18;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #CCCCCC;
  line-height: 1.7;
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #0A0F18;
}

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

.page-index__game-card {
  background-color: #1a202c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index__game-title {
  font-size: 1.6em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

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

.page-index__game-card .page-index__btn--small {
  margin: 0 20px 20px;
  align-self: flex-start;
}

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

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

.page-index__promo-card {
  background-color: #0A0F18;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
}

.page-index__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #E53935; /* Red accent for promotions */
}

.page-index__promo-title {
  font-size: 1.7em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

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

.page-index__promo-card .page-index__btn--small {
  margin: 0 20px 20px;
}

/* APP Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #0A0F18;
}

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

.page-index__app-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0;
}

.page-index__app-text p {
  margin-bottom: 20px;
}

.page-index__app-download-area {
  flex: 1;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.page-index__qr-code {
  width: 180px;
  height: 180px;
  border: 5px solid #FFD700;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-index__qr-text {
  font-size: 1.1em;
  color: #FFD700;
  font-weight: bold;
}

.page-index__app-mockup {
  width: 250px;
  height: auto;
  margin-top: 20px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* How to Register Section */
.page-index__how-to-register-section {
  padding: 80px 0;
  background-color: #1a202c;
}

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

.page-index__step-item {
  background-color: #0A0F18;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-index__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0A0F18;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0A0F18;
}

.page-index__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-index__step-description {
  font-size: 0.95em;
  color: #CCCCCC;
  line-height: 1.6;
}

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 80px 0;
  background-color: #0A0F18;
}

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

.page-index__testimonial-card {
  background-color: #1a202c;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-index__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FFD700;
}

.page-index__quote {
  font-style: italic;
  font-size: 1.1em;
  color: #E0E0E0;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index__author {
  font-weight: bold;
  color: #FFD700;
  font-size: 1em;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 80px 0;
  background-color: #1a202c;
}

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

.page-index__detail-card {
  background-color: #0A0F18;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-index__detail-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__detail-title a:hover {
  text-decoration: underline;
  color: #e6c200;
}

.page-index__detail-description {
  font-size: 0.95em;
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Floating Ad */
.page-index__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #E53935; /* Red accent for ad */
  color: #FFFFFF;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none; /* Hidden by default, shown by JS */
  max-width: 350px;
  animation: page-index__fadeInUp 0.5s ease-out forwards;
}

.page-index__floating-ad-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-index__floating-ad-text {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

.page-index__btn--ad {
  background-color: #FFD700;
  color: #0A0F18;
  padding: 8px 15px;
  font-size: 0.95em;
  white-space: nowrap;
}

.page-index__btn--ad:hover {
  background-color: #e6c200;
}

.page-index__close-ad-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.8em;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
  padding: 0;
  transition: transform 0.2s ease;
}

.page-index__close-ad-btn:hover {
  transform: scale(1.2);
}

@keyframes page-index__fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-grid, .page-index__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__about-image-wrapper, .page-index__app-download-area {
    margin-top: 40px;
  }
  .page-index__app-mockup {
    width: 200px;
  }
  .page-index__floating-ad {
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
  }
  .page-index__floating-ad-content {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__close-ad-btn {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-buttons .page-index__btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  .page-index__features-grid, .page-index__game-categories, .page-index__promo-grid, .page-index__steps-grid, .page-index__testimonial-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__btn {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-index__floating-ad-text {
    font-size: 1em;
  }
  .page-index__btn--ad {
    font-size: 0.9em;
    padding: 6px 12px;
  }
}