/* ============================================================
   Lukasz.aep — Fruitiger Aero x Nintendo Wii Menu theme
   ============================================================ */

@font-face{
  font-family: "Fredoka";
  src: url("../assets/fonts/fredoka.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Nunito";
  src: url("../assets/fonts/nunito.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root{
  --sky-top: #d6d9fb;
  --sky-mid-purple: #a9b6f5;
  --sky-mid: #8bc7ee;
  --sky-bottom: #d6f3e3;
  --wii-white: #ffffff;
  --glass-blue: rgba(190, 230, 250, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --aero-blue: #2ba8e0;
  --aero-green: #6fd18c;
  --aero-pink: #ff6fa5;
  --aero-purple: #8b6df0;
  --aero-purple-deep: #6a4fd6;
  --text-dark: #1c3d4a;
  --text-mid: #3c6472;
  --shadow-soft: 0 10px 30px rgba(30, 90, 110, 0.18);
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }
.visually-hidden-defs{ position: absolute; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid-purple) 22%, var(--sky-mid) 55%, var(--sky-bottom) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- rotating background globe ---------- */
.globe-bg{
  position: fixed;
  top: 50%;
  right: -80px;
  width: 900px;
  height: 900px;
  transform: translateY(-50%) rotate(0deg);
  background-image: url('../assets/img/globe-cutout.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 0 90px rgba(139, 109, 240, 0.55)) saturate(1.18) contrast(1.06);
}

.globe-glow{
  position: fixed;
  top: 50%;
  right: -200px;
  width: 1080px;
  height: 1080px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.55), rgba(155,125,255,0.12) 55%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px){
  .globe-bg{ opacity: 0.85; width: 560px; height: 560px; right: -140px; }
  .globe-glow{ opacity: 0.7; width: 680px; height: 680px; right: -180px; }
}

/* ---------- floating bubbles ---------- */
.bubbles{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubbles span{
  position: absolute;
  bottom: -120px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.1) 60%, transparent 70%);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.6);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1){ left: 5%;  width: 22px; height: 22px; animation-duration: 14s; animation-delay: 0s; }
.bubbles span:nth-child(2){ left: 15%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 2s; }
.bubbles span:nth-child(3){ left: 28%; width: 30px; height: 30px; animation-duration: 18s; animation-delay: 1s; }
.bubbles span:nth-child(4){ left: 42%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: 4s; }
.bubbles span:nth-child(5){ left: 58%; width: 24px; height: 24px; animation-duration: 16s; animation-delay: 3s; }
.bubbles span:nth-child(6){ left: 68%; width: 14px; height: 14px; animation-duration: 11s; animation-delay: 5s; }
.bubbles span:nth-child(7){ left: 78%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: 2.5s; }
.bubbles span:nth-child(8){ left: 85%; width: 10px; height: 10px; animation-duration: 9s;  animation-delay: 6s; }
.bubbles span:nth-child(9){ left: 92%; width: 26px; height: 26px; animation-duration: 17s; animation-delay: 1.5s; }
.bubbles span:nth-child(10){ left: 35%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: 7s; }

@keyframes rise{
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  100% { transform: translateY(-115vh) translateX(20px); opacity: 0; }
}

/* ---------- floating hearts ---------- */
.hearts{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.heart{
  position: absolute;
  bottom: -60px;
  filter: drop-shadow(0 4px 8px rgba(223,61,120,0.25));
  animation: heart-rise linear infinite;
}
.heart:nth-child(1){ left: 10%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: 1s; }
.heart:nth-child(2){ left: 48%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: 5s; }
.heart:nth-child(3){ left: 72%; width: 26px; height: 26px; animation-duration: 18s; animation-delay: 2.5s; }
.heart:nth-child(4){ left: 25%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 8s; }
.heart:nth-child(5){ left: 90%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 4s; }
.heart:nth-child(6){ left: 60%; width: 15px; height: 15px; animation-duration: 13s; animation-delay: 9.5s; }
@keyframes heart-rise{
  0%   { transform: translateY(0) translateX(0) rotate(-8deg); opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translateY(-58vh) translateX(-18px) rotate(8deg); }
  100% { transform: translateY(-115vh) translateX(14px) rotate(-6deg); opacity: 0; }
}

/* ---------- Wii-style tab bar ---------- */
.wiibar{
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 20px;
}
.wiibar-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-dot{ color: var(--aero-pink); }
.brand-orb{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--aero-blue) 60%, #1c7fb0 100%);
  box-shadow: 0 0 10px rgba(43,168,224,0.6);
}
.tabs{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tab{
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--text-mid);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.tab:hover{
  transform: translateY(-3px) scale(1.08) rotate(-1.5deg);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 6px 16px rgba(43,168,224,0.25);
}
.tab.active{
  color: #fff;
  background: linear-gradient(135deg, #5cc2f0, var(--aero-purple));
  box-shadow: 0 6px 16px rgba(139,109,240,0.45), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ---------- layout ---------- */
main{ position: relative; z-index: 1; }
.channel{
  min-height: unset;
  display: flex;
  align-items: center;
  padding: 56px 20px;
  scroll-margin-top: 90px;
}
.channel + .channel{
  border-top: 1px solid rgba(255,255,255,0.5);
}
.channel-inner{
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- glass panel (fruitiger aero core) ---------- */
.glass-panel{
  --mx: 50%;
  --my: 15%;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px 36px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
}
.glass-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.35), rgba(255,255,255,0.08) 40%, transparent 65%);
  pointer-events: none;
  transition: background 0.1s ease;
}

/* ---------- hero ---------- */
.hero{ justify-content: center; text-align: center; min-height: 88vh; position: relative; }
.hero-monitor{
  position: absolute;
  left: clamp(-20px, 2vw, 40px);
  top: clamp(10px, 8vh, 90px);
  width: clamp(140px, 18vw, 260px);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 18px 26px rgba(20,40,80,0.35));
  animation: hero-monitor-float 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-monitor-float{
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@media (max-width: 900px){
  .hero-monitor{ width: 110px; top: 6px; left: 6px; }
}
.hero-content{
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 40px;
}
.wii-remote-glow{
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%);
  z-index: 0;
}
.chrome-text{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5rem);
  margin: 0;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff 0%, #cfd6ff 28%, #8b6df0 52%, #2ba8e0 72%, #ffffff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 0 rgba(255,255,255,0.4);
  filter: drop-shadow(0 6px 12px rgba(43,168,224,0.35));
}
.chrome-text .dim{ opacity: 0.85; }
.subtitle{
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-top: 6px;
}
.cta-row{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.scroll-hint{
  margin-top: 34px;
  font-size: 0.85rem;
  color: var(--text-mid);
  opacity: 0.8;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- glossy Wii buttons ---------- */
.btn{
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn::after{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
}
.btn:hover{ transform: translateY(-3px) scale(1.04); }
.btn-blue{ background: linear-gradient(135deg, #5cc2f0, var(--aero-purple)); }
.btn-pink{ background: linear-gradient(135deg, #ff9dc0, var(--aero-pink)); }
.btn-lg{ padding: 16px 34px; font-size: 1.05rem; }

/* ---------- section titles ---------- */
.section-title{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.section-sub{ color: var(--text-mid); margin-top: 0; margin-bottom: 28px; }
.section-title-center{ justify-content: center; }
.title-orb{
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--aero-blue) 65%, #1c7fb0 100%);
  box-shadow: 0 0 10px rgba(43,168,224,0.6);
  flex-shrink: 0;
}
.title-orb-green{ background: radial-gradient(circle at 30% 30%, #fff, var(--aero-green) 65%, #2e9c56 100%); box-shadow: 0 0 10px rgba(111,209,140,0.6); }
.title-orb-purple{ background: radial-gradient(circle at 30% 30%, #fff, var(--aero-purple) 65%, #6a4fd6 100%); box-shadow: 0 0 10px rgba(155,123,255,0.6); }

/* ---------- cards ---------- */
.card-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
@media (max-width: 800px){ .card-grid{ grid-template-columns: 1fr; } }

.about-card p{ line-height: 1.7; }
.stat-card{ display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.stat{ text-align: center; }
.stat-num{ display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--aero-purple-deep); font-weight: 600; }
.stat-label{ font-size: 0.85rem; color: var(--text-mid); }

.feature-list{ line-height: 1.9; padding-left: 0; list-style: none; }
.feature-list li{ display: flex; align-items: center; gap: 10px; }
.li-arrow{ width: 22px; height: 14px; flex-shrink: 0; }
.title-logo{ width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(60,30,120,0.25)); border-radius: 8px; }
.cd-spin{ border-radius: 50%; animation: spin 4s linear infinite; }
@keyframes spin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }
code{
  background: rgba(139,109,240,0.14);
  color: var(--aero-purple-deep);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.9em;
}

.project-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px){ .project-grid{ grid-template-columns: 1fr; } }
.project-card{
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover{ transform: translateY(-6px) scale(1.03) rotate(-0.8deg); box-shadow: 0 16px 34px rgba(43,168,224,0.28); }
.project-icon{ font-size: 2rem; margin-bottom: 8px; }
.tags{ display: flex; gap: 8px; margin-top: 14px; }
.tags span{
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43,168,224,0.14);
  color: var(--aero-blue);
  font-weight: 700;
}

.tiktok-inner{ display: flex; justify-content: center; }
.tiktok-card{ max-width: 560px; text-align: center; }
.tiktok-icon{ font-size: 2.6rem; }
.tiktok-handle{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--aero-pink);
  font-weight: 600;
}

.footer{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--text-mid);
  font-size: 0.85rem;
}

/* ============================================================
   About section atmosphere — cityscape bubble backdrop
   ============================================================ */
#about{
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(214,217,251,0.88), rgba(139,199,238,0.82) 60%, rgba(214,243,227,0.88)),
    url('../assets/img/cityscape-bubble.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* ============================================================
   Wii-menu channel wave divider
   ============================================================ */
.channel + .channel{
  border-top: none;
  position: relative;
}
.channel + .channel::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M0,14 Q25,2 50,14 T100,14 T150,14 T200,14 V22 H0 Z' fill='rgba(255,255,255,0.55)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 200px 22px;
  z-index: 2;
}

/* ============================================================
   Gentoo kernel — monitor mockup + terminal
   ============================================================ */
.setup-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 36px;
}
@media (max-width: 800px){ .setup-grid{ grid-template-columns: 1fr; } }

.monitor{
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(180,220,255,0.55));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.9);
}
.monitor-screen{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid #0c2733;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.7);
  background: #000;
}
.monitor-screen img{
  display: block;
  width: 100%;
  height: auto;
  transition: transform 8s ease;
}
.monitor:hover .monitor-screen img{ transform: scale(1.06); }
.screen-glare{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 25%, transparent 45%);
  pointer-events: none;
}
.monitor-led{
  width: 8px; height: 8px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle, #baffc9, var(--aero-green));
  box-shadow: 0 0 8px rgba(111,209,140,0.9);
}
.monitor-stand{
  width: 70px; height: 40px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(180,220,255,0.5));
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}
.monitor-base{
  width: 180px; height: 16px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(180,220,255,0.6));
  box-shadow: var(--shadow-soft);
}

