:root {
  --home-bg: #070a12;
  --home-panel: #0d1220;
  --home-panel-strong: #12182a;
  --home-line: rgba(153, 169, 207, 0.13);
  --home-text: #f7f8ff;
  --home-muted: #a0a9bd;
  --home-dim: #6f7a91;
  --home-purple: #8658ff;
  --home-purple-light: #ad83ff;
  --home-blue: #4b82ff;
  --home-orange: #ff8a36;
  --home-gradient: linear-gradient(118deg, #7548f4 0%, #9a62ff 56%, #568dff 100%);
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--home-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(126, 75, 255, 0.12), transparent 29rem),
    radial-gradient(circle at 88% 36%, rgba(48, 108, 255, 0.09), transparent 32rem),
    var(--home-bg);
}

body.home-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

body.home-page::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 18, 0.2) 45%, #070a12 100%);
}

.home-page * {
  box-sizing: border-box;
}

.home-page .container,
.home-page .nav-container,
.home-page .hero-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.home-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 78px;
  border-bottom: 1px solid rgba(152, 166, 202, 0.1);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.home-navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(119, 70, 248, 0.28));
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  color: #f8f8ff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-copy small {
  color: #808ba2;
  font-family: Inter, Arial, sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.home-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-navbar .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  color: #949eb2;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.home-navbar .nav-link::after {
  position: absolute;
  right: 15px;
  bottom: 4px;
  left: 15px;
  height: 2px;
  border-radius: 2px;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  background: linear-gradient(90deg, var(--home-purple-light), #6fa5ff);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.65);
  transition: 0.2s ease;
}

.home-navbar .nav-link:hover,
.home-navbar .nav-link.active {
  color: #fff;
  background: rgba(135, 91, 255, 0.1);
}

.home-navbar .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-navbar .mobile-menu-btn {
  display: none;
}

.home-page #featured.featured-section {
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 38px 0 18px !important;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hero-shell {
  position: relative;
  height: clamp(430px, 43vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(158, 177, 218, 0.15);
  border-radius: 26px;
  background: #05070d;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(133, 88, 255, 0.03) inset;
}

.featured-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-page #featured .featured-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  background: #05070d;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.home-page #featured .featured-slide.active {
  visibility: visible;
  opacity: 1;
}

.home-page #featured .featured-slide-ambient {
  position: absolute;
  inset: -40px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-color: transparent;
  background-image: var(--hero-image) !important;
  filter: blur(38px) saturate(1.2);
  opacity: 0.24;
  transform: scale(1.12);
}

.featured-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.9) 38%, rgba(5, 7, 13, 0.22) 61%, rgba(5, 7, 13, 0.02) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.25), transparent 35%);
}

.featured-slide-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 48px 34px 58px 52px;
}

.featured-slide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.featured-category-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(190, 159, 255, 0.24);
  border-radius: 999px;
  color: #e9ddff;
  background: rgba(128, 78, 248, 0.42);
  box-shadow: 0 8px 24px rgba(102, 56, 220, 0.2);
  font-size: 13px;
  font-weight: 700;
}

.featured-playcount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff9a52;
  font-size: 13px;
  font-weight: 750;
}

.featured-playcount svg {
  width: 15px;
  height: 15px;
  color: #ff7538;
  filter: drop-shadow(0 0 7px rgba(255, 112, 49, 0.45));
}

.home-page #featured .featured-slide-title {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.1vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.featured-slide-subtitle {
  max-width: 540px;
  margin: 18px 0 0;
  color: #d0d6e3;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.featured-slide-description {
  display: -webkit-box;
  max-width: 520px;
  margin: 9px 0 0;
  overflow: hidden;
  color: #858fa4;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.featured-slide-btn,
.featured-slide-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.featured-slide-btn {
  min-width: 154px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: var(--home-gradient);
  box-shadow: 0 14px 34px rgba(118, 73, 242, 0.32);
  font-family: inherit;
  cursor: pointer;
}

.featured-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(118, 73, 242, 0.46);
}

.featured-slide-secondary {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #c7cfdd;
  background: rgba(255, 255, 255, 0.035);
}

.featured-slide-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
}

