.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: var(--background-color, #F4F7FB); /* Background */
}

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

.page-index__section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #FFFFFF; /* White text for contrast */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Assuming shared.css sets 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: var(--background-color, #F4F7FB);
}

.page-index__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small cards, 2 large cards */
  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 each card */
  border-radius: 0; /* No border-radius */
  overflow: hidden;
  background: transparent;
  box-shadow: none; /* No box-shadow */
  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; /* Max width for image container */
  overflow: hidden;
}

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

/* Intro Section */
.page-index__intro-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-index__feature-item {
  text-align: center;
  background: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-index__feature-item h3 {
  font-size: 20px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
}

.page-index__feature-item p {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 20px;
  background: #2F6BFF; /* Main color as dark background */
  color: #FFFFFF; /* White text for contrast */
}

.page-index__quick-access-section .page-index__section-title,
.page-index__quick-access-section .page-index__description {
  color: #FFFFFF;
}

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

.page-index__quick-link-card {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__quick-link-card:hover {
  opacity: 0.9;
  transform: translateY(-5px);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-index__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #D6E2FF; /* Border */
  text-align: center;
  padding-bottom: 25px;
}

.page-index__game-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__game-card h3 {
  font-size: 22px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-card p {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index__game-btn {
  margin-top: 10px;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 20px;
  background: #2F6BFF; /* Main color as dark background */
  color: #FFFFFF; /* White text for contrast */
}

.page-index__promotions-section .page-index__section-title,
.page-index__promotions-section .page-index__description {
  color: #FFFFFF;
}

.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: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #D6E2FF; /* Border */
  text-align: center;
  padding-bottom: 25px;
}

.page-index__promo-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__promo-card h3 {
  font-size: 22px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index__promo-btn {
  margin-top: 10px;
}

.page-index__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Security & Support Section */
.page-index__security-support-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-index__security-item {
  text-align: center;
  background: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-index__security-item img {
  width: 200px;
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-index__security-item h3 {
  font-size: 20px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
}

.page-index__security-item p {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-index__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.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 #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* 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: #f5f5f5;
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* 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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-index__blog-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-index__blog-content {
  padding: 20px;
}

.page-index__blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index__blog-content h3 a {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-content h3 a:hover {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-index__blog-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.page-index__blog-content p {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-index__blog-readmore {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.page-index__blog-readmore:hover {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-index__view-all-posts {
  text-align: center;
  margin-top: 50px;
}

/* General image responsiveness */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles for tablets (1024px) */
@media (max-width: 1024px) {
  .page-index__container {
    padding: 15px;
  }

  .page-index__section-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .page-index__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-index__products-container {
    grid-template-columns: 1fr; /* Stack products grids vertically */
    gap: 15px;
  }

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

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

  .page-index__intro-section,
  .page-index__quick-access-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-support-section,
  .page-index__faq-section,
  .page-index__blog-section {
    padding: 60px 15px;
  }

  .page-index__intro-features,
  .page-index__quick-links-grid,
  .page-index__games-grid,
  .page-index__promotions-grid,
  .page-index__security-support-grid,
  .page-index__blog-grid {
    gap: 20px;
  }
}

/* Responsive styles for mobile (768px) */
@media (max-width: 768px) {
  /* HERO Section */
  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-index__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Products Section */
  .page-index__products-section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .page-index__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .page-index__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-index__products-grid--small .page-index__product-card,
  .page-index__products-grid--small .page-index__product-card-image {
    max-width: 100%; /* Allow cards to fill grid column */
  }
  
  .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;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-index__products-grid--large .page-index__product-card,
  .page-index__products-grid--large .page-index__product-card-image {
    max-width: 100%; /* Allow cards to fill grid column */
  }
  
  .page-index__products-grid--large .page-index__product-card-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Image & Container */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section,
  .page-index__card,
  .page-index__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons & Button Containers */
  .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;
    padding-right: 15px;
  }
  
  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__btn-container,
  .page-index__quick-links-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for quick links */
  }

  /* Other Content Modules */
  .page-index__section-title {
    font-size: 24px;
  }

  .page-index__description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .page-index__intro-section,
  .page-index__quick-access-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-support-section,
  .page-index__faq-section,
  .page-index__blog-section {
    padding: 40px 15px;
  }

  .page-index__intro-features,
  .page-index__games-grid,
  .page-index__promotions-grid,
  .page-index__security-support-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-index__feature-item,
  .page-index__game-card,
  .page-index__promo-card,
  .page-index__security-item,
  .page-index__blog-card {
    padding: 20px;
  }

  .page-index__feature-item h3,
  .page-index__game-card h3,
  .page-index__promo-card h3,
  .page-index__security-item h3,
  .page-index__blog-content h3 {
    font-size: 18px;
  }

  .page-index__feature-item p,
  .page-index__game-card p,
  .page-index__promo-card p,
  .page-index__security-item p,
  .page-index__blog-content p {
    font-size: 14px;
  }

  details.page-index__faq-item summary.page-index__faq-question { padding: 15px; }
  .page-index__faq-qtext { font-size: 15px; }
  details.page-index__faq-item .page-index__faq-answer { padding: 0 15px 15px; }

  .page-index__view-all-promos, .page-index__view-all-posts {
    margin-top: 30px;
  }

  .page-index__quick-link-card {
    font-size: 16px;
    min-height: 80px;
  }
}