/* ==========================================================================
   Ali Badalov — Game Developer Portfolio Design System
   Modern, High-Performance, Cyber-Sleek Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-surface: #0e131d;
  --bg-card: rgba(14, 20, 31, 0.72);
  --bg-card-hover: rgba(20, 30, 48, 0.85);
  --bg-glass: rgba(12, 18, 28, 0.65);
  
  --line: rgba(255, 255, 255, 0.08);
  --line-glow: rgba(0, 242, 254, 0.3);
  --line-bright: rgba(255, 255, 255, 0.16);

  --text-main: #f3f6fc;
  --text-muted: #9bb0c7;
  --text-dim: #62768d;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 221, 0.4);
  --accent-cyan-glow: rgba(0, 242, 254, 0.35);
  --accent-green: #10e793;
  --accent-gold: #ffbe0b;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 0 30px rgba(0, 242, 254, 0.22);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(157, 78, 221, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(16, 231, 147, 0.04) 0%, transparent 60%);
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 40%, transparent 95%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Container */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 32px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.brand:hover .brand-icon img {
  transform: scale(1.1);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-text .tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #031422;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 242, 254, 0.55);
  color: #020d18;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cv {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: var(--text-main);
}

.btn-cv:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px var(--accent-purple-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 40px 0 50px;
  position: relative;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-avatar-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  user-select: none;
  padding: 12px;
}

.hero-avatar-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-avatar-frame:hover {
  transform: translateY(-6px) scale(1.03);
}

/* Outer Animated Ambient Glow */
.avatar-ring-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #00f2fe, #9d4edd, #ff007f, #00f2fe);
  filter: blur(14px);
  opacity: 0.65;
  animation: cyberSpin 9s linear infinite;
  z-index: 1;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.hero-avatar-frame:hover .avatar-ring-glow {
  opacity: 0.95;
  filter: blur(20px);
}

/* Precision Outer Cybernetic Border */
.avatar-ring-tech {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.9), rgba(157, 78, 221, 0.75), rgba(0, 242, 254, 0.5));
  z-index: 2;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

/* Inner Container with border */
.avatar-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  border: 4px solid #0d1117;
  background: #0d1117;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.8), 0 10px 28px rgba(0, 0, 0, 0.6);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.5);
  transform-origin: 50% 45%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-avatar-frame:hover .hero-avatar-img {
  transform: scale(1.3);
}

/* Attached Floating HUD Badge */
.avatar-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(13, 17, 23, 0.94);
  border: 1px solid rgba(0, 242, 254, 0.5);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 242, 254, 0.35);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.avatar-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  position: relative;
}

.avatar-badge-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(16, 231, 147, 0.45);
  animation: pulseRipple 2s infinite ease-out;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 231, 147, 0.08);
  border: 1px solid rgba(16, 231, 147, 0.25);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.6s ease-out;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 231, 147, 0.4);
  animation: pulseRipple 2s infinite ease-out;
}

@keyframes pulseRipple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #00f2fe 75%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-bio {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-bio strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Stats Ribbon */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-cyan);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #79e9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-value.gold {
  background: linear-gradient(135deg, #ffe066, #fca311);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ==========================================================================
   Filter Tabs
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.filter-group {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(157, 78, 221, 0.2));
  color: #ffffff;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.2);
}

/* ==========================================================================
   Project Cards (3D Tilt & Glow)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
}

.card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #090d14;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.project-card:hover .card-media img {
  transform: scale(1.06);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 20, 31, 0.95) 100%);
  pointer-events: none;
}

.card-highlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.badge-gold {
  background: rgba(255, 190, 11, 0.18);
  border: 1px solid rgba(255, 190, 11, 0.45);
  color: #ffbe0b;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.16);
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: #00f2fe;
}

.badge-purple {
  background: rgba(157, 78, 221, 0.18);
  border: 1px solid rgba(157, 78, 221, 0.45);
  color: #cf8bf3;
}

.card-platform-pills {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.platform-pill {
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  backdrop-filter: blur(6px);
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.project-card:hover .card-title {
  color: var(--accent-cyan);
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .card-arrow {
  background: var(--accent-cyan);
  color: #031422;
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.card-description {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.project-card:hover .tech-tag {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Technical Skills / Core Architecture Section
   ========================================================================== */
.skills-section {
  margin: 60px 0 20px;
}

.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.skill-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.skill-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.skill-category h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-item {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.6;
}

/* ==========================================================================
   Tools & Technologies Ecosystem Showcase
   ========================================================================== */
.tools-ecosystem {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--tool-color, var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--tool-color, var(--accent-cyan));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--tool-glow, rgba(0, 242, 254, 0.2));
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--tool-color, var(--text-main));
}

.tool-card:hover .tool-icon-box {
  background: var(--tool-bg, rgba(0, 242, 254, 0.12));
  border-color: var(--tool-color, var(--accent-cyan));
  transform: scale(1.1);
}

.tool-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.tool-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.tool-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.tool-card:hover .tool-badge {
  color: var(--tool-color, var(--accent-cyan));
  border-color: var(--tool-color, var(--accent-cyan));
}

.tool-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 2px;
}

/* ==========================================================================
   Project Detail Template Styles
   ========================================================================== */
