@font-face {
  font-family: "Manrope";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-800.woff2") format("woff2");
}

:root {
  --bg: #000000;
  --tint: 255 255 255;
  --glow: rgb(255 255 255 / 0.05);
  --glow-2: rgb(255 255 255 / 0.025);
  --panel: rgb(10 10 10 / 0.6);
  --glass: rgb(var(--tint) / 0.045);
  --glass-hover: rgb(var(--tint) / 0.08);
  --glass-strong: rgb(var(--tint) / 0.12);
  --edge: rgb(var(--tint) / 0.1);
  --edge-strong: rgb(var(--tint) / 0.22);
  --fg: #fff;
  --fg-2: rgb(var(--tint) / 0.58);
  --fg-3: rgb(var(--tint) / 0.32);
  --blur: blur(22px) saturate(140%);
  --font: "Manrope", "Segoe UI", sans-serif;
  --accent: #ffffff;
  --accent-ink: #000000;
  color-scheme: dark;
}
:root[data-season="christmas"] {
  --bg: #010204;
  --tint: 215 230 255;
  --glow: rgb(90 155 255 / 0.22);
  --panel: rgb(8 12 22 / 0.6);
  --accent: #8cc8ff;
}
:root[data-season="halloween"] {
  --bg: #030102;
  --tint: 255 226 205;
  --glow: rgb(255 120 30 / 0.16);
  --panel: rgb(20 10 6 / 0.6);
  --accent: #ffa34d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 500 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, var(--glow), transparent 55%),
    radial-gradient(circle at 10% 95%, var(--glow-2), transparent 50%),
    radial-gradient(circle at 70% 0%, transparent, rgb(0 0 0 / 0.72) 70%);
  pointer-events: none;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 1px solid var(--edge-strong);
  outline-offset: 2px;
}
.muted {
  color: var(--fg-2);
}
.link {
  font-size: 13px;
  color: var(--fg-2);
  transition: color 0.15s;
}
.link:hover {
  color: var(--fg);
}

.chrome {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}
.chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.chrome-logo {
  width: 26px;
}
.chrome-status {
  --state: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--edge);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
}
.chrome-status.is-on {
  --state: var(--accent);
  color: var(--fg);
}
.chrome-status i,
.server-state i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--state);
  box-shadow: 0 0 8px var(--state);
}
.chrome-status.is-on i:after,
.home-panel.server.is-on .server-state i:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--state);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.page {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 0;
}
.home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.page-head h1 {
  font-size: 26px;
}

.banner {
  position: relative;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 60%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    linear-gradient(120deg, #0f0f0f, #080808);
}
.banner-art {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  object-position: center 35%;
  filter: blur(10px);
  animation:
    hero-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    drift 28s ease-in-out 1s infinite alternate;
}
.banner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.2) 45%, transparent 70%);
  pointer-events: none;
}
.banner-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  max-width: 700px;
  padding: 0 44px;
}
.banner-build {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: var(--fg-2);
}
.banner-hello {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-2);
}
.banner-hello b {
  font-weight: 800;
  color: var(--fg);
}
.banner-copy h1 {
  margin-top: 2px;
  font-size: 56px;
  line-height: 0.95;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 30%, rgb(255 255 255 / 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgb(0 0 0 / 0.5));
}
.banner-copy p {
  max-width: 420px;
  margin: 10px 0 24px;
  font-size: 15px;
  color: var(--fg-2);
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  overflow: hidden;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-ink);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.28), transparent 55%),
    var(--accent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.5),
    inset 0 -2px 0 rgb(0 0 0 / 0.12),
    0 10px 40px color-mix(in srgb, var(--accent) 30%, transparent);
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}
.launch:hover {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.55),
    inset 0 -2px 0 rgb(0 0 0 / 0.12),
    0 12px 54px color-mix(in srgb, var(--accent) 48%, transparent);
}
.launch:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine-idle 5s ease 2s infinite;
  pointer-events: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--edge);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  background: var(--glass-hover);
  border-color: var(--edge-strong);
}
.btn-glass {
  height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 14px;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent);
  filter: brightness(1.06);
}
.btn-block {
  width: 100%;
  height: 40px;
}
.btn:active,
.launch:active {
  transform: scale(0.97);
}
.is-off {
  opacity: 0.45;
  pointer-events: none;
}

.home-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.02));
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.25);
}
.banner:after,
.home-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.03) 40%, transparent 60%, color-mix(in srgb, var(--accent) 22%, transparent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.home-panel.server {
  --state: var(--fg-2);
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 16px 20px;
}
.server-info {
  flex: none;
  width: 170px;
}
.home-panel.server .sparkline {
  flex: 1;
  height: 44px;
}
.home-panel.server.is-on {
  --state: var(--accent);
}
.server-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.server-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.server-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--state);
}
.server-count {
  font-size: 13px;
  color: var(--fg-2);
}
.server-count strong {
  margin-right: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.sparkline {
  position: relative;
  width: 100%;
  height: 34px;
  color: var(--state);
  cursor: crosshair;
}
.sparkline svg {
  display: block;
  width: 100%;
  height: 100%;
}
.spark-cursor {
  position: absolute;
  top: -4px;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.28));
  pointer-events: none;
}
.spark-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--state) 45%, transparent), 0 0 10px var(--state);
  pointer-events: none;
}
.spark-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  z-index: 5;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--edge), 0 8px 20px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  animation: fade-in 0.15s ease both;
}
.spark-tip.is-left {
  margin-left: 0;
  transform: translateX(calc(-100% - 10px));
}
.spark-tip strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.spark-tip span {
  color: var(--fg-2);
}

