* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #e0e6f0;
  user-select: none;
}

/* ── Video ── */
#bgVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Vignette ── */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.75) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,.55) 0%,
      transparent 25%,
      transparent 55%,
      rgba(0,0,0,.85) 100%);
  pointer-events: none;
}

/* ── Scanlines ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,.07) 2px,
    rgba(0,0,0,.07) 4px
  );
  pointer-events: none;
  opacity: .6;
}

/* ── Color grade (cinematic teal shift) ── */
.color-grade {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at 50% 110%,
    rgba(77,232,240,.07) 0%,
    transparent 55%);
  pointer-events: none;
}

/* ── UI layer ── */
.ui {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3.5rem;
  pointer-events: none;
}

/* ── Header / Logo ── */
.header {
  text-align: center;
  animation: fadeDown .9s cubic-bezier(.2,0,.2,1) both;
}

.server-tag {
  font-size: .65rem;
  letter-spacing: .35rem;
  color: rgba(77,232,240,.5);
  margin-bottom: .6rem;
}

.logo {
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: .9rem;
  line-height: 1;
  text-shadow: 0 0 60px rgba(77,232,240,.45), 0 0 120px rgba(77,232,240,.15);
}

.ln { color: #fff; }
.ls { color: #4de8f0; }

.logo-rp {
  font-size: .7rem;
  letter-spacing: 1.2rem;
  color: rgba(255,255,255,.3);
  margin-top: .4rem;
}

/* ── Footer ── */
.footer {
  animation: fadeUp .9s cubic-bezier(.2,0,.2,1) .3s both;
}

.tip-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  transition: opacity .4s;
}

.tip-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1rem;
  color: #4de8f0;
  border: 1px solid rgba(77,232,240,.4);
  padding: .15rem .45rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.tip-text { transition: opacity .35s; }

.progress-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pbar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.pbar-fill {
  position: relative;
  z-index: 2;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #3ab8c0, #4de8f0, #9bf0ff);
  border-radius: 2px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.pbar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #9bf0ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4de8f0, 0 0 20px rgba(77,232,240,.6);
  transition: right .5s cubic-bezier(.4,0,.2,1);
}

.pbar-glow {
  position: absolute;
  inset: -3px;
  background: transparent;
}

.pstatus {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  min-width: 130px;
  text-align: right;
  letter-spacing: .03rem;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
