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

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

.page-index-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-index-center-content {
  flex-direction: column;
  text-align: center;
}

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

.page-index-subsection-title {
  color: #FFD700; /* Gold for sub-titles */
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-section-description,
.page-index-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #D0D0D0; /* Slightly lighter gray for readability */
}

.page-index-paragraph {
  text-align: left;
  margin-bottom: 20px;
}

.page-index-highlight {
  color: #FFD700; /* Gold for highlights */
}

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #0A244A; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #E6C200; /* Slightly darker gold on hover */
  border-color: #E6C200;
  color: #0A244A;
}

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

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #0A244A;
}

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

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

.page-index-no-margin {
  margin-bottom: 0;
}

/* Hero Section */
.page-index-hero-section {
  background: linear-gradient(135deg, #0A244A 0%, #1A3E6B 100%); /* Dark blue gradient */
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index-hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-index-hero-title {
  font-size: 3.5em;
  color: #FFFFFF; /* White for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-index-hero-description {
  font-size: 1.2em;
  color: #D0D0D0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index-hero-image-wrapper {
  flex-shrink: 0;
  position: relative;
  width: 500px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

/* About MCW18 Section */
.page-index-about-mcw18 {
  background-color: #061A36; /* Slightly lighter dark blue */
  padding: 60px 0;
}

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

.page-index-feature-item {
  background-color: #12315C; /* Darker blue for feature cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

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

.page-index-feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #C0C0C0;
}

/* Game Categories Section */
.page-index-game-categories {
  background-color: #0A244A;
  padding: 60px 0;
}

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

.page-index-category-card {
  background-color: #12315C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index-category-title {
  color: #FFD700;
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
}

.page-index-category-text {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 15px 20px 15px;
  line-height: 1.5;
}

.page-index-category-card .page-index-btn {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions-section {
  background-color: #061A36;
  padding: 60px 0;
}

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

.page-index-promotion-card {
  background-color: #12315C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index-promotion-title {
  color: #FFD700;
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
}

.page-index-promotion-text {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 15px 20px 15px;
  line-height: 1.5;
}

.page-index-promotion-card .page-index-btn {
  margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download {
  background-color: #0A244A;
  padding: 60px 0;
}

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

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

.page-index-app-mockup {
  max-width: 350px;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}

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

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

.page-index-list-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: brightness(1.2);
}

/* Long Content Section */
.page-index-long-content {
  background-color: #061A36;
  padding: 60px 0;
  text-align: left;
}

.page-index-long-content .page-index-section-title {
  text-align: center;
}

.page-index-long-content .page-index-section-description {
  text-align: left;
}

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

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

.page-index-detail-card {
  background-color: #12315C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-index-detail-description {
  font-size: 1em;
  line-height: 1.6;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-index-detail-card .page-index-btn {
  margin-top: 10px;
}

/* Contact CTA Section */
.page-index-contact-cta {
  background-color: #061A36;
  padding: 60px 0;
}

.page-index-contact-cta .page-index-section-title {
  color: #FFFFFF;
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

  .page-index-app-features-list {
    text-align: left;
    margin: 30px auto;
    max-width: 400px;
  }
}

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

  .page-index-subsection-title {
    font-size: 1.5em;
  }

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

  .page-index-hero-image-wrapper {
    width: 100%;
    max-width: 400px;
    height: 280px;
  }

  .page-index-hero-cta-group, .page-index-contact-cta .page-index-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-btn {
    width: 100%;
    max-width: 250px;
  }

  .page-index-features-grid, .page-index-categories-grid, .page-index-promotions-grid, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-index-paragraph {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-index-section-title {
    font-size: 1.8em;
  }

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

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

  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}