.shop-page {
  padding-top: 64px;
}
.shop-section + .shop-section {
  margin-top: 28px;
}
.shop-section h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.shop-item {
  --rarity: #8a8a8a;
  --rarity-bg: linear-gradient(#3a3a3a, #141414);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  clip-path: inset(0 round 12px);
  isolation: isolate;
  contain: layout paint;
  text-align: left;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.25s;
}
.shop-item:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}
.shop-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(transparent 55%, #000 100%),
    var(--rarity-bg);
}
.shop-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.16) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 120% 0;
  transition: background-position 0.7s ease;
  pointer-events: none;
}
.shop-item:hover::after {
  background-position: -20% 0;
}
.shop-item-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.shop-item:hover .shop-item-art {
  transform: scale(1.05);
}
.shop-item-bundle {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: 1fr;
  gap: 2px;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
}
.shop-item-bundle img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}
.shop-item-info {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 36px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.9));
}
.shop-item-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.shop-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.shop-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.shop-price img {
  flex: none;
  width: 15px;
  height: 15px;
}
.shop-price s {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}
.shop-empty {
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--glass);
  text-align: center;
  color: var(--fg-2);
}
.rarity-uncommon {
  --rarity: #69bb1e;
  --rarity-bg: linear-gradient(#69bb1e, #175117);
}
.rarity-rare {
  --rarity: #2cc1ff;
  --rarity-bg: linear-gradient(#2cc1ff, #143977);
}
.rarity-epic {
  --rarity: #c359ff;
  --rarity-bg: linear-gradient(#c359ff, #4b2483);
}
.rarity-legendary {
  --rarity: #ea8d23;
  --rarity-bg: linear-gradient(#ea8d23, #78371d);
}
.rarity-icon {
  --rarity: #5cf2f3;
  --rarity-bg: linear-gradient(#5cf2f3, #256b6b);
}
.rarity-marvel {
  --rarity: #e23a3b;
  --rarity-bg: linear-gradient(#c53334, #761b1b);
}
.rarity-dc {
  --rarity: #5475c7;
  --rarity-bg: linear-gradient(#5475c7, #243461);
}
.rarity-starwars {
  --rarity: #e7e7e7;
  --rarity-bg: linear-gradient(#1b366e, #081737);
}
.rarity-gaminglegends {
  --rarity: #8f6cff;
  --rarity-bg: linear-gradient(#6c4bd1, #312497);
}
.rarity-dark {
  --rarity: #fb22df;
  --rarity-bg: linear-gradient(#fb22df, #520c6f);
}
.rarity-shadow {
  --rarity: #9a9a9a;
  --rarity-bg: linear-gradient(#5a5a5a, #111);
}
.rarity-frozen {
  --rarity: #c4dff7;
  --rarity-bg: linear-gradient(#c4dff7, #9ab4d8);
}
.rarity-lava {
  --rarity: #f0a03a;
  --rarity-bg: linear-gradient(#d19635, #5d0c0c);
}
.rarity-slurp {
  --rarity: #53f0ff;
  --rarity-bg: linear-gradient(#53f0ff, #129fb5);
}

.footer {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  font-size: 12px;
  color: var(--fg-3);
  text-align: center;
}

.season-back,
.season-front {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.season-back {
  z-index: 1;
}
.season-front {
  z-index: 4;
}
:root[data-season="christmas"] .season-back {
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgb(140 200 255 / 0.2), transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 110%, rgb(230 245 255 / 0.1), transparent 70%);
}
:root[data-season="halloween"] .season-back {
  background:
    radial-gradient(ellipse 75% 40% at 50% 108%, rgb(255 110 20 / 0.26), transparent 70%),
    radial-gradient(ellipse 55% 45% at 0% 0%, rgb(130 40 210 / 0.2), transparent 70%);
}
.flake {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px rgb(255 255 255 / 0.6);
  animation: snow-fall linear infinite;
}

.rise {
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}
@keyframes drift {
  to {
    transform: scale(1.03) translateX(-6px);
  }
}
@keyframes shine-idle {
  0% {
    left: -60%;
  }
  22%,
  100% {
    left: 130%;
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes snow-fall {
  to {
    transform: translate3d(var(--drift), 110vh, 0);
  }
}

@media (max-width: 900px) {
  .banner {
    height: auto;
    min-height: 380px;
  }
  .banner-copy {
    padding: 40px 28px;
  }
  .banner-copy h1 {
    font-size: 40px;
  }
}
@media (max-width: 520px) {
  .chrome,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .banner-copy {
    padding: 32px 20px;
  }
  .banner-copy h1 {
    font-size: 32px;
    white-space: normal;
  }
  .banner-actions,
  .banner-actions > * {
    width: 100%;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .server-info {
    width: 120px;
  }
  .home-panel.server {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .season-front {
    display: none;
  }
}
