.page-index {
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index__main-heading,
.page-index__section-heading {
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  /* H1 font-size: Use clamp for responsiveness, avoid fixed large values */
  font-size: clamp(28px, 4vw, 48px);
}

.page-index__section-description,
.page-index__description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-index__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Main color */
  border: 2px solid #FF8C1A;
}

.page-index__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-index__btn-text {
  background: transparent;
  color: #FF8C1A;
  border: 1px solid #FF8C1A;
  padding: 8px 15px;
  font-size: 14px;
}

.page-index__btn-text:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.page-index__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-index__hero-image {
  width: 100%;
  margin: 0;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section */
.page-index__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #0D0E12; /* Background */
  box-sizing: border-box;
}

.page-index__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 20px;
}

.page-index__products-grid {
  display: grid;
  gap: 20px;
}

.page-index__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index__product-card {
  width: 100%;
  max-width: 300px; /* Max width for product cards */
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.page-index__product-card:hover {
  transform: translateY(-3px);
}

.page-index__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__product-card-image {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
}

.page-index__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Preserve aspect ratio */
  display: block;
}

/* Introduction Section */
.page-index__introduction-section {
  padding: 80px 20px;
  background: #17191F; /* Card BG */
  text-align: center;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 20px;
  background: #0D0E12; /* Background */
}

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

.page-index__quick-link-card {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-decoration: none;
  color: #FFF3E6; /* Text Main */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
}

.page-index__quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 140, 26, 0.2);
}

.page-index__quick-link-card h3 {
  color: #FFA53A; /* Auxiliary color */
  margin-top: 0;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index__quick-link-card p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 0;
}

/* Games Section */
.page-index__games-section {
  padding: 80px 20px;
  background: #17191F; /* Card BG */
}

.page-index__games-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px; /* For scrollbar visibility */
  scrollbar-width: thin;
  scrollbar-color: #FF8C1A #17191F;
}

.page-index__games-carousel::-webkit-scrollbar {
  height: 8px;
}

.page-index__games-carousel::-webkit-scrollbar-track {
  background: #17191F;
}

.page-index__games-carousel::-webkit-scrollbar-thumb {
  background-color: #FF8C1A;
  border-radius: 10px;
  border: 2px solid #17191F;
}

.page-index__game-card {
  flex: 0 0 300px;
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

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

.page-index__game-card h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 20px;
  margin: 0 15px 10px;
}

.page-index__game-card p {
  color: #FFF3E6;
  font-size: 15px;
  margin: 0 15px 20px;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 20px;
  background: #0D0E12; /* Background */
}

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

.page-index__promo-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 140, 26, 0.2);
}

.page-index__promo-card h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index__promo-card p {
  color: #FFF3E6;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-index__security-support-section {
  padding: 80px 20px;
  background: #17191F; /* Card BG */
}

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

.page-index__info-card {
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-index__info-card img {
  
  
  object-fit: contain;
  margin: 0 auto 20px;
}

.page-index__info-card h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index__info-card p {
  color: #FFF3E6;
  font-size: 15px;
  margin-bottom: 0;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background: #0D0E12; /* Background */
}

.page-index__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index__faq-item summary.page-index__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Light hover effect */
}
.page-index__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A; /* Auxiliary color */
}
.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 140, 26, 0.05); /* Lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 20px;
  background: #17191F; /* Card BG */
}

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

.page-index__blog-card {
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 140, 26, 0.2);
}

.page-index__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index__blog-card h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 20px;
  margin: 15px 15px 10px;
}

.page-index__blog-card p {
  color: #FFF3E6;
  font-size: 15px;
  margin: 0 15px 15px;
}

.page-index__blog-date {
  display: block;
  color: #A84F0C; /* Border color */
  font-size: 13px;
  margin: 0 15px 15px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index__products-container {
    grid-template-columns: 1fr; /* Stack products grids vertically */
  }

  .page-index__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__games-carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-index__game-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 10px !important;
  }

  .page-index__container {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__main-heading,
  .page-index__section-heading {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

  .page-index__section-description,
  .page-index__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Products Section - Mobile */
  .page-index__products-section {
    padding: 40px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .page-index__products-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .page-index__products-grid--small {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__products-grid--small .page-index__product-card,
  .page-index__products-grid--small .page-index__product-card-image {
    max-width: 100% !important;
  }

  .page-index__products-grid--small .page-index__product-card-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__products-grid--large {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__products-grid--large .page-index__product-card,
  .page-index__products-grid--large .page-index__product-card-image {
    max-width: 100% !important;
  }

  .page-index__products-grid--large .page-index__product-card-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Images - Mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Buttons - Mobile */
  .page-index__cta-button,
  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index a[class*="button"],
  .page-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* Quick Access Section - Mobile */
  .page-index__quick-access-section {
    padding: 40px 15px;
  }

  .page-index__links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .page-index__games-carousel {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__game-card {
    flex: 0 0 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  /* Promotions Section - Mobile */
  .page-index__promotions-section {
    padding: 40px 15px;
  }

  .page-index__promo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Security & Support Section - Mobile */
  .page-index__security-support-section {
    padding: 40px 15px;
  }

  .page-index__info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* FAQ Section - Mobile */
  .page-index__faq-section {
    padding: 40px 15px;
  }

  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px !important;
  }

  .page-index__faq-qtext {
    font-size: 16px !important;
  }

  .page-index__faq-toggle {
    font-size: 20px !important;
    width: 24px !important;
    height: 24px !important;
    margin-left: 10px !important;
  }

  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 15px 15px !important;
  }

  /* Blog Section - Mobile */
  .page-index__blog-section {
    padding: 40px 15px;
  }

  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}