/* General styles for the page-index scope */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

.page-index__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index__main-title {
  font-size: 44px;
  font-weight: 800;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-index__description-text {
  font-size: 18px;
  line-height: 1.8;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 15px;
}

.page-index__description-text a {
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
  font-weight: 600;
}

.page-index__description-text a:hover {
  text-decoration: underline;
}

.page-index__highlight {
  color: #2F6BFF; /* Primary color */
  font-weight: 700;
}

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

/* --- Module 1: Hero Banner --- */
.page-index__hero-section {
  padding-top: 10px; /* shared already gives body padding-top */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.page-index__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

/* --- Module 2: Three Access Buttons --- */
.page-index__access-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 15px;
  box-sizing: border-box;
}

.page-index__btn-access-link {
  display: block;
  padding: 15px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* For responsive buttons */
  word-wrap: break-word; /* For responsive buttons */
}

.page-index__btn-access-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

/* --- Module 3: Brand Intro --- */
.page-index__brand-intro {
  max-width: 1250px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

/* --- Module 4: Game Lobby Entrance (5 gameshow) --- */
.page-index__category-lobby__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__category-card,
.page-index__category-card-link {
  display: block;
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  overflow: hidden; /* Ensure no overflow */
}