.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  box-sizing: border-box;
}

.page-index__container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-index__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FF8C1A; /* Primary color for titles */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-access-link,
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button custom gradient */
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow on hover */
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-index__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A;
}

.page-index__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: #FFB04D; /* Glow */
  border-color: #FFB04D;
  transform: translateY(-2px);
}

/* Hero Section */
.page-index__hero-section {
  padding-top: 10px; /* Assuming body has padding-top from shared */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

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

/* Access Links Section */
.page-index__access-links-section {
  padding: 30px 0;
  background-color: #0D0E12; /* Background */
}

.page-index__access-links-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__btn-access-link {
  font-size: 1.2em;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button custom gradient */
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
  text-align: center;
}

.page-index__btn-access-link:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow on hover */
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

/* Brand Intro Section */
.page-index__brand-intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0D0E12; /* Background */
}

.page-index__brand-intro-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-index__main-title a {
  color: inherit;
  text-decoration: none;
}

.page-index__intro-text {
  font-size: 1.2em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  text-align: justify;
}

.page-index__intro-text a {
  color: #FFA53A;
  text-decoration: underline;
}

/* Category Lobby Section */
.page-index__category-lobby-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
}

.page-index__category-lobby-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__category-card {
  display: block;
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.page-index__category-card-link {
  display: block;
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.page-index__category-card-link img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.page-index__category-card-link:hover img {
  transform: scale(1.03);
}

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

.page-index__blog-slider-wrapper {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.page-index__blog-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.page-index__post-item {
  flex: 0 0 calc(33.333% - 13.333px); /* 3 items visible, 20px gap */
  scroll-snap-align: start;
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-index__post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__post-image-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-index__post-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index__post-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 140, 26, 0.8); /* Primary color with transparency */
  color: #FFF3E6;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 600;
}

.page-index__post-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow color for titles */
  padding: 15px 15px 10px;
  margin: 0;
  line-height: 1.3;
}

.page-index__post-excerpt {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 15px 15px;
  margin: 0;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 140, 26, 0.8); /* Primary color with transparency */
  color: #FFF3E6;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background-color: #FF8C1A; /* Primary color */
}

.page-index__blog-slider-prev {
  left: -10px;
}

.page-index__blog-slider-next {
  right: -10px;
}

/* About Section (Dark Background) */
.page-index__about-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-index__about-section .page-index__section-title {
  color: #FFB04D; /* Glow color for titles */
}

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

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__feature-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #FFA53A; /* Auxiliary color for feature titles */
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 0.95em;
  color: #FFF3E6;
}

/* CTA Section (Dark Background) */
.page-index__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-index__cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index__cta-section .page-index__section-title {
  color: #FFB04D; /* Glow color for titles */
}

.page-index__btn-large {
  padding: 15px 35px;
  font-size: 1.3em;
  margin-top: 30px;
}

/* Game Providers Section */
.page-index__game-providers-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
}

.page-index__providers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__providers-grid img {
  width: 100%;
  
  height: auto;
  object-fit: contain;
  filter: grayscale(80%) brightness(120%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.page-index__providers-grid img:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

/* Legal Info Section */
.page-index__legal-info-section {
  padding: 60px 0;
  text-align: center;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-index__legal-info-section .page-index__section-title {
  font-size: 1.8em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 30px;
}

.page-index__legal-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-index__legal-links a {
  color: #FFF3E6; /* Text Main */
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-index__legal-links a:hover {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
}

.page-index__copyright-text {
  font-size: 0.9em;
  color: #A84F0C; /* Border color for subtle text */
  margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-index__features-grid,
  .page-index__providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__post-item {
    flex: 0 0 calc(50% - 10px);
  }
  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-index__blog-slider-prev {
    left: 0px;
  }
  .page-index__blog-slider-next {
    right: 0px;
  }
}

@media (max-width: 849px) {
  .page-index__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }
}

@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
  }

  .page-index__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-index__intro-text {
    font-size: 1em;
  }

  /* Banner Hero Section */
  .page-index__hero-section {
    padding-top: 10px;
  }

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

  /* Access Links Section */
  .page-index__access-links-section {
    padding: 20px 0;
  }

  .page-index__access-links-container {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__btn-access-link {
    font-size: 1em;
    padding: 12px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Brand Intro Section */
  .page-index__brand-intro-section {
    padding: 40px 0;
  }

  /* Category Lobby Section */
  .page-index__category-lobby-section {
    padding: 50px 0;
  }

  .page-index__category-lobby-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index__category-card-link img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Blog Slider Section */
  .page-index__blog-slider-section {
    padding: 50px 0;
  }

  .page-index__blog-slider-wrapper {
    padding: 0 10px;
  }

  .page-index__blog-slider-track {
    gap: 15px;
  }

  .page-index__post-item {
    flex: 0 0 85%; /* Roughly 1 item visible */
  }

  .page-index__post-title {
    font-size: 1.1em;
    padding: 10px;
  }

  .page-index__post-excerpt {
    font-size: 0.9em;
    padding: 0 10px 10px;
  }

  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    top: calc(50% - 15px);
  }
  .page-index__blog-slider-prev {
    left: -5px;
  }
  .page-index__blog-slider-next {
    right: -5px;
  }

  /* About Section */
  .page-index__about-section {
    padding: 50px 0;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Features Section */
  .page-index__features-section {
    padding: 50px 0;
  }

  .page-index__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-index__feature-item img {
    max-width: 100% !important;
    width: auto !important; /* Allow auto width for small images to center */
    height: auto !important;
  }

  /* CTA Section */
  .page-index__cta-section {
    padding: 50px 0;
  }

  .page-index__btn-large {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Game Providers Section */
  .page-index__game-providers-section {
    padding: 50px 0;
  }

  .page-index__providers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index__providers-grid img {
    max-width: 100% !important;
    width: auto !important; /* Allow auto width for small images to center */
    height: auto !important;
  }

  /* Legal Info Section */
  .page-index__legal-info-section {
    padding: 40px 0;
  }

  .page-index__legal-info-section .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__legal-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__legal-links a {
    font-size: 0.9em;
  }
}