/*        
		  Made by:

███╗   ███╗██████╗ ██╗  ██╗
████╗ ████║██╔══██╗╚██╗██╔╝
██╔████╔██║██████╔╝ ╚███╔╝
██║╚██╔╝██║██╔══██╗ ██╔██╗
██║ ╚═╝ ██║██████╔╝██╔╝ ██╗
╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝ 

*/


/* ============================================
   Tokens
============================================ */
:root {
  --bg: #0a0a14;
  --bg-2: #0f0f1c;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.1);
  --border: rgba(255,255,255,0.14);
  --text: #f5f5f9;
  --muted: #9c9cb0;
  --muted-dim: #63637a;

  --violet: #8b5cf6;
  --pink: #ff6bcb;
  --coral: #ff7a5c;
  --cyan: #4ee7dc;
  --grad: linear-gradient(120deg, var(--violet), var(--pink) 55%, var(--coral));

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(.16,.84,.44,1);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: radial-gradient(1200px 800px at 20% -10%, #14142a 0%, var(--bg) 55%), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

::selection { background: var(--pink); color: #0a0a14; }
a { color: inherit; text-decoration: none; }
section, nav, footer { position: relative; z-index: 2; }

/* ============================================
   Ambient: floating gradient orbs (always animating)
============================================ */
.orb-field { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.orb-a { width: 480px; height: 480px; top: -10%; left: -8%; background: radial-gradient(circle, var(--violet), transparent 70%); animation: floatA 22s ease-in-out infinite; }
.orb-b { width: 420px; height: 420px; top: 20%; right: -10%; background: radial-gradient(circle, var(--pink), transparent 70%); animation: floatB 26s ease-in-out infinite; }
.orb-c { width: 380px; height: 380px; bottom: -5%; left: 10%; background: radial-gradient(circle, var(--coral), transparent 70%); animation: floatC 20s ease-in-out infinite; }
.orb-d { width: 340px; height: 340px; bottom: 10%; right: 15%; background: radial-gradient(circle, var(--cyan), transparent 70%); animation: floatD 24s ease-in-out infinite; opacity: 0.35; }

@keyframes floatA { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(60px,80px) scale(1.15);} }
@keyframes floatB { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-70px,60px) scale(0.9);} }
@keyframes floatC { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(50px,-60px) scale(1.1);} }
@keyframes floatD { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-40px,-40px) scale(1.2);} }

.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(320px circle at var(--sx,50%) var(--sy,30%), rgba(255,255,255,0.06), transparent 70%);
  transition: opacity .3s var(--ease);
}

.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   Floating glass navbar
============================================ */
nav { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 8px 22px;
  border-radius: 100px;
  background: rgba(20,20,32,0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5);
  width: min(92vw, 640px);
  justify-content: space-between;
}

.logo { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.logo .dot { color: var(--coral); }

.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 100px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--glass); }

.nav-cta {
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--grad);
  color: #0a0a14;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-links-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
  width: min(92vw, 640px);
  padding: 10px;
  border-radius: var(--r-md);
  background: rgba(20,20,32,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .4s var(--ease);
}
.nav-links-mobile.open { max-height: 300px; opacity: 1; padding: 10px; }
.nav-links-mobile a { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease); }
.nav-links-mobile a:hover { background: var(--glass); color: var(--text); }