.featured-slide-art {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.featured-slide-art,
.card-cover,
.upcoming-cover {
  background-image: linear-gradient(110deg, #090d17 18%, #151b2b 38%, #090d17 62%);
  background-size: 220% 100%;
  animation: imagePlaceholder 1.6s ease-in-out infinite;
}

.featured-slide-art.image-loaded,
.card-cover.image-loaded,
.upcoming-cover.image-loaded {
  animation: none;
}

.featured-slide-art::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, #05070d 0%, rgba(5, 7, 13, 0.56) 12%, transparent 35%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.38), transparent 22%);
}

.home-page #featured .featured-slide-art img {
  display: block;
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.28s ease, transform 7s ease;
}

.home-page #featured .featured-slide-art img.is-loaded {
  opacity: 1;
}

.featured-slide.active .featured-slide-art img {
  transform: scale(1.035);
}

.featured-dots {
  position: absolute;
  right: 30px;
  bottom: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
}

.featured-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

.featured-dot.active {
  width: 28px;
  background: linear-gradient(90deg, #a77cff, #6da5ff);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.55);
}

.category-tabs-section {
  position: sticky;
  top: 78px;
  z-index: 90;
  padding: 18px 0;
  border-bottom: 1px solid rgba(153, 169, 207, 0.08);
  background: rgba(7, 10, 18, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 999px;
  color: #98a2b7;
  background: rgba(255, 255, 255, 0.018);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.category-btn:hover {
  color: #fff;
  border-color: rgba(159, 119, 255, 0.36);
  background: rgba(131, 83, 247, 0.09);
}

.category-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(112deg, #7145e9, #925dff);
  box-shadow: 0 10px 28px rgba(108, 66, 222, 0.28);
}

.category-icon {
  font-size: 14px;
  line-height: 1;
}

.tab-count {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #bbc3d3;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.category-btn.active .tab-count {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.games-section,
.upcoming-section,
.updates-section,
.creator-section,
.about-section {
  padding: 72px 0 20px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #9a75ff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.home-page .section-title {
  margin: 0;
  color: #f7f8ff;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: #747f94;
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.home-page .games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
}

.home-page .game-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(150, 166, 204, 0.12);
  border-radius: 19px;
  color: inherit;
  background: linear-gradient(155deg, rgba(19, 25, 43, 0.94), rgba(11, 15, 27, 0.98));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transform: translateZ(0);
  max-height: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.game-card:hover {
  z-index: 2;
  border-color: rgba(153, 112, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 34px rgba(111, 71, 227, 0.1);
  transform: translateY(-6px);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090c14;
}

.card-cover::after {
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(8, 11, 20, 0.58));
}

.card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.5s ease, filter 0.5s ease;
}

.card-cover img.is-loaded,
.upcoming-cover img.is-loaded {
  opacity: 1;
}

.game-card:hover .card-cover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.card-status-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(112, 70, 238, 0.88);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-status-badge.coming {
  color: #ffe1b6;
  background: rgba(171, 94, 27, 0.86);
}

.card-info {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 17px;
}

.card-title {
  margin: 0;
  color: #f6f7fc;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

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

.card-summary {
  display: -webkit-box;
  min-height: 46px;
  margin: 9px 0 16px;
  overflow: hidden;
  color: #8791a5;
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.card-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(145, 102, 255, 0.22);
  border-radius: 999px;
  color: #bba0ff;
  background: rgba(126, 81, 237, 0.09);
  font-size: 10px;
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(150, 166, 204, 0.1);
}

.card-player-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff9450;
  font-size: 12px;
  font-weight: 700;
}

.card-player-count svg {
  width: 13px;
  height: 13px;
}

.card-enter {
  padding: 0;
  border: 0;
  color: #a98aff;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.game-card:hover .card-enter {
  color: #d2c3ff;
  transform: translateX(3px);
}

.support-site-card {
  min-height: 100%;
  cursor: pointer;
  background:
    radial-gradient(circle at 82% 16%, rgba(143, 91, 255, 0.22), transparent 13rem),
    linear-gradient(145deg, rgba(27, 22, 49, 0.96), rgba(11, 15, 27, 0.98));
}

.support-site-card .support-card-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle, rgba(157, 111, 255, 0.26) 0 2px, transparent 3px) 0 0 / 26px 26px,
    linear-gradient(135deg, #171329, #0d1220);
}

.support-card-orbit {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(169, 128, 255, 0.2);
  border-radius: 50%;
}

.support-card-orbit::before,
.support-card-orbit::after {
  position: absolute;
  border: 1px solid rgba(95, 156, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.support-card-orbit::before {
  inset: 24px;
}

.support-card-orbit::after {
  inset: 52px;
}

.support-card-heart {
  position: relative;
  z-index: 2;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  color: #fff;
  background: var(--home-gradient);
  box-shadow: 0 18px 45px rgba(118, 73, 242, 0.42);
  font-size: 29px;
  transform: rotate(-5deg);
}

.support-site-card .card-title {
  font-size: 21px;
}

.support-site-card .card-summary {
  min-height: 0;
  -webkit-line-clamp: 3;
}

.support-card-button {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(105deg, #7d4ff1, #9b63ff);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(117, 70, 235, 0.22);
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.upcoming-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid rgba(150, 166, 204, 0.11);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 22, 38, 0.9), rgba(10, 14, 25, 0.96));
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.upcoming-card:hover {
  border-color: rgba(152, 111, 255, 0.3);
  transform: translateY(-3px);
}

.upcoming-cover {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: #080b13;
}

.upcoming-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 45%, rgba(10, 14, 25, 0.94));
}

.upcoming-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.72);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.image-load-error {
  background-image:
    radial-gradient(circle at 30% 25%, rgba(125, 88, 255, 0.2), transparent 36%),
    linear-gradient(145deg, #111728, #080c15);
  animation: none;
}

.image-load-error::before {
  position: absolute;
  inset: 0;
  display: grid;
  z-index: 1;
  place-items: center;
  content: "插画加载失败";
  color: #778297;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@keyframes imagePlaceholder {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-slide-art,
  .card-cover,
  .upcoming-cover {
    animation: none;
  }
}

.upcoming-cover > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(255, 197, 120, 0.22);
  border-radius: 999px;
  color: #ffc27b;
  background: rgba(91, 50, 13, 0.72);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.upcoming-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 21px 18px 18px 6px;
}

.upcoming-category {
  color: #9676ef;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.upcoming-copy h3 {
  margin: 7px 0 8px;
  color: #eef0f8;
  font-size: 17px;
  line-height: 1.35;
}

.upcoming-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #788398;
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.upcoming-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  color: #646f84;
  font-size: 9px;
}

