/* =============================================
   PROWLER8 PORTFOLIO — style.css
   Black & White | Liquid Glass | Anime Energy
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── VARIABLES ─── */
:root {
  --black: #000000;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #999999;
  --grey-700: #333333;
  --grey-800: #1a1a1a;
  --grey-900: #0d0d0d;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.1);
  --glass-shadow: rgba(255,255,255,0.05);
  --glow: rgba(255,255,255,0.6);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-h: 72px;
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), background 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-logo span { color: var(--grey-400); }
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding: 8px 16px;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.3s var(--ease-smooth);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::before { opacity: 1; transform: scale(1); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 9px 20px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--grey-200);
  transform: translateY(-1px);
}

/* ─── SECTIONS GLOBAL ─── */
.section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.section-number {
  position: absolute;
  top: 100px;
  right: 48px;
  font-family: var(--font-display);
  font-size: 9rem;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.text-stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ─── REVEAL ANIMATION ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO SECTION ─── */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  bottom: 0; left: 0;
  animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-grid {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--grey-400);
  text-transform: uppercase;
  height: 20px;
  margin-bottom: 16px;
}
.typewriter {
  border-right: 2px solid var(--white);
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  0%, 100% { border-color: var(--white); }
  50% { border-color: transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 11rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  overflow: hidden;
}
.title-line {
  display: inline-block;
  animation: slideUp 0.9s var(--ease-smooth) both;
  animation-delay: var(--delay, 0s);
}
.title-line.outline {
  -webkit-text-stroke: 3px var(--white);
  color: transparent;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--grey-400);
  margin-bottom: 28px;
  font-weight: 400;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: var(--grey-200);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}
.badge:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
}
.hero-btn-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.2);
}
.btn-shine {
  position: absolute;
  top: -50%; left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}
.btn-primary:hover .btn-shine { left: 125%; }

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* HERO CHARACTER */
.hero-char-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 600px;
}
.char-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.char-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  animation: ringExpand 4s ease-in-out infinite;
}
.ring-1 {
  width: 380px; height: 380px;
  bottom: 40px;
  left: 50%; transform: translateX(-50%);
  animation-delay: 0s;
}
.ring-2 {
  width: 500px; height: 500px;
  bottom: 0;
  left: 50%; transform: translateX(-50%);
  animation-delay: 0.8s;
  border-color: rgba(255,255,255,0.05);
}
@keyframes ringExpand {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.2; transform: translateX(-50%) scale(1.04); }
}
.hero-char-img {
  position: relative;
  z-index: 2;
  max-height: 580px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.35)) drop-shadow(0 0 80px rgba(255,255,255,0.15));
  animation: charFloat 5s ease-in-out infinite;
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}
.glass-tag {
  position: absolute;
  bottom: 20px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  padding: 8px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  z-index: 3;
}

/* SCROLL CUE */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--grey-700);
  text-transform: uppercase;
}
.scroll-line-anim {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--grey-400), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0) translateY(-100%); opacity: 0; }
  50% { transform: scaleY(1) translateY(0%); opacity: 1; }
  100% { transform: scaleY(0) translateY(100%); opacity: 0; }
}

/* ─── ABOUT SECTION ─── */
.about-section { background: var(--grey-900); }
.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-char-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-char-img {
  max-height: 520px;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.2));
}
.about-stat-card {
  position: absolute;
  bottom: 20px;
  right: -20px;
  padding: 20px 28px;
  text-align: center;
}
.card-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
}
.card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  text-transform: uppercase;
  margin-top: 4px;
}
.about-bio {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--grey-200);
  margin-bottom: 40px;
  font-weight: 400;
}
.about-bio strong { color: var(--white); font-weight: 700; }
.about-bio em { color: var(--grey-100); font-style: italic; }
.about-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.role-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.role-item:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.role-icon { font-size: 1.4rem; }
.role-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}
.role-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--grey-400);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* ─── SKILLS SECTION ─── */
.skills-section {
  background: var(--black);
}
.skills-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.skills-header { margin-bottom: 60px; }
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill-card {
  padding: 28px 24px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.12);
}
.skill-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.skill-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--white);
}
.skill-card p {
  font-size: 0.85rem;
  color: var(--grey-400);
  line-height: 1.7;
}
.skills-char-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.skills-char-img {
  max-height: 480px;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.2));
  animation: charFloat 6s ease-in-out infinite;
}

