@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-Regular.woff2?v=48ebd5cc56") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-Medium.woff2?v=9cb7a46c12") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-Semibold.woff2?v=0759a658b2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

@property --accent { syntax: "<color>"; inherits: true; initial-value: #aab1c0; }

:root {
  --ink: #06070a;
  --text: #eef0f4;
  --muted: #8f95a1;
  --faint: #5b616d;
  --cream: #f8f2ea;
  --ok: #5ee08a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.28);
  --raise: rgba(255, 255, 255, 0.05);
  --font: "Clash Grotesk", "Segoe UI", system-ui, sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --card-bg: #0d0e13;
  --depth: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 48px -18px rgba(0, 0, 0, 0.7);
  --r: 4px;
  --r-card: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-x: clamp(20px, 4vw, 72px);
  --top: max(18px, env(safe-area-inset-top, 0px));
  --bottom: max(18px, env(safe-area-inset-bottom, 0px));
  --dot-gap: 26px;
  --accent: #aab1c0;
  --mx: 72vw;
  --my: 18vh;
  --rainbow: linear-gradient(90deg, #072ac8, #6a0dad, #b50e84, #f46a9b, #c8102e, #db6511, #e6a100, #83b916, #149cb6);
  color-scheme: dark;
  transition: --accent 0.6s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ink); color: var(--text); font-family: var(--font); font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: 0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, p { margin: 0; }
a { color: inherit; }
button { font-family: var(--font); color: var(--text); cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.45); outline-offset: 3px; }
img { display: block; }

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.11) 1px, transparent 1.6px); background-size: var(--dot-gap) var(--dot-gap); background-position: calc(var(--dot-gap) / 2) calc(var(--dot-gap) / 2); }
.dots.lit { background-image: radial-gradient(circle at center, var(--accent) 1.25px, transparent 2px); -webkit-mask-image: radial-gradient(circle 300px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%); mask-image: radial-gradient(circle 300px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%); opacity: 0.9; transition: opacity 0.4s var(--ease); }
.halo { position: absolute; left: var(--mx); top: var(--my); width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 62%); filter: blur(10px); }
.bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% -8%, rgba(255, 255, 255, 0.045), transparent 70%); }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 90% at 50% 30%, transparent 45%, rgba(6, 7, 10, 0.9) 100%), linear-gradient(180deg, transparent 70%, rgba(6, 7, 10, 0.75) 100%); }
body.idle .dots.lit { opacity: 0.55; }

.top, .wrap, .foot { position: relative; z-index: 1; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1440px; margin: 0 auto; padding: var(--top) var(--pad-x) 0; min-height: 76px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; border-radius: var(--r); }
.site-logo { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 20px -6px rgba(0, 0, 0, 0.8); transition: transform 0.9s var(--ease-out); }
.site-brand:hover .site-logo { transform: rotate(60deg); }
.site-name { height: 40px; width: auto; }

.langs { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(10, 11, 15, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.langs button { height: 30px; min-width: 38px; padding: 0 9px; border: 0; border-radius: 3px; background: transparent; color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; transition: color 0.18s var(--ease), background-color 0.18s var(--ease); }
.langs button:hover { color: var(--muted); }
.langs button[aria-pressed="true"] { color: var(--text); background: rgba(255, 255, 255, 0.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); flex: 1; }

.hero { padding: clamp(44px, 10vh, 128px) 0 clamp(40px, 8vh, 88px); max-width: 980px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: clamp(72px, 9vw, 128px); height: 2px; border-radius: 2px; background: var(--rainbow); flex: none; }
.title { margin-top: 22px; font-size: clamp(42px, 6.6vw, 104px); font-weight: 500; line-height: 0.96; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }

.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.7vw, 28px); }

.card { --brand: #888; --brand-hi: #999; --brand-text: #bbb; --on-brand: #fff; --brand-rgb: 136, 136, 136; position: relative; display: flex; border-radius: var(--r-card); background: var(--grain), radial-gradient(120% 80% at 0% 100%, rgba(var(--brand-rgb), 0.1), transparent 55%), linear-gradient(175deg, #12141a 0%, #0d0e13 60%, #0a0b0f 100%); border: 1px solid var(--line); box-shadow: var(--depth); transition: transform 0.5s var(--ease-out), border-color 0.35s var(--ease), box-shadow 0.5s var(--ease-out); }
.card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.9), transparent); opacity: 0; transition: opacity 0.35s var(--ease); z-index: 2; }
.card-link { position: relative; display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; border-radius: var(--r-card); outline: none; }
.card-link:focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--brand-text); }

.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; background: radial-gradient(70% 80% at 50% 45%, rgba(var(--brand-rgb), 0.1), transparent 70%), #0a0b0f; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.62) 72%, rgba(0, 0, 0, 0.18) 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.62) 72%, rgba(0, 0, 0, 0.18) 90%, transparent 100%); }
.shot-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease); filter: saturate(0.92) brightness(0.9); }

