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

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

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

.page-index-btn-primary {
  background-color: #FFC107;
  color: #0A1931; /* Dark text on bright gold button */
  border: 2px solid #FFC107;
}

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

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFC107;
  border: 2px solid #FFC107;
}

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

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

.page-index-btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-index-section-title {
  font-size: 2.8em;
  color: #FFC107; /* Bright gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  position: relative;
  padding-bottom: 10px;
}

.page-index-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  border-radius: 2px;
}

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

/* Hero Section */
.page-index-hero-section {
  background: linear-gradient(135deg, #0A1931 0%, #1A315A 100%);
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-hero-content {
  z-index: 2;
  position: relative;
}

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

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

.page-index-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
  z-index: 1;
}

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

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

.page-index-about-section h3 {
  font-size: 1.8em;
  color: #FFC107;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-index-about-section p {
  margin-bottom: 20px;
  color: #D0D0D0;
}

.page-index-about-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-index-about-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #D0D0D0;
}

.page-index-about-section ul li::before {
  content: '✔';
  color: #FFC107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-index-text-content {
  flex: 2;
}

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

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

/* Features Section */
.page-index-features-section {
  padding: 80px 0;
  background-color: #0A1931;
}

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

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

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

.page-index-feature-item h3 {
  font-size: 1.5em;
  color: #FFC107;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index-feature-item p {
  color: #D0D0D0;
  font-size: 0.95em;
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

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

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

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

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

.page-index-game-card:hover {
  transform: translateY(-10px);
}

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

.page-index-game-card h3 {
  font-size: 1.5em;
  color: #FFC107;
  margin: 20px 0 10px;
}

.page-index-game-card p {
  color: #D0D0D0;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

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

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

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

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

.page-index-promotion-card:hover {
  transform: translateY(-10px);
}

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

.page-index-promotion-card h3 {
  font-size: 1.5em;
  color: #FFC107;
  margin: 20px 0 10px;
}

.page-index-promotion-card p {
  color: #D0D0D0;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

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

/* APP Section */
.page-index-app-section {
  padding: 80px 0;
  background-color: #1A2A47;
}

.page-index-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.page-index-app-text {
  max-width: 800px;
}

.page-index-app-text h2 {
  margin-top: 0;
}

.page-index-app-download-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-index-download-note {
  margin-top: 20px;
  font-size: 1.1em;
  color: #B0B0B0;
}

.page-index-app-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-index-qr-code {
  width: 180px;
  height: 180px;
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

/* Testimonials Section */
.page-index-testimonials-section {
  padding: 80px 0;
  background-color: #0A1931;
}

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

.page-index-testimonial-card {
  background-color: #1A2A47;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-index-testimonial-text {
  font-style: italic;
  color: #D0D0D0;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index-testimonial-author {
  font-weight: bold;
  color: #FFC107;
}

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

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

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

.page-index-detail-item h3 {
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-index-detail-item h3 a {
  color: #FFC107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-detail-item h3 a:hover {
  color: #e0ac00;
}

.page-index-detail-item p {
  color: #D0D0D0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-detail-item .page-index-btn {
  align-self: flex-start;
}

/* CTA Section */
.page-index-cta-section {
  background-color: #0A1931;
  padding: 80px 0;
  text-align: center;
}

.page-index-cta-content {
  background-color: #1A2A47;
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin: 0 auto;
}

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

.page-index-cta-description {
  font-size: 1.4em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-section-title {
    font-size: 2.5em;
  }
  .page-index-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-index-image-content {
    margin-top: 30px;
  }
  .page-index-about-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-section-subtitle {
    font-size: 1em;
  }
  .page-index-hero-buttons, .page-index-app-download-options {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-app-image-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-index-app-mockup {
    width: 200px;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
  .page-index-cta-description {
    font-size: 1.2em;
  }
  .page-index-feature-item, .page-index-game-card, .page-index-promotion-card, .page-index-testimonial-card, .page-index-detail-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-section-subtitle {
    font-size: 0.9em;
  }
  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-btn-large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-cta-description {
    font-size: 1em;
  }
  .page-index-qr-code {
    width: 150px;
    height: 150px;
  }
  .page-index-app-mockup {
    width: 180px;
  }
}