:root {
  --pro-color: #00ccff;
  --con-color: #ff66b2;
  --nyan-gold: #ffd700;
  --glass: rgba(0, 0, 0, 0.8);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: #121212; color: #fff;
  overflow: hidden; height: 100vh;
}

#app {
  width: 100vw; height: 100vh;
  background: url('bg.png') center/cover no-repeat;
  display: flex; flex-direction: column;
}

#app::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 1;
}

.back-link {
  position: absolute; top: 20px; left: 20px; z-index: 100;
  background: var(--nyan-gold); color: #000;
  padding: 8px 15px; border-radius: 20px; font-weight: 900;
  text-decoration: none; font-size: 0.9rem;
}

.debate-stadium {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; padding: 20px;
  max-width: 800px; margin: 0 auto; width: 100%;
}

header { text-align: center; margin-bottom: 30px; }
header h1 { font-size: 1.5rem; font-weight: 900; text-shadow: 0 0 20px var(--nyan-gold); margin-bottom: 10px; }
.topic-banner {
  background: var(--glass); border: 2px solid var(--nyan-gold);
  padding: 15px; border-radius: 10px; font-size: 1.2rem; font-weight: 700;
}

.stage {
  display: flex; justify-content: space-around; align-items: flex-end;
  height: 250px; margin-bottom: 20px;
}

.podium {
  text-align: center; position: relative; width: 150px;
}

.cat-avatar { font-size: 4rem; margin-bottom: 10px; filter: drop-shadow(0 0 10px #fff); }
.cat-name { font-weight: 900; font-size: 0.8rem; padding: 5px; border-radius: 5px; }

.cat-a .cat-name { background: var(--pro-color); color: #000; }
.cat-b .cat-name { background: var(--con-color); color: #000; }

.speech-bubble {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  background: #fff; color: #000; padding: 10px 15px; border-radius: 20px;
  width: 200px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  animation: pop 0.3s ease;
}

@keyframes pop { from { transform: translateX(-50%) scale(0); } to { transform: translateX(-50%) scale(1); } }

.debate-log {
  flex: 1; background: var(--glass); border-radius: 20px;
  padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);
}

.log-entry { padding: 10px; border-radius: 10px; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

.log-entry.cat-a { border-left: 5px solid var(--pro-color); background: rgba(0, 204, 255, 0.1); }
.log-entry.cat-b { border-left: 5px solid var(--con-color); background: rgba(255, 102, 178, 0.1); }

.input-area { display: flex; gap: 10px; margin-top: 20px; }
#topic-input {
  flex: 1; background: #121212; border: 1px solid var(--nyan-gold);
  padding: 15px; border-radius: 10px; color: #fff; font-weight: 700;
}

#start-debate-btn {
  background: var(--nyan-gold); color: #000; border: none;
  padding: 0 20px; border-radius: 10px; font-weight: 900; cursor: pointer;
}

.hidden { display: none; }


/* --- GLOBAL NYANTREPRENEUR OVERRIDES --- */
.back-link, .hub-btn {
  position: absolute !important; top: 15px !important; left: 15px !important; z-index: 9999 !important;
  background: rgba(18, 18, 18, 0.8) !important; color: #ffd700 !important;
  padding: 8px 16px !important; border-radius: 20px !important; font-weight: 800 !important;
  text-decoration: none !important; font-size: 0.8rem !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
  transition: all 0.2s ease !important;
}