.upcoming-footer strong {
  flex: 0 0 auto;
  color: #a68af5;
  font-size: 10px;
}

.updates-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.update-feature,
.update-notes {
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: rgba(13, 18, 32, 0.78);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.update-feature {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px;
}

.update-date {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(126, 79, 242, 0.22), rgba(61, 103, 221, 0.09));
}

.update-date strong {
  color: #fff;
  font-size: 27px;
  line-height: 1.15;
}

.update-date span {
  color: #a989ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.update-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.update-copy p {
  margin: 0;
  color: #8993a7;
  font-size: 14px;
  line-height: 1.75;
}

.update-notes {
  display: grid;
  gap: 0;
  padding: 12px 24px;
}

.update-note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(150, 166, 204, 0.09);
  color: #b1bacb;
  font-size: 13px;
}

.update-note:last-child {
  border-bottom: 0;
}

.update-note::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: #966cff;
  box-shadow: 0 0 12px rgba(150, 108, 255, 0.6);
}

.creator-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(158, 177, 218, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(132, 83, 250, 0.18), transparent 25rem),
    linear-gradient(135deg, rgba(17, 22, 39, 0.96), rgba(9, 13, 24, 0.98));
}

.creator-panel::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(153, 112, 255, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 48px rgba(153, 112, 255, 0.025),
    0 0 0 96px rgba(88, 137, 255, 0.018);
}

.creator-copy {
  position: relative;
  z-index: 1;
}

.creator-copy h2,
.about-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.creator-copy p,
.about-panel p {
  margin: 18px 0 0;
  color: #8e98ac;
  font-size: 14px;
  line-height: 1.9;
}

.creator-roadmap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.creator-roadmap article {
  display: flex;
  min-width: 0;
  min-height: 168px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 21px;
  border: 1px solid rgba(155, 174, 213, 0.11);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-roadmap article span {
  margin-bottom: auto;
  color: #8a63f5;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.creator-roadmap article strong {
  color: #eef0f8;
  font-size: 16px;
}

.creator-roadmap article small {
  margin-top: 7px;
  color: #747f93;
  font-size: 11px;
  line-height: 1.55;
}

.about-section {
  padding-bottom: 76px;
}

.about-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  border-top: 1px solid rgba(153, 169, 207, 0.11);
  border-bottom: 1px solid rgba(153, 169, 207, 0.11);
}

