/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #F8F8F8; /* Light gray for general text on dark background */
  background-color: #0F1C2E; /* A slightly lighter dark background than main color */
}

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

.page-index__hero {
  background: linear-gradient(135deg, #1A2E44 0%, #0F1C2E 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #F8F8F8;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #E7C200; /* Highlighted in accent color */
}

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

.page-index__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-index__btn--primary {
  background-color: #E7C200;
  color: #1A2E44;
}

.page-index__btn--primary:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 194, 0, 0.4);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #E7C200;
  border: 2px solid #E7C200;
}

.page-index__btn--secondary:hover {
  background-color: #E7C200;
  color: #1A2E44;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 194, 0, 0.4);
}

.page-index__btn--tertiary {
  background-color: #1A2E44;
  color: #E0E0E0;
  border: 2px solid #3A506B;
}

.page-index__btn--tertiary:hover {
  background-color: #3A506B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 46, 68, 0.4);
}

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

.page-index__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) blur(3px);
}

.page-index__section-title {
  font-size: 2.8em;
  color: #E7C200;
  text-align: center;
  margin-bottom: 50px;
  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: #E7C200;
  border-radius: 2px;
}

.page-index__about, .page-index__features, .page-index__promotions, .page-index__app-download, .page-index__why-choose, .page-index__detail-pages, .page-index__cta-bottom {
  padding: 80px 0;
  background-color: #1A2E44;
  border-bottom: 1px solid rgba(231, 194, 0, 0.1);
}

.page-index__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0;
  margin-bottom: 25px;
  text-align: justify;
}

.page-index__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index__game-item, .page-index__promo-item, .page-index__detail-item {
  background-color: #0F1C2E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px 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-item:hover, .page-index__promo-item:hover, .page-index__detail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-index__game-img, .page-index__promo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(231, 194, 0, 0.2);
}

.page-index__game-title, .page-index__promo-title, .page-index__detail-title {
  font-size: 1.8em;
  color: #E7C200;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index__detail-title a {
  color: #E7C200;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  color: #FFD700;
}

.page-index__game-description, .page-index__promo-description, .page-index__detail-description {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-index__app-download {
  background-color: #0F1C2E;
}

.page-index__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index__download-text {
  flex: 1;
  min-width: 300px;
}

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

.page-index__app-img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid #E7C200;
}

.page-index__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-index__why-list li {
  background-color: #0F1C2E;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #E0E0E0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__why-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index__icon {
  font-size: 1.8em;
  color: #E7C200;
  flex-shrink: 0;
}

/* Placeholder icons - replace with actual icon fonts/SVGs if available */
.page-index__icon--security::before { content: '🔒'; }
.page-index__icon--games::before { content: '🎮'; }
.page-index__icon--transactions::before { content: '💳'; }
.page-index__icon--support::before { content: '📞'; }
.page-index__icon--promotions::before { content: '🎁'; }
.page-index__icon--mobile::before { content: '📱'; }

.page-index__cta-bottom {
  background-color: #1A2E44;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.page-index__cta-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index__floating-ad-menu {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index__floating-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 25px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #1A2E44;
  background-color: #E7C200;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 0.95em;
}

.page-index__floating-btn:hover {
  background-color: #FFD700;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index__floating-btn--register {
  background-color: #E7C200;
}
.page-index__floating-btn--login {
  background-color: #FFD700; /* Slightly different shade for variety */
}
.page-index__floating-btn--download {
  background-color: #E7C200;
}
.page-index__floating-btn--promotion {
  background-color: #FFD700;
}

.highlight {
  color: #FFD700;
}

.keyword {
  font-weight: bold;
  color: #E7C200;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index__why-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 80px 0;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__about, .page-index__features, .page-index__promotions, .page-index__app-download, .page-index__why-choose, .page-index__detail-pages, .page-index__cta-bottom {
    padding: 60px 0;
  }
  .page-index__download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-index__download-text, .page-index__download-image {
    min-width: unset;
    width: 100%;
  }
  .page-index__why-list {
    grid-template-columns: 1fr;
  }
  .page-index__floating-ad-menu {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }
  .page-index__floating-btn {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index__floating-ad-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    left: 10px;
    right: 10px;
  }
  .page-index__floating-btn {
    flex: 1 1 auto;
    min-width: 120px;
  }
}