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

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2F6BFF, #6FA3FF);
  border-radius: 2px;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
}

.page-index__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* 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, body handles header offset */
  background-color: #F4F7FB;
}

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

.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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-index__hero-content h1 {
  font-size: 48px;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__hero-content p {
  font-size: 20px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-index__intro-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

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

.page-index__intro-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-index__intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-index__intro-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__intro-item h3 {
  font-size: 24px;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-index__intro-item p {
  font-size: 16px;
  color: #555555;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

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

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

.page-index__quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-index__access-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-index__access-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-index__access-card p {
  font-size: 15px;
  color: #f0f0f0;
}

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

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

.page-index__game-tab {
  background: #E0E0E0;
  color: #1F2D3D;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-index__game-tab:hover {
  background: #D0D0D0;
}

.page-index__game-tab.active {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-index__game-tab.active:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-index__game-panel {
  display: none;
  text-align: center;
}

.page-index__game-panel.active {
  display: block;
}

.page-index__game-panel img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-panel h3 {
  font-size: 32px;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-index__game-panel p {
  font-size: 18px;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
}

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

.page-index__promotions-section .page-index__section-title::after {
  background: #ffffff;
}

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

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promo-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-index__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
}

.page-index__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Security & Support Section */
.page-index__security-support-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

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

.page-index__security-support-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-index__security-support-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-index__security-support-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__security-support-item h3 {
  font-size: 24px;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-index__security-support-item p {
  font-size: 16px;
  color: #555555;
}

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

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
  font-weight: 600;
}

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: #F0F5FF;
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 25px;
  background: #F9F9F9;
  border-top: 1px solid #D6E2FF;
  border-radius: 0 0 12px 12px;
}

details.page-index__faq-item .page-index__faq-answer p {
  font-size: 16px;
  color: #555555;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.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: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-index__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-index__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index__blog-card h3 {
  font-size: 20px;
  color: #1F2D3D;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-index__blog-card h3 a {
  color: #1F2D3D;
  text-decoration: none;
}

.page-index__blog-card h3 a:hover {
  color: #2F6BFF;
}

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

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

/* All images responsive styles */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Button specific responsive styles */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container responsive styles */
.page-index__game-tabs,
.page-index__view-all-promos,
.page-index__contact-us,
.page-index__view-all-posts {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-index__container {
    padding: 0 15px;
  }

  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-index__hero-content h1 {
    font-size: 32px;
  }

  .page-index__hero-content p {
    font-size: 16px;
  }

  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-index__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .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: 50px 0;
  }

  .page-index__intro-item,
  .page-index__access-card,
  .page-index__promo-card,
  .page-index__security-support-item,
  .page-index__blog-card {
    padding: 20px;
  }

  .page-index__intro-item h3,
  .page-index__access-card h3,
  .page-index__promo-card h3,
  .page-index__security-support-item h3 {
    font-size: 20px;
  }

  .page-index__game-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__game-tab {
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-index__game-panel h3 {
    font-size: 26px;
  }

  .page-index__game-panel p {
    font-size: 16px;
  }

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

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

  .page-index__faq-toggle {
    font-size: 24px;
  }

  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 20px 20px;
  }

  .page-index__blog-card img {
    
  }

  .page-index__blog-card h3 {
    font-size: 18px;
    margin: 15px 15px 8px 15px;
  }

  .page-index__blog-card p {
    font-size: 14px;
    margin: 0 15px 12px 15px;
  }

  /* Force responsive for images */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__hero-section,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Force responsive for buttons */
  .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__game-tabs,
  .page-index__view-all-promos,
  .page-index__contact-us,
  .page-index__view-all-posts {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}