/* ===== SOUNDWAVE - GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  /* Light theme (default) */
  --bg:        #eeeaf8;
  --bg2:       #e8e3f4;
  --bg3:       #f5f3ff;
  --surface:   #ffffff;
  --surface2:  #f0ebff;
  --accent:    #6c2bd9;
  --accent2:   #5b21b6;
  --accent-soft: rgba(108,43,217,0.12);
  --text:      #1e1340;
  --text2:     #5b3fa6;
  --text3:     #9b87c0;
  --border:    rgba(108,43,217,0.12);
  --border2:   rgba(108,43,217,0.25);
  --red:       #ef4444;
  --green:     #22c55e;
  --player-h:  72px;
  --sidebar-w: 260px;
  --font-display: 'Nunito', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 2px 12px rgba(108,43,217,0.10);
  --shadow-lg: 0 8px 32px rgba(108,43,217,0.18);
  --transition: 0.18s ease;
}

body.dark {
  --bg:        #0f0a1e;
  --bg2:       #160d2b;
  --bg3:       #1c1236;
  --surface:   #1e1435;
  --surface2:  #261a42;
  --accent:    #a78bfa;
  --accent2:   #7c3aed;
  --accent-soft: rgba(167,139,250,0.12);
  --text:      #f1eeff;
  --text2:     #c4b5fd;
  --text3:     #7c6aaa;
  --border:    rgba(167,139,250,0.12);
  --border2:   rgba(167,139,250,0.25);
  --shadow:    0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

html, body { height: 100%; font-family: var(--font-body); background: var(--bg); color: var(--text); transition: background 0.3s, color 0.3s; }

/* ===== APP LAYOUT ===== */
#app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: 1fr var(--player-h);
  height: 100vh;
  overflow: hidden;
}

/* ===== SIDEBAR ===== */
#sidebar {
  grid-row: 1 / 3;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  overflow-y: auto;
  transition: background 0.3s;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  padding: 0 1.5rem 1.75rem;
  letter-spacing: -0.3px;
}

.nav-section { margin-bottom: 1.5rem; }
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 1.5rem;
  margin-bottom: 0.4rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  color: var(--text2);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  user-select: none;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { color: var(--accent); background: var(--accent-soft); }
.nav-item.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.sidebar-bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ===== TOPBAR ===== */
#topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  gap: 1rem;
  transition: background 0.3s;
}

.search-wrap {
  flex: 1;
  max-width: 480px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-bar svg { color: var(--text3); width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search-bar input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-body);
  font-size: 0.875rem; flex: 1;
}
.search-bar input::placeholder { color: var(--text3); }

.topbar-right { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 22px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute; top: 1px; left: 1px;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
body.dark .theme-toggle::after { transform: translateX(20px); }

.user-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  flex-shrink: 0;
}

/* ===== MAIN CONTENT ===== */
#main { overflow-y: auto; background: var(--bg); transition: background 0.3s; }
.page-content { padding: 2rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
}
.btn-primary:hover { background: var(--accent2); }
.btn-primary:active { transform: scale(0.98); }

.btn-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: transparent;
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  transition: all var(--transition);
}
.btn-icon:hover { color: var(--accent); border-color: var(--accent); }

.btn-icon-lg {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px;
  box-shadow: 0 4px 16px rgba(108,43,217,0.35);
  transition: background var(--transition), transform 0.1s;
}
.btn-icon-lg:hover { background: var(--accent2); }
.btn-icon-lg:active { transform: scale(0.93); }

