.page-index {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

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

.page-index__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__highlight {
  color: #017439;
  font-weight: bold;
}

/* 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 for hero section */
  background: linear-gradient(135deg, #017439, #028a45);
  color: #ffffff;
}

.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%; /* Ensure it takes full width within max-width */
}

.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.3);
}

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

.page-index__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index__cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: #C30808; /* Use custom color for CTA */
  color: #FFFF00; /* Use custom font color for CTA */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index__cta-button:hover {
  background: #e02f2f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-index__feature-item {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 12px;
  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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__feature-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-item h3 {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

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

/* Quick Access Section */
.page-index__quick-access {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-index__quick-access .page-index__section-title::after {
  background-color: #FFFFFF;
}

.page-index__quick-access .page-index__text-block {
  color: #f0f0f0;
}

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

.page-index__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #C30808; /* Use custom color for button */
  color: #FFFF00; /* Use custom font color for button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__btn-primary:hover {
  background: #e02f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Games Showcase Section */
.page-index__games-showcase {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-index__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index__game-card h3 {
  font-size: 22px;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-index__game-card h3 a {
  color: #017439;
  text-decoration: none;
}

.page-index__game-card h3 a:hover {
  text-decoration: underline;
}

.page-index__game-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 15px 20px;
}

.page-index__card-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index__card-link:hover {
  background-color: #028a45;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

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

.page-index__promotions-section .page-index__text-block {
  color: #f0f0f0;
}

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

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #ffffff;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__promo-card h3 {
  font-size: 22px;
  color: #FFFFFF;
  margin: 20px 15px 10px;
}

.page-index__promo-card h3 a {
  color: #FFFFFF;
  text-decoration: none;
}

.page-index__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-index__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

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

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

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

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

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

.page-index__info-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__info-item h3 {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

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

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

.page-index__faq-list {
  margin-top: 50px;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px 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;
}

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

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

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

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-top: 1px solid #eeeeee;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
}

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

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

.page-index__blog-section .page-index__section-title::after {
  background-color: #FFFFFF;
}

.page-index__blog-section .page-index__text-block {
  color: #f0f0f0;
}

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

.page-index__blog-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #ffffff;
}

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

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

.page-index__blog-card h3 {
  font-size: 22px;
  color: #FFFFFF;
  margin: 20px 15px 10px;
}

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

.page-index__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-index__blog-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__section-title {
    font-size: 32px;
  }
  .page-index__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-index__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__hero-image img {
    border-radius: 8px;
  }
  .page-index__cta-button {
    padding: 14px 30px;
    font-size: 18px;
  }

  .page-index__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-index__text-block {
    font-size: 16px;
  }
  .page-index__intro-section, .page-index__quick-access, .page-index__games-showcase, .page-index__promotions-section, .page-index__security-support, .page-index__faq-section, .page-index__blog-section {
    padding: 60px 0;
  }

  .page-index__feature-item, .page-index__game-card, .page-index__promo-card, .page-index__info-item, .page-index__blog-card {
    margin-bottom: 20px;
  }

  .page-index__access-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn-primary {
    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;
  }

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

  /* General image and container responsive styles */
  .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-container, .page-index__features-grid, .page-index__game-cards-grid, .page-index__promo-grid, .page-index__info-grid, .page-index__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-index__hero-description {
    font-size: 16px;
  }
  .page-index__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-index__section-title {
    font-size: 24px;
  }
  .page-index__text-block {
    font-size: 15px;
  }
  .page-index__feature-item h3, .page-index__game-card h3, .page-index__promo-card h3, .page-index__info-item h3, .page-index__blog-card h3 {
    font-size: 20px;
  }
}