/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light gray for general text on dark background */
  background-color: #1a1a1a; /* Very dark gray for overall background */
  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; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: #8B0000; /* Burgundy Red */
  color: #f0f0f0; /* Light text for red button */
  border: 2px solid #8B0000;
}

.page-index__btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

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

.page-index__btn--tertiary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.page-index__btn--link {
  color: #FFD700;
  text-decoration: underline;
  padding: 0;
  border: none;
  background: none;
  font-weight: normal;
}

.page-index__btn--link:hover {
  color: #e6c200;
  text-decoration: none;
  transform: none;
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #330000 50%, #1a1a1a 100%);
  padding: 80px 0;
  text-align: center;
  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.4);
  z-index: 1;
}

.page-index__hero-section > .page-index__container {
  position: relative;
  z-index: 2;
}

.page-index__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
}

/* About Section */
.page-index__about-section,
.page-index__game-categories-section,
.page-index__promotions-section,
.page-index__app-section,
.page-index__security-section,
.page-index__detail-pages-section,
.page-index__cta-section {
  padding: 80px 0;
  background-color: #222222; /* Slightly lighter dark gray for content sections */
  margin-bottom: 20px;
}

.page-index__about-grid,
.page-index__promo-grid,
.page-index__app-grid,
.page-index__security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__about-content p,
.page-index__promo-content p,
.page-index__app-content p,
.page-index__security-content p {
  margin-bottom: 15px;
  color: #cccccc;
}

.page-index__about-content ul,
.page-index__promo-content ul,
.page-index__app-content ul,
.page-index__security-content ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-index__about-content li,
.page-index__promo-content li,
.page-index__app-content li,
.page-index__security-content li {
  margin-bottom: 8px;
  color: #cccccc;
}

.page-index__about-image,
.page-index__promo-image,
.page-index__app-image,
.page-index__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index__game-card {
  background-color: #333333; /* Darker gray for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

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

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

.page-index__game-text {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.page-index__promo-content h2,
.page-index__app-content h2,
.page-index__security-content h2 {
  color: #FFD700;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-index__promo-content ul li strong {
  color: #FFD700;
}

/* Mobile App Section */
.page-index__app-section {
  background-color: #222222;
}

/* Security Section */
.page-index__security-section {
  background-color: #1a1a1a;
}

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

.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: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-index__detail-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-index__detail-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta-section {
  background: linear-gradient(90deg, #8B0000, #FFD700);
  padding: 60px 0;
  text-align: center;
  color: #1a1a1a; /* Dark text for bright background */
}

.page-index__cta-title {
  font-size: 2.8em;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.page-index__cta-description {
  font-size: 1.2em;
  color: #333333;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-index__cta-buttons .page-index__btn {
  border: 2px solid #1a1a1a;
}

.page-index__cta-buttons .page-index__btn--primary {
  background-color: #1a1a1a;
  color: #FFD700;
}

.page-index__cta-buttons .page-index__btn--primary:hover {
  background-color: #333333;
  color: #e6c200;
}

.page-index__cta-buttons .page-index__btn--secondary {
  background-color: transparent;
  color: #1a1a1a;
}

.page-index__cta-buttons .page-index__btn--secondary:hover {
  background-color: #1a1a1a;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__about-grid,
  .page-index__promo-grid,
  .page-index__app-grid,
  .page-index__security-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-image, .page-index__app-image, .page-index__security-image {
    order: -1; /* Image on top for smaller screens */
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section,
  .page-index__about-section,
  .page-index__game-categories-section,
  .page-index__promotions-section,
  .page-index__app-section,
  .page-index__security-section,
  .page-index__detail-pages-section,
  .page-index__cta-section {
    padding: 60px 0;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__game-grid,
  .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__btn {
    width: 90%;
  }
  .page-index__game-title {
    font-size: 1.5em;
  }
  .page-index__detail-title {
    font-size: 1.3em;
  }
  .page-index__cta-title {
    font-size: 1.5em;
  }
}