/* style/index.css */

/* General Page Styling */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light text on dark background */
  background-color: #0D1B2A; /* A darker shade of primary for overall background */
}

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

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

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

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

.page-index-sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #1A2B4C;
  padding-bottom: 10px;
}

.page-index p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #E0E0E0;
}

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

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

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #1A2B4C; /* Deep Blue text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
  background-color: #E5C100; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

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

.page-index-btn-play {
  background-color: #1A2B4C;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-index-btn-play:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-index-btn-detail {
  background-color: #1A2B4C;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-index-btn-detail:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

/* Hero Section */
.page-index-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1A2B4C, #0D1B2A);
  padding: 80px 20px;
  min-height: 600px;
  gap: 40px;
}

.page-index-hero-content {
  flex: 1;
  max-width: 600px;
}

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

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

.page-index-hero-actions {
  display: flex;
  gap: 20px;
}

.page-index-hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
}

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

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

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

.page-index-feature-item {
  background-color: #2A3B5C; /* Slightly lighter primary */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  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 rgba(255, 215, 0, 0.7));
}

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

.page-index-feature-description {
  font-size: 0.95em;
  color: #B0B0B0;
}

.page-index-section-image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 60px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-index-game-category {
  background-color: #1A2B4C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
}

.page-index-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
  margin-bottom: 20px;
}

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

.page-index-game-description {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* Promotions Section */
.page-index-promotions {
  background-color: #1A2B4C;
  padding: 80px 0;
}

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

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

.page-index-promo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
}

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

.page-index-promo-description {
  font-size: 0.95em;
  color: #B0B0B0;
}

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

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

.page-index-app-download .page-index-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

.page-index-app-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

.page-index-benefit-icon {
  width: 24px;
  height: 24px;
  filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(0deg) brightness(120%) contrast(100%); /* Make checkmark gold */
}

.page-index-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Registration Section */
.page-index-registration {
  background-color: #1A2B4C;
  padding: 80px 0;
}

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

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

.page-index-step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A2B4C;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

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

.page-index-step-description {
  font-size: 0.95em;
  color: #B0B0B0;
}

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

/* Deep Content Section */
.page-index-deep-content {
  background-color: #0D1B2A;
  padding: 80px 0;
}

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

/* Detail Pages Section */
.page-index-detail-pages {
  background-color: #1A2B4C;
  padding: 80px 0;
}

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

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

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

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

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

.page-index-detail-description {
  font-size: 0.9em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 20px;
    min-height: auto;
  }

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

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

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

  .page-index-hero-actions {
    justify-content: center;
  }

  .page-index-app-download .page-index-container {
    flex-direction: column;
    text-align: center;
  }

  .page-index-app-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }

  .page-index-section-title {
    font-size: 2em;
  }

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

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

  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-btn-secondary {
    margin-left: 0;
  }

  .page-index-features, .page-index-game-categories, .page-index-promo-grid, .page-index-steps, .page-index-detail-list {
    grid-template-columns: 1fr;
  }

  .page-index-section-image {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .page-index-hero {
    padding: 40px 15px;
  }
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-sub-title {
    font-size: 1.5em;
  }
  .page-index-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-feature-item, .page-index-game-category, .page-index-promo-item, .page-index-step-item, .page-index-detail-item {
    padding: 20px;
  }
}