


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

:root {
  --you-bg:        #080808;
  --you-red:       #c0392b;
  --you-red-glow:  rgba(192,57,43,0.35);
  --netflix-red:   #E50914;

  --curry-bg:      #0d0d0d;
  --spotify:       #1DB954;
  --spotify-glow:  rgba(29,185,84,0.3);

  --white:      #f5f0eb;
  --white-dim:  rgba(245,240,235,0.65);
  --white-mute: rgba(245,240,235,0.28);

  --font-dis:   'Playfair Display', Georgia, serif;
  --font-spt:   'Montserrat', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;

  --panel-spd:  0.7s cubic-bezier(0.77,0,0.175,1);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font-body);
  cursor: none;
}

a, button, [onclick] { cursor: none; }


::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #333; }


#csr {
  position: fixed; z-index: 9999;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(245,240,235,0.45);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, border-color .2s, opacity .2s;
  mix-blend-mode: difference;
}
#csrDot {
  position: fixed; z-index: 9999;
  width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
}
body.on-you   #csr { border-color: rgba(192,57,43,0.7); }
body.on-curry #csr { border-color: rgba(29,185,84,0.7); }


#overlay {
  position: fixed; inset: 0;
  background: #000;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
#overlay.show { opacity: 1; pointer-events: all; }


#lobby {
  display: flex;
  width: 100vw; height: 100vh;
  position: relative;
  overflow: hidden;
}


#lobby.hy  #pYOU   { flex-basis: 62%; }
#lobby.hy  #pCurry { flex-basis: 38%; }
#lobby.hc  #pYOU   { flex-basis: 38%; }
#lobby.hc  #pCurry { flex-basis: 62%; }


#lobby.xy  #pYOU   { flex-basis: 100%; }
#lobby.xy  #pCurry { flex-basis: 0%; opacity: 0; }
#lobby.xy  #divider { opacity: 0; }
#lobby.xc  #pCurry { flex-basis: 100%; }
#lobby.xc  #pYOU   { flex-basis: 0%; opacity: 0; }
#lobby.xc  #divider { opacity: 0; }


.panel {
  position: relative;
  flex: 0 0 50%;
  height: 100vh;
  overflow: hidden;
  transition: flex-basis var(--panel-spd), opacity var(--panel-spd);
}


.grain {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23f)' opacity='0.055'/%3E%3C/svg%3E");
  opacity: 0.55; mix-blend-mode: overlay;
}


.pcontent {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column;
  padding: 2.4rem 3rem 3rem;
}


@keyframes sLeft  { from { transform: translateX(-110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes sRight { from { transform: translateX(110%);  opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fUp    { from { opacity: 0; transform: translateY(18px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes fDown  { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

#pYOU   { background: var(--you-bg);   animation: sLeft  0.9s cubic-bezier(0.23,1,0.32,1) both; }
#pCurry { background: var(--curry-bg); animation: sRight 0.9s cubic-bezier(0.23,1,0.32,1) both; }


#youCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 1;
}


#pYOU::after {
  content: '';
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.035) 2px, rgba(0,0,0,0.035) 4px
  );
}


.vig-you {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 88% 85% at 50% 50%,
    transparent 30%, rgba(8,8,8,0.92) 100%);
}


.badge-netflix {
  display: inline-flex; align-items: center; gap: 9px;
  animation: fDown 0.65s 0.95s ease both;
  align-self: flex-start;
  user-select: none;
}
.n-icon {
  font-family: var(--font-spt); font-weight: 900; font-size: 2.1rem;
  color: var(--netflix-red); line-height: 1;
  text-shadow: 0 0 24px rgba(229,9,20,0.55);
}
.badge-txt {
  font-family: var(--font-spt); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.32em;
  color: rgba(229,9,20,0.6); text-transform: uppercase;
}


.you-mid {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.9rem;
  text-align: center;
  animation: fDown 0.75s 1.1s ease both;
  pointer-events: none;
}
.you-tagline {
  font-family: var(--font-dis); font-style: italic;
  font-size: clamp(0.65rem, 1.1vw, 0.85rem);
  letter-spacing: 0.24em; color: rgba(192,57,43,0.65);
  text-transform: uppercase;
}
.you-sub {
  font-family: var(--font-dis);
  font-size: clamp(0.6rem, 0.9vw, 0.76rem);
  letter-spacing: 0.5em; color: var(--white-mute);
  text-transform: uppercase;
}


.you-bot {
  display: flex; flex-direction: column; gap: 1.1rem;
  animation: fUp 0.7s 1.2s ease both;
}
.you-name {
  font-family: var(--font-dis); font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--white); letter-spacing: -0.02em; line-height: 1.05;
}
.you-role {
  font-size: 0.81rem; color: var(--you-red);
  font-style: italic; letter-spacing: 0.06em; margin-top: 2px;
}



.orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
  animation: orbP 6s ease-in-out infinite;
}
.orb1 { width: 340px; height: 340px; top: -100px; right: -100px;
         background: radial-gradient(circle, rgba(29,185,84,0.16), transparent 70%); animation-delay: 0s; }
.orb2 { width: 250px; height: 250px; bottom: 60px; left: -70px;
         background: radial-gradient(circle, rgba(29,185,84,0.11), transparent 70%); animation-delay: -2.2s; }
.orb3 { width: 190px; height: 190px; top: 45%; left: 45%;
         background: radial-gradient(circle, rgba(29,185,84,0.09), transparent 70%); animation-delay: -4.1s; }
@keyframes orbP { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.18)} }


