* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #eee;
  min-height: 100vh;
  padding: 20px;
}
.container { max-width: 800px; margin: 0 auto; }

header {
  text-align: center;
  margin-bottom: 30px;
}
header h1 {
  font-size: 2.8em;
  background: linear-gradient(90deg, #00d9ff, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
header p { color: #aaa; margin-top: 10px; }

.input-box {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
input {
  flex: 1;
  padding: 16px;
  font-size: 1.1em;
  border: 2px solid #333;
  border-radius: 12px;
  background: #111;
  color: white;
}
button {
  padding: 16px 24px;
  font-weight: 600;
  background: #00d9ff;
  color: black;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover { background: #00b4d8; }

.hidden { display: none !important; }

#loading {
  text-align: center;
  padding: 20px;
  font-style: italic;
  color: #00d9ff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

#result {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.score-circle {
  width: 120px; height: 120px;
  margin: 20px auto;
  border-radius: 50%;
  background: conic-gradient(#ff00c8 0%, #00d9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: white;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.metric span { display: block; margin-bottom: 8px; color: #aaa; }
.bar {
  height: 10px;
  background: #333;
  border-radius: 5px;
  overflow: hidden;
}
#bias-bar {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #007bff 0%, #28a745 50%, #dc3545 100%);
  border-radius: 5px;
  transition: width 0.5s;
}
.bias-left { background: #007bff; }
.bias-right { background: #dc3545; }
.bias-neutral { background: #28a745; }

.claims ul {
  list-style: none;
}
.claims li {
  background: rgba(0,0,0,0.3);
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  font-size: 0.95em;
}

small { display: block; text-align: center; margin-top: 30px; color: #666; }
small a { color: #00d9ff; text-decoration: none; }