/* ===== TRACK LIST ===== */
.track-list { display: flex; flex-direction: column; }
.track-item {
  display: grid;
  grid-template-columns: 28px 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.track-item:hover { background: var(--surface); }
.track-item:hover .track-num { display: none; }
.track-item:hover .track-play-icon { display: flex; }
.track-num { font-size: 0.85rem; color: var(--text3); text-align: center; }
.track-play-icon { display: none; color: var(--accent); font-size: 16px; justify-content: center; align-items: center; }
.track-play-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; overflow: hidden; flex-shrink: 0;
}
.track-thumb img { width: 100%; height: 100%; object-fit: cover; }
.track-info .t-name { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.track-info .t-artist { font-size: 0.75rem; color: var(--text3); margin-top: 1px; }
.track-actions { display: flex; align-items: center; gap: 8px; }
.track-dur { font-size: 0.8rem; color: var(--text3); }
.heart-btn {
  background: none; border: none; color: var(--text3);
  cursor: pointer; font-size: 18px; padding: 4px;
  display: flex; align-items: center;
  transition: color var(--transition);
  line-height: 1;
}
.heart-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.heart-btn:hover, .heart-btn.liked { color: var(--red); }
.heart-btn.liked svg { fill: var(--red); stroke: var(--red); }

/* Track playing state */
.track-item.playing .t-name { color: var(--accent); }
.track-item.playing .track-num { color: var(--accent); }

/* ===== PLAYER BAR ===== */
#player-bar {
  grid-column: 2;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  transition: background 0.3s;
}

.player-left { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.player-thumb {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0; overflow: hidden;
}
.player-thumb img { width: 100%; height: 100%; object-fit: cover; }
.player-track-info { overflow: hidden; }
.player-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.player-artist { font-size: 0.75rem; color: var(--text3); margin-top: 1px; }
.player-heart {
  background: none; border: none;
  color: var(--text3); cursor: pointer; font-size: 18px; padding: 4px;
  display: flex; align-items: center; flex-shrink: 0;
  transition: color var(--transition);
}
.player-heart svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.player-heart:hover, .player-heart.liked { color: var(--red); }
.player-heart.liked svg { fill: var(--red); stroke: var(--red); }

.player-center { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.player-controls { display: flex; align-items: center; gap: 18px; }
.p-ctrl {
  background: none; border: none; color: var(--text3);
  cursor: pointer; display: flex; align-items: center;
  padding: 4px; transition: color var(--transition);
}
.p-ctrl svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-ctrl:hover { color: var(--text); }
.p-ctrl.active { color: var(--accent); }
.p-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
  box-shadow: 0 2px 12px rgba(108,43,217,0.35);
}
.p-play:hover { background: var(--accent2); }
.p-play:active { transform: scale(0.92); }
.p-play svg { width: 18px; height: 18px; stroke: currentColor; fill: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.player-progress { display: flex; align-items: center; gap: 8px; width: 100%; }
.p-time { font-size: 0.7rem; color: var(--text3); flex-shrink: 0; min-width: 30px; }
.p-time:last-child { text-align: right; }
.progress-track {
  flex: 1; height: 3px;
  background: var(--bg2);
  border-radius: 999px;
  cursor: pointer; position: relative;
}
.progress-fill {
  height: 100%; border-radius: 999px;
  background: var(--accent);
  width: 0%; pointer-events: none;
  transition: width 0.5s linear;
}

.player-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.p-right-btn {
  background: none; border: none; color: var(--text3);
  cursor: pointer; padding: 4px; display: flex; align-items: center;
  transition: color var(--transition);
}
.p-right-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-right-btn:hover { color: var(--accent); }
.vol-wrap { display: flex; align-items: center; gap: 6px; }
.vol-wrap svg { width: 18px; height: 18px; color: var(--text3); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vol-slider {
  width: 90px; height: 3px;
  appearance: none; -webkit-appearance: none;
  background: var(--bg2); border-radius: 999px;
  cursor: pointer; outline: none; border: none;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); cursor: pointer;
}

/* ===== MODAL ===== */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(30,19,64,0.45);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 200;
}
.modal-bg.show { display: flex; }
.modal {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  width: 420px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.modal-sub { font-size: 0.82rem; color: var(--accent); margin-bottom: 1.25rem; }
.modal-input {
  width: 100%; padding: 0.7rem 1rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem;
  outline: none; margin-bottom: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-input::placeholder { color: var(--text3); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-cancel {
  padding: 0.6rem 1.25rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text2);
  cursor: pointer; font-family: var(--font-body); font-size: 0.875rem;
  transition: all var(--transition);
}
.btn-cancel:hover { border-color: var(--border2); }
.btn-confirm {
  padding: 0.6rem 1.5rem;
  background: var(--accent); border: none;
  border-radius: var(--radius-sm); color: #fff;
  cursor: pointer; font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  transition: background var(--transition);
}
.btn-confirm:hover { background: var(--accent2); }

/* Spotify-style add-to-playlist modal */
.spotify-playlist-modal {
  width: min(370px, calc(100vw - 32px));
  max-height: min(590px, calc(100vh - 48px));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: #181818;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.spotify-playlist-modal .modal-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.playlist-search-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(108,43,217,0.16);
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 8px;
  color: #d8c8ff;
  margin-bottom: 0.65rem;
}

.playlist-search-wrap .search-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.playlist-search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 0.86rem var(--font-body);
}

.playlist-search-wrap input::placeholder {
  color: #bda8f8;
}

.new-playlist-btn {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(108,43,217,0.16);
  border: 1px solid rgba(167,139,250,0.35);
  color: #efe9ff;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.16s ease;
}

.new-playlist-btn:hover {
  background: rgba(108,43,217,0.26);
}

.plus-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.28);
  color: #fff;
  font-size: 0.75rem;
}

