﻿@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --c1: #ff6b6b;
  --c2: #ffd93d;
  --c3: #6bcb77;
  --c4: #4d96ff;
  --c5: #c77dff;
  --bg: #080810;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f8;
  --muted: rgba(240,240,248,0.5);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--c4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  top: 0; left: 0;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(77,150,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  top: 0; left: 0;
  will-change: transform;
  transition: transform 0.1s var(--ease), opacity 0.3s, width 0.3s, height 0.3s;
}
.cursor-ring.expand {
  width: 56px; height: 56px;
  opacity: 0.3;
  margin: -12px 0 0 -12px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--c4), var(--c5));
  border-radius: 4px;
}

/* ─── ANIMATED BG MESH ─── */
.mesh-bg {
  position: fixed;
  inset: 0; z-index: -2;
  overflow: hidden;
  contain: strict;
}
.mesh-bg::before, .mesh-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  animation: float 14s ease-in-out infinite;
}
.mesh-bg::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(77,150,255,0.13), transparent 70%);
  top: -150px; left: -150px;
}
.mesh-bg::after {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(199,125,255,0.10), transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -7s;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
  contain: layout style;
  animation: float 18s ease-in-out infinite;
}
.orb-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,107,0.09), transparent 70%);
  top: 30%; right: 5%;
  animation-delay: -4s;
}
.orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(107,203,119,0.07), transparent 70%);
  top: 60%; left: 10%;
  animation-delay: -10s;
}
.orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,217,61,0.07), transparent 70%);
  top: 10%; left: 40%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -25px); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 90%; max-width: 1100px;
  padding: 14px 32px;
  background: rgba(8,8,16,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  animation: slideDown 0.8s var(--ease) both;
}

@keyframes slideDown {
  from { transform: translateX(-50%) translateY(-30px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.nav-logo img {
  height: 32px;
  filter: drop-shadow(0 0 10px var(--c4));
  transition: all 0.3s var(--ease);
}
.nav-logo img:hover { filter: drop-shadow(0 0 18px var(--c5)); transform: rotate(-5deg) scale(1.1); }

nav ul { display: flex; list-style: none; gap: 8px; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.03em;
}
nav a:hover {
  color: var(--text);
  background: var(--surface);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c4);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c4);
  opacity: 0.5;
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  position: relative;
  animation: fadeUp 0.9s 0.4s var(--ease) both;
}

.hero-name .char {
  display: inline-block;
  background: linear-gradient(135deg, #fff 30%, var(--c4) 60%, var(--c5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: charFloat 4s ease-in-out infinite;
}
.hero-name .char:nth-child(1) { animation-delay: 0s; }
.hero-name .char:nth-child(2) { animation-delay: 0.1s; }
.hero-name .char:nth-child(3) { animation-delay: 0.2s; }
.hero-name .char:nth-child(4) { animation-delay: 0.3s; }
.hero-name .char:nth-child(5) { animation-delay: 0.4s; }
.hero-name .char:nth-child(6) { animation-delay: 0.5s; }

@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.typing-wrap {
  margin-top: 28px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.08em;
  animation: fadeUp 1s 0.6s var(--ease) both;
  display: flex;
  align-items: center;
  gap: 2px;
}
#typing-text { color: var(--text); font-weight: 400; }
.cursor {
  display: inline-block;
  width: 2px; height: 1.2em;
  background: var(--c4);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.9s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  animation: fadeUp 1s 1.2s var(--ease) both;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--c4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

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

/* ─── MAIN CONTAINER ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c4);
  margin-bottom: 16px;
  opacity: 0.8;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--c4);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 60px;
  text-align: center;
}

.title-gradient {
  background: linear-gradient(90deg, var(--c4), var(--c5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BENTO GRID ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 120px;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.5s var(--ease);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento-item:hover::before { opacity: 1; }

.bento-item.show {
  opacity: 1;
  transform: translateY(0);
}

.bento-item:hover {
  transform: translateY(-6px);
  border-color: rgba(77,150,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(77,150,255,0.1);
}

.bento-item.col-8 { grid-column: span 8; }
.bento-item.col-4 { grid-column: span 4; }
.bento-item.col-6 { grid-column: span 6; }
.bento-item.col-12 { grid-column: span 12; }

.profile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--c4), var(--c5)) border-box;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.profile-role { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.bento-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.status-pill.green {
  background: rgba(107,203,119,0.12);
  border: 1px solid rgba(107,203,119,0.25);
  color: var(--c3);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,203,119,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(107,203,119,0); }
}

.bento-heading {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.skill-chip {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease);
}
.skill-chip:nth-child(1) { background: rgba(77,150,255,0.1); border: 1px solid rgba(77,150,255,0.2); color: var(--c4); }
.skill-chip:nth-child(2) { background: rgba(255,217,61,0.1); border: 1px solid rgba(255,217,61,0.2); color: var(--c2); }
.skill-chip:nth-child(3) { background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.2); color: var(--c1); }
.skill-chip:nth-child(4) { background: rgba(107,203,119,0.1); border: 1px solid rgba(107,203,119,0.2); color: var(--c3); }
.skill-chip:hover { transform: translateY(-2px) scale(1.05); }

/* ─── FILTER PILLS ─── */
.filter-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: none;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.02em;
}
.filter-btn:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  background: var(--surface);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--c4), var(--c5));
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(77,150,255,0.3);
}

