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

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

.page-index-section-title {
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-index-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
}

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

.page-index-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.page-index-hero-subtitle {
  font-size: 1.3em;
  color: #B0C4DE;
  margin-bottom: 40px;
}

.page-index-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) blur(5px);
}

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

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

.page-index-btn-primary:hover {
  background-color: #E0B500;
  color: #000;
  transform: translateY(-3px);
}

.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);
}

.page-index-about, .page-index-features, .page-index-games, .page-index-trust, .page-index-community, .page-index-detail-pages, .page-index-cta {
  padding: 80px 0;
}

.page-index-text-block p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #B0C4DE;
}

.page-index-text-block strong {
  color: #FFD700;
}

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

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

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

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

.page-index-feature-description {
  color: #B0C4DE;
  font-size: 1em;
}

.page-index-games .page-index-game-category {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-index-games .page-index-game-category:last-child {
  margin-bottom: 0;
}

.page-index-games .page-index-game-category-reverse {
  flex-direction: row-reverse;
}

.page-index-game-content {
  flex: 1;
}

.page-index-game-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-index-game-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-index-game-title {
  color: #FFD700;
  font-size: 2em;
  margin-bottom: 20px;
}

.page-index-game-description {
  color: #B0C4DE;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-index-game-content ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #B0C4DE;
  margin-bottom: 15px;
}

.page-index-game-content ul li {
  margin-bottom: 5px;
}

.page-index-trust {
  background-color: #1A3047;
}

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

.page-index-trust-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-trust-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-index-trust-text {
  flex: 2;
  color: #B0C4DE;
}

.page-index-trust-description {
  margin-bottom: 1.2em;
  font-size: 1.1em;
}

.page-index-trust-text ul {
  list-style-type: circle;
  margin-left: 25px;
  margin-bottom: 1.2em;
}

.page-index-trust-text ul li {
  margin-bottom: 8px;
}

.page-index-community-intro {
  text-align: center;
  font-size: 1.2em;
  color: #B0C4DE;
  margin-bottom: 50px;
}

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

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

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

.page-index-community-item p {
  color: #B0C4DE;
}

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

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

.page-index-detail-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index-detail-description {
  color: #B0C4DE;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-cta {
  background: linear-gradient(90deg, #0A192F, #1A3047);
  text-align: center;
  padding: 100px 0;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-games .page-index-game-category {
    flex-direction: column;
  }
  .page-index-games .page-index-game-category-reverse {
    flex-direction: column;
  }
  .page-index-game-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-index-trust-content {
    flex-direction: column;
  }
  .page-index-trust-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-hero {
    padding: 60px 0;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-feature-grid, .page-index-community-features, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index-games .page-index-game-category {
    gap: 20px;
  }
  .page-index-game-title {
    font-size: 1.8em;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
  .page-index-cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-subtitle {
    font-size: 1em;
  }
  .page-index-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-game-title {
    font-size: 1.5em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
}