:root{
  --bg: #000;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.58);

  --border: rgba(255,255,255,0.060);
  --border-strong: rgba(255,255,255,0.14);

  --tile: rgba(255,255,255,0.010);
  --tile2: rgba(255,255,255,0.018);

  --accent: rgba(235,245,255,0.92);
  --accent-soft: rgba(235,245,255,0.20);

  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; margin: 0; }

body{
  font-family: 'Orbitron', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cinematic B/W base */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(1200px 800px at 55% 35%, rgba(255,255,255,0.035), rgba(0,0,0,0) 60%),
    radial-gradient(900px 600px at 25% 75%, rgba(255,255,255,0.020), rgba(0,0,0,0) 60%),
    radial-gradient(1400px 1000px at 50% 55%, rgba(0,0,0,0), rgba(0,0,0,0.92) 72%),
    linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.97));
}

/* Film grain + subtle scanlines */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.010),
      rgba(255,255,255,0.010) 1px,
      rgba(0,0,0,0) 3px,
      rgba(0,0,0,0) 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.008),
      rgba(255,255,255,0.008) 1px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 4px
    ),
    radial-gradient(1100px 720px at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,0.70) 72%);
  opacity: 0.060;
  mix-blend-mode: overlay;
}

.fx-canvas{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.95;
}

/* Layout */
.stage{
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding:
    calc(28px + env(safe-area-inset-top))
    calc(18px + env(safe-area-inset-right))
    calc(80px + env(safe-area-inset-bottom))
    calc(18px + env(safe-area-inset-left));
}

.center{
  width: min(560px, 92vw);
  text-align: center;
  animation: enter .55s ease-out both;
}

@keyframes enter{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Logo & title */
.logo{
  width: clamp(170px, 24vw, 250px);
  display: block;
  margin: 0 auto 14px;
  height: auto;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,0.88));
}

.title{
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: .45em;
  opacity: .96;
  text-shadow: 0 12px 34px rgba(0,0,0,0.62);
}

/* Clean separators */
.hairline{
  width: 160px;
  height: 1px;
  margin: 14px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.hairline.slim{
  width: 120px;
  opacity: 0.80;
  margin-top: 22px;
}

/* =========================
   ESPORTS CLEAN BUTTONS
   ========================= */
.links{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

/* the button */
.btn{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 48px;
  padding: 0 16px 0 18px;
  border-radius: 14px;

  text-decoration: none;
  color: rgba(255,255,255,0.92);

  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.075);

  box-shadow:
    0 18px 60px rgba(0,0,0,0.58);

  opacity: 0.92;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
  overflow: hidden;
}

/* top hairline (premium) */
.btn::before{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  opacity: 0.50;
  pointer-events:none;
}

/* animated underline (esports vibe) */
.btn::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 1px;

  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.22),
    transparent);

  transform: scaleX(0.10);
  transform-origin: center;
  opacity: 0.0;
  transition: transform 220ms ease, opacity 220ms ease;
  pointer-events:none;
}

/* text */
.btn-text{
  font-size: 0.95rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* arrow */
.btn-arrow{
  font-size: 0.95rem;
  opacity: 0.70;
  transform: translateX(0);
  transition: transform 200ms ease, opacity 200ms ease;
}

/* corner ticks (super clean) */
.btn-corners{
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: 0.0;
  transition: opacity 160ms ease;
}
.btn-corners::before,
.btn-corners::after{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 12px;
  background:
    linear-gradient(var(--accent-soft), var(--accent-soft)) left top/10px 1px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) left top/1px 10px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) right top/10px 1px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) right top/1px 10px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) left bottom/10px 1px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) left bottom/1px 10px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) right bottom/10px 1px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) right bottom/1px 10px no-repeat;
}
.btn-corners::after{
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(235,245,255,0.08) inset;
  opacity: 0.55;
}

