/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #CC0000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #CC0000;
}

.page-index__btn--primary:hover {
  background-color: #A30000;
  border-color: #A30000;
}

.page-index__btn--secondary {
  background-color: #FFD700; /* Accent color */
  color: #333;
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #E0BA00;
  border-color: #E0BA00;
}

.page-index__btn--ghost {
  background-color: transparent;
  color: #CC0000; /* Main color */
  border: 2px solid #CC0000;
}

.page-index__btn--ghost:hover {
  background-color: #CC0000;
  color: #FFFFFF;
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #CC0000;
  color: #FFFFFF;
  border: 2px solid #CC0000;
}

.page-index__btn--small:hover {
  background-color: #A30000;
  border-color: #A30000;
}

.page-index__btn--center {
  display: block;
  margin: 30px auto 0;
  max-width: 250px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index__text-content {
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #CC0000, #FFD700);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #eee;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for better contrast, NOT color change */
}

/* About Section */
.page-index__about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

/* Games Section */
.page-index__games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-index__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index__card-title {
  font-size: 1.5em;
  color: #CC0000; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__card-description {
  color: #666;
  font-size: 0.95em;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background-color: #f2f2f2;
}

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

.page-index__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

/* App Section */
.page-index__app-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-index__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-index__app-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

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

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

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-index__app-features li {
  margin-bottom: 10px;
  color: #555;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

.page-index__app-features li::before {
  content: '✔';
  color: #CC0000; /* Main color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Trust Section */
.page-index__trust-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-index__detail-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index__detail-card .page-index__card-title a {
  color: #CC0000; /* Main color */
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.page-index__detail-card .page-index__card-title a:hover {
  text-decoration: underline;
}

.page-index__detail-card .page-index__card-description {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta-section {
  background-color: #CC0000; /* Main color */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__app-flex {
    flex-direction: column;
  }
  .page-index__app-content {
    text-align: center;
  }
  .page-index__app-features {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 60px 0;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
    max-width: 250px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@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.5em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}