/* ─── WORK / LEGACY SECTION ─── */
.work-section { background: var(--grey-900); }
.work-inner {
  max-width: 900px;
  margin: 0 auto;
}
.work-header { margin-bottom: 60px; }
.work-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.work-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 14px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}
.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 40px;
  position: relative;
}
.timeline-dot {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: var(--black);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.timeline-item:hover .timeline-dot {
  border-color: var(--white);
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.timeline-content {
  flex: 1;
  padding: 24px 28px;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
}
.timeline-content:hover {
  transform: translateX(6px);
  border-color: rgba(255,255,255,0.2);
}
.timeline-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--white);
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--grey-400);
  line-height: 1.7;
}

/* ─── CONNECT SECTION ─── */
.connect-section { background: var(--black); }
.connect-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.connect-char-wrap {
  display: flex;
  justify-content: center;
}
.connect-char-img {
  max-height: 500px;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.25));
  animation: charFloat 7s ease-in-out infinite;
}
.connect-sub {
  font-size: 1.1rem;
  color: var(--grey-400);
  line-height: 1.8;
  margin-bottom: 36px;
}
.connect-x-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: 32px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, background 0.3s;
}
.connect-x-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 48px rgba(255,255,255,0.2);
  background: var(--grey-100);
}
.connect-extras {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.extra-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey-300);
  border-radius: 14px;
  transition: transform 0.3s, border-color 0.3s;
}
.extra-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}
.extra-link span { font-size: 1.4rem; }

/* ─── SECTION CHAR SHARED ─── */
.section-char {
  max-height: 500px;
  width: auto;
  object-fit: contain;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--grey-900);
  border-top: 1px solid var(--glass-border);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 3px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-700);
  letter-spacing: 0.08em;
}
.footer-x {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey-400);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.footer-x:hover { color: var(--white); }

/* ─── LIQUID GLASS HOVER EFFECT ─── */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.glass-card:hover::after { opacity: 1; }
.glass-card { position: relative; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-700); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-layout { grid-template-columns: 1fr; }
  .skills-char-wrap { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-char-wrap { display: none; }
  .connect-inner { grid-template-columns: 1fr; }
  .connect-char-wrap { display: none; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-char-wrap { height: 400px; }
  .hero-char-img { max-height: 380px; }
  .badge-row { justify-content: center; }
  .hero-btn-row { justify-content: center; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-roles { grid-template-columns: 1fr; }
  .hero-title { font-size: 5rem; justify-content: center; }
  .section { padding: 100px 24px 60px; }
  .section-number { font-size: 5rem; }
}
/* ============================================
   PROWLER8 PORTFOLIO — style.css
   Black & White · Liquid Glass · Legend Tier
   ============================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #9a9a9a;
  --grey-600: #4a4a4a;
  --grey-800: #1a1a1a;
  --grey-900: #0d0d0d;
  --accent: #ffffff;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --glass-bg-strong: rgba(255,255,255,0.08);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-h: 72px;
  --section-pad: 120px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ── NOISE OVERLAY ── */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
}

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: #fff;
  flex-shrink: 0;
}

.logo-bracket {
  color: var(--grey-400);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 auto;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding: 8px 16px;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #4ade80; }
  50% { box-shadow: 0 0 16px #4ade80; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
}

/* ── SECTION COMMON ── */
.section {
  min-height: 100vh;
  padding: var(--section-pad) 80px;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.label-num {
  color: #fff;
}

.section-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 48px;
}

.st-small {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
}

.st-big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 0.9;
}

/* ── GLASS CARD ── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

/* ──────────────────────────────────
   HERO SECTION
   ────────────────────────────────── */
.hero-section {
  padding-top: calc(var(--nav-h) + 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, transparent 40%, rgba(0,0,0,0.9) 100%);
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  animation: scanline-drift 12s linear infinite;
}

