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

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

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-index__highlight {
  color: #FFD700;
}

.page-index__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0A0A0A;
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  transform: translateY(-2px);
}

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A0A0A;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
}

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

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  z-index: 2;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  color: #f5f5f5;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-index__hero-buttons .page-index__btn {
  margin: 0 10px;
}

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

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

.page-index__feature-item {
  text-align: center;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__feature-text {
  font-size: 1em;
  color: #BBBBBB;
}

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

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

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

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

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.page-index__game-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 0 10px 0;
  padding: 0 15px;
}

.page-index__game-text {
  font-size: 0.95em;
  color: #BBBBBB;
  padding: 0 15px 20px 15px;
}

.page-index__game-card .page-index__btn {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

.page-index__promo-card {
  background-color: #0A0A0A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #333;
}

.page-index__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

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

.page-index__promo-text {
  font-size: 0.95em;
  color: #BBBBBB;
  padding: 0 15px 20px 15px;
}

.page-index__promo-card .page-index__btn {
  margin-bottom: 20px;
}

.page-index__cta-full-width {
  text-align: center;
  margin-top: 60px;
}

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

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

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

.page-index__app-text-content .page-index__section-title,
.page-index__app-text-content .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-index__app-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  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.5);
}

/* Why Choose Section */
.page-index__why-choose-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

.page-index__benefit-item {
  text-align: center;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}

.page-index__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__benefit-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__benefit-text {
  font-size: 1em;
  color: #BBBBBB;
}

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

.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: #1A1A1A;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

.page-index__detail-text {
  font-size: 0.95em;
  color: #BBBBBB;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__detail-card .page-index__btn {
  align-self: flex-start;
}

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

.page-index__cta-section .page-index__section-title {
  font-size: 3em;
}

.page-index__cta-section .page-index__section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-subtitle {
    font-size: 1.3em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__cta-section .page-index__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    height: 60vh;
    min-height: 400px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index__hero-buttons .page-index__btn {
    margin: 10px 0;
    display: block;
    width: 80%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 1em;
  }
  .page-index__app-content {
    flex-direction: column;
  }
  .page-index__app-text-content,
  .page-index__app-image-wrapper {
    max-width: 100%;
    text-align: center;
  }
  .page-index__app-text-content .page-index__section-title,
  .page-index__app-text-content .page-index__section-description {
    text-align: center;
  }
  .page-index__app-features-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__cta-section .page-index__section-title {
    font-size: 2em;
  }
  .page-index__btn--large {
    font-size: 1em;
    padding: 15px 30px;
  }
}