/* ============================================
   Hero
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #63e6a3; box-shadow: 0 0 0 0 rgba(99,230,163,0.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(99,230,163,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(99,230,163,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,230,163,0); }
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 11vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero-name .line { display: block; }
.hero-name .grad {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift { 0%,100%{ background-position: 0% 50%;} 50%{ background-position: 100% 50%;} }

.hero-sub { margin: 26px auto 0; max-width: 480px; font-size: 18px; color: var(--muted); }

.hero-actions { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  background: var(--grad);
  background-size: 200% 200%;
  color: #0a0a14;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease);
  box-shadow: 0 10px 34px -10px rgba(255,107,150,0.5);
}
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0% { left: -60%; } 40%,100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-3px); background-position: 100% 50%; box-shadow: 0 16px 44px -10px rgba(255,107,150,0.65); }
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-glass {
  padding: 15px 26px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.btn-glass:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: rgba(255,255,255,0.3); }

/* Floating glass mock card in hero */
.hero-float-card {
  margin-top: 64px;
  width: min(90vw, 340px);
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  text-align: left;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.hfc-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.hfc-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.hfc-dots span:nth-child(1) { background: #ff7a5c; }
.hfc-dots span:nth-child(2) { background: #ffd166; }
.hfc-dots span:nth-child(3) { background: #63e6a3; }

.hfc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hfc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--glass-strong); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.hfc-bar { height: 8px; border-radius: 100px; flex: 1; background: linear-gradient(90deg, var(--violet), var(--pink)); opacity: 0.8; }
.hfc-bar.short { width: 55%; flex: none; }
.hfc-bar.med { width: 75%; flex: none; }

/* ============================================
   Section shared
============================================ */
section:not(.hero) { padding: 140px 24px; max-width: 1140px; margin: 0 auto; }
.section-head { margin-bottom: 56px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; }

/* ============================================
   Projects — glass cards with animated gradient border
============================================ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }

.project-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.5px;
  overflow: hidden;
  transition: transform .4s var(--ease);
  margin-bottom:20px;
}
.project-card:hover { transform: translateY(-8px); }

.card-border {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, var(--violet), var(--pink), var(--coral), var(--cyan), var(--violet));
  animation: spin 7s linear infinite;
  opacity: 0.55;
  transition: opacity .4s var(--ease);
}
.project-card:hover .card-border { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.card-inner {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--r-lg) - 1.5px);
  background: rgba(16,16,28,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  padding: 34px;
  height: 100%;
}

.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }

.project-icon {
  font-size: 30px;
  width: 130px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--glass-strong);
  border: 1px solid var(--border);
}
.project-icon.img-icon img { width: 30px; height: 30px; object-fit: contain; }

.status-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid;
}
.status-live { color: #63e6a3; border-color: rgba(99,230,163,0.35); background: rgba(99,230,163,0.08); }
.status-dev { color: #ffb454; border-color: rgba(255,180,84,0.35); background: rgba(255,180,84,0.08); }

.project-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; margin-bottom: 12px; }
.project-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }

.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tech-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px; background: var(--glass); }

.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 500;
  padding: 11px 18px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.project-link:hover { border-color: transparent; background: var(--grad); color: #0a0a14; transform: translateY(-2px); }
.project-link.is-disabled { opacity: 0.45; pointer-events: none; }

/* ============================================
   Skills — glass pills with idle float
============================================ */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }

.skill-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 16px;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  animation: bobSmall 5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.15s);
}
.skill-item:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(255,255,255,0.28); background: var(--glass-strong); }
@keyframes bobSmall { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.skill-icon { font-size: 26px; margin-bottom: 10px; }
.skill-item h4 { font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* ============================================
   Contact — big glass panel
============================================ */
.contact { text-align: center; }
.contact-glass {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

.contact-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 20px; }
.contact-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-text { color: var(--muted); font-size: 16px; margin-bottom: 40px; }

.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  font-size: 14.5px; font-weight: 500;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.contact-link svg { width: 18px; height: 18px; fill: currentColor; }
.contact-link:hover { transform: translateY(-3px); border-color: transparent; background: var(--grad); color: #0a0a14; }

/*
   Footer
 */
footer {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 40px 24px 60px;
  color: var(--muted-dim); font-size: 13px;
}
.back-top { color: var(--muted); transition: color .3s var(--ease); }
.back-top:hover { color: var(--text); }

/*
   Reveal
 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/*
   Responsive
 */
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  section:not(.hero) { padding: 90px 20px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .hero-float-card { display: none; }
}