.about-mark {
  width: 72px;
  height: 72px;
}

.about-panel h2 {
  font-size: 28px;
}

.about-panel p {
  max-width: 760px;
  margin-top: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a787ff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  font-size: 18px;
}

.home-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(153, 169, 207, 0.1);
  background: #080b14;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.home-footer .footer-brand {
  justify-self: start;
}

.home-footer .brand-mark {
  width: 38px;
  height: 38px;
}

.home-footer .brand-copy strong {
  font-size: 16px;
}

.home-footer p {
  margin: 0;
  color: #7f899d;
  font-size: 12px;
  text-align: center;
}

.home-footer > .container > small,
.footer-layout > small {
  justify-self: end;
  color: #596477;
  font-size: 11px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px dashed rgba(153, 169, 207, 0.18);
  border-radius: 20px;
  color: #7c879b;
  background: rgba(255, 255, 255, 0.018);
}

.site-support-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 24px;
  opacity: 0;
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.site-support-modal.show {
  visibility: visible;
  opacity: 1;
}

.site-support-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 28px 32px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(135, 151, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% -10%, rgba(113, 84, 255, 0.2), transparent 42%),
    linear-gradient(150deg, #10182b, #080e1b);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.62), 0 0 50px rgba(94, 77, 216, 0.12);
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-support-modal.show .site-support-dialog {
  transform: translateY(0) scale(1);
}

.site-support-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #8390a5;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.site-support-title {
  display: grid;
  gap: 5px;
  margin: 0 42px 18px;
  color: #fff;
  line-height: 1.18;
  text-align: center;
}

.site-support-welcome {
  color: #c7cede;
  font-size: 20px;
  font-weight: 700;
}