.vig-curry {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 88% 85% at 50% 50%,
    transparent 30%, rgba(13,13,13,0.88) 100%);
}


.badge-spotify {
  display: inline-flex; align-items: center; gap: 9px;
  animation: fDown 0.65s 0.95s ease both;
  align-self: flex-start; user-select: none;
}
.sp-icon {
  font-size: 1.55rem; color: var(--spotify); line-height: 1;
  text-shadow: 0 0 18px rgba(29,185,84,0.55);
}
.sp-txt {
  font-family: var(--font-spt); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.28em;
  color: rgba(29,185,84,0.6); text-transform: uppercase;
}


.vinyl-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  animation: fDown 0.85s 1.05s ease both;
  pointer-events: none;
}

.vinyl-disk {
  position: relative;
  width: clamp(150px,20vw,230px); height: clamp(150px,20vw,230px);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%,
    #2e2e2e 0%, #1a1a1a 28%, #0f0f0f 56%, #080808 100%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04),
    0 0 40px rgba(29,185,84,0.13),
    0 18px 56px rgba(0,0,0,0.85);
  animation: spin 5s linear infinite;
  animation-play-state: paused;
  flex-shrink: 0;
}
#pCurry:hover .vinyl-disk {
  animation-play-state: running;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.06),
    0 0 55px rgba(29,185,84,0.38),
    0 18px 56px rgba(0,0,0,0.85);
  transition: box-shadow 0.4s ease;
}
@keyframes spin { to { transform: rotate(360deg); } }


