/* ==========================================================================
   SPIDER-MAN MULTIVERSE PORTFOLIO - STYLESHEET
   Sagar Reddy K B (Raiden) // code-with-raiden // raidenhub.in
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Outfit:wght@300;400;600;700;900&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --spider-red: #ff103f;
  --spider-red-dark: #b80026;
  --spider-red-glow: rgba(255, 16, 63, 0.45);
  --spider-blue: #0088ff;
  --spider-blue-dark: #0050a8;
  --spider-blue-glow: rgba(0, 136, 255, 0.45);
  --spider-yellow: #ffb703;
  --spider-yellow-glow: rgba(255, 183, 3, 0.5);
  
  --bg-deep: #080a10;
  --bg-card: rgba(14, 18, 28, 0.85);
  --bg-card-hover: rgba(22, 28, 44, 0.95);
  --border-glow: rgba(255, 255, 255, 0.1);
  --border-spider: rgba(255, 16, 63, 0.3);
  
  --text-main: #f0f4fc;
  --text-muted: #8e9bb0;
  --text-dark: #080a10;

  --font-comic: 'Bangers', cursive, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

body {
  font-family: var(--font-heading);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 16, 63, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 136, 255, 0.08) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Spider-Web Canvas Overlay for Ambient Web Shooting */
#web-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
}

/* Comic Halftone Dot Effect on Corners */
.comic-dots {
  position: absolute;
  width: 250px;
  height: 250px;
  background-image: radial-gradient(var(--spider-red) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.comic-dots.top-left { top: 0; left: 0; }
.comic-dots.bottom-right { bottom: 0; right: 0; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--spider-red), var(--spider-blue));
  border-radius: 4px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 2.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 10, 16, 0.88);
  border-bottom: 1px solid rgba(255, 16, 63, 0.25);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--spider-red), var(--spider-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--spider-red-glow);
  position: relative;
  overflow: hidden;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.brand-text {
  font-family: var(--font-comic);
  font-size: 1.65rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff 0%, var(--spider-red) 70%, var(--spider-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link.nav-arcade {
  color: var(--spider-yellow);
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--spider-red);
  box-shadow: 0 0 8px var(--spider-red);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  border-color: var(--spider-yellow);
  color: var(--spider-yellow);
  box-shadow: 0 0 10px var(--spider-yellow-glow);
}

.btn-suit {
  background: linear-gradient(135deg, var(--spider-red), var(--spider-red-dark));
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font-comic);
  font-size: 1.15rem;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 18px var(--spider-red-glow);
  transform: skew(-8deg);
  transition: var(--transition-smooth);
}

.btn-suit span {
  display: inline-block;
  transform: skew(8deg);
}

.btn-suit:hover {
  transform: skew(-8deg) translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 16, 63, 0.8);
}

/* ==========================================================================
   HERO SECTION & PERFECTLY ALIGNED 3:4 PORTRAIT
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding: 8.5rem 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  flex: 1.15;
}

.badge-thwip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 16, 63, 0.15);
  border: 1px solid var(--spider-red);
  color: #ff6b8b;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 16, 63, 0.2);
}

.badge-thwip .dot {
  width: 8px;
  height: 8px;
  background: var(--spider-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--spider-red);
  animation: pulse-dot 1.5s infinite;
}

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

.hero-title {
  font-family: var(--font-comic);
  font-size: 4.2rem;
  line-height: 1.05;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 3px 3px 0px var(--spider-red-dark), 5px 5px 0px rgba(0,0,0,0.8);
}

.hero-title .highlight-red {
  color: var(--spider-red);
  text-shadow: 3px 3px 0px #fff, 6px 6px 0px var(--spider-red-dark);
}

.hero-title .highlight-blue {
  color: var(--spider-blue);
  text-shadow: 3px 3px 0px #fff, 6px 6px 0px var(--spider-blue-dark);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: #c0cde0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-tagline span {
  color: var(--spider-yellow);
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(0, 136, 255, 0.15);
  border-color: var(--spider-blue);
  color: #fff;
  box-shadow: 0 0 15px var(--spider-blue-glow);
  transform: translateY(-2px);
}

.btn-arcade-jump {
  background: linear-gradient(135deg, var(--spider-yellow), #f3722c);
  color: #000;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-family: var(--font-comic);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 20px var(--spider-yellow-glow);
  transition: var(--transition-smooth);
}

.btn-arcade-jump:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 30px var(--spider-yellow);
}

/* ==========================================================================
   HERO AVATAR CARD (PERFECT 3:4 ASPECT RATIO & ANIME.JS UNMASK)
   ========================================================================== */
