.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: #FFFFFF; /* Default body background */
}

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

.page-index__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: #f0f8ff; /* Light background for hero section */
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index__hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.page-index__hero-content p {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button--primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index__cta-button--primary:hover {
  background: darken(#EA7C07, 10%);
  border-color: darken(#EA7C07, 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index__cta-button--secondary:hover {
  background: darken(#26A9E0, 10%);
  border-color: darken(#26A9E0, 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-index__introduction-section {
  padding: 60px 0;
}

.page-index__introduction-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #555555;
}

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

.page-index__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index__feature-item h3 {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__feature-item p {
  font-size: 0.95rem;
  color: #666666;
  text-align: center;
  margin-bottom: 0;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 60px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-index__quick-access-section .page-index__section-title {
  color: #ffffff;
}

.page-index__quick-access-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

.page-index__link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index__link-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.page-index__link-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index__link-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-index__link-card p {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 0;
}

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

.page-index__games-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #555555;
}

.page-index__tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-index__tab-button {
  background: #f0f0f0;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  color: #555555;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-index__tab-button--active,
.page-index__tab-button:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-index__tab-content {
  display: none;
}

.page-index__tab-content--active {
  display: block;
}

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

.page-index__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-index__game-card h3 {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-card p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-index__btn-primary:hover {
  background: darken(#26A9E0, 10%);
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background: #f0f8ff;
}

.page-index__promotions-section .page-index__section-title {
  color: #26A9E0;
}

.page-index__promotions-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #555555;
}

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

.page-index__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__promotion-card img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index__promotion-card h3 {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promotion-card p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

/* Security & Support Section */
.page-index__security-support-section {
  padding: 60px 0;
}

.page-index__security-support-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #555555;
}

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

.page-index__security-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__security-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index__security-item h3 {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__security-item p {
  font-size: 0.95rem;
  color: #666666;
  text-align: center;
  margin-bottom: 0;
}

.page-index__contact-info {
  margin-top: 60px;
  text-align: center;
  font-size: 1.1rem;
  color: #333333;
}

.page-index__contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: inline-block;
  text-align: left;
}

.page-index__contact-info li {
  margin-bottom: 10px;
}

.page-index__contact-info li strong {
  color: #26A9E0;
}

.page-index__contact-info a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-index__contact-info a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 60px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-index__faq-section .page-index__section-title {
  color: #ffffff;
}

.page-index__faq-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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, 255, 255, 0.2);
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  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(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
  font-size: 1rem;
}

.page-index__faq-answer p {
  text-align: left;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-index__faq-answer a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

.page-index__faq-answer a:hover {
  color: #f0f0f0;
}

/* Blog Section */
.page-index__blog-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.page-index__blog-section .page-index__section-title {
  color: #26A9E0;
}

.page-index__blog-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  color: #555555;
}

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

.page-index__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-index__blog-card-content h3 {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__blog-card-content p {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 15px;
  text-align: left;
}

.page-index__blog-date {
  font-size: 0.85rem;
  color: #999999;
  display: block;
  text-align: left;
}

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

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

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

  .page-index__hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-index__hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-index__introduction-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 0;
  }

  .page-index__introduction-section p,
  .page-index__quick-access-section p,
  .page-index__games-section p,
  .page-index__promotions-section p,
  .page-index__security-support-section p,
  .page-index__faq-section p,
  .page-index__blog-section p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-index__features-grid,
  .page-index__links-grid,
  .page-index__game-grid,
  .page-index__promotions-grid,
  .page-index__security-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-index__feature-item img,
  .page-index__link-card img,
  .page-index__game-card img,
  .page-index__promotion-card img,
  .page-index__security-item img,
  .page-index__blog-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index__tab-buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }

  .page-index__tab-button {
    width: 100%;
    font-size: 0.95rem;
  }

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

  .page-index__contact-info ul {
    text-align: center;
  }
}

/* Ensure all images meet min size requirement */
.page-index img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%; /* Default responsive */
  height: auto; /* Default responsive */
}

/* Override for specific image sizes if needed, but ensure min 200px */
.page-index__feature-item img,
.page-index__link-card img,
.page-index__security-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.page-index__game-card img,
.page-index__promotion-card img,
.page-index__blog-card img {
  height: 200px;
  object-fit: cover;
}