.terminal-card{ font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace; }
.terminal-topbar{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px -12px 14px;
  padding: 10px 14px;
  background: rgba(20, 30, 45, 0.9);
  border-radius: 14px 14px 0 0;
}
.dot{ width: 11px; height: 11px; border-radius: 50%; }
.dot-red{ background: #ff5f57; }
.dot-yellow{ background: #febc2e; }
.dot-green{ background: #28c840; }
.terminal-title{
  margin-left: 8px;
  color: #cfe8ff;
  font-size: 0.8rem;
  opacity: 0.8;
}
.terminal-body{
  margin: -14px -12px -8px;
  padding: 18px 20px 22px;
  background: rgba(12, 20, 32, 0.95);
  border-radius: 0 0 20px 20px;
  color: #d6f3e3;
  font-size: 0.82rem;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-x: auto;
}
.t-prompt{ color: var(--aero-green); }
.t-key{ color: #7fd1ff; display: inline-block; min-width: 74px; }
.t-val{ color: #f1f6ff; }
.t-cursor{ animation: blink 1s step-end infinite; color: var(--aero-green); }
@keyframes blink{ 50%{ opacity: 0; } }

/* ============================================================
   Now Playing — Fruitiger Aero MP3 player
   ============================================================ */
.player-wrap{
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.player-glow{
  position: absolute;
  inset: -10% 5%;
  background: radial-gradient(ellipse at center, rgba(139,109,240,0.35), rgba(43,168,224,0.15) 55%, transparent 75%);
  filter: blur(10px);
  z-index: 0;
  animation: pulse-glow 3.2s ease-in-out infinite;
}
@keyframes pulse-glow{
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.player-frame{
  position: relative;
  z-index: 1;
  animation: player-float 5s ease-in-out infinite;
}
.player-img{
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, black 58%, transparent 90%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, black 58%, transparent 90%);
  filter: saturate(1.15) contrast(1.05) drop-shadow(0 20px 30px rgba(43,113,224,0.35));
}
@keyframes player-float{
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.6deg); }
}
.player-screen{
  position: absolute;
  left: 28.5%; top: 29%;
  width: 40%; height: 27%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4%;
  padding: 0 3%;
  overflow: hidden;
  background: linear-gradient(165deg, #4bbaf7 0%, #1878e0 55%, #0e5fc4 100%);
  box-shadow: inset 0 6px 14px rgba(5,20,50,0.4), inset 0 -4px 10px rgba(5,20,50,0.3);
  border-radius: 38% / 42%;
}
.player-screen-row{ display: flex; align-items: flex-end; justify-content: center; height: 32%; }
.eq-bars{ display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.eq-bars span{
  display: block;
  width: 6%;
  min-width: 2px;
  background: linear-gradient(180deg, #eaf7ff, #bfe4ff);
  animation: eq-bounce 0.9s ease-in-out infinite;
}
.eq-bars span:nth-child(1){ animation-delay: 0.0s; height: 40%; }
.eq-bars span:nth-child(2){ animation-delay: 0.15s; height: 70%; }
.eq-bars span:nth-child(3){ animation-delay: 0.3s; height: 30%; }
.eq-bars span:nth-child(4){ animation-delay: 0.45s; height: 90%; }
.eq-bars span:nth-child(5){ animation-delay: 0.1s; height: 55%; }
.eq-bars span:nth-child(6){ animation-delay: 0.35s; height: 80%; }
.eq-bars span:nth-child(7){ animation-delay: 0.2s; height: 45%; }
.eq-bars span:nth-child(8){ animation-delay: 0.5s; height: 65%; }
@keyframes eq-bounce{
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.marquee{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track{
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: clamp(0.5rem, 1.4vw, 0.85rem);
  color: #eaf7ff;
  text-shadow: 0 1px 2px rgba(5,20,50,0.5);
  font-weight: 700;
  animation: marquee-scroll 9s linear infinite;
}
@keyframes marquee-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.player-meta{
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
  font-family: ui-monospace, monospace;
  font-size: clamp(0.4rem, 1.1vw, 0.7rem);
  color: #cfe9ff;
  opacity: 0.9;
}
.player-meta span{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-meta span:first-child{ flex-shrink: 0; }
.notes{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.notes span{
  position: absolute;
  bottom: 10%;
  font-size: 1.4rem;
  color: var(--aero-purple);
  opacity: 0;
  animation: note-rise 4.5s ease-in infinite;
}
.notes span:nth-child(1){ left: 8%; animation-delay: 0s; color: var(--aero-pink); }
.notes span:nth-child(2){ left: 88%; animation-delay: 1.2s; color: var(--aero-blue); }
.notes span:nth-child(3){ left: 20%; animation-delay: 2.4s; color: var(--aero-purple); }
.notes span:nth-child(4){ left: 78%; animation-delay: 3.4s; color: var(--aero-green); }
@keyframes note-rise{
  0%{ transform: translateY(0) rotate(0deg); opacity: 0; }
  15%{ opacity: 1; }
  100%{ transform: translateY(-220px) rotate(20deg); opacity: 0; }
}

/* ============================================================
   custom Wii-remote-pointer cursor
   ============================================================ */
@media (hover: hover) and (pointer: fine){
  body{ cursor: none; }
  a, button, .tab, .btn, .project-card{ cursor: none; }
}
.wii-cursor{
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  margin: -4px 0 0 -6px;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px,-100px,0);
  transition: opacity 0.2s ease;
  opacity: 0;
  filter: drop-shadow(0 3px 4px rgba(20,40,70,0.45));
}
.wii-cursor.active{ opacity: 1; }
.wii-cursor-icon{
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.1s ease;
}
.wii-cursor.pressed .wii-cursor-icon{ transform: scale(0.82); }

@media (max-width: 900px){
  .wii-cursor{ display: none; }
  body, a, button, .tab, .btn, .project-card{ cursor: auto; }
}
