/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray text for dark background */
  background-color: #0F0821; /* Slightly lighter than main for body */
}

.page-index-highlight {
  color: #FFD700; /* Gold for highlights */
}

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

.page-index-center-content {
  text-align: center;
}

.page-index-section-title {
  font-size: 2.5em;
  color: #FFD700;
  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-description {
  text-align: center;
  font-size: 1.1em;
  color: #B0B0B0;
  margin-bottom: 60px;
}

.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;
  border: none;
  font-size: 1em;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #1A0D3B;
}

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

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A0D3B;
  transform: translateY(-2px);
}

.page-index-btn-outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 10px 20px;
}

.page-index-btn-outline:hover {
  background-color: #FFD700;
  color: #1A0D3B;
}

.page-index-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index-btn-lg {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-index-btn-text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
}

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

.page-index-image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1A0D3B 0%, #3a1a7c 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 70vh;
  color: #FFF;
}

.page-index-hero-content {
  max-width: 600px;
  text-align: left;
}

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #D0D0D0;
}

.page-index-hero-actions .page-index-btn {
  margin-right: 15px;
}

.page-index-hero-image-wrapper {
  flex-shrink: 0;
}

.page-index-hero-image {
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index-about {
  padding: 80px 0;
  background-color: #1A0D3B;
}

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

.page-index-about-text {
  flex: 1;
  line-height: 1.8;
  font-size: 1.05em;
  color: #D0D0D0;
}

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

.page-index-about-image {
  flex: 1;
  text-align: center;
}

.page-index-about-image img {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-index-features {
  padding: 80px 0;
  background-color: #0F0821;
}

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

.page-index-feature-item {
  background-color: #1A0D3B;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

.page-index-feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-feature-description {
  color: #B0B0B0;
  line-height: 1.6;
}

/* Games Section */
.page-index-games {
  padding: 80px 0;
  background-color: #1A0D3B;
}

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

.page-index-game-card {
  background-color: #0F0821;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-index-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-game-description {
  color: #B0B0B0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index-game-card .page-index-btn {
  margin-bottom: 20px;
}

/* Promo Section */
.page-index-promo {
  padding: 80px 0;
  background-color: #0F0821;
}

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

.page-index-promo-card {
  background-color: #1A0D3B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-index-promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-promo-description {
  color: #B0B0B0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index-promo-card .page-index-btn {
  margin-bottom: 20px;
}

/* Download Section */
.page-index-download {
  padding: 80px 0;
  background-color: #1A0D3B;
}

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

.page-index-download-qr {
  text-align: center;
  background-color: #0F0821;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-index-download-qr img {
  width: 180px;
  height: 180px;
  margin-bottom: 15px;
  border: 5px solid #FFD700;
  border-radius: 5px;
}

.page-index-download-qr p {
  color: #B0B0B0;
  font-size: 1.1em;
}

.page-index-download-info {
  max-width: 450px;
  color: #D0D0D0;
}

.page-index-download-info h3 {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-download-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-download-info ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
}

/* CTA Section */
.page-index-cta {
  background-color: #0F0821;
  padding: 100px 0;
  text-align: center;
}

.page-index-cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-index-cta-description {
  font-size: 1.3em;
  color: #D0D0D0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-cta .page-index-btn {
  margin: 0 15px;
}

/* Info Pages Section */
.page-index-info-pages {
  padding: 80px 0;
  background-color: #1A0D3B;
}

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

.page-index-info-card {
  background-color: #0F0821;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-index-info-description {
  color: #B0B0B0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Floating Ad */
.page-index-floating-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFD700;
  color: #1A0D3B;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(100%); /* Start hidden */
  transition: transform 0.5s ease-out;
}

.page-index-floating-ad.show {
  transform: translateY(0); /* Show when 'show' class is added */
}

.page-index-floating-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  position: relative;
}

.page-index-floating-text {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
}

.page-index-btn-floating {
  background-color: #1A0D3B;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.page-index-btn-floating:hover {
  background-color: #3a1a7c;
  color: #FFD700;
}

.page-index-floating-close-btn {
  background: none;
  border: none;
  color: #1A0D3B;
  font-size: 1.8em;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  padding: 0 5px;
}

.page-index-floating-close-btn:hover {
  color: #3a1a7c;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 0 40px;
  }

  .page-index-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-index-hero-title {
    font-size: 2.8em;
  }

  .page-index-hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-hero-actions .page-index-btn {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .page-index-hero-image {
    max-width: 400px;
    margin-top: 40px;
  }

  .page-index-about-grid {
    flex-direction: column;
  }

  .page-index-about-image {
    margin-top: 30px;
  }

  .page-index-download-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-download-info {
    text-align: center;
  }

  .page-index-download-info ul {
    text-align: left;
    display: inline-block;
  }

  .page-index-cta .page-index-btn {
    margin: 10px;
  }

  .page-index-floating-text {
    font-size: 0.9em;
  }

  .page-index-btn-floating {
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .page-index-floating-close-btn {
    right: 5px;
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2em;
  }

  .page-index-section-description {
    font-size: 1em;
  }

  .page-index-hero-title {
    font-size: 2.2em;
  }

  .page-index-hero-subtitle {
    font-size: 1em;
  }

  .page-index-feature-item, .page-index-game-card, .page-index-promo-card, .page-index-info-card {
    padding: 20px;
  }

  .page-index-feature-title, .page-index-game-title, .page-index-promo-title {
    font-size: 1.3em;
  }

  .page-index-cta-title {
    font-size: 2.2em;
  }

  .page-index-cta-description {
    font-size: 1.1em;
  }

  .page-index-floating-content {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-floating-close-btn {
    top: 10px;
    transform: translateY(0);
    right: 10px;
  }
  .page-index-floating-ad {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-image {
    max-width: 100%;
  }
  .page-index-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .page-index-hero-actions .page-index-btn {
    width: 100%;
  }
  .page-index-floating-content {
    align-items: flex-start;
    padding-right: 40px;
  }
  .page-index-floating-text {
    text-align: center;
    width: 100%;
  }
  .page-index-btn-floating {
    width: 100%;
  }
}