.grooves { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.groove  { position: absolute; border-radius: 50%; border: 0.5px solid rgba(255,255,255,0.04); }


.vinyl-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 34%; height: 34%; border-radius: 50%;
  background: radial-gradient(circle, #1DB954 0%, #14853c 80%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 22px rgba(29,185,84,0.45);
}
.vn { font-family: var(--font-spt); font-weight: 900;
       font-size: clamp(0.9rem,1.6vw,1.3rem); color: #fff; line-height: 1; }
.vt { font-family: var(--font-spt); font-weight: 700;
       font-size: clamp(0.42rem,0.65vw,0.55rem); letter-spacing: 0.18em;
       color: rgba(255,255,255,0.7); text-transform: uppercase; }
.vinyl-label::after {
  content: ''; position: absolute;
  width: 6px; height: 6px; background: #fff;
  border-radius: 50%; box-shadow: 0 0 6px rgba(255,255,255,0.8);
}

.vinyl-disk::before {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  top: 9%; left: 14%; width: 28%; height: 19%;
  background: linear-gradient(135deg, rgba(255,255,255,0.09), transparent);
  border-radius: 50%;
}


.needle {
  position: absolute; top: 8%;
  right: calc(50% - clamp(75px,10vw,115px) - 8px);
  width: 6px; height: clamp(55px,9vw,85px);
  transform-origin: top center;
  transform: rotate(-24deg);
  z-index: 3; pointer-events: none;
  transition: transform 0.55s ease;
}
#pCurry:hover .needle { transform: rotate(-11deg); }

.needle-arm { width: 3px; height: 80%; background: linear-gradient(to bottom,#888,#555); border-radius:1px; margin:0 auto; }
.needle-tip { width:6px; height:6px; background:#ccc; border-radius:50%; margin:0 auto; box-shadow:0 0 4px rgba(255,255,255,0.4); }


.curry-name-blk {
  display: flex; flex-direction: column; gap: 0.45rem;
  animation: fUp 0.7s 1.12s ease both;
}
.curry-title {
  font-family: var(--font-spt); font-weight: 900;
  font-size: clamp(1.7rem,3.2vw,2.7rem);
  color: var(--white); letter-spacing: -0.02em;
  line-height: 0.92; text-transform: uppercase;
}
.curry-sub {
  font-family: var(--font-spt); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.12em;
  color: var(--spotify); text-transform: uppercase;
}
.eq {
  display: flex; align-items: flex-end; gap: 3px; height: 18px;
}
.eq span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--spotify);
  box-shadow: 0 0 5px rgba(29,185,84,0.5);
  animation: eqB 0.8s ease-in-out infinite alternate;
}
.eq span:nth-child(1){height:7px;  animation-delay:.00s}
.eq span:nth-child(2){height:16px; animation-delay:.12s}
.eq span:nth-child(3){height:11px; animation-delay:.24s}
.eq span:nth-child(4){height:18px; animation-delay:.07s}
.eq span:nth-child(5){height:5px;  animation-delay:.32s}
.eq span:nth-child(6){height:13px; animation-delay:.18s}
@keyframes eqB { from{transform:scaleY(.25)} to{transform:scaleY(1)} }


.playlist {
  list-style: none;
  display: flex; flex-direction: column; gap: 1px;
  animation: fUp 0.7s 1.28s ease both;
}
.track {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 10px; border-radius: 6px;
  transition: background 0.15s;
}
.track:hover { background: rgba(255,255,255,0.05); }
.trk-n { font-family:var(--font-spt); font-size:.69rem; font-weight:700; color:var(--white-mute); width:18px; text-align:center; flex-shrink:0; }
.trk-l { font-size:.83rem; color:var(--white-dim); flex:1; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trk-b { font-size:.9rem; flex-shrink:0; }


.enter-btn {
  display: inline-flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.65rem;
  font-family: var(--font-spt); font-size: 0.8rem;
  font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: 4px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
  animation: fUp 0.7s 1.42s ease both;
}
.enter-btn:hover { transform: translateY(-3px) scale(1.025); }
.enter-btn:active { transform: scale(0.96); }
.btn-t { position: relative; z-index: 1; }
.btn-a { position: relative; z-index: 1; font-size: 1.05rem; transition: transform .2s; }
.enter-btn:hover .btn-a { transform: translateX(5px); }
.btn-rip {
  position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,0.13);
  transform: scale(0); opacity: 0;
  transition: transform .4s, opacity .4s;
}
.enter-btn:active .btn-rip { transform: scale(1); opacity: 1; }

.btn-you {
  background: var(--you-red); color: #fff;
  box-shadow: 0 4px 22px rgba(192,57,43,0.4);
}
.btn-you:hover { box-shadow: 0 8px 32px rgba(192,57,43,0.62); }

.btn-curry {
  background: var(--spotify); color: #000;
  box-shadow: 0 4px 22px rgba(29,185,84,0.4);
}
.btn-curry:hover { box-shadow: 0 8px 32px rgba(29,185,84,0.62); }


#divider {
  position: absolute; left: 50%; top: 0; bottom: 0;
  transform: translateX(-50%);
  z-index: 50; display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
  transition: left var(--panel-spd), opacity 0.35s ease;
}
#lobby.hy  #divider { left: 62%; }
#lobby.hc  #divider { left: 38%; }

.div-line {
  flex: 1; width: 1px;
  background: linear-gradient(to bottom,
    transparent, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0.1) 80%, transparent);
}
.div-vs {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: #0e0e0e; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-spt); font-weight: 900;
  font-size: 0.7rem; letter-spacing: 0.08em; color: var(--white-mute);
  box-shadow: 0 0 28px rgba(0,0,0,0.85);
  animation: vsP 3s ease-in-out infinite;
}
@keyframes vsP {
  0%,100%{ box-shadow: 0 0 18px rgba(0,0,0,.8); }
  50%    { box-shadow: 0 0 28px rgba(255,255,255,.05), 0 0 50px rgba(0,0,0,.6); }
}


@media (max-width: 768px) {
  html, body { overflow: auto; }
  #lobby {
    flex-direction: column;
    height: auto; min-height: 100vh;
  }
  .panel { flex: 0 0 auto !important; width: 100% !important; height: 100vh; opacity:1!important; }
  #divider { display: none; }
  .pcontent { padding: 2rem 1.8rem 2.4rem; }
  #lobby.hy #pYOU, #lobby.hy #pCurry,
  #lobby.hc #pYOU, #lobby.hc #pCurry { flex: unset; }
  .enter-btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 480px) {
  .you-name   { font-size: 1.3rem; }
  .curry-title{ font-size: 1.6rem; }
  .playlist   { display: none; }
}

