/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E2E8F0; /* Light gray for text on dark background */
  background-color: #1A202C; /* Main dark background */
  line-height: 1.6;
}

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

.page-index__section {
  padding: 60px 0;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700;
  border-radius: 2px;
}

.page-index__section-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #CBD5E0; /* Slightly lighter gray for readability */
}

.page-index__text-center {
  text-align: center;
}

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

.page-index__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1A202C; /* Dark text on gold */
}

.page-index__button--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-index__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

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

.page-index__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index__hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.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(26, 32, 44, 0.7), rgba(26, 32, 44, 0.9));
  z-index: 2;
}

.page-index__hero .page-index__container {
  position: relative;
  z-index: 3;
  color: #E2E8F0;
}

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

.page-index__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #CBD5E0;
}

.page-index__hero-actions .page-index__button {
  margin: 0 10px;
}

/* About Section */
.page-index__about .page-index__image-inline {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Why Choose Us Section */
.page-index__why-choose-us {
  background-color: #1A202C;
}

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

.page-index__feature-item {
  background-color: #2D3748; /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

.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.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__feature-description {
  color: #CBD5E0;
  font-size: 1em;
}

/* Games Section */
.page-index__games {
  background-color: #2D3748;
}

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

.page-index__game-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

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

.page-index__game-description {
  color: #CBD5E0;
  padding: 0 15px 15px;
  font-size: 0.95em;
}

/* Promotions Section */
.page-index__promotions {
  background-color: #1A202C;
}

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

.page-index__promo-card {
  background-color: #2D3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
}

.page-index__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

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

.page-index__promo-description {
  color: #CBD5E0;
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Guides Section */
.page-index__guides {
  background-color: #2D3748;
}

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

.page-index__guide-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__guide-card:hover {
  transform: translateY(-5px);
}

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

.page-index__guide-description {
  color: #CBD5E0;
  font-size: 1em;
}

/* News & Trends Section */
.page-index__news-trends {
  background-color: #1A202C;
}

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

.page-index__article-card {
  background-color: #2D3748;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__article-card:hover {
  transform: translateY(-5px);
}

.page-index__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index__article-link {
  color: #FFD700;
  text-decoration: none;
}

.page-index__article-link:hover {
  text-decoration: underline;
}

.page-index__article-excerpt {
  color: #CBD5E0;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page-index__read-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Detail Pages Section */
.page-index__detail-pages {
  background-color: #2D3748;
}

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

.page-index__detail-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-5px);
}

.page-index__detail-title {
  font-size: 1.5em;
  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-description {
  color: #CBD5E0;
  font-size: 1em;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta {
  background: linear-gradient(135deg, #1A202C, #2D3748);
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-content {
  max-width: 900px;
}

.page-index__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index__cta-text {
  font-size: 1.3em;
  color: #CBD5E0;
  margin-bottom: 40px;
}

/* Floating Promotion Button */
.page-index__floating-promo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.page-index__floating-button {
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-index__floating-button:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: #e6c200;
}

.page-index__floating-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.page-index__floating-text {
  font-weight: bold;
  font-size: 1.1em;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .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-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__hero-actions .page-index__button {
    margin: 10px 0;
    width: 80%;
    max-width: 300px;
  }
  .page-index__section {
    padding: 40px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__features-grid, .page-index__game-categories, .page-index__promo-grid, .page-index__guide-items, .page-index__article-list, .page-index__detail-list {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-text {
    font-size: 1.1em;
  }
  .page-index__floating-promo {
    bottom: 20px;
    right: 20px;
  }
  .page-index__floating-button {
    padding: 12px 15px;
  }
  .page-index__floating-icon {
    width: 24px;
    height: 24px;
  }
  .page-index__floating-text {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-subtitle {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-text {
    font-size: 0.95em;
  }
  .page-index__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-text {
    font-size: 1em;
  }
  .page-index__floating-text {
    display: none;
  }
  .page-index__floating-button {
    padding: 10px;
    border-radius: 50%;
  }
  .page-index__floating-icon {
    margin-right: 0;
  }
}