:root {
  --card-bg: rgba(255,255,255,0.03);
  --accent: #4da3ff;
  --muted: rgba(255,255,255,0.55);
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #050507 0%, #0b0b0d 40%, #0b0b0d 100%);
  color: #fff;
}

.page-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,0.02), transparent 6%),
              radial-gradient(800px 500px at 90% 90%, rgba(255,255,255,0.01), transparent 5%);
  mix-blend-mode: multiply;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

h1 {
  color: #ffffff;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.mode-label {
  font-weight: 600;
  color: #fff !important; /* fix invisible label */
}

.text {
  width: 100%;
  min-height: 320px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  color: #fff !important;
  font-size: 16px;
  resize: vertical;
  transition: all 0.18s ease;
}

.text:focus {
  outline: none;
  border-color: rgba(77,163,255,0.45);
}

.text::placeholder {
  color: rgba(255,255,255,0.45);
}

.url-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

#paste-btn {
  flex: 0 0 100px;
  border-radius: 12px;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
}

.predict-btn {
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #5f6cff, #3aa0ff);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* result card styling (bright white text, cleaner spacing) */
.result-card {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.result-line {
  font-size: 16px;
  margin: 6px 0;
  color: #ffffff; /* bright white text */
}

.result-line strong {
  color: #4da3ff; /* accent blue like input mode/predict button */
  font-weight: 600;
}