.hero-avatar-wrapper {
  flex: 0.95;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.spider-sense-indicator {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 25;
  pointer-events: none;
}

.sense-arc {
  width: 28px;
  height: 14px;
  border-top: 3.5px solid var(--spider-yellow);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 14px var(--spider-yellow);
  opacity: 0.8;
}

/* 3:4 Aspect Ratio Card (390px x 520px) matching 768x1024 */
.avatar-card {
  position: relative;
  width: 390px;
  height: 520px;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(255, 16, 63, 0.4), rgba(0, 136, 255, 0.4));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 40px var(--spider-red-glow);
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.4s ease;
}

.avatar-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 55px var(--spider-blue-glow);
}

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Base Unmasked Image (Sagar's photo in Spider-Man Suit) */
.suit-base-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Mask Layer (Masked Spider-Man in matching frame) */
.mask-layer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  transform-origin: 50% 32%;
}

/* Comic Speech Bubble (Pops on Hover) */
.comic-bubble {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--spider-yellow);
  color: var(--text-dark);
  font-family: var(--font-comic);
  font-size: 1.55rem;
  letter-spacing: 1px;
  padding: 0.45rem 1.2rem;
  border: 3px solid #000;
  border-radius: 12px;
  transform: rotate(12deg) scale(0);
  transform-origin: bottom left;
  box-shadow: 4px 4px 0px #000;
  z-index: 30;
  pointer-events: none;
}

.comic-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: var(--spider-yellow) transparent;
  display: block;
  width: 0;
}

/* Status Pill below Avatar */
.avatar-controls {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.mask-status-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 16, 63, 0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mask-status-badge .indicator-bulb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spider-red);
  box-shadow: 0 0 8px var(--spider-red);
}

.toggle-mask-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-mask-btn:hover {
  border-color: var(--spider-blue);
  color: #fff;
}

/* ==========================================================================
   METRICS & QUOTE BANNER
   ========================================================================== */
.quote-banner {
  max-width: 1240px;
  margin: 0 auto 5.5rem;
  padding: 2rem 3rem;
  background: linear-gradient(90deg, rgba(255, 16, 63, 0.12), rgba(0, 136, 255, 0.12));
  border-left: 5px solid var(--spider-red);
  border-right: 5px solid var(--spider-blue);
  border-radius: 14px;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quote-text {
  font-family: var(--font-comic);
  font-size: 2.1rem;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.2;
}

.quote-text span {
  color: var(--spider-yellow);
}

.quote-subtext {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stats-grid {
  display: flex;
  gap: 2.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-comic);
  font-size: 2.5rem;
  color: var(--spider-red);
  text-shadow: 0 0 10px var(--spider-red-glow);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================================================
   INTERACTIVE SPIDER-MAN ARCADE HUB (GAMES SECTION)
   ========================================================================== */
.arcade-section {
  max-width: 1240px;
  margin: 0 auto 7rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.arcade-cabinet {
  background: #0d111a;
  border: 2px solid var(--spider-red);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--spider-red-glow);
  overflow: hidden;
  position: relative;
}

.arcade-header-bar {
  background: linear-gradient(90deg, #182030, #22121d);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 16, 63, 0.3);
  flex-wrap: wrap;
  gap: 1rem;
}

.arcade-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.arcade-badge {
  background: var(--spider-yellow);
  color: #000;
  font-family: var(--font-comic);
  font-size: 1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.arcade-title {
  font-family: var(--font-comic);
  font-size: 2rem;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
}

.arcade-game-tabs {
  display: flex;
  gap: 0.6rem;
}

.game-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.game-tab-btn.active {
  background: var(--spider-red);
  color: #fff;
  border-color: var(--spider-red);
  box-shadow: 0 0 12px var(--spider-red-glow);
}

.arcade-screen-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #06080e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#arcade-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

/* In-Game Overlay UI (HUD) */
.arcade-hud {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.hud-item {
  font-family: var(--font-comic);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  padding: 0.3rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 2px 2px 0px #000;
}

.hud-item span {
  color: var(--spider-yellow);
}

.arcade-overlay-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 16, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.overlay-title {
  font-family: var(--font-comic);
  font-size: 3.5rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 0px var(--spider-red-dark);
}

.overlay-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.btn-game-start {
  background: linear-gradient(135deg, var(--spider-red), var(--spider-red-dark));
  color: #fff;
  border: none;
  padding: 0.8rem 2.4rem;
  border-radius: 8px;
  font-family: var(--font-comic);
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 0 25px var(--spider-red-glow);
  transform: skew(-6deg);
  transition: var(--transition-smooth);
}

.btn-game-start:hover {
  transform: skew(-6deg) scale(1.06);
  box-shadow: 0 0 35px var(--spider-red);
}

.arcade-footer-controls {
  background: #111624;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.instructions-keys {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.key-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SECTION COMMON HEADINGS
   ========================================================================== */
.section-wrapper {
  max-width: 1240px;
  margin: 0 auto 7rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--spider-blue);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--spider-blue);
}

.section-title {
  font-family: var(--font-comic);
  font-size: 3.2rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 0px var(--spider-red-dark);
}

.section-description {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.8rem auto 0;
  font-size: 1.05rem;
}

/* ==========================================================================
   SPIDER-ARSENAL (SKILLS / TECH STACK)
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--spider-red), var(--spider-blue));
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--spider-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--spider-red-glow);
}

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

.skill-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 16, 63, 0.1);
  border: 1px solid rgba(255, 16, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}

.skill-card:nth-child(2) .skill-icon {
  background: rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
}

.skill-card:nth-child(3) .skill-icon {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.3);
}

.skill-title {
  font-family: var(--font-comic);
  font-size: 1.6rem;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 0.6rem;
}

.skill-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8e2f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   MISSIONS (FEATURED PROJECTS)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--spider-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--spider-blue-glow);
}

.project-banner {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f131d;
}

.project-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  background-size: cover;
  background-position: center;
  filter: blur(1px);
  transition: transform 0.5s ease;
}

.project-card:hover .project-banner-bg {
  transform: scale(1.1);
}

.project-badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--spider-red);
  color: #fff;
  font-family: var(--font-comic);
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--spider-red-glow);
}

.project-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-family: var(--font-comic);
  font-size: 1.7rem;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 0.6rem;
}

.project-snippet {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

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

.project-tech-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 136, 255, 0.1);
  color: #64b5f6;
  border: 1px solid rgba(0, 136, 255, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-btn {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.project-btn.primary {
  background: linear-gradient(135deg, var(--spider-red), var(--spider-red-dark));
  color: #fff;
}

.project-btn.primary:hover {
  box-shadow: 0 0 15px var(--spider-red-glow);
}

/* ==========================================================================
   ORIGIN STORY / MULTIVERSE TIMELINE
   ========================================================================== */
.timeline-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: linear-gradient(to bottom, var(--spider-red), var(--spider-blue), var(--spider-yellow));
  box-shadow: 0 0 10px rgba(255, 16, 63, 0.4);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.8rem;
}

.timeline-spider-node {
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--bg-deep);
  border: 3px solid var(--spider-red);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--spider-red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-item:nth-child(2) .timeline-spider-node {
  border-color: var(--spider-blue);
  box-shadow: 0 0 15px var(--spider-blue-glow);
}

.timeline-item:nth-child(3) .timeline-spider-node {
  border-color: var(--spider-yellow);
  box-shadow: 0 0 15px var(--spider-yellow-glow);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(6px);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--spider-yellow);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-role {
  font-family: var(--font-comic);
  font-size: 1.6rem;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 0.4rem;
}

.timeline-org {
  color: #64b5f6;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   WEB-SIGNAL (CONTACT SECTION)
   ========================================================================== */
.contact-box {
  background: linear-gradient(145deg, rgba(14, 18, 28, 0.9), rgba(20, 26, 40, 0.95));
  border: 1px solid rgba(255, 16, 63, 0.3);
  border-radius: 24px;
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 16, 63, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-box::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--spider-red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info {
  flex: 1.2;
}

.contact-title {
  font-family: var(--font-comic);
  font-size: 3rem;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 0px var(--spider-red-dark);
}

.contact-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.channel-card {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.channel-card:hover {
  background: rgba(255, 16, 63, 0.15);
  border-color: var(--spider-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--spider-red-glow);
}

.channel-card.linkedin:hover {
  background: rgba(0, 136, 255, 0.15);
  border-color: var(--spider-blue);
  box-shadow: 0 8px 20px var(--spider-blue-glow);
}

.web-shoot-trigger {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.spider-web-logo-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spider-red), var(--spider-red-dark));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px var(--spider-red-glow);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.spider-web-logo-btn:hover {
  transform: scale(1.12);
}

.spider-web-logo-btn svg {
  width: 50px;
  height: 50px;
  fill: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05070a;
  position: relative;
  z-index: 10;
}

.footer-quote {
  font-family: var(--font-comic);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.footer-quote span {
  color: var(--spider-red);
}

.footer-credits {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #607088;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 7rem;
    gap: 3rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .quote-banner {
    flex-direction: column;
    text-align: center;
  }
  .stats-grid {
    justify-content: center;
  }
  .contact-box {
    flex-direction: column;
    text-align: center;
  }
  .contact-channels {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .avatar-card {
    width: 300px;
    height: 400px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .arcade-screen-container {
    height: 380px;
  }
}
