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

.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px;
  overflow: hidden;
  max-width: 1920px; /* Ensure it doesn't get too wide on very large screens */
  margin: 0 auto;
}

.page-index__hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slider-slide {
  flex: 0 0 100%;
  display: none;
  position: relative;
}

.page-index__hero-slider-slide.is-active {
  display: block;
}

.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  max-width: 100%; /* Base responsive for images */
}

.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-index__hero-slider-prev:hover,
.page-index__hero-slider-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

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

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

.page-index__hero-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.page-index__hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index__hero-slider-dots .dot.is-active {
  background: #FF8C1A;
}

.page-index__spacing-element {
  margin-bottom: 30px;
}

.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto 30px auto;
  padding: 0 16px;
}

.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-index__promo-duo-col {
  background: #17191F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  max-width: 100%; /* Base responsive for images */
}

.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%; /* Base responsive for buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
}

.page-index__section-title {
  text-align: center;
  margin: 30px auto 40px auto;
  max-width: 1250px;
  padding: 0 16px;
}

.page-index__section-title h1 {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #FF8C1A; /* Main color for emphasis */
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
  margin: 0;
  padding: 0;
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #FFA53A; /* Border */
  border-radius: 15px;
  box-shadow: 0 0 20px #FFB04D; /* Glow */
  background: rgba(23, 25, 31, 0.92); /* Card BG with slight transparency */
}

.page-index__home-content-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
  text-align: justify;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  color: #FFF3E6; /* Text Main */
}

.page-index__home-content-inner::-webkit-scrollbar {
  width: 10px;
}

.page-index__home-content-inner::-webkit-scrollbar-track {
  background: #17191F; /* Card BG for scrollbar track */
  border-radius: 10px;
}

.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4C9BB6; /* A contrasting blue for visibility */
  border-radius: 20px;
  border: 3px solid #FFA53A; /* Auxiliary color for scrollbar thumb border */
}

.page-index__home-content-inner h2 {
  color: #FF8C1A; /* Main color */
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-index__home-content-inner h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 1.4em;
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

.page-index__home-content-inner p {
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-index__home-content-inner strong {
  color: #FFB04D; /* Glow */
}

.page-index__quick-links {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-index__quick-link {
  color: #FFA53A;
  text-decoration: none;
  padding: 0 8px;
  transition: color 0.3s ease;
}

.page-index__quick-link:hover {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-index__home-content-inner figure {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.page-index__home-content-inner figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Base responsive for images */
}

.page-index__home-content-inner figcaption {
  color: #A84F0C; /* Border color for caption */
  font-size: 0.9em;
  margin-top: 8px;
}

.page-index__milestone-list,
.page-index__step-list,
.page-index__contact-list,
.page-index__future-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-index__milestone-list li strong,
.page-index__step-list li strong,
.page-index__contact-list li strong,
.page-index__future-list li strong {
  color: #FFB04D; /* Glow */
}

.page-index__table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.page-index__game-table,
.page-index__access-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  min-width: 600px; /* Ensure table is wide enough for content */
}

.page-index__game-table th,
.page-index__access-table th {
  background: #D96800; /* Deep Orange */
  color: #FFF3E6; /* Text Main */
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #A84F0C; /* Border */
}

.page-index__game-table td,
.page-index__access-table td {
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
  padding: 10px 15px;
  border: 1px solid #A84F0C; /* Border */
}

.page-index__home-content-inner a {
  color: #FFA53A;
  text-decoration: none;
}

.page-index__home-content-inner a:hover {
  text-decoration: underline;
}

.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto 50px auto;
  padding: 0 16px;
}

.page-index__blog-slider-title {
  text-align: center;
  color: #FF8C1A; /* Main color */
  text-transform: uppercase;
  font-size: 2em;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}

.page-index__blog-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-index__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* Space for scrollbar */
}

.page-index__blog-slider-track::-webkit-scrollbar {
  height: 8px;
}

.page-index__blog-slider-track::-webkit-scrollbar-track {
  background: #17191F;
  border-radius: 10px;
}

.page-index__blog-slider-track::-webkit-scrollbar-thumb {
  background-color: #A84F0C;
  border-radius: 10px;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background: #FF8C1A;
  color: #FFF3E6;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background: #FFA53A;
  transform: scale(1.05);
}

.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cards + 2 gaps */
  scroll-snap-align: start;
  box-sizing: border-box;
  background: #17191F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.page-index__post-item:hover {
  transform: translateY(-5px);
}

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

.page-index__post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%; /* Base responsive for images */
}

.page-index__post-date {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #FFF3E6;
  border: 2px solid #FF8C1A;
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #FF8C1A;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-index__post-date-day {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.page-index__post-date-month {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.page-index__post-item h5 {
  text-align: center;
  color: #FFA53A; /* Auxiliary color */
  margin: 12px 8px 6px;
  font-size: 1.1em;
  line-height: 1.3;
  min-height: 40px; /* Ensure consistent height for titles */
}

.page-index__post-item p {
  text-align: center;
  color: #FFF3E6; /* Text Main */
  font-size: 14px;
  margin: 0 8px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  min-height: 36px; /* Consistent height for summary */
}

/* General image and button responsive rules */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index__promo-cta,
.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-index__hero-slider {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

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

  .page-index__hero-slider-prev,
  .page-index__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index__promo-duo {
    padding: 0 10px;
  }

  .page-index__promo-duo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-index__promo-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-index__section-title {
    margin: 20px auto 30px auto;
    padding: 0 10px;
  }

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

  .page-index__home-content {
    height: 60vh;
    min-height: 420px;
    max-height: 560px;
    margin: 16px 10px;
    border-width: 3px;
    padding: 8px;
  }

  .page-index__home-content-inner {
    padding: 10px 12px;
  }

  .page-index__home-content-inner h2 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index__home-content-inner h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .page-index__home-content-inner figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__table-wrapper {
    overflow-x: auto;
  }

  .page-index__game-table,
  .page-index__access-table {
    min-width: 500px; /* Allow horizontal scroll for smaller screens */
  }

  .page-index__game-table th,
  .page-index__access-table th,
  .page-index__game-table td,
  .page-index__access-table td {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-index__blog-slider {
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .page-index__blog-slider-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-index__blog-slider-wrap {
    gap: 5px;
  }

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

  .page-index__post-item {
    flex: 0 0 100%;
  }

  .page-index__post-item h5 {
    font-size: 1em;
    min-height: 30px;
  }

  .page-index__post-item p {
    font-size: 13px;
    min-height: 32px;
  }

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

  .page-index__promo-duo-col,
  .page-index__home-content,
  .page-index__blog-slider,
  .page-index__section-title {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}