/* ─── PROJECTS GRID ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 120px;
}

.project-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  height: 340px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  opacity: 0;
  transform: translateY(30px);
  cursor: none;
}

.project-card.show { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-10px); }

/* Card glow accent */
.project-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.04), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.project-card:hover::after { opacity: 1; }

/* Per-card color themes */
.card-tomexpensive { --accent: #c77dff; --accent-rgb: 199,125,255; }
.card-tomwarps { --accent: #4d96ff; --accent-rgb: 77,150,255; }
.card-mcleader { --accent: #ffd93d; --accent-rgb: 255,217,61; }
.card-drinacos { --accent: #ff6b6b; --accent-rgb: 255,107,107; }
.card-discordbot { --accent: #6bcb77; --accent-rgb: 107,203,119; }

.project-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 70%);
  pointer-events: none;
  transition: all 0.5s var(--ease);
}
.project-card:hover::before {
  width: 300px; height: 300px;
  opacity: 1.5;
}
.project-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 20px 60px rgba(var(--accent-rgb), 0.12);
}

.proj-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb, 255,255,255), 0.06);
  border: 1px solid rgba(var(--accent-rgb, 255,255,255), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
}
.project-card:hover .proj-icon {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: rotate(-5deg) scale(1.1);
}
.proj-icon img { width: 34px; height: 34px; object-fit: contain; }

.proj-info { display: flex; flex-direction: column; flex: 1; }

.proj-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.project-card:hover .proj-title { color: var(--accent); }

.proj-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.proj-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.proj-stack span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(var(--accent-rgb, 255,255,255), 0.06);
  border: 1px solid rgba(var(--accent-rgb, 255,255,255), 0.1);
  color: var(--accent, var(--muted));
  transition: all 0.3s var(--ease);
}
.project-card:hover .proj-stack span {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.25);
}

.proj-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.4s var(--ease);
  transform: rotate(-45deg);
}
.project-card:hover .proj-arrow {
  background: var(--accent);
  border-color: transparent;
  color: #000;
  transform: rotate(0deg);
}

/* ─── CONTACT ─── */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(77,150,255,0.08), transparent 70%);
  pointer-events: none;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 14px;
  outline: none;
  transition: all 0.3s var(--ease);
  resize: none;
}
.contact-card input::placeholder,
.contact-card textarea::placeholder { color: var(--muted); }
.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--c4);
  background: rgba(77,150,255,0.04);
  box-shadow: 0 0 0 3px rgba(77,150,255,0.08);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: none;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c4) 0%, var(--c5) 100%);
  color: #fff;
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.submit-btn:hover::before { left: 100%; }
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(77,150,255,0.35);
}

/* ─── FOOTER ─── */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(to right, transparent, var(--c4), var(--c5), transparent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--c4), var(--c5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.footer-tagline { font-size: 0.82rem; color: var(--muted); }

.socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s var(--ease);
  cursor: none;
}
.social-btn i { font-size: 1.1rem; }
.social-btn:hover {
  transform: translateY(-4px);
  color: var(--text);
}
.social-btn.github:hover {
  border-color: rgba(77,150,255,0.4);
  box-shadow: 0 8px 25px rgba(77,150,255,0.15);
  background: rgba(77,150,255,0.06);
}
.social-btn.instagram:hover {
  border-color: rgba(255,107,107,0.4);
  box-shadow: 0 8px 25px rgba(255,107,107,0.15);
  background: rgba(255,107,107,0.06);
}

.footer-copy {
  text-align: center;
  margin-top: 50px;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* ─── ANIMATIONS ─── */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 1000px) {
  .bento-item.col-8 { grid-column: span 12; }
  .bento-item.col-4 { grid-column: span 6; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  /* Hide cursor on touch */
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Nav - smaller inline buttons */
  nav { padding: 10px 16px; top: 14px; width: 95%; }
  nav ul { gap: 2px; }
  nav a { font-size: 0.72rem; padding: 6px 10px; letter-spacing: 0; }

  /* Hero */
  .hero-name { font-size: clamp(3.8rem, 16vw, 6rem); }
  .typing-wrap { font-size: 1rem; letter-spacing: 0.05em; }
  .hero-scroll-hint { bottom: 28px; }

  /* Bento */
  .bento-grid { display: flex; flex-direction: column; gap: 12px; }
  .bento-item { border-radius: 20px; padding: 24px; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { height: auto; min-height: 280px; border-radius: 18px; padding: 24px; }
  .filter-wrap { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }

  /* Section titles */
  .section-title { font-size: 2rem; margin-bottom: 36px; }

  /* Contact */
  .contact-card { padding: 28px 22px; border-radius: 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 24px; }
  .socials { justify-content: center; flex-wrap: wrap; }
}

/* Phone */
@media (max-width: 430px) {
  /* Nav */
  nav { width: 96%; padding: 9px 14px; }
  nav ul { gap: 1px; }
  nav a { font-size: 0.68rem; padding: 5px 8px; }
  .nav-logo img { height: 26px; }

  /* Orbs smaller on mobile for perf */
  .orb-1 { width: 200px; height: 200px; }
  .orb-2 { width: 180px; height: 180px; }
  .orb-3 { display: none; }
  .mesh-bg::before { width: 320px; height: 320px; }
  .mesh-bg::after { width: 280px; height: 280px; }
}