/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Primary dark background */
  line-height: 1.6;
}

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

.page-index-section-title {
  font-size: 2.8em;
  color: #FFD700; /* Secondary gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-section-subtitle {
  font-size: 1.2em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1A3047 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-index-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 0;
}

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

.page-index-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index-hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #F0F0F0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #E0B800;
  border-color: #E0B800;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-btn-tertiary {
  background-color: #1A3047;
  color: #FFD700;
  border: 2px solid #1A3047;
}

.page-index-btn-tertiary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-btn-link {
  background-color: transparent;
  color: #FFD700;
  border: none;
  text-decoration: underline;
  padding: 10px 0;
}

.page-index-btn-link:hover {
  color: #E0B800;
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-index-about {
  padding: 60px 0;
  background-color: #0F1F38;
}

.page-index-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-index-about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-index-about-text h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-about-text p {
  margin-bottom: 15px;
  color: #D0D0D0;
}

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

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

.page-index-games {
  padding: 60px 0;
  background-color: #0A192F;
}

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

.page-index-game-card {
  background-color: #1A3047;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: 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.4), 0 0 15px #FFD700;
}

.page-index-game-card-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-card-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-index-game-card-description {
  color: #D0D0D0;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-center-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index-promotions {
  padding: 60px 0;
  background-color: #0F1F38;
}

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

.page-index-promo-card {
  background-color: #1A3047;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: 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.4), 0 0 15px #FFD700;
}

.page-index-promo-card-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-promo-card-title {
  color: #FFD700;
  font-size: 1.7em;
  margin-bottom: 10px;
}

.page-index-promo-card-description {
  color: #D0D0D0;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-app-download {
  padding: 60px 0;
  background-color: #0A192F;
}

.page-index-app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-index-app-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.page-index-app-image-wrapper {
  text-align: center;
}

.page-index-app-image {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-app-content h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-app-content p {
  margin-bottom: 20px;
  color: #D0D0D0;
}

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

.page-index-feature-list li {
  color: #F0F0F0;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index-feature-list li i {
  color: #FFD700;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-index-app-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-index-testimonials {
  padding: 60px 0;
  background-color: #0F1F38;
}

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

.page-index-testimonial-card {
  background-color: #1A3047;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 3px solid #FFD700;
}

.page-index-testimonial-quote {
  font-style: italic;
  color: #E0E0E0;
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

.page-index-security {
  padding: 60px 0;
  background-color: #0A192F;
}

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

.page-index-feature-item {
  background-color: #1A3047;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-index-feature-icon {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-feature-item h3 {
  color: #FFD700;
  font-size: 1.7em;
  margin-bottom: 15px;
}

.page-index-feature-item p {
  color: #D0D0D0;
  font-size: 0.95em;
}

.page-index-detail-pages {
  padding: 60px 0;
  background-color: #0F1F38;
}

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

.page-index-detail-card {
  background-color: #1A3047;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-detail-card h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-detail-card p {
  color: #D0D0D0;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-cta-final {
  padding: 80px 20px;
  background: linear-gradient(45deg, #0A192F, #1A3047);
  text-align: center;
  color: #FFFFFF;
}

.page-index-cta-final-content {
  max-width: 800px;
}

.page-index-cta-final-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-cta-final-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-index-cta-final-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-cta-final-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 60px 15px;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1.2em;
  }
  .page-index-hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn {
    width: 100%;
    max-width: 300px;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-section-subtitle {
    font-size: 1em;
  }
  .page-index-game-categories, .page-index-promo-grid, .page-index-testimonial-grid, .page-index-security-features, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index-app-grid {
    grid-template-columns: 1fr;
  }
  .page-index-app-image {
    max-width: 100%;
  }
  .page-index-cta-final-title {
    font-size: 2em;
  }
  .page-index-cta-final-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-cta-final-title {
    font-size: 1.8em;
  }
}