/* Biisivirta — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
  --bg:       #0A0A0F;
  --card:     #141420;
  --border:   #2a2a3a;
  --accent:   #6C47FF;
  --pink:     #FF2D78;
  --text:     #F0F0FF;
  --muted:    #6B6B8A;
  --success:  #2ecc71;
  --error:    #e74c3c;
  --radius:   12px;
  --font-head:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* AUTH PAGES */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo span {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-logo small {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  margin-top: .2rem;
}

.auth-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* FORM */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .4rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem 1rem;
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent);
}

.btn {
  display: block;
  width: 100%;
  padding: .85rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  margin-top: 1.2rem;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff;
}

.btn-primary:hover { opacity: .9; }

.btn-secondary {
  background: var(--border);
  color: var(--text);
}

.btn-secondary:hover { background: #3a3a4a; }

/* ALERTS */
.alert {
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.alert-error   { background: rgba(231,76,60,.15);  border: 1px solid rgba(231,76,60,.4);  color: #e74c3c; }
.alert-success { background: rgba(46,204,113,.15); border: 1px solid rgba(46,204,113,.4); color: #2ecc71; }
.alert-info    { background: rgba(108,71,255,.15); border: 1px solid rgba(108,71,255,.4); color: var(--accent); }

/* AUTH FOOTER LINKS */
.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
}

.auth-links a { color: var(--accent); }

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* PASSWORD STRENGTH */
.pw-hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .3rem;
}

/* =====================
   LAYOUT
   ===================== */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.5rem;
  background: rgba(10,10,15,.95);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
}
.header-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  flex-shrink: 0;
}
.header-back {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-back:hover { color: var(--text); }
.header-stream-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.header-nav, .header-right {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-left: auto;
}
.nav-user   { color: var(--muted); font-size: .85rem; }
.nav-link   { color: var(--muted); font-size: .85rem; text-decoration: none; }
.nav-link:hover { color: var(--text); }
.nav-link--cta {
  background: var(--accent);
  color: #fff !important;
  padding: .4rem .9rem;
  border-radius: 20px;
  font-size: .85rem;
}
.online-badge {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: var(--border);
  color: var(--muted);
}
.online-badge.is-live { background: rgba(46,204,113,.2); color: #2ecc71; }
.online-badge.guest-badge { background: rgba(255,165,0,.12); color: #ffaa33; }
.online-label { font-size: .8rem; color: var(--muted); }
.guest-label  { font-size: .8rem; color: var(--muted); }

/* FOOTER */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--accent); }

/* =====================
   ETUSIVU — HERO
   ===================== */
.hero {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(108,71,255,.18) 0%, rgba(255,45,120,.1) 50%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(108,71,255,.15);
  border: 1px solid rgba(108,71,255,.3);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--text) 30%, rgba(240,240,255,.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .9rem;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.hero-btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 24px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.hero-btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.hero-btn--pri { background: linear-gradient(135deg, var(--accent), var(--pink)); color: #fff; }
.hero-btn--sec { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--border); }

/* STREAMS */
.streams-section { padding: 1.5rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.section-title {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.section-title h2 { font-size: 1.2rem; font-family: var(--font-head); }
.section-count { color: var(--muted); font-size: .85rem; }

.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.stream-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform .15s, border-color .15s;
}
.stream-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
/* THUMBNAIL */
.stream-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--border);
  flex-shrink: 0;
}
.stream-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.stream-card:hover .stream-card__thumb img { transform: scale(1.04); }

.stream-card__thumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: .9;
}
.stream-card__live-badge {
  position: absolute;
  top: .5rem; left: .5rem;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .72rem;
  font-family: var(--font-head);
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: .3rem;
  letter-spacing: .05em;
}
.live-dot {
  width: 6px; height: 6px;
  background: #e74c3c;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
.stream-card__thumb-empty {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.stream-card__accent { height: 4px; flex-shrink: 0; }
.stream-card__body   { padding: 1rem; flex: 1; }
.stream-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.stream-card__emoji  { font-size: 1.6rem; }
.stream-card__online {
  font-size: .78rem;
  color: var(--muted);
  background: var(--border);
  padding: .2rem .5rem;
  border-radius: 10px;
}
.stream-card__online.is-live { background: rgba(46,204,113,.2); color: #2ecc71; }
.stream-card__name { font-family: var(--font-head); font-size: .95rem; font-weight: 600; }
.stream-card__meta { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }
.stream-card__now  {
  font-size: .82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stream-card__footer { padding: .8rem 1rem; }
.stream-card__btn {
  display: block;
  text-align: center;
  padding: .55rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  opacity: .9;
}
.stream-card:hover .stream-card__btn { opacity: 1; }
.stream-card__tags {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-bottom: .45rem;
}
.sc-tag {
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.sc-tag--bpm { color: var(--accent); background: rgba(108,71,255,.12); }
.stream-card__hover-bar {
  height: 3px;
  opacity: 0;
  transition: opacity .2s;
}
.stream-card:hover .stream-card__hover-bar { opacity: 1; }

/* =====================
   INFO / FEATURES
   ===================== */
.info-section, .features-section, .cta-section {
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.info-inner {
  max-width: 900px;
  margin: 0 auto;
}
.info-heading {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: .5rem;
}
.info-sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 2rem;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.how-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.how-step__num {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.how-step__body { line-height: 1.6; }
.how-step__body strong { font-family: var(--font-head); font-size: .95rem; display: block; margin-bottom: .2rem; }
.how-step__body span { color: var(--muted); font-size: .88rem; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
}
.feat-card--soon {
  border-color: rgba(108,71,255,.3);
  background: linear-gradient(160deg, var(--card), rgba(108,71,255,.06));
}
.feat-card__soon-badge {
  position: absolute;
  top: .8rem; right: .8rem;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 10px;
}
.feat-icon {
  font-size: 1.8rem;
  margin-bottom: .8rem;
  line-height: 1;
}
.feat-card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.feat-card p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.cta-section { text-align: center; }
.cta-inner { max-width: 500px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.cta-inner p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* =====================
   VIRTA-SIVU
   ===================== */
.stream-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  flex: 1;
  min-height: 0;
}

/* SOITIN */
.stream-player-col {
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 95%;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.player-wrap iframe,
.player-wrap #yt-player { width: 100%; height: 100%; border: none; }

.autoplay-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.play-big-btn {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.track-info {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.track-info__main { flex: 1; min-width: 0; }
.track-title  { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.track-vote   { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.vote-btn  { background: var(--border); border: none; border-radius: 8px; padding: .4rem .7rem; cursor: pointer; font-size: 1rem; transition: background .15s; }
.vote-btn:hover { background: #3a3a4a; }
.vote-score { font-family: var(--font-head); font-size: .9rem; min-width: 2rem; text-align: center; }
.vote-sep   { color: var(--border); padding: 0 .1rem; }
.vote-skip  { border: 1px solid var(--accent); color: var(--accent); font-size: .82rem; padding: .35rem .65rem; }
.vote-skip:hover { background: rgba(108,71,255,.15) !important; }
.vote-report { border: 1px solid rgba(231,76,60,.35); color: #e47070; font-size: .78rem; padding: .35rem .65rem; }
.vote-report:hover { background: rgba(231,76,60,.1) !important; border-color: rgba(231,76,60,.6); }
.vote-report--sent { opacity: .55; cursor: default; }
.vote-report:disabled { opacity: .55; cursor: default; }

/* CHAT */
.stream-chat-col {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 60px);
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
}
.chat-header {
  padding: .8rem 1rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: .8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.chat-msg {
  font-size: .88rem;
  line-height: 1.4;
  word-break: break-word;
}
.chat-user {
  font-weight: 600;
  color: var(--accent);
}
.chat-system {
  color: var(--muted);
  font-style: italic;
  font-size: .82rem;
}
.chat-error {
  color: var(--error);
  font-size: .82rem;
  font-style: italic;
}
.chat-input-wrap {
  padding: .8rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .5rem .8rem;
  outline: none;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .5rem .9rem;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity .15s;
}
.chat-send:hover { opacity: .85; }
.chat-login-prompt {
  display: block;
  text-align: center;
  width: 100%;
  padding: .6rem;
  color: var(--muted);
  font-size: .85rem;
  text-decoration: none;
}
.chat-login-prompt:hover { color: var(--accent); }

/* =====================
   RESPONSIIVISUUS
   ===================== */
@media (max-width: 768px) {
  .stream-layout {
    grid-template-columns: 1fr;
  }
  .stream-chat-col {
    border-left: none;
    border-top: 1px solid var(--border);
    position: static;
    max-height: 350px;
    height: 350px;
  }
  .stream-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-header { padding: .7rem 1rem; }
  .header-stream-name { font-size: .9rem; }
  .info-section, .features-section, .cta-section { padding: 2.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-btn { width: 100%; max-width: 280px; text-align: center; }
}

/* =====================
   LISÄÄ BIISI (stream-sivu)
   ===================== */
.add-track-section { display: flex; flex-direction: column; gap: .5rem; }
.add-track-toggle {
  width: 100%;
  padding: .65rem .5rem;
  border: 1px solid rgba(108,71,255,.4);
  border-radius: 8px;
  background: rgba(108,71,255,.08);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.add-track-toggle:hover { background: rgba(108,71,255,.15); }
.add-track-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.at-row { display: flex; gap: .5rem; }
.at-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .55rem .8rem;
  outline: none;
}
.at-input:focus { border-color: var(--accent); }
.at-fetch-btn {
  background: var(--border);
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .85rem;
  padding: .55rem .9rem;
  cursor: pointer;
  white-space: nowrap;
}
.at-fetch-btn:hover { background: #3a3a4a; }
.at-preview {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .8rem;
}
.at-preview-title  { font-size: .88rem; font-weight: 600; }
.at-preview-artist { font-size: .8rem; color: var(--muted); }
.at-submit-btn {
  width: 100%;
  padding: .65rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.at-submit-btn:hover  { opacity: .88; }
.at-submit-btn:disabled { opacity: .4; cursor: default; }
.at-error {
  font-size: .82rem;
  color: var(--error);
  background: rgba(231,76,60,.1);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: 6px;
  padding: .4rem .7rem;
}
.at-ok {
  font-size: .82rem;
  color: var(--success);
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.25);
  border-radius: 6px;
  padding: .4rem .7rem;
}

/* =====================
   LOGO LETTER ANIMATION
   ===================== */
.lc {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lcArrive 0.8s cubic-bezier(.34, 1.4, .64, 1) both;
}

@keyframes lcArrive {
  0% {
    transform: translate(var(--lx, -30px), var(--ly, -20px)) scale(0.3);
    opacity: 0;
    filter: blur(6px);
  }
  65% { filter: blur(1px); }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* LEGAL FOOTER */
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.2rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2rem;
}
.legal-footer a { color: var(--muted); }
.legal-footer a:hover { color: var(--text); }
