* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --bg-1: #1a1a1a;
  --bg-2: #2d2d2d;
  --accent-1: #00ff88;
  --accent-2: #00ccff;
  --text-dim: rgba(255, 255, 255, 0.75);
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
  color: #fff;
  min-height: 100vh;
}

a { color: inherit; }

/* ---- nav ---- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.navbar .brand {
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar nav {
  display: flex;
  gap: 1.75rem;
}

.navbar nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: var(--accent-1);
}

/* ---- layout helpers ---- */

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-sub {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.placeholder {
  outline: 1px dashed rgba(0, 255, 136, 0.4);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- hero ---- */

.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  animation: fadeIn 1.2s ease-in;
}

.hero .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--accent-1);
  margin-bottom: 1.25rem;
}

.hero p.bio {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.hero .quote {
  max-width: 520px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  border: none;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dim);
  position: relative;
}

.hero .quote::before,
.hero .quote::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  margin: 0 auto 0.9rem;
}

.hero .quote::after {
  margin: 0.9rem auto 0;
}

.btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  color: #1a1a1a;
  padding: 0.8rem 1.75rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  margin: 0 0.4rem;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent-1);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 1.4rem;
  margin: 0 0.75rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
}

.social-links a:hover {
  color: var(--accent-1);
  transform: translateY(-3px);
}

/* ---- nav cards (kampus / projects entry points) ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}

.card:hover {
  border-color: var(--accent-1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.08);
}

.card i {
  font-size: 1.6rem;
  color: var(--accent-1);
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card .card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--accent-2);
}

/* ---- footer ---- */

footer {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .hero h1 { font-size: 1.9rem; }
}
