/* ==========================================================================
   CYBER-NEON HUD & GLASSY ORBIT PORTFOLIO
   Color Palette: Deep Carbon Void (#040404) & Electric Lime (#c6ff00)
   Typography: Sora & JetBrains Mono
   ========================================================================== */

:root {
  --bg-black: #050507;
  --bg-card: rgba(13, 14, 18, 0.72);
  --bg-card-hover: rgba(22, 24, 30, 0.88);
  --neon-lime: #c6ff00;
  --neon-lime-rgb: 198, 255, 0;
  --neon-glow: rgba(198, 255, 0, 0.35);
  --neon-dim: rgba(198, 255, 0, 0.12);
  --neon-border: rgba(198, 255, 0, 0.22);
  --text-white: #ffffff;
  --text-dim: #9496a1;
  --text-muted: #5c5e69;
  --font-main: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --glass-blur: blur(28px);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-black);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Grid & Noise */
.bg-cyber-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(198, 255, 0, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 65%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(198, 255, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* ==========================================================================
   HEADER HUD & NAVIGATION
   ========================================================================== */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
}

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

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-lime), #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--neon-glow);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  fill: #000;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.brand-title span {
  color: var(--neon-lime);
}

/* Nav Pills */
.nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-item {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
  color: #000;
  background: var(--neon-lime);
  box-shadow: 0 0 14px var(--neon-glow);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cyber Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3px 6px;
  backdrop-filter: var(--glass-blur);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.lang-btn.active {
  background: var(--neon-lime);
  color: #000;
  box-shadow: 0 0 12px var(--neon-glow);
}

.lang-divider {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* Status Indicator */
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-lime);
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid var(--neon-border);
  padding: 6px 14px;
  border-radius: 30px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--neon-lime); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   CHAPTER SYSTEM & LAYOUT
   ========================================================================== */
.chapter {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 60px;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 1;
}

/* Chapter Heading */
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-lime);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--neon-lime);
  box-shadow: 0 0 6px var(--neon-lime);
}

.section-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.neon-text {
  color: var(--neon-lime);
  text-shadow: 0 0 28px rgba(198, 255, 0, 0.45);
}

/* ==========================================================================
   CHAPTER 1: HERO & ABOUT ME
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--neon-lime);
  border-radius: 8px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.pillar-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-border);
  transform: translateX(6px);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-lime);
  background: rgba(198, 255, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.pillar-text strong {
  color: #fff;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.pillar-text p {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon-lime);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 24px var(--neon-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: #d4ff33;
  box-shadow: 0 0 36px rgba(198, 255, 0, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-border);
  color: var(--neon-lime);
  transform: translateY(-2px);
}

/* Hero Chart HUD (Inspired by user image) */
.hero-card-hud {
  background: var(--bg-card);
  border: 1px solid var(--neon-border);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(198, 255, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-card-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-lime), transparent);
}

.hud-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.hud-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-lime);
}

/* Hero Dynamic Media Collage Showcase (Autonomous Cross-fade Rotation) */
.hero-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 12px;
  height: 500px;
  margin-bottom: 22px;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.collage-slot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(13, 15, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: default;
  flex: 1 1 0;
  min-height: 0;
  height: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.collage-col:nth-child(2) .collage-slot,
.collage-slot.tall {
  height: 100%;
}

.collage-slot:hover {
  transform: scale(1.03);
  border-color: var(--neon-lime);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 18px var(--neon-glow);
  z-index: 5;
}

.collage-slot img,
.collage-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.collage-slot.changing img,
.collage-slot.changing video {
  opacity: 0;
}

.collage-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(5, 5, 7, 0.85);
  border: 1px solid var(--neon-lime);
  border-radius: 6px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--neon-lime);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(198, 255, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

.collage-badge svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

/* Stat Counters inside HUD Card */
.hud-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

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

.stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CHAPTER 2: GLASSY SPACE SPHERE & ORBIT SHOWCASE
   ========================================================================== */
.showcase-header {
  text-align: center;
  margin-bottom: 30px;
}

.showcase-header .section-tag {
  justify-content: center;
}

.showcase-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--neon-lime);
  color: #000;
  border-color: var(--neon-lime);
  box-shadow: 0 0 16px var(--neon-glow);
}

/* View Switcher */
.view-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.view-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.view-btn.active {
  background: rgba(198, 255, 0, 0.15);
  color: var(--neon-lime);
  border: 1px solid var(--neon-border);
}