.site-support-name {
  overflow: hidden;
  color: #fff;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-support-qr {
  display: block;
  width: min(400px, 100%);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(173, 187, 255, 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.site-support-note {
  margin: 14px auto 0;
  color: #8793a8;
  font-size: 13px;
  line-height: 1.6;
}

.site-support-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-support-actions button {
  min-height: 52px;
  border-radius: 13px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-support-primary {
  border: 1px solid rgba(255, 185, 92, 0.56);
  color: #fff;
  background: linear-gradient(110deg, #ff9a23, #ff7a1a);
  box-shadow: 0 14px 34px rgba(255, 126, 26, 0.24);
}

.site-support-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 124, 36, 0.34);
}

.site-support-secondary {
  border: 1px solid rgba(153, 169, 207, 0.13);
  color: #9aa5b9;
  background: rgba(255, 255, 255, 0.025);
}

.site-support-secondary:hover {
  color: #dce1eb;
  background: rgba(255, 255, 255, 0.055);
}

@media (max-width: 1040px) {
  .home-navbar .nav-link {
    padding-inline: 10px;
    font-size: 13px;
  }

  .home-page #featured .featured-slide {
    grid-template-columns: 48% 52%;
  }

  .home-page #featured .featured-slide-content {
    padding-left: 38px;
  }

  .home-page #featured .featured-slide-title {
    font-size: clamp(34px, 5vw, 52px);
  }

  .home-page .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .home-page .container,
  .home-page .nav-container,
  .home-page .hero-shell {
    width: min(100% - 28px, 680px);
  }

  .home-navbar {
    height: 64px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    display: none;
  }

  .home-navbar .mobile-menu-btn {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(153, 169, 207, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  .home-navbar .mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #bdc5d4;
    transition: 0.2s ease;
  }

  .home-navbar .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .home-navbar .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .home-navbar .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home-navbar .nav-links {
    position: absolute !important;
    top: 57px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    min-width: 150px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    visibility: hidden;
    gap: 4px !important;
    padding: 10px !important;
    border: 1px solid rgba(153, 169, 207, 0.14) !important;
    border-radius: 16px !important;
    opacity: 0;
    background: rgba(10, 14, 25, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42) !important;
    z-index: 1001 !important;
    pointer-events: auto !important;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .home-navbar .nav-links.active {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .home-navbar .nav-link {
    min-height: 44px;
    padding: 0 18px;
    justify-content: flex-end;
  }

  .home-navbar .nav-link::after {
    display: none;
  }

  .home-page #featured.featured-section {
    padding: 18px 0 18px !important;
  }

  .home-page #featured.featured-section {
    display: none;
  }

  .hero-shell {
    height: min(720px, calc(100dvh - 92px));
    min-height: 620px;
    border-radius: 21px;
  }

  .home-page #featured .featured-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 45% 55%;
  }

  .featured-slide::after {
    background: linear-gradient(0deg, #05070d 0%, rgba(5, 7, 13, 0.9) 40%, rgba(5, 7, 13, 0.08) 68%, transparent 100%);
  }

  .featured-slide-art {
    grid-row: 1;
  }

  .featured-slide-art::before {
    background: linear-gradient(0deg, #05070d 0%, transparent 38%);
  }

  .home-page #featured .featured-slide-content {
    grid-row: 2;
    justify-content: flex-start;
    padding: 16px 22px 58px;
  }

  .featured-slide-meta {
    margin-bottom: 12px;
  }

  .featured-category-tag {
    min-height: 27px;
    padding-inline: 11px;
    font-size: 11px;
  }

  .featured-playcount {
    font-size: 11px;
  }

  .home-page #featured .featured-slide-title {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.12;
  }

  .featured-slide-subtitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }

  .featured-slide-description {
    display: none;
  }

  .featured-slide-actions {
    margin-top: 18px;
  }

  .featured-slide-btn {
    min-width: 0;
    flex: 1;
  }

  .featured-slide-secondary {
    display: none;
  }

  .featured-dots {
    right: 20px;
    bottom: 18px;
  }

  .category-tabs-section {
    top: 64px;
    padding: 13px 0;
  }

  .category-bar {
    margin-right: -14px;
    padding-right: 14px;
  }

  .category-btn {
    min-height: 39px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .games-section,
  .upcoming-section,
  .updates-section,
  .creator-section,
  .about-section {
    padding-top: 52px;
  }

  .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .section-heading > p {
    margin-top: 10px;
    text-align: left;
  }

  .home-page .section-title {
    font-size: 27px;
  }

  .home-page .games-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .upcoming-grid {
    display: flex;
    gap: 14px;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .upcoming-grid::-webkit-scrollbar {
    display: none;
  }

  .upcoming-card {
    min-width: min(86vw, 420px);
    scroll-snap-align: start;
  }

  .home-page .game-card {
    border-radius: 18px;
  }

  .card-info {
    min-height: 196px;
    padding: 19px 18px 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .updates-layout {
    grid-template-columns: 1fr;
  }

  .update-feature {
    grid-template-columns: 118px 1fr;
    gap: 16px;
    padding: 17px;
  }

  .update-date {
    padding: 16px;
  }

  .update-date strong {
    font-size: 22px;
  }

  .creator-panel {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .creator-copy h2 {
    font-size: 29px;
  }

  .creator-roadmap {
    grid-template-columns: 1fr;
  }

  .creator-roadmap article {
    min-height: 116px;
  }

  .about-section {
    padding-bottom: 54px;
  }

  .about-panel {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 28px 4px;
  }

  .about-mark {
    width: 54px;
    height: 54px;
  }

  .about-panel .text-link {
    grid-column: 2;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-footer .footer-brand,
  .footer-layout > small {
    justify-self: center;
  }

  .site-support-dialog {
    width: min(94vw, 400px);
    max-height: calc(100dvh - 28px);
    padding: 24px 18px 20px;
    overflow-y: auto;
    border-radius: 18px;
  }

  .site-support-title {
    gap: 4px;
    margin: 0 38px 14px;
  }

  .site-support-welcome {
    font-size: 16px;
  }

  .site-support-name {
    font-size: clamp(23px, 8vw, 30px);
  }

  .site-support-qr {
    width: min(330px, 100%);
    border-radius: 14px;
  }

  .site-support-note {
    margin-top: 12px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .hero-shell {
    min-height: 590px;
  }

  .home-page #featured .featured-slide {
    grid-template-rows: 41% 59%;
  }

  .home-page #featured .featured-slide-title {
    font-size: 29px;
  }

  .featured-slide-subtitle {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .update-feature {
    grid-template-columns: 1fr;
  }

  .update-date {
    min-height: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