@keyframes scanline-drift {
  0% { background-position-y: 0; }
  100% { background-position-y: 100px; }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* Hero Text */
.hero-text-col {
  flex: 1;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 24px;
}

.tag-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--grey-600);
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 28px;
}

.title-line {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 11rem);
  letter-spacing: 0.02em;
  display: block;
}

.line-1 {
  color: #fff;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.1s;
}

.line-2 {
  animation: fade-up 0.8s ease both;
  animation-delay: 0.25s;
}

.line-3 {
  font-size: 3rem;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.4s;
}

.outline-text {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey-400);
  max-width: 440px;
  margin-bottom: 36px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.55s;
}

.hero-sub em {
  color: #fff;
  font-style: italic;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.7s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.hero-handles {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-600);
  letter-spacing: 0.12em;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.85s;
}

.hero-handles .divider {
  margin: 0 10px;
}

/* Hero Character */
.hero-char-col {
  flex: 0 0 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-up 1s ease both;
  animation-delay: 0.3s;
}

.char-glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.char-frame {
  position: relative;
  z-index: 2;
  width: 380px;
  height: 480px;
}

.hero-char-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.15)) drop-shadow(0 0 80px rgba(255,255,255,0.07));
  animation: float-char 6s ease-in-out infinite;
}

@keyframes float-char {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.char-glass-overlay {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 40px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  filter: blur(20px);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  z-index: 10;
}

.badge-1 {
  top: 80px;
  left: -20px;
  animation: badge-float 5s ease-in-out infinite;
}

.badge-2 {
  bottom: 100px;
  right: -20px;
  animation: badge-float 5s ease-in-out infinite;
  animation-delay: -2.5s;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scroll-line-anim 2s ease-in-out infinite;
}

@keyframes scroll-line-anim {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-600);
  writing-mode: vertical-rl;
}

/* ──────────────────────────────────
   ABOUT SECTION
   ────────────────────────────────── */
.about-section {
  background: var(--grey-900);
}

.about-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* About Char */
.about-char-col {
  flex: 0 0 340px;
  position: relative;
}

.about-char-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.about-char-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

.about-char-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  display: block;
}

.about-char-tag {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  text-align: center;
}

.about-char-tag span:first-child {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.char-tag-role {
  font-size: 1.2rem;
}

/* About Text */
.about-text-col {
  flex: 1;
  padding-top: 16px;
}

.about-intro-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  margin-bottom: 28px;
  background: var(--glass-bg);
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey-400);
  margin-bottom: 20px;
  max-width: 520px;
}

.about-body strong {
  color: #fff;
  font-weight: 700;
}

.about-body em {
  color: #c0c0c0;
  font-style: italic;
}

.about-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 36px;
}

.role-pill {
  padding: 9px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey-200);
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s;
}

.role-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.about-x-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: gap 0.2s, border-color 0.2s;
}

.about-x-link:hover {
  gap: 16px;
  border-color: rgba(255,255,255,0.4);
}

/* ──────────────────────────────────
   SKILLS SECTION
   ────────────────────────────────── */
.skills-section {
  background: var(--black);
  position: relative;
}

.skills-header {
  margin-bottom: 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.skill-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.skill-card::after {
  content: attr(data-index);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--grey-600);
  letter-spacing: 0.1em;
}

.skill-card-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.skill-card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--grey-400);
  flex: 1;
}

.skill-card-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent);
  margin-top: 4px;
  transition: background 0.3s;
}

.skill-card:hover .skill-card-line {
  background: linear-gradient(90deg, rgba(255,255,255,0.5), transparent);
}

.featured-skill {
  grid-column: span 1;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.skills-char-wrap {
  position: absolute;
  right: 80px;
  bottom: 0;
  width: 320px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
}

.skills-char-img {
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.5);
}

/* ──────────────────────────────────
   WORK / OPS SECTION
   ────────────────────────────────── */
.work-section {
  background: var(--grey-900);
}

.ops-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  position: relative;
}

.ops-timeline::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0.15) 80%, transparent);
}

.ops-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  position: relative;
}

.ops-dot {
  position: absolute;
  left: -28px;
  top: 34px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.ops-content {
  flex: 1;
}

.ops-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.ops-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.ops-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--grey-400);
}