.card.soon .card-link { cursor: default; }
.card.soon .shot { background: radial-gradient(42% 58% at 50% 44%, rgba(var(--brand-rgb), 0.26), transparent 72%), radial-gradient(circle at center, rgba(var(--brand-rgb), 0.3) 1px, transparent 1.6px) 0 0 / 18px 18px, #0a0b0f; }
.shot-star { position: absolute; left: 50%; top: 44%; width: 38%; height: auto; transform: translate(-50%, -50%); opacity: 0.62; filter: drop-shadow(0 0 26px rgba(var(--brand-rgb), 0.7)); transition: transform 1.4s var(--ease-out), opacity 0.6s var(--ease); }
.status i { color: var(--brand-text); opacity: 0.8; }

.upcoming { margin-top: clamp(72px, 12vh, 136px); }
.upcoming-title { margin-bottom: clamp(26px, 3vw, 40px); font-weight: 600; }

.body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 0 clamp(18px, 1.6vw, 24px) clamp(18px, 1.6vw, 22px); }
.ident { display: flex; align-items: center; gap: 14px; height: 52px; margin-top: -30px; }
.badge { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 0 0 4px rgba(13, 14, 19, 0.85), 0 10px 24px -6px rgba(0, 0, 0, 0.7); transition: transform 1s var(--ease-out); }
.name { height: 52px; width: auto; max-width: calc(100% - 66px); object-fit: contain; object-position: left center; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65)); }
.tagline { min-height: 3em; color: var(--muted); font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
.tagline:has(+ .like:not([hidden])) { min-height: 0; }
.like { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-top: -8px; padding: 0 9px; border: 1px solid rgba(var(--brand-rgb), 0.1); border-radius: var(--r); background: rgba(var(--brand-rgb), 0.03); color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.like b { font-weight: 600; color: var(--brand-text); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.players { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; transition: color 0.3s var(--ease); }
.players i { font-size: 15px; line-height: 1; letter-spacing: 0; }
.play { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 18px; border-radius: var(--r); background: var(--grain), var(--brand); color: var(--on-brand); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 30px -16px rgba(var(--brand-rgb), 0.95); transition: background-color 0.2s var(--ease), box-shadow 0.3s var(--ease); }
.play i { font-size: 17px; line-height: 1; letter-spacing: 0; transition: transform 0.35s var(--ease-out); }

@media (hover: hover) {
  .card:hover { transform: translateY(-5px); border-color: rgba(var(--brand-rgb), 0.42); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 34px 70px -30px rgba(var(--brand-rgb), 0.55), 0 24px 48px -20px rgba(0, 0, 0, 0.8); }
  .card:hover::before { opacity: 1; }
  .card:hover .shot-img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
  .card:hover .badge { transform: rotate(60deg); }
  .card:hover .players { color: var(--muted); }
  .card:hover .like { color: var(--muted); border-color: rgba(var(--brand-rgb), 0.2); }
  .card:hover .play { background: var(--grain), var(--brand-hi); box-shadow: 0 16px 34px -14px rgba(var(--brand-rgb), 1); }
  .card:hover .play i { transform: translateX(3px); }
}
.card:active { transform: translateY(-2px); }
@media (hover: hover) {
  .card.soon:hover { transform: none; }
  .card.soon:hover .shot-star { transform: translate(-50%, -50%) rotate(60deg); opacity: 0.85; }
}
.card.soon:active { transform: none; }

.foot { margin-top: clamp(64px, 11vh, 128px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 11, 15, 0.6), rgba(6, 7, 10, 0.9)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.me { display: flex; align-items: center; gap: 16px; max-width: 1440px; margin: 0 auto; padding: 26px var(--pad-x) calc(var(--bottom) + 10px); }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; background: #1a1c22; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px rgba(255, 255, 255, 0.03); }
.avatar.ph { display: grid; place-items: center; color: var(--muted); background: linear-gradient(180deg, #20232b, #15171d); }
.avatar.ph i { font-size: 22px; line-height: 1; }
.who { min-width: 0; font-size: 17px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follows { margin-left: auto; color: var(--faint); font-size: 13px; text-align: right; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.hero > *, .card { opacity: 0; }
.ready .hero > *, .ready .card { opacity: 1; }
.ready .hero > * { animation: rise 0.9s var(--ease-out) backwards; }
.ready .hero > :nth-child(2) { animation-delay: 0.07s; }
.ready .card { animation: rise 0.9s var(--ease-out) backwards; animation-delay: calc(0.2s + var(--i, 0) * 0.06s); }
.foot:not([hidden]) { animation: fade 0.6s var(--ease) both; }

@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --dot-gap: 22px; }
  .games { grid-template-columns: minmax(0, 1fr); }
  .top { min-height: 64px; }
  .hero { padding-top: 40px; }
  .title { margin-top: 18px; }
  .me { flex-wrap: wrap; row-gap: 14px; }
  .follows { margin-left: 0; width: 100%; text-align: left; }
}
@media (max-width: 440px) {
  .site-name { height: 30px; }
  .site-logo { width: 32px; height: 32px; }
  .site-brand { gap: 10px; }
  .langs button { min-width: 34px; padding: 0 6px; }
}
@media (hover: none) {
  .dots.lit { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  .hero > *, .card { opacity: 1; }
  .ready .hero > *, .ready .card, .foot:not([hidden]) { animation: none; }
  .card, .shot-img, .shot-star, .badge, .site-logo, .play i { transition: none; }
}