.modal-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0.75rem 0;
}

.playlist-sections-scroll {
  overflow-y: auto;
  padding-right: 4px;
  max-height: 330px;
}

.playlist-sections-scroll::-webkit-scrollbar {
  width: 8px;
}

.playlist-sections-scroll::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 999px;
}

.modal-section-label {
  margin: 0.7rem 0 0.3rem;
  color: #b3b3b3;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-playlist-row {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px 1fr 30px;
  align-items: center;
  gap: 10px;
  padding: 6px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: default;
  transition: background 0.16s ease;
}

.modal-playlist-row:hover {
  background: #2a2a2a;
}

.modal-playlist-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-playlist-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: currentColor;
}

.liked-icon {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.music-icon {
  background: rgba(167,139,250,0.16);
  color: #d8c8ff;
  font-size: 1.05rem;
  font-weight: 900;
}

.modal-playlist-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-playlist-name {
  overflow: hidden;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.modal-playlist-meta {
  color: #b3b3b3;
  font-size: 0.72rem;
}

.modal-checkmark-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  background: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.modal-checkmark-btn:hover {
  border-color: #1db954;
  transform: scale(1.06);
}

.modal-checkmark-btn.checked {
  background: #1db954;
  border-color: #1db954;
  color: #000;
}

.modal-empty-state {
  padding: 1rem 0.5rem;
  color: #b3b3b3;
  font-size: 0.86rem;
}

.spotify-playlist-modal .modal-actions {
  padding-top: 0.75rem;
}

.spotify-playlist-modal .btn-cancel,
.spotify-playlist-modal .btn-done {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
}

.spotify-playlist-modal .btn-cancel:hover {
  transform: scale(1.03);
}

.spotify-playlist-modal .btn-cancel {
  background: #2a2a2a;
  color: #fff;
}

.spotify-playlist-modal .btn-done {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.spotify-playlist-modal .btn-done:hover {
  background: var(--accent2);
  transform: scale(1.03);
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  border-radius: 999px; padding: 0.55rem 1.25rem;
  font-size: 0.85rem; font-weight: 500;
  z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity 0.25s; white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.auth-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  width: 100%; max-width: 430px;
}
.auth-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900;
  color: var(--accent);
  text-align: center; margin-bottom: 0.3rem;
}
.auth-sub { text-align: center; color: var(--text3); font-size: 0.85rem; margin-bottom: 2rem; }
.field-group { margin-bottom: 1rem; }
.field-label { font-size: 0.82rem; font-weight: 600; color: var(--text2); margin-bottom: 6px; display: block; }
.auth-input {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body);
  font-size: 0.9rem; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-input::placeholder { color: var(--text3); }
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--text3); font-size: 0.8rem; margin: 1rem 0;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-link { text-align: center; font-size: 0.85rem; color: var(--text3); margin-top: 1rem; }
.auth-link a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }
.error-msg { color: var(--red); font-size: 0.8rem; margin-top: 0.4rem; display: none; }
.error-msg.show { display: block; }
.success-msg { color: var(--green); font-size: 0.8rem; margin-top: 0.4rem; }

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.section-more { font-size: 0.8rem; color: var(--accent); cursor: pointer; font-weight: 500; font-family: var(--font-body); }
.section-more:hover { text-decoration: underline; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 999px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-content { animation: fadeUp 0.22s ease; }
