.page-index {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold main color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__sub-section-title {
  font-size: 2em;
  color: #FFD700; /* Gold main color for subtitles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-index__section-description {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-index__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A1A1A; /* Dark text */
}

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

.page-index__btn--secondary {
  background-color: #1A1A1A; /* Dark */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

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

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

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

.page-index__btn--small {
  padding: 8px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  background-color: #FFD700;
  color: #1A1A1A;
}

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

/* Hero Section */
.page-index__hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 60px;
  background-color: #1A1A1A; /* Fallback for image loading */
}

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

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
}

.page-index__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-index__about-content {
  text-align: left;
}

.page-index__about-image-wrapper {
  text-align: center;
}

.page-index__about-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-index__game-card {
  background-color: #1A1A1A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-index__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-index__game-card .page-index__btn--small {
  margin: 0 15px 20px;
}

.page-index__all-games-action {
  text-align: center;
  margin-top: 60px;
}

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

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

.page-index__promo-card {
  background-color: #1A1A1A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-index__promo-card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-index__promo-card .page-index__btn--small {
  margin: 0 15px 20px;
}

.page-index__all-promos-action {
  text-align: center;
  margin-top: 60px;
}

/* Deep Content Section */
.page-index__deep-content-section {
  padding: 80px 0;
}

.page-index__deep-content-section .page-index__paragraph {
  margin-bottom: 25px;
}

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

.page-index__security-feature {
  background-color: #1A1A1A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__security-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index__feature-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
}

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

.page-index__mobile-feature-item {
  background-color: #1A1A1A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__mobile-feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

/* Featured Articles Section */
.page-index__featured-articles-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-index__article-card {
  background-color: #1A1A1A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index__article-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index__article-card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 15px 10px;
  font-weight: 700;
  line-height: 1.3;
}

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

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

.page-index__article-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-index__article-card .page-index__btn--small {
  margin: 0 15px 20px;
}

.page-index__all-articles-action {
  text-align: center;
  margin-top: 60px;
}

/* Call to Action Section */
.page-index__cta-section {
  background-color: #FFD700; /* Gold background for high contrast CTA */
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-title {
  font-size: 3em;
  color: #1A1A1A;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-index__cta-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-index__cta-section .page-index__btn--primary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #1A1A1A;
  margin: 0 10px;
}

.page-index__cta-section .page-index__btn--primary:hover {
  background-color: #333333;
  color: #ffe680;
}

.page-index__cta-section .page-index__btn--secondary {
  background-color: #FF4500; /* Accent Red */
  color: #ffffff;
  border: 2px solid #FF4500;
  margin: 0 10px;
}

.page-index__cta-section .page-index__btn--secondary:hover {
  background-color: #cc3700;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3.5em;
  }

  .page-index__hero-description {
    font-size: 1.3em;
  }

  .page-index__section-title {
    font-size: 2.2em;
  }

  .page-index__sub-section-title {
    font-size: 1.8em;
  }

  .page-index__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 80px);
  }

  .page-index__hero-section {
    height: auto;
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-index__hero-content {
    padding: 15px;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-index__about-grid {
    grid-template-columns: 1fr;
  }

  .page-index__about-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-index__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-index__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index__sub-section-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-index__games-grid, .page-index__promotions-grid, .page-index__security-grid, .page-index__mobile-features, .page-index__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__game-card-image, .page-index__promo-card-image, .page-index__security-image, .page-index__mobile-feature-image, .page-index__article-card-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and not fixed small size */
    min-width: 200px; 
    min-height: 200px;
  }

  .page-index__cta-title {
    font-size: 2em;
  }

  .page-index__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-index__cta-section .page-index__btn--primary, .page-index__cta-section .page-index__btn--secondary {
    margin: 10px 0;
    width: 100%;
  }

  /* Ensure all content img elements are responsive and not smaller than 200px */
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-description {
    font-size: 0.95em;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__sub-section-title {
    font-size: 1.3em;
  }

  .page-index__cta-title {
    font-size: 1.8em;
  }
}