/* Hide top-right header controls for now */
#btnHome { display: none !important; }

:root{
  --bg: #0b0f14;
  --card: rgba(18, 22, 29, 0.72);
  --stroke: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --shadow: 0 20px 60px rgba(0,0,0,0.55);
  --r: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

#bg{
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(900px 500px at 90% 30%, rgba(255,255,255,0.05), transparent 55%);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
  z-index:-2;
}
.bg-overlay{
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.82));
  z-index:-1;
}

.topbar{
  position: sticky;
  top: 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.dot{
  width:56px;
  height:56px;

  background-image: url("assets/art/ui/GlitchCatLogo.png"); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  border-radius: 50%; 
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.35));
}
.title{ font-weight: 650; letter-spacing: 0.2px; }
.subtitle{ font-size: 12px; color: var(--muted); margin-top:2px; }

.actions{ display:flex; gap:10px; align-items:center; }
.btn{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration:none;
  font-size: 13px;
  white-space: nowrap;
}
.btn:hover{ background: rgba(255,255,255,0.12); }
.btn.ghost{ background: transparent; }

.layout{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.path{
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: rgba(0,0,0,0.22);
  box-shadow: var(--shadow);
  min-height: 620px;
  padding: 18px;
  overflow:hidden;
}
.wave{
  position:absolute;
  inset: 0;
  width:100%;
  height:100%;
  opacity: 0.9;
  pointer-events:none;
}

.nodes{ position: relative; height: 560px; }

.node{
  position: absolute;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
  width: 110px;
  transform: translate(-50%, -50%);
}
.bubble{
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  padding: 0;
}
.bubble img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter: saturate(1.05) contrast(1.02);
}
.node-title{
  text-align:center;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.15;
  text-shadow: 0 4px 14px rgba(0,0,0,0.65);
  max-width: 120px;
}

.node.active .bubble{
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08), 0 18px 48px rgba(0,0,0,0.6);
}

.panel{
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: rgba(0,0,0,0.22);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 420px;
}

.panel-empty{
  padding: 10px 4px;
  color: var(--muted);
}
.panel-empty h2{ margin: 0 0 8px; color: var(--text); }

.panel-card{
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--card);
  border-radius: var(--r);
  padding: 16px;
}
.hidden{ display:none; }

.panel-head{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
}
.panel-head h2{ margin:0 0 6px; font-size: 18px; }
.panel-meta{ font-size: 12px; color: var(--muted); }
.panel-buttons{ display:flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.lyrics{
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
  white-space: pre-wrap;
}
.lyrics .section{
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  margin: 10px 0;
}
.lyrics .label{
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.panel-foot{
  margin-top: 12px;
  display:flex;
  justify-content:space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 12px;
}

@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .nodes{ height: 360px; }
}
/* Flashback nodes get a glitch ring */
.node.flashback .bubble{
  position: relative;
  border-color: rgba(255,255,255,0.28);
}

.node.flashback .bubble::before,
.node.flashback .bubble::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:999px;
  pointer-events:none;
}

.node.flashback .bubble::before{
  border: 2px solid rgba(255,255,255,0.28);
  filter: blur(0.2px);
}

.node.flashback .bubble::after{
  border: 2px solid rgba(255,255,255,0.18);
  transform: translate(2px,-1px);
  mix-blend-mode: screen;
  opacity: 0.8;
}

/* a tiny “scanline shimmer” when idle */
@keyframes glitchRing {
  0%   { transform: translate(2px,-1px) rotate(0deg); opacity: 0.55; }
  25%  { transform: translate(-2px,1px) rotate(0.6deg); opacity: 0.75; }
  50%  { transform: translate(1px,2px) rotate(-0.4deg); opacity: 0.6; }
  75%  { transform: translate(-1px,-2px) rotate(0.3deg); opacity: 0.8; }
  100% { transform: translate(2px,-1px) rotate(0deg); opacity: 0.55; }
}

.node.flashback .bubble::after{
  animation: glitchRing 2.6s infinite linear;
}

.socialButtons{
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: white;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.btn:hover{
  background: rgba(255,255,255,0.10);
}
.spotify-player { margin: 12px 0; }
.spotify-player iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; 
}
.btn.disabled{
  opacity: 0.5;
  pointer-events: none;
}

