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

.page-index__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  width: 100%;
  max-width: 1330px; /* Align with other content max-width */
  margin: 0 auto;
  box-sizing: border-box;
}
.page-index__hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index__title-section {
  max-width: 1330px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}
.page-index__page-title {
  font-size: 2.5em; /* Using em for flexibility, will adapt with body font-size */
  font-weight: bold;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.page-index__page-title::before,
.page-index__page-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #F2C14E; /* Main Color */
}
.page-index__title-main {
  max-width: 800px; /* Limit H1 width to avoid overstretching */
}
.page-index__seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #9DA0A8; /* Light gray for secondary text */
  padding: 10px 0;
}
.page-index__seo-link-item a {
  color: #F2C14E; /* Main Color */
  text-decoration: none;
  font-weight: bold;
}
.page-index__seo-link-item a:hover {
  text-decoration: underline;
  color: #FFD36B; /* Auxiliary Color */
}

.page-index__home-content {
  border: 1px solid #FBB00D; /* Gold border */
  border-radius: 10px;
  padding: 20px;
  height: 650px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #F2C14E #1A202C;
  max-width: 1330px;
  margin: 20px auto;
  box-sizing: border-box;
  background-color: #111111; /* Card BG */
}
.page-index__home-content::-webkit-scrollbar {
  width: 8px;
}
.page-index__home-content::-webkit-scrollbar-track {
  background: #1A202C;
  border-radius: 10px;
}
.page-index__home-content::-webkit-scrollbar-thumb {
  background-color: #F2C14E;
  border-radius: 10px;
  border: 2px solid #1A202C;
}
.page-index__home-content blockquote {
  border-left: 4px solid #F2C14E;
  margin: 0 0 20px;
  padding: 10px 20px;
  background-color: rgba(242, 193, 78, 0.1);
  border-radius: 5px;
}
.page-index__home-content blockquote p {
  color: #FFF6D6;
  font-style: italic;
}
.page-index__home-content blockquote a {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
}
.page-index__home-content blockquote a:hover {
  text-decoration: underline;
}
.page-index__home-content h2 {
  background: linear-gradient(-225deg, #28a745 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: page-index-gradient 5s linear infinite;
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 15px;
}
.page-index__home-content h3 {
  color: #F2C14E;
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 10px;
}
.page-index__home-content p,
.page-index__home-content li {
  color: #FFF6D6;
  margin-bottom: 10px;
}
.page-index__home-content ul,
.page-index__home-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
.page-index__wp-caption {
  margin: 20px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}
.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}
.page-index__wp-caption-text {
  color: #9DA0A8;
  font-size: 0.9em;
  margin-top: 5px;
}
@keyframes page-index-gradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.page-index__row-games,
.page-index__row-sport,
.page-index__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 20px auto;
  box-sizing: border-box;
  border-radius: 10px;
}
.page-index__games-title,
.page-index__sport-title,
.page-index__coop-title {
  color: #FFF6D6;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.8em;
  font-weight: bold;
}
.page-index__games-title::after,
.page-index__sport-title::after,
.page-index__coop-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: #F2C14E;
  margin: 8px auto 0;
}

.page-index__slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}
.page-index__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  transition: transform 0.4s ease;
  padding-bottom: 10px;
}
.page-index__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  min-width: 0;
  scroll-snap-align: start;
}
.page-index__game-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #111111;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.page-index__game-card:hover {
  transform: translateY(-5px);
  border-color: #F2C14E;
}
.page-index__game-card-image {
  position: relative;
  width: 100%;
  height: 146px;
  overflow: hidden;
}
.page-index__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-index__game-card h4 {
  color: #FFF6D6;
  margin: 8px 0 0;
  padding: 0 10px 10px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}