/* 3D Sphere Orbit Container */
.orbit-wrapper {
  position: relative;
  width: 100%;
  height: 640px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(198, 255, 0, 0.05) 0%, rgba(5, 5, 7, 0.8) 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

#threejs-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: grab;
}

#threejs-canvas:active {
  cursor: grabbing;
}

.orbit-hud-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--neon-lime);
  background: rgba(5, 5, 7, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--neon-border);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* Flat Grid View */
.gallery-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid.active {
  display: grid;
}

.media-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.media-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--neon-lime);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px rgba(198, 255, 0, 0.25);
}

.media-card img, .media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.media-badge.video-badge {
  border-color: var(--neon-border);
  color: var(--neon-lime);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 3;
}

.media-card:hover .media-overlay {
  opacity: 1;
}

.overlay-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #000;
  background: var(--neon-lime);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   CHAPTER 3: SERVICES & CAPABILITIES (BENTO GRID)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(198, 255, 0, 0.1);
  transform: translateY(-4px);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid var(--neon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-lime);
  margin-bottom: 20px;
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--neon-lime);
  background: rgba(198, 255, 0, 0.06);
  border: 1px solid var(--neon-dim);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   CHAPTER 4: DIRECT DISPATCH (CONTACT & TELEGRAM CYBER-PASS)
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 520px;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.highlight-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
}

.highlight-row svg {
  color: var(--neon-lime);
  width: 18px;
  height: 18px;
}

/* Cyber-Pass Holographic Card */
.cyber-pass-card {
  background: linear-gradient(145deg, rgba(16, 18, 22, 0.9), rgba(5, 5, 7, 0.95));
  border: 1px solid var(--neon-border);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(198, 255, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.pass-corner-tag {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon-lime);
  letter-spacing: 0.12em;
}

.avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 18px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-lime);
  box-shadow: 0 0 20px var(--neon-glow);
}

.avatar-online-ring {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--neon-lime);
  border: 3px solid #050507;
  border-radius: 50%;
}

.pass-handle {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pass-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* Neon QR Box */
.qr-frame {
  width: 180px;
  height: 180px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(198, 255, 0, 0.35);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(198, 255, 0, 0.06), 0 0 20px rgba(198, 255, 0, 0.1);
  position: relative;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(198, 255, 0, 0.5));
}

.pass-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--neon-lime);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px var(--neon-glow);
  transition: var(--transition-smooth);
}

.btn-telegram:hover {
  background: #d4ff33;
  box-shadow: 0 0 30px rgba(198, 255, 0, 0.6);
  transform: translateY(-2px);
}

.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 11px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-border);
  color: var(--neon-lime);
}

/* ==========================================================================
   MODAL / LIGHTBOX (FULLSCREEN PHOTO & VIDEO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-wrapper {
  max-height: 85vh;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--neon-border);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(198, 255, 0, 0.25);
}

.modal-media-wrapper img, .modal-media-wrapper video {
  max-height: 85vh;
  max-width: 85vw;
  object-fit: contain;
  display: block;
  -webkit-user-select: none;
  user-select: none;
}

/* Anti-Download Protection: Hides the 3-dots overflow menu and download button */
video::-webkit-media-controls-overflow-button {
  display: none !important;
}
video::-webkit-media-controls-download-button,
video::-internal-media-controls-download-button {
  display: none !important;
}
.collage-slot video::-webkit-media-controls-start-playback-button,
.collage-slot video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}

.modal-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--neon-lime);
  color: #000;
  border-color: var(--neon-lime);
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 5, 7, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-nav-btn:hover {
  background: var(--neon-lime);
  color: #000;
  border-color: var(--neon-lime);
}

.modal-prev { left: -60px; }
.modal-next { right: -60px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 10;
}

.site-footer a {
  color: var(--neon-lime);
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 960px) {
  .hud-header {
    padding: 0 20px;
  }
  .nav-pills {
    display: none;
  }
  .chapter {
    padding: 100px 20px 40px;
  }
  .hero-grid, .contact-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .orbit-wrapper {
    height: 480px;
  }
  .modal-prev { left: 10px; }
  .modal-next { right: 10px; }
}

@media (max-width: 640px) {
  .hud-header {
    padding: 0 14px;
  }
  .status-pill {
    display: none;
  }
  .brand-title span {
    display: none;
  }
}