.ops-glyph {
  font-size: 1.8rem;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ──────────────────────────────────
   CONNECT SECTION
   ────────────────────────────────── */
.connect-section {
  background: var(--black);
}

.connect-grid {
  display: flex;
  gap: 80px;
  align-items: center;
}

.connect-text-col {
  flex: 1;
}

.connect-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-400);
  max-width: 440px;
  margin-bottom: 40px;
}

.connect-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  max-width: 400px;
}

.connect-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  transition: transform 0.25s, background 0.25s;
}

.connect-card:hover {
  transform: translateX(8px);
}

.cc-icon {
  flex-shrink: 0;
  color: #fff;
}

.cc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.cc-handle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.cc-arrow {
  font-size: 1.2rem;
  color: var(--grey-400);
  transition: transform 0.2s, color 0.2s;
}

.connect-card:hover .cc-arrow {
  transform: translateX(4px);
  color: #fff;
}

.connect-footer-quote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--grey-600);
  letter-spacing: 0.06em;
  max-width: 380px;
  border-left: 2px solid var(--grey-800);
  padding-left: 16px;
}

.connect-footer-quote span {
  font-size: 1.2rem;
  color: var(--grey-600);
  vertical-align: middle;
}

.connect-char-col {
  flex: 0 0 360px;
  position: relative;
}

.connect-char-img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(255,255,255,0.12));
  animation: float-char 6s ease-in-out infinite;
  animation-delay: -2s;
}

/* ──────────────────────────────────
   FOOTER
   ────────────────────────────────── */
.site-footer {
  background: #000;
  border-top: 1px solid var(--glass-border);
  padding: 40px 80px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: #fff;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey-600);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ──────────────────────────────────
   ANIMATIONS — INTERSECTION OBSERVER
   ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ──────────────────────────────────
   TEXT GLITCH TRANSITION
   ────────────────────────────────── */
@keyframes glitch-1 {
  0% { clip-path: inset(60% 0 20% 0); transform: translate(-4px, 0); }
  25% { clip-path: inset(10% 0 70% 0); transform: translate(4px, 0); }
  50% { clip-path: inset(40% 0 40% 0); transform: translate(-2px, 0); }
  75% { clip-path: inset(80% 0 5% 0); transform: translate(2px, 0); }
  100% { clip-path: inset(60% 0 20% 0); transform: translate(0, 0); }
}

.hero-title .title-line:hover {
  animation: glitch-title 0.3s ease;
}

@keyframes glitch-title {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 1px); filter: hue-rotate(90deg); }
  40% { transform: translate(3px, -1px); filter: hue-rotate(-90deg); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); filter: none; }
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 1100px) {
  .section { padding: 80px 48px; }
  .hero-scroll-hint { left: 48px; }
  .skills-char-wrap { display: none; }
}

@media (max-width: 880px) {
  :root { --section-pad: 80px; }
  .section { padding: 80px 24px; }
  #navbar { padding: 0 24px; }
  .nav-status { display: none; }

  .hero-content { flex-direction: column-reverse; gap: 32px; text-align: center; }
  .hero-tag { justify-content: center; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-cta-row { justify-content: center; flex-wrap: wrap; }
  .hero-handles { text-align: center; }
  .hero-char-col { flex: 0 0 auto; width: 280px; }
  .char-frame { width: 280px; height: 360px; }
  .badge-1 { left: 0; }
  .badge-2 { right: 0; }
  .hero-scroll-hint { display: none; }

  .about-grid { flex-direction: column; gap: 40px; }
  .about-char-col { flex: 0 0 auto; width: 100%; max-width: 320px; margin: 0 auto; }

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

  .connect-grid { flex-direction: column-reverse; gap: 40px; }
  .connect-char-col { flex: 0 0 auto; width: 240px; margin: 0 auto; }

  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  .ops-timeline::before { display: none; }
  .ops-dot { display: none; }
}

@media (max-width: 560px) {
  .skills-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 0.65rem; }
}
@media (max-width: 1024px) {
  .about-char-wrap {
    display: flex !important;   /* or display: block */
  }
}