:root {
  --bg: #0f111a;
  --card: #151826;
  --border: rgba(255,255,255,0.06);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.60);

  --accent: #7c5cff;
  --accent2: #22d3ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);

  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,0.10), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(34,211,238,0.08), transparent 40%),
    var(--bg);
}

/* лёгкая сетка */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

/* ===== TYPO ===== */

h1,h2,h3,h4,h5 {
  letter-spacing: -0.03em;
}

.text-muted {
  color: var(--muted) !important;
}

.form-text {
  color: var(--muted) !important;
  font-size: 13px;
}

.form-label {
  color: var(--text) !important;
  font-weight: 500;
}

/* ===== TOPBAR ===== */

.topbar {
  position: sticky;
  top: 0;
  background: rgba(15,17,26,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ===== ICONS ===== */

.icon {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
}

.icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ===== CARDS ===== */

.card {
  background: linear-gradient(180deg, #151826, #11131c);
  border: 1px solid var(--border);
  border-radius: 16px;

  transition: 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,92,255,0.25);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

/* ===== TITLES ===== */

.neon-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */

.btn {
  border-radius: 12px;
  font-weight: 500;
  transition: 0.2s ease;
  box-shadow: none !important;
}

/* primary */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* soft success (ВАЖНО: убрали ядовитый зелёный) */
.btn-success {
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.25);
  color: var(--text);
}

.btn-success:hover {
  background: rgba(124,92,255,0.18);
  border-color: rgba(124,92,255,0.35);
}

/* share button (убрали ярко-зелёный/кислотный) */
.btn-share {
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--text);
}

.btn-share:hover {
  background: rgba(34,211,238,0.18);
}

/* outline */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
  background: rgba(255,255,255,0.05);
}

.btn-outline-danger:hover {
  background: rgba(255,80,80,0.08);
  border-color: rgba(255,80,80,0.25);
  color: #ff6b6b;
}

/* ===== FORMS ===== */

.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text) !important;
  caret-color: var(--accent);
}

.form-control:focus {
  background: rgba(255,255,255,0.06);
  border-color: rgba(124,92,255,0.4);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.12);
}

/* autofill fix */
input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px var(--card) inset !important;
}

/* ===== LINKS ===== */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent2);
}

/* ===== LAYOUT ===== */

.container {
  max-width: 1100px;
}

/* ===== MUTED TEXT ===== */

.muted {
  color: var(--muted);
}