/* hover state – clean esports pop */
.btn:hover{
  transform: translateY(-2px);
  opacity: 1;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.010));
  border-color: rgba(235,245,255,0.14);

  box-shadow:
    0 22px 70px rgba(0,0,0,0.68);
}
.btn:hover::after{
  transform: scaleX(1);
  opacity: 0.95;
}
.btn:hover .btn-arrow{
  transform: translateX(2px);
  opacity: 0.95;
}
.btn:hover .btn-corners{
  opacity: 1;
}

/* pressed */
.btn:active{
  transform: translateY(0);
  opacity: 0.98;
}

/* keyboard focus */
.btn:focus-visible{
  outline: none;
  border-color: rgba(235,245,255,0.18);
  box-shadow:
    0 22px 70px rgba(0,0,0,0.68),
    0 0 0 3px rgba(235,245,255,0.08);
}

/* =========================
   STAFF CHIPS (clean esports)
   ========================= */
.staff{ margin-top: 18px; }

.staff-title{
  font-size: 0.72rem;
  letter-spacing: .42em;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.staff-list{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip{
  font-size: 0.90rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  padding: 7px 12px;
  border-radius: 999px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.016), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.060);
  opacity: 0.86;
}

/* Subtle legal */
.legal{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 4;

  font-size: 0.66rem;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.26);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* =========================
   NOW PLAYING (match style)
   ========================= */
.now-playing{
  position: fixed;
  left: calc(14px + env(safe-area-inset-left));
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 6;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(255,255,255,0.010);
  border: 1px solid rgba(255,255,255,0.050);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  box-shadow: 0 12px 34px rgba(0,0,0,0.78);
  width: 368px;
}

.np-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.np-label{
  font-size: 0.70rem;
  letter-spacing: .22em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.np-wave{
  width: 260px;
  height: 18px;
  display: block;
  opacity: 0.96;
}

.np-row{
  display: flex;
  align-items: center;
  gap: 10px;
}
.np-marquee{
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
}
.np-track{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.np-track.run{ animation: marquee 14s linear infinite; }
@keyframes marquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}
.np-sep{ opacity: .30; }

.np-next{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.050);
  background: transparent;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  font-family: inherit;
  line-height: 1;
}
.np-next:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.030);
}

/* =========================
   VOLUME PILL
   ========================= */
.vol-pill{
  position: fixed;
  right: calc(14px + env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 6;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,0.010);
  border: 1px solid rgba(255,255,255,0.050);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  box-shadow: 0 12px 34px rgba(0,0,0,0.78);
}

.vol-btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.050);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, background 160ms ease;
  opacity: 0.96;
}
.vol-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.030);
}

.vol-icon{
  width: 16px;
  height: 16px;
  position: relative;
}
.vol-icon::before{
  content:"";
  position:absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.90);
  clip-path: polygon(0 25%, 55% 25%, 100% 0, 100% 100%, 55% 75%, 0 75%);
}
.vol-icon::after{
  content:"";
  position:absolute;
  right: -2px;
  top: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255,255,255,0.85);
  border-left: none;
  border-bottom: none;
  border-radius: 50%;
  transform: rotate(45deg);
}

.vol-btn.is-muted .vol-icon{ opacity: 0.55; }
.vol-btn.is-muted .vol-icon::after{
  content:"";
  position:absolute;
  left: 6px;
  top: 2px;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.82) 45%, rgba(255,255,255,0.82) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.82) 45%, rgba(255,255,255,0.82) 55%, transparent 55%);
}

.vol-slider{
  width: 150px;
  margin: 0;
  accent-color: rgba(220,220,220,0.75);
  opacity: 0.92;
}

/* responsive */
@media (max-width: 560px){
  .now-playing{ width: 320px; }
  .np-wave{ width: 210px; }
  .vol-slider{ width: 115px; }

  .btn{ height: 46px; }
  .btn-text{ font-size: 0.92rem; }
}
@media (max-width: 420px){
  .title{ letter-spacing: .33em; }
  .now-playing{ width: 280px; }
  .np-wave{ width: 170px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .fx-canvas{ display:none; }
  body::after{ opacity: 0.04; }
}