/* Base styles for the page-index scope */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F); /* Ensure body background is respected */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-index__section-title {
  text-align: center;
  font-size: 2.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--glow-color, #57E38D);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index__hero-section {
  padding-top: 10px; /* As per instruction, if 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; /* Default for larger screens */
}

.page-index__access-links-wrapper {
  background-color: var(--background-color, #08160F);
  padding: 30px 15px;
  box-sizing: border-box;
}

.page-index__access-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1250px;
  margin: 0 auto;
}

.page-index__btn-access-link,
.page-index__btn-primary,
.page-index__btn-secondary {
  display: block;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-access-link,
.page-index__btn-primary {
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main, #F2FFF6);
  border: none;
}

.page-index__btn-access-link:hover,
.page-index__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color, #57E38D);
}

.page-index__btn-secondary {
  background: transparent;
  color: var(--primary-color, #11A84E);
  border: 2px solid var(--primary-color, #11A84E);
}

.page-index__btn-secondary:hover {
  background: var(--primary-color, #11A84E);
  color: var(--text-main, #F2FFF6);
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.4);
}

.page-index__brand-intro {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 15px;
  box-sizing: border-box;
  text-align: center;
}

.page-index__main-title {
  font-size: 3.2em; 
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__intro-text a {
  color: var(--gold-color, #F2C14E);
  text-decoration: none;
}

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

.page-index__security-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 15px;
  box-sizing: border-box;
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-index__security-text {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-index__category-lobby__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}