/* ==========================================================================
   ASTRO-DEV // SPACE OBSIDIAN & LIGHT GRADIENT DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-deep-space: #020206;
  --bg-obsidian-card: #08080f;
  --bg-obsidian-card-hover: #0d0d18;
  --bg-glass: rgba(10, 10, 18, 0.75);

  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-white-core: #ffffff;

  --neon-cyan: #00f3ff;
  --neon-pink: #ff007f;
  --neon-purple: #9d4edd;
  --neon-gold: #ffaa00;
  --neon-green: #00ff87;

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-hover: rgba(255, 255, 255, 0.3);

  --font-heading: 'Outfit', 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body.space-body {
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep-space);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

/* Fixed Three.js Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Utility Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

.section {
  padding: 7rem 0;
  position: relative;
}

/* HUD Header Navigation */
.hud-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1280px;
  height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hud-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 243, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hud-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #fff;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-num {
  font-size: 0.7rem;
  color: var(--neon-cyan);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hud-status-widget {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 1px;
}

.green-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-green 1.5s infinite alternate;
}

@keyframes pulse-green {
  from {
    opacity: 0.4;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hud-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.hud-icon-btn:hover {
  background: #ffffff;
  color: #000;
  box-shadow: 0 0 15px #ffffff;
}

/* HUD Telemetry Sidebar */
.hud-telemetry {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 90;
  pointer-events: none;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(8, 8, 15, 0.6);
  backdrop-filter: blur(10px);
  border-right: 2px solid var(--neon-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: 6px 0 0 6px;
}

.telemetry-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
}

.hud-scroll-track {
  width: 4px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-left: auto;
  position: relative;
}

.scroll-thumb {
  width: 8px;
  height: 24px;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 20px var(--neon-cyan);
  border-radius: 4px;
  position: absolute;
  left: -2px;
  top: 0;
  transition: top 0.1s ease-out;
}

/* Space Obsidian Card Architecture (KEY DESIGN PATTERN) */
.obsidian-card {
  position: relative;
  background: var(--bg-obsidian-card);
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  padding: 2rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

/* Colorful Gradient Glow Aura around black cards */
.card-glow-aura {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      var(--neon-cyan) 60deg,
      var(--neon-pink) 120deg,
      var(--neon-purple) 180deg,
      var(--neon-gold) 240deg,
      transparent 360deg);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.5s ease;
  animation: rotate-aura 15s linear infinite;
  z-index: 0;
}

@keyframes rotate-aura {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.aura-cyan {
  background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.25), transparent 70%);
}

.aura-magenta {
  background: radial-gradient(circle at top right, rgba(255, 0, 127, 0.25), transparent 70%);
}

.aura-purple {
  background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.25), transparent 70%);
}

.aura-gold {
  background: radial-gradient(circle at top right, rgba(255, 170, 0, 0.25), transparent 70%);
}

.aura-green {
  background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.25), transparent 70%);
}

.obsidian-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: var(--bg-obsidian-card-hover);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 255, 255, 0.15);
}

.obsidian-card:hover .card-glow-aura {
  opacity: 0.45;
}

/* Button Component Architecture */
.btn-space {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
}

/* White Core Light Button */
.btn-white-glow {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 0 50px rgba(0, 243, 255, 0.4);
}

.btn-white-glow:hover {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 35px #ffffff, 0 0 70px var(--neon-pink);
}

/* Obsidian Button with Neon Gradient Border */
.btn-obsidian-gradient {
  background: #08080f;
  color: #ffffff;
  border: 1px solid transparent;
  background-image: linear-gradient(#08080f, #08080f), linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-gold));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.btn-obsidian-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3), 0 15px 35px rgba(0, 243, 255, 0.3);
  color: #ffffff;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.w-100 {
  width: 100%;
}

/* Text Utilities & Glows */
.text-white-glow {
  color: var(--text-white-core);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 35px rgba(255, 255, 255, 0.5);
}

.text-neon-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan);
}

.text-neon-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 12px var(--neon-pink);
}

.text-neon-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 12px var(--neon-purple);
}

.text-neon-gold {
  color: var(--neon-gold);
  text-shadow: 0 0 12px var(--neon-gold);
}

.text-neon-green {
  color: var(--neon-green);
  text-shadow: 0 0 12px var(--neon-green);
}

.gradient-text-rainbow {
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 40%, var(--neon-pink) 70%, var(--neon-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0.8rem auto 0;
}

/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 9rem;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.space-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
}

.mini-card {
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Scroll Down Mouse Anim */
.scroll-down-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 4rem;
  opacity: 0.7;
  animation: bounce-hint 2s infinite;
}

@keyframes bounce-hint {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.hint-text {
  font-size: 0.65rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT / ORBITA SECTION STYLES
   ========================================================================== */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.long-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem;
}

.card-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.long-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.long-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   SKILLS SECTION STYLES
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;

  position: relative;
  z-index: 1;
}

.skill-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.skill-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.skill-level {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skill-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, var(--neon-cyan), var(--neon-pink));
  box-shadow: 0 0 10px #ffffff;
  border-radius: 4px;
}

.skill-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PROJECTS SECTION STYLES
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.project-header-banner {
  height: 140px;
  background: linear-gradient(135deg, rgba(20, 20, 35, 0.9), rgba(5, 5, 12, 0.95));
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  overflow: hidden;
}

.project-hero-icon {
  font-size: 4rem;
  opacity: 0.15;
  color: #fff;
  transform: rotate(-15deg);
}

.project-status-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  backdrop-filter: blur(5px);
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-chip {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  color: var(--neon-cyan);
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-features {
  margin-bottom: 1.5rem;
}

.project-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.project-repo-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TERMINAL SECTION STYLES
   ========================================================================== */
.terminal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.terminal-bar {
  background: #12121e;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.term-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.term-btn:hover {
  color: #fff;
}

.terminal-body {
  padding: 1.5rem;
  min-height: 240px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.term-line {
  line-height: 1.4;
  word-break: break-all;
}

.intro-line {
  color: var(--text-muted);
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-glass);
}

.prompt-symbol {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-green);
  font-weight: 700;
  white-space: nowrap;
}

#terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  width: 100%;
}

/* ==========================================================================
   CONTACT SECTION STYLES
   ========================================================================== */
.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.space-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.space-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(2, 2, 6, 0.9);
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 0 20px #ffffff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Modal Styling */
.space-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.space-modal-backdrop.active {
  display: flex !important;
}

.space-modal-content {
  max-width: 700px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close-icon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hud-telemetry {
    display: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .long-card {
    flex-direction: column;
  }
}