.project-detail-hero {
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
}

.back-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.back-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.back-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.project-page-header {
  margin-bottom: 26px;
}

.project-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.project-page-tagline {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.meta-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.meta-pill.highlight {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-weight: 600;
}

.detail-hero-banner {
  width: 100%;
  height: clamp(260px, 45vh, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  background: #090e16;
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Content Grid */
.detail-content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .detail-content-layout {
    grid-template-columns: 1fr;
  }
}

.detail-main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-block p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.systems-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.systems-feature-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  position: relative;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.systems-feature-item:hover {
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateX(4px);
  color: var(--text-main);
}

.systems-feature-item strong {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Detail Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.sidebar-spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-dim);
}

.spec-value {
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Gallery Section */
.gallery-section {
  margin-top: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.2);
}

.gallery-card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0a0e14;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

.gallery-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-zoom-hint svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.gallery-card:hover .gallery-zoom-hint {
  opacity: 1;
}

.gallery-card figcaption {
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  background: rgba(14, 20, 31, 0.9);
}

/* ==========================================================================
   Project Detail Pagination (Next / Prev)
   ========================================================================== */
.project-pagination {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pagination-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 200px;
  transition: all 0.25s ease;
}

.pagination-item:hover {
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.pagination-item.next {
  text-align: right;
  margin-left: auto;
}

.pagination-label {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.pagination-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination-item.next .pagination-title {
  justify-content: flex-end;
}

/* ==========================================================================
   Interactive Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 92vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  margin-top: 4px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2010;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2010;
}

.lightbox-nav-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 32px 0 10px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
  }

  .brand {
    justify-content: center;
  }

  .hero-section {
    padding: 24px 0 36px;
    text-align: center;
  }

  .hero-layout {
    flex-direction: column-reverse;
    align-items: center;
    gap: 28px;
  }

  .hero-avatar-frame {
    width: 175px;
    height: 175px;
  }

  .hero-status-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-group {
    width: 100%;
  }

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

/* ==========================================================================
   Gamer Audio HUD Toggle & Visualizer
   ========================================================================== */
.sfx-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.28);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.sfx-toggle:hover {
  background: rgba(0, 242, 254, 0.16);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}

.sfx-toggle.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(16, 231, 147, 0.2));
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.sfx-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.sfx-bar {
  width: 2.5px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.sfx-toggle.active .sfx-bar:nth-child(1) { animation: sfxEq 0.6s infinite ease-in-out alternate; }
.sfx-toggle.active .sfx-bar:nth-child(2) { animation: sfxEq 0.8s infinite 0.2s ease-in-out alternate; }
.sfx-toggle.active .sfx-bar:nth-child(3) { animation: sfxEq 0.5s infinite 0.4s ease-in-out alternate; }

@keyframes sfxEq {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ==========================================================================
   Interactive Gameplay Lab (Arcade Deck)
   ========================================================================== */
.lab-section {
  margin: 60px 0 30px;
  position: relative;
}

.arcade-deck {
  background: linear-gradient(180deg, rgba(16, 23, 37, 0.85) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.12);
  backdrop-filter: blur(16px);
  position: relative;
}

.arcade-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(7, 10, 16, 0.7);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

.arcade-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
}

.arcade-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.lab-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lab-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lab-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.lab-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(157, 78, 221, 0.25));
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
}

.arcade-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 50vh, 440px);
  background: radial-gradient(circle at center, #0a111b 0%, #05070c 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
}

#lab-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.arcade-overlay-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.hud-pill {
  background: rgba(6, 10, 18, 0.75);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.arcade-controls-panel {
  padding: 18px 24px;
  background: rgba(9, 13, 21, 0.95);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lab-control-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.control-item input[type="range"] {
  accent-color: var(--accent-cyan);
  cursor: pointer;
  width: 110px;
}

.arcade-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-cyan);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.arcade-btn:hover {
  background: var(--accent-cyan);
  color: #031422;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.arcade-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   Achievements Toast & Floating Hub
   ========================================================================== */
.achievement-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.achievement-toast {
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(26, 17, 43, 0.95));
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 190, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
  max-width: 380px;
  backdrop-filter: blur(14px);
  animation: slideInRight 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slideInRight {
  0% { transform: translateX(110%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.achievement-icon {
  font-size: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 190, 11, 0.6));
}

.achievement-text-wrap {
  display: flex;
  flex-direction: column;
}

.achievement-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.achievement-desc {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.35;
}

/* Achievements HUD Button */
.achievement-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 190, 11, 0.1);
  border: 1px solid rgba(255, 190, 11, 0.3);
  color: var(--accent-gold);
}

/* ==========================================================================
   Mobile Floating Action Dock (< 768px)
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 16px;
    right: 16px;
    background: rgba(11, 16, 26, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-xl);
    padding: 8px 12px;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 242, 254, 0.15);
  }

  .mobile-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
  }

  .mobile-dock-item svg {
    width: 20px;
    height: 20px;
  }

  .mobile-dock-item.active, .mobile-dock-item:active {
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.12);
  }

  /* Ensure content doesn't get hidden behind dock on mobile */
  .wrap {
    padding-bottom: 90px;
  }
}

