.page-index {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}

.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-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index__hero-content {
  padding: 60px 20px;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0;
}

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

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

.page-index__btn--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-index__btn--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-index__btn--download {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__about-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-index__about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-index__about-text p {
  margin-bottom: 20px;
}

.page-index__about-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index__games-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__game-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

.page-index__game-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-index__game-title a:hover {
  color: #FCBC45;
}

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

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #FCBC45;
  color: #000000;
}

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

.page-index__promotions-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-index__promotions-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-index__promotion-content {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-index__promotion-content p {
  margin-bottom: 20px;
}

.page-index__btn--promo {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-index__btn--promo:hover {
  background-color: #1a1a1a;
}

.page-index__promotion-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index__latest-promotions {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-index__sub-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

.page-index__detail-card {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index__detail-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  color: #FCBC45;
}

.page-index__detail-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-index__btn--view-details {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index__btn--view-details:hover {
  background-color: #333333;
}

.page-index__why-choose-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__feature-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-index__responsible-gaming-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__responsible-gaming-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index__responsible-gaming-text {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-index__responsible-gaming-text p {
  margin-bottom: 20px;
}

.page-index__btn--responsible {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-index__btn--responsible:hover {
  background-color: #333333;
}

.page-index__cta-section {
  padding: 100px 0;
  background: linear-gradient(45deg, #000000, #333333);
  color: #FFFFFF;
  text-align: center;
}

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

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__cta-description {
  font-size: 1.4em;
  margin-bottom: 50px;
  color: #E0E0E0;
}

.page-index__cta-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-index__btn--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-index__btn--register-large:hover {
  background-color: #E6A83C;
}

.page-index__btn--login-large {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-index__btn--login-large:hover {
  background-color: #F0F0F0;
}

@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-content, .page-index__promotions-grid, .page-index__responsible-gaming-content {
    flex-direction: column;
  }
  .page-index__about-image, .page-index__promotion-image, .page-index__responsible-gaming-image {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }
  .page-index__games-section img, .page-index__promotions-grid img, .page-index__why-choose-section img, .page-index__responsible-gaming-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1.1em;
  }
  .page-index__game-categories {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
  .page-index__cta-description {
    font-size: 1.2em;
  }
  .page-index__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--register-large, .page-index__btn--login-large {
    width: 80%;
    max-width: 300px;
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-index__games-section img, .page-index__promotions-grid img, .page-index__why-choose-section img, .page-index__responsible-gaming-section img {
    max-width: 100%;
    height: auto;
  }
  .page-index__about-image, .page-index__promotion-image, .page-index__responsible-gaming-image {
    width: 100%;
    height: auto;
  }
  .page-index__feature-icon {
    width: 200px;
    height: auto;
  }
  .page-index__hero-section img,
  .page-index__about-section img,
  .page-index__games-section img,
  .page-index__promotions-section img,
  .page-index__why-choose-section img,
  .page-index__responsible-gaming-section img,
  .page-index__cta-section img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@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.6em;
  }
  .page-index__btn {
    width: 90%;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
  .page-index__btn--register-large, .page-index__btn--login-large {
    width: 90%;
  }
}