:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.9);
  --muted: rgba(255,255,255,0.65);
}

html, body { min-height: 100%; }

body{
  background: radial-gradient(1200px 700px at 20% 10%, rgba(99,102,241,0.30), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(34,197,94,0.22), transparent 60%),
              radial-gradient(900px 600px at 40% 90%, rgba(236,72,153,0.18), transparent 55%),
              var(--bg);
  background-attachment: fixed;
  color: var(--text);
}

a { text-decoration: none; }
.text-muted-custom { color: var(--muted) !important; }

/* Navbar */
.navbar{
  background: rgba(0,0,0,0.25) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Sections */
.hero{
  padding: 6rem 0 3rem;
}

.section{
  padding: 3rem 0;
}

/* Glass cards */
.glass{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Badges */
.badge-soft{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  padding: 0.35em 0.6em;
}

/* Buttons */
.btn-primary{
  background: rgba(99,102,241,0.9);
  border: 1px solid rgba(99,102,241,0.6);
}

.btn-primary:hover{
  background: rgba(99,102,241,1);
}

/* Animated pop-up cards */
.reveal{
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.show{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cards */
.card{
  border-radius: 1.25rem;
}

.card .card-body{
  padding: 1.25rem;
}

/* Force ALL card headings to be white */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card .h1,
.card .h2,
.card .h3,
.card .h4,
.card .h5 {
  color: #ffffff;
}

/* Hover polish */
.card-hover{
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-hover:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* Filter bar */
.filter-btn {
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.14);
}

.filter-btn.active {
  background: rgba(99,102,241,0.9);
  border-color: rgba(99,102,241,0.9);
  color: #fff;
}

/* Timeline (CV) */
.timeline{
  position: relative;
  padding-left: 1.25rem;
}

.timeline::before{
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.14);
}

.timeline-item{
  position: relative;
  padding: 0 0 1.5rem 1.25rem;
}

.timeline-item::before{
  content: "";
  position: absolute;
  left: -2px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: rgba(99,102,241,0.95);
  border: 2px solid rgba(255,255,255,0.25);
}

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
}