.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold */
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C61F1F; /* Primary Color */
  border-radius: 2px;
}

.page-index__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__text-center {
  text-align: center;
}

/* 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;
  background-color: #140C0C;
  overflow: hidden;
}

.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;
  position: relative;
  z-index: 1;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index__main-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-index__btn-secondary {
  background: #C61F1F; /* Primary Color */
  border: 2px solid #F3C54D; /* Gold */
}

.page-index__btn-secondary:hover {
  background: #E53030; /* Auxiliary Color */
}

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

.page-index__intro-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-index__intro-features li {
  background-color: #2A1212; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 17px;
  display: flex;
  align-items: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-index__feature-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #F3C54D; /* Gold */
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

.page-index__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.page-index__button-group .page-index__cta-button {
  padding: 12px 25px;
  font-size: 16px;
  min-width: 200px;
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

.page-index__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #6A1E1E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__game-card .page-index__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-card .page-index__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-index__game-card .page-index__card-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px;
  margin-bottom: 20px;
  min-height: 75px; /* Ensure consistent height for descriptions */
}

.page-index__game-card .page-index__card-link {
  display: inline-block;
  padding: 10px 25px;
  background: #C61F1F; /* Primary Color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__game-card .page-index__card-link:hover {
  background-color: #E53030; /* Auxiliary Color */
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

.page-index__promo-item {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-index__promo-item img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__promo-item .page-index__promo-title {
  font-size: 20px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-item .page-index__promo-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px;
  margin-bottom: 20px;
  min-height: 60px;
}

.page-index__promo-item .page-index__promo-link {
  display: inline-block;
  padding: 10px 25px;
  background: #C61F1F; /* Primary Color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__promo-item .page-index__promo-link:hover {
  background-color: #E53030; /* Auxiliary Color */
}

/* Security & Support Section */
.page-index__security-support-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

.page-index__feature-item {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-index__feature-item img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__feature-item .page-index__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__feature-item .page-index__feature-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px;
  min-height: 60px;
}

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

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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;
  color: #F3C54D; /* Gold */
}

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: #7E0D0D; /* Deep Red */
}

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

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-index__faq-toggle {
  transform: rotate(45deg);
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-top: 1px solid #6A1E1E;
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
  font-size: 16px;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

.page-index__blog-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  padding-bottom: 20px;
  border: 1px solid #6A1E1E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__blog-card .page-index__card-title {
  font-size: 20px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 8px;
  padding: 0 15px;
}

.page-index__blog-card .page-index__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-index__blog-card .page-index__card-meta {
  font-size: 14px;
  color: #FFF1E8;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__blog-card .page-index__card-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px;
  margin-bottom: 20px;
  min-height: 60px;
}

.page-index__blog-card .page-index__card-link {
  display: inline-block;
  padding: 10px 25px;
  background: #C61F1F; /* Primary Color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__blog-card .page-index__card-link:hover {
  background-color: #E53030; /* Auxiliary Color */
}

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

/* Global Image & Button Responsive Styles */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-index__cta-group,
.page-index__button-group,
.page-index__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-index__section-title {
    font-size: 30px;
  }

  .page-index__main-title {
    font-size: clamp(28px, 5vw, 48px);
  }

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

  .page-index__game-cards,
  .page-index__promo-list,
  .page-index__security-features,
  .page-index__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@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__main-title {
    font-size: clamp(24px, 6vw, 40px);
  }

  .page-index__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

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

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

  .page-index__text-block {
    font-size: 15px;
  }

  .page-index__intro-features li {
    font-size: 15px;
    padding: 15px;
  }

  .page-index__feature-icon {
    font-size: 20px;
    margin-right: 10px;
  }

  .page-index__button-group .page-index__cta-button {
    min-width: unset;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }

  .page-index__game-card img,
  .page-index__promo-item img,
  .page-index__feature-item img,
  .page-index__blog-card img {
    
  }

  .page-index__game-card .page-index__card-title,
  .page-index__promo-item .page-index__promo-title,
  .page-index__feature-item .page-index__feature-title,
  .page-index__blog-card .page-index__card-title {
    font-size: 18px;
  }

  .page-index__game-card .page-index__card-description,
  .page-index__promo-item .page-index__promo-description,
  .page-index__feature-item .page-index__feature-description,
  .page-index__blog-card .page-index__card-description {
    font-size: 14px;
    min-height: unset;
  }

  .page-index__game-card .page-index__card-link,
  .page-index__promo-item .page-index__promo-link,
  .page-index__blog-card .page-index__card-link {
    padding: 8px 20px;
    font-size: 14px;
  }

  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: 24px;
  }

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

  .page-index__blog-list {
    gap: 20px;
  }

  /* Force responsive for all images and buttons */
  .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__game-card,
  .page-index__promo-item,
  .page-index__feature-item,
  .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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-group,
  .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;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
  }
}