:root {
  --ink: #f4f8ff;
  --ink-soft: #d4e0ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(111, 139, 255, 0.25), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(220, 84, 255, 0.2), transparent 36%),
    linear-gradient(150deg, #040816, #0a1335 52%, #111f52);
  padding: 1rem;
}

.scene-glow {
  position: fixed;
  width: 34vw;
  height: 34vw;
  max-width: 460px;
  max-height: 460px;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.scene-glow-left {
  left: -12vw;
  top: 42vh;
  background: rgba(103, 160, 255, 0.24);
}

.scene-glow-right {
  right: -12vw;
  top: 6vh;
  background: rgba(214, 74, 255, 0.2);
}

.material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

p {
  margin: 0;
}

.home-shell {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.panel {
  border-radius: 1rem;
  border: 1px solid rgba(133, 159, 247, 0.44);
  background:
    radial-gradient(circle at 10% 8%, rgba(162, 192, 255, 0.16), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(210, 101, 255, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(29, 41, 103, 0.88), rgba(17, 26, 73, 0.9));
  box-shadow: inset 0 1px 0 rgba(215, 231, 255, 0.14), 0 16px 34px rgba(2, 7, 23, 0.45);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-banner);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(11, 20, 66, 0.94), rgba(17, 24, 69, 0.88) 42%, rgba(24, 31, 86, 0.75));
  pointer-events: none;
}

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

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  border-radius: 999px;
  border: 1px solid rgba(171, 204, 255, 0.6);
  background: rgba(20, 31, 84, 0.78);
  padding: 0.22rem 0.5rem 0.22rem 0.28rem;
}

.hero-brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(180, 216, 255, 0.8);
  object-fit: cover;
  background: rgba(22, 34, 88, 0.8);
}

.hero-brand strong {
  display: block;
  font-size: 0.84rem;
}

.hero-brand small {
  display: block;
  color: #b9cdff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.56rem;
}

.eyebrow {
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  color: #d6e5ff;
}

.home-hero h1 {
  margin-top: 0.38rem;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.intro {
  margin-top: 0.66rem;
  color: var(--ink-soft);
  max-width: 70ch;
  line-height: 1.58;
}

.hero-feature-grid {
  margin-top: 0.84rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem;
}

.hero-feature {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #f8fbff;
  border-radius: 0.78rem;
  border: 1px solid rgba(157, 186, 255, 0.5);
  padding: 0.56rem;
  background: rgba(25, 39, 97, 0.76);
  display: grid;
  gap: 0.18rem;
  min-height: 84px;
}

.hero-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--feature-art);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(14, 24, 74, 0.86), rgba(18, 28, 82, 0.74));
}

.hero-feature > * {
  position: relative;
  z-index: 1;
}

.hero-feature .material-symbols-outlined {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(182, 219, 255, 0.72);
  background: rgba(102, 147, 255, 0.24);
  padding: 0.2rem;
  font-size: 0.82rem;
}

.hero-feature strong {
  font-size: 0.88rem;
}

.hero-feature small {
  color: #d6e4ff;
  font-size: 0.72rem;
}

.hero-actions {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.hero-action {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(183, 220, 255, 0.72);
  background: linear-gradient(106deg, rgba(108, 132, 255, 0.9), rgba(103, 194, 255, 0.86));
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.52rem 0.86rem;
}

.game-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #f6fbff;
  padding: 0.95rem;
  min-height: 300px;
  display: grid;
  gap: 0.56rem;
  border-color: color-mix(in srgb, var(--g-c) 42%, rgba(188, 216, 255, 0.36));
  background:
    radial-gradient(circle at 14% 12%, color-mix(in srgb, var(--g-b) 24%, transparent), transparent 44%),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--g-a) 20%, transparent), transparent 44%),
    linear-gradient(145deg, color-mix(in srgb, var(--g-bg-soft) 76%, #1a224f), color-mix(in srgb, var(--g-panel) 66%, #1d255f));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-art {
  position: absolute;
  inset: 0;
  background-image: var(--feature-art);
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  pointer-events: none;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 20, 64, 0.84), rgba(20, 31, 82, 0.72) 45%, rgba(16, 24, 68, 0.84));
  pointer-events: none;
}

.game-card > * {
  position: relative;
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--g-c) 72%, #dbf7ff);
  box-shadow: inset 0 1px 0 rgba(224, 242, 255, 0.2), 0 22px 32px rgba(4, 9, 28, 0.45);
}

.game-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.game-card-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.game-card-title h2 {
  font-size: 1.2rem;
}

.game-symbol {
  font-size: 1.08rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--g-c) 66%, transparent);
  background: color-mix(in srgb, var(--g-a) 22%, transparent);
  padding: 0.23rem;
}

.patch-pill {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--g-c) 62%, transparent);
  background: color-mix(in srgb, var(--g-a) 26%, transparent);
  color: #e9f8ff;
  padding: 0.22rem 0.52rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-subtitle {
  color: #edf4ff;
  font-size: 0.9rem;
  line-height: 1.56;
  max-width: 72ch;
}

.selector-strip {
  margin-top: 0.14rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.32rem;
}

.selector-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.52rem;
  border: 1px solid rgba(170, 204, 255, 0.72);
  background: rgba(26, 40, 92, 0.7);
}

.game-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.game-meta span {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--g-a) 52%, transparent);
  background: color-mix(in srgb, var(--g-a) 20%, transparent);
  color: #eff7ff;
  padding: 0.18rem 0.48rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.game-card-footer {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  color: #daefff;
  font-size: 0.84rem;
}

.stream-panel {
  padding: 0.95rem;
  display: grid;
  gap: 0.62rem;
}

.stream-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.52rem;
}

.stream-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 1.06rem;
}

.stream-link {
  text-decoration: none;
  color: #edf6ff;
  border-radius: 999px;
  border: 1px solid rgba(170, 206, 255, 0.66);
  background: linear-gradient(112deg, rgba(115, 111, 255, 0.9), rgba(144, 93, 255, 0.84));
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.34rem 0.62rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.stream-copy {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stream-player-wrap {
  border-radius: 0.85rem;
  border: 1px solid rgba(139, 163, 245, 0.58);
  background: linear-gradient(150deg, rgba(19, 28, 74, 0.9), rgba(15, 24, 62, 0.94));
  padding: 0.44rem;
}

.stream-player {
  border-radius: 0.66rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, rgba(14, 22, 62, 0.95), rgba(11, 19, 56, 0.95));
  border: 1px solid rgba(125, 144, 223, 0.45);
}

.stream-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-loading {
  height: 100%;
  display: grid;
  place-items: center;
  color: #c8d8ff;
  font-size: 0.86rem;
}

.soon-panel {
  padding: 0.92rem;
  display: grid;
  gap: 0.66rem;
}

.soon-head p {
  margin-top: 0.26rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.soon-grid {
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soon-card {
  border-radius: 0.8rem;
  border: 1px solid rgba(133, 158, 241, 0.52);
  background: linear-gradient(140deg, rgba(29, 42, 103, 0.78), rgba(18, 29, 76, 0.74));
  padding: 0.72rem;
  display: grid;
  gap: 0.4rem;
}

.soon-badge {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(190, 221, 255, 0.64);
  background: rgba(108, 142, 255, 0.26);
  padding: 0.16rem 0.46rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.soon-card h3 {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 1rem;
}

.soon-card p {
  color: #cbdafe;
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-footer {
  padding: 0.82rem;
  display: grid;
  gap: 0.58rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.footer-copy strong {
  display: block;
  font-size: 0.98rem;
}

.footer-copy small {
  display: block;
  margin-top: 0.18rem;
  color: #c2d5ff;
  font-size: 0.8rem;
}

.footer-socials {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.34rem;
}

.footer-socials a {
  text-decoration: none;
  color: #eef6ff;
  border-radius: 999px;
  border: 1px solid rgba(160, 187, 255, 0.52);
  background: rgba(29, 43, 104, 0.7);
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.social-pill-icon {
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  background: rgba(185, 213, 255, 0.14);
  color: #d7e8ff;
}

.social-pill-label {
  letter-spacing: 0.03em;
}

.social-pill-youtube .social-pill-icon {
  color: #ff6b66;
  background: rgba(255, 107, 102, 0.14);
}

.social-pill-x .social-pill-icon {
  color: #d5e5ff;
  background: rgba(213, 229, 255, 0.14);
}

.social-pill-instagram .social-pill-icon {
  color: #ff8fd9;
  background: rgba(255, 143, 217, 0.16);
}

.social-pill-tiktok .social-pill-icon {
  color: #71f7e9;
  background: rgba(113, 247, 233, 0.14);
}

.social-pill-twitch .social-pill-icon {
  color: #b399ff;
  background: rgba(179, 153, 255, 0.16);
}

.social-pill-shop .social-pill-icon {
  color: #ffd474;
  background: rgba(255, 212, 116, 0.16);
}

@media (max-width: 1060px) {
  .soon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .home-footer {
    grid-template-columns: 1fr;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    padding: 0.8rem;
  }

  .home-hero {
    padding: 0.95rem;
  }

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

  .game-card {
    min-height: 260px;
  }

  .stream-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
