:root {
  --bg-color: #020617;
  --card-bg: rgba(30, 41, 59, 0.4);
  --primary: #38bdf8;
  --secondary: #818cf8;
  --accent: #22d3ee;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --nav-bg: rgba(2, 6, 23, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Nav */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.3);
  border: 4px solid var(--glass-border);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--primary);
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.strength-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.strength-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.strength-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Hobbies */
#hobbies {
  position: relative;
  overflow: hidden;
}

.section-bg-image {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  opacity: 0.15;
  width: 500px;
  pointer-events: none;
}

.glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.stat-highlight {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.5rem;
}

.playlist {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
}

.song {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.song:last-child {
  border-bottom: none;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--glass-border);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid var(--bg-color);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-item .content {
  width: 45%;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg-color);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(600px at var(--x, 50%) var(--y, 50%), rgba(29, 78, 216, 0.15), transparent 80%);
  z-index: 9999;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Footer */
#footer {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .glass-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    justify-content: flex-start !important;
  }

  .timeline-item::after {
    left: 0;
  }

  .timeline-item .content {
    width: 90%;
    margin-left: 20px;
  }

  .date {
    left: 20px;
    transform: none;
  }
}