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

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

.page-index-section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-index-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A2342;
}

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

.page-index-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.page-index-hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
}

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

.page-index-hero-title .highlight {
  color: #FFD700;
}

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hero-buttons .page-index-btn {
  margin: 10px;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold */
  color: #0A2342; /* Deep blue text */
  border: 2px solid #FFD700;
  font-weight: bold;
}

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

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
  font-weight: bold;
}

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

.page-index-btn-outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-index-btn-outline:hover {
  background-color: #FFD700;
  color: #0A2342;
}

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

.page-index-btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-index-btn-text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  font-size: 1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

.page-index-icon-arrow-right {
  margin-left: 8px;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #FFD700;
  transition: border-left-color 0.3s ease;
}

.page-index-btn-text:hover .page-index-icon-arrow-right {
  border-left-color: #E6C200;
}

.page-index-about, .page-index-features, .page-index-promotions, .page-index-download-app, .page-index-security, .page-index-detail-pages, .page-index-cta {
  padding: 80px 0;
}

.page-index-about {
  background-color: #0A2342;
}

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

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

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

.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-features {
  background-color: #1A3A5D;
}

.page-index-grid {
  display: grid;
  gap: 30px;
}

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

.page-index-game-card {
  background-color: #0A2342;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}

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

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

.page-index-promotions {
  background-color: #0A2342;
}

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

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

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

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

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

.page-index-promo-description {
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-index-call-to-action {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index-link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-link-inline:hover {
  text-decoration: underline;
}

.page-index-download-app {
  background-color: #1A3A5D;
}

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

.page-index-app-content h2 {
  text-align: left;
}

.page-index-app-description {
  color: #E0E0E0;
  margin-bottom: 20px;
}

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

.page-index-app-content ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-index-icon-check {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #FFD700;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.page-index-icon-check::before {
  content: '✔';
  color: #0A2342;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.page-index-security {
  background-color: #0A2342;
}

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

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

.page-index-security-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index-security-item h3 {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-security-item p {
  color: #B0B0B0;
}

.page-index-detail-pages {
  background-color: #1A3A5D;
}

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

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

.page-index-detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index-detail-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-detail-title a:hover {
  color: #E6C200;
}

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

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

.page-index-cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.page-index-cta-description {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 40px;
}

@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-about-grid, .page-index-app-grid {
    grid-template-columns: 1fr;
  }
  .page-index-about-image-wrapper, .page-index-app-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    height: 500px;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-hero-buttons .page-index-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-about, .page-index-features, .page-index-promotions, .page-index-download-app, .page-index-security, .page-index-detail-pages, .page-index-cta {
    padding: 60px 0;
  }
  .page-index-grid {
    grid-template-columns: 1fr;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-app-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-buttons .page-index-btn {
    display: block;
    width: 90%;
    margin: 10px auto;
  }
  .page-index-section-title {
    font-size: 1.5em;
  }
  .page-index-cta-title {
    font-size: 1.8em;
  }
  .page-index-game-card, .page-index-promo-card, .page-index-security-item, .page-index-detail-card {
    padding: 20px;
  }
  .page-index-app-content ul li {
    font-size: 0.95em;
  }
}