/* ==========================================================================
   CYBER GLOBE / HOLOGRAPHIC AZURE & CYAN THEME - RAY ANTHONY A. DEQUITO
   Matched to Global Network Video Palette (#02060B, #00D4FF, #0077FF)
   ========================================================================== */

:root {
  --bg-obsidian: #02060b;
  --bg-deep-navy: #040d18;
  --bg-card: rgba(5, 16, 28, 0.78);
  --bg-card-hover: rgba(8, 25, 44, 0.92);
  --cyber-cyan: #00d4ff;
  --electric-blue: #0077ff;
  --ice-glow: #7ceeff;
  --deep-teal: #083344;
  --text-primary: #eaf8ff;
  --text-secondary: #8eb3cc;
  --text-muted: #4c6f8a;
  --border-cyan: rgba(0, 212, 255, 0.28);
  --border-bright: rgba(0, 212, 255, 0.65);
  --font-display: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  position: relative;
}

/* Fullscreen Looping Video Background + Interactive Particle Network Overlay */
.video-bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: radial-gradient(circle at center, #051424 0%, #02060b 100%);
}

.video-bg-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.12) saturate(1.15);
}

.video-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 75% 40%, rgba(0, 212, 255, 0.08) 0%, rgba(2, 6, 11, 0.72) 65%),
    linear-gradient(180deg, rgba(2, 6, 11, 0.55) 0%, rgba(2, 6, 11, 0.85) 60%, #02060b 100%);
  pointer-events: none;
}

#cyber-nodes-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #02060b;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyber-cyan), var(--electric-blue));
  border-radius: 4px;
}

/* Typography & Glows */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.font-mono-tech {
  font-family: var(--font-mono);
}

.text-cyan {
  color: var(--cyber-cyan) !important;
}

.text-ice {
  color: var(--ice-glow) !important;
}

.glow-cyan {
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.65);
}

/* Glassmorphic Top Navbar */
.cyber-navbar {
  background: rgba(2, 8, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyan);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff !important;
  font-size: 1.2rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-beacon {
  width: 10px;
  height: 10px;
  background-color: var(--cyber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyber-cyan), 0 0 24px var(--electric-blue);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}

/* Navbar CV Download Button */
.btn-cv-download {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.32rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--cyber-cyan) !important;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.12);
  white-space: nowrap;
}

.btn-cv-download:hover {
  background: rgba(0, 212, 255, 0.24);
  color: #ffffff !important;
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
  transform: translateY(-1px);
}

.btn-cv-download i {
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-cv-download:hover i {
  transform: translateY(1px);
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .btn-cv-download {
    padding: 0.28rem 0.65rem;
    font-size: 0.7rem;
  }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary) !important;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyber-cyan) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyber-cyan));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Sections & Headers */
.cv-section {
  padding: 95px 0 65px;
  position: relative;
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyber-cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-cyan);
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.7rem;
  letter-spacing: 1.5px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-line {
  height: 3px;
  width: 110px;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--electric-blue), transparent);
  border-radius: 2px;
}

/* Holographic Cyber Cards */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyber-cyan), transparent);
  opacity: 0.6;
}

.cyber-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  box-shadow: 0 14px 36px rgba(0, 119, 255, 0.22), 0 0 20px rgba(0, 212, 255, 0.16);
}

/* ==========================================================================
   SECTION 1: HERO / ABOUT ME WITH SEAMLESS SUIT PORTRAIT INTEGRATION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 105px;
  padding-bottom: 60px;
}

.holo-portrait-stage {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Rotating Orbital Rings behind Portrait (Matches Globe Arcs) */
.orbital-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  z-index: 0;
}

.ring-1 {
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(0, 212, 255, 0.38);
  animation: spinOrbit 24s linear infinite;
}

.ring-2 {
  width: 480px;
  height: 480px;
  border: 1px solid rgba(0, 119, 255, 0.22);
  border-top-color: var(--cyber-cyan);
  border-bottom-color: var(--cyber-cyan);
  animation: spinOrbitReverse 18s linear infinite;
}

@keyframes spinOrbit {
  from { transform: translate(-50%, -52%) rotate(0deg); }
  to { transform: translate(-50%, -52%) rotate(360deg); }
}

@keyframes spinOrbitReverse {
  from { transform: translate(-50%, -52%) rotate(360deg); }
  to { transform: translate(-50%, -52%) rotate(0deg); }
}

/* Seamless Cutout Blending: mix-blend-mode lighten + radial vignette blends pure black bg into the cyber canvas! */
.portrait-cutout-box {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(0, 212, 255, 0.16) 0%, rgba(2, 6, 11, 0.0) 68%);
  border-bottom: 2px solid var(--cyber-cyan);
  box-shadow: 0 18px 40px -15px rgba(0, 212, 255, 0.35);
}

.portrait-cutout-box img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: contrast(1.05) brightness(1.02) drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
  transition: transform 0.4s ease;
}

.holo-portrait-stage:hover .portrait-cutout-box img {
  transform: scale(1.03);
}

.holo-id-bar {
  position: relative;
  z-index: 2;
  margin-top: -14px;
  background: rgba(4, 15, 27, 0.92);
  border: 1px solid var(--border-bright);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Telemetry & Buttons */
.cyber-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ice-glow);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-cyan);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.holo-bio-panel {
  background: rgba(4, 14, 24, 0.78);
  border-left: 3px solid var(--cyber-cyan);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  border-right: 1px solid rgba(0, 212, 255, 0.15);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(10px);
}

.stat-chip {
  background: rgba(5, 18, 32, 0.82);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 18, 32, 0.88);
  border: 1px solid var(--border-cyan);
  color: var(--text-primary);
  padding: 8px 15px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-pill:hover {
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.btn-cyber {
  background: linear-gradient(135deg, var(--cyber-cyan), var(--electric-blue));
  color: #02060b;
  font-family: var(--font-mono);
  font-weight: 700;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 1px;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.35);
  transition: all 0.25s ease;
}

.btn-cyber:hover {
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.65);
  transform: translateY(-2px);
}

.btn-outline-cyber {
  background: rgba(0, 212, 255, 0.06);
  color: var(--cyber-cyan);
  border: 1px solid var(--cyber-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.btn-outline-cyber:hover {
  background: rgba(0, 212, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ==========================================================================
   SECTION 2: SKILLS & INTERACTIVE TABS
   ========================================================================== */
.skill-icon-orb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 119, 255, 0.12));
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--cyber-cyan);
  margin-bottom: 1.15rem;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.15);
}

/* Skill Constellation */
.constellation-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  border-radius: 16px;
  border: 1px solid var(--border-cyan);
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.04) 0%, rgba(2, 6, 11, 0.6) 70%);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.constellation-wrapper canvas {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.skill-detail-panel {
  background: linear-gradient(135deg, rgba(5, 16, 28, 0.85), rgba(2, 9, 18, 0.9));
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.skill-detail-panel.active {
  border-color: var(--border-bright);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

.skill-detail-default,
.skill-detail-content {
  width: 100%;
}

.skill-detail-content .skill-icon-orb {
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .constellation-wrapper {
    max-height: 400px;
    margin-bottom: 1.5rem;
  }
}

.cyber-progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 0.55rem;
}

.cyber-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyber-cyan));
  box-shadow: 0 0 12px var(--cyber-cyan);
  border-radius: 50px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--ice-glow);
  display: inline-block;
  margin: 3px 2px;
}



/* ==========================================================
   CINEMATIC SYSTEM SELECTOR
   ========================================================== */

.css-section {
  overflow: hidden;
}

.css-wrap {
  --css-accent: #00d9ff;
  position: relative;
  isolation: isolate;
  width: min(1600px, calc(100% - 32px));
  margin: 35px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, .28);
  border-radius: 22px;
  background: #030b15;
  color: #f5f9ff;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .45);
}

/* Dynamic backgrounds */

.css-bg {
  position: absolute;
  z-index: -3;
  inset: -45px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(28px) saturate(1.3);
  transform: scale(1.12);
  transition: opacity .85s ease;
  pointer-events: none;
}

.css-bg-active {
  opacity: .6;
}

.css-vignette {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 65% 35%,
      rgba(0, 100, 155, .12),
      transparent 65%
    ),
    linear-gradient(
      90deg,
      rgba(2, 8, 18, .94) 0%,
      rgba(2, 8, 18, .65) 48%,
      rgba(2, 8, 18, .38) 100%
    ),
    linear-gradient(
      0deg,
      #030b15 0%,
      transparent 48%,
      rgba(2, 8, 18, .3) 100%
    );
  pointer-events: none;
}

/* HUD corners */

.css-hud-corner {
  position: absolute;
  z-index: 2;
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.css-hud-tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--css-accent);
  border-left: 2px solid var(--css-accent);
}

.css-hud-tr {
  top: 12px;
  right: 12px;
  border-top: 2px solid var(--css-accent);
  border-right: 2px solid var(--css-accent);
}

.css-hud-bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid var(--css-accent);
  border-left: 2px solid var(--css-accent);
}

.css-hud-br {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid var(--css-accent);
  border-right: 2px solid var(--css-accent);
}

/* Top HUD */

.css-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 25px 42px 0;
  color: var(--css-accent);
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 2px;
}

/* Featured scene */

.css-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 36px;
  min-height: 470px;
  padding: 30px 55px 35px;
}

.css-info {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.css-info-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 217, 255, .4);
  border-radius: 30px;
  color: var(--css-accent);
  background: rgba(0, 217, 255, .07);
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 2px;
}

.css-info-title {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(25px, 2.6vw, 45px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.css-info-cat {
  margin-bottom: 20px;
  color: var(--css-accent);
  font-size: 12px;
  letter-spacing: 2px;
}

.css-info-desc {
  max-width: 450px;
  color: #b3c1cf;
  font-size: 15px;
  line-height: 1.8;
}

.css-info-features {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.css-info-features li {
  color: #dce8f2;
  font-size: 13px;
  line-height: 1.5;
}

.css-info-features li::before {
  content: "›";
  margin-right: 10px;
  color: var(--css-accent);
}

/* Floating system screenshot */

.css-screen-stage {
  min-width: 0;
  text-align: center;
  perspective: 1200px;
}

.css-screen-frame {
  position: relative;
  width: 100%;
  padding: 7px;
  border: 1px solid rgba(0, 217, 255, .4);
  border-radius: 15px;
  background: rgba(4, 15, 30, .8);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .6),
    0 0 45px rgba(0, 217, 255, .12);
  transform: rotateY(-3deg);
  transition: transform .5s ease;
}

.css-screen-frame:hover {
  transform: rotateY(0deg) translateY(-5px);
}

.css-screen-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  background: #07111f;
}

.css-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(30px) scale(.96);
  transition:
    opacity .55s ease,
    transform .55s ease;
}

.css-shot-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.css-screen-label {
  display: block;
  margin-top: 15px;
  color: var(--css-accent);
  font-size: 11px;
  letter-spacing: 2px;
}

/* Gallery */

.css-gal-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 217, 255, .4);
  border-radius: 50%;
  background: rgba(0, 8, 20, .85);
  color: white;
  cursor: pointer;
}

.css-gal-btn[hidden] {
  display: none !important;
}

.css-gal-prev { left: 14px; }
.css-gal-next { right: 14px; }

.css-gal-btn:hover {
  background: rgba(0, 217, 255, .2);
}

.css-gal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
}

.css-gal-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #426071;
  cursor: pointer;
}

.css-gal-dots button.active {
  width: 24px;
  border-radius: 8px;
  background: var(--css-accent);
}

/* Bottom selection area */

.css-selector {
  position: relative;
  padding: 24px 35px 28px;
  border-top: 1px solid rgba(0, 217, 255, .15);
  background: linear-gradient(
    180deg,
    rgba(1, 9, 20, .4),
    rgba(1, 9, 20, .92)
  );
}

.css-selector-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 20px 20px;
  color: var(--css-accent);
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 2px;
}

.css-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.css-carousel-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 205px;
  overflow: hidden;
  touch-action: pan-y;
}

.css-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1100px;
}

/* Coverflow cards */

.css-system-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(125px, 17vw, 225px);
  height: 155px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, .2);
  border-radius: 12px;
  background: #071525;
  color: white;
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    translateX(var(--offset, 0px))
    scale(var(--scale, 1))
    rotateY(var(--rotate, 0deg));
  opacity: var(--opacity, 1);
  z-index: var(--depth, 1);
  transition:
    transform .55s cubic-bezier(.2,.8,.2,1),
    opacity .55s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.css-system-card img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: cover;
  object-position: top;
}

.css-system-card span {
  display: block;
  padding: 12px 7px;
  font-family: monospace;
  font-size: 11px;
  text-align: center;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.css-system-card.active {
  border-color: var(--css-accent);
  box-shadow:
    0 0 0 1px rgba(0, 217, 255, .4),
    0 0 35px rgba(0, 217, 255, .25);
}

.css-system-card:focus-visible,
.css-car-arrow:focus-visible,
.css-gal-btn:focus-visible,
.css-gal-dots button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.css-car-arrow {
  position: relative;
  z-index: 20;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 217, 255, .4);
  border-radius: 50%;
  background: rgba(0, 15, 30, .8);
  color: var(--css-accent);
  cursor: pointer;
}

.css-car-arrow:hover {
  background: rgba(0, 217, 255, .18);
}

.css-selector-hint {
  margin-top: 8px;
  color: #668698;
  font-family: monospace;
  font-size: 10px;
  text-align: center;
  letter-spacing: 1.5px;
}

/* Responsive */

@media (max-width: 991px) {
  .css-scene {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px;
  }

  .css-info {
    max-width: 700px;
  }

  .css-screen-frame {
    max-width: 800px;
    margin: auto;
    transform: none;
  }
}

@media (max-width: 575px) {
  .css-wrap {
    width: calc(100% - 16px);
    border-radius: 14px;
  }

  .css-topbar {
    padding: 24px 20px 0;
    font-size: 10px;
  }

  .css-scene {
    padding: 30px 18px;
  }

  .css-info-title {
    font-size: 25px;
  }

  .css-info-desc {
    font-size: 13px;
  }

  .css-screen-frame {
    padding: 4px;
  }

  .css-selector {
    padding: 20px 8px;
  }

  .css-selector-heading {
    font-size: 9px;
    margin: 0 12px 15px;
  }

  .css-selector-heading span:last-child {
    display: none;
  }

  .css-carousel-viewport {
    height: 175px;
  }

  .css-system-card {
    width: 140px;
    height: 125px;
  }

  .css-system-card img {
    height: 83px;
  }

  .css-system-card span {
    padding: 9px 5px;
    font-size: 9px;
  }

  .css-car-arrow {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .css-wrap *,
  .css-wrap *::before,
  .css-wrap *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* ==========================================================================
   SECTION 4: WORKING EXPERIENCE TIMELINE
   ========================================================================== */
.cyber-timeline {
  position: relative;
  padding-left: 2.2rem;
  border-left: 2px solid rgba(0, 212, 255, 0.38);
}

.timeline-node {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -2.72rem;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--bg-obsidian);
  border: 3px solid var(--cyber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyber-cyan);
}

/* ==========================================================================
   SECTION 6: HOBBIES & YOUTUBE MUSIC STUDIO DECK
   ========================================================================== */
.music-studio-card {
  background: linear-gradient(145deg, rgba(5, 20, 35, 0.9), rgba(3, 11, 22, 0.94));
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.14);
}

.equalizer-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.equalizer-bars span {
  width: 4px;
  background: var(--cyber-cyan);
  border-radius: 2px;
  animation: eqPulse 0.95s ease-in-out infinite;
}

.equalizer-bars span:nth-child(2) { animation-delay: 0.2s; background: var(--electric-blue); }
.equalizer-bars span:nth-child(3) { animation-delay: 0.4s; }
.equalizer-bars span:nth-child(4) { animation-delay: 0.15s; background: var(--ice-glow); }
.equalizer-bars span:nth-child(5) { animation-delay: 0.35s; }

@keyframes eqPulse {
  0%, 100% { height: 6px; }
  50% { height: 24px; }
}

#composed-playlist .track-item {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 10px;
  background: rgba(5, 18, 32, 0.8);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

#composed-playlist .track-item:hover,
#composed-playlist .track-item.active {
  border-color: #00d9ff;
  background: rgba(0, 217, 255, 0.09);
}

#composed-playlist .track-item:focus-visible {
  outline: 2px solid #00d9ff;
  outline-offset: 3px;
}

.youtube-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.youtube-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.cyber-footer {
  background: rgba(2, 6, 11, 0.95);
  border-top: 1px solid var(--border-cyan);
  padding: 2.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

@media (max-width: 768px) {
  .section-title { font-size: 1.65rem; }
  .carousel-slide-inner { padding: 1.75rem 1.25rem; }
  .ring-1 { width: 270px; height: 270px; }
  .ring-2 { width: 310px; height: 310px; }
}
/* ==============================================================
   V3 REFINEMENTS — SKILLS, PROJECTS & MUSIC STUDIO
   Keeps the original theme and modifies only these modules.
   ============================================================== */

/* MODULE 02 — FULL-WIDTH INTERACTIVE SKILL MAP */
.skill-explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.skill-explorer-status {
  color: #9defff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  border: 1px solid rgba(0, 212, 255, .26);
  border-radius: 40px;
  padding: 10px 14px;
  background: rgba(0, 180, 235, .065);
}
#skills .constellation-wrapper {
  max-height: none;
  max-width: none;
  aspect-ratio: 2.08 / 1;
  min-height: 385px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0, 116, 196, .19), transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(0, 190, 240, .032) 40px 41px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 190, 240, .032) 40px 41px),
    rgba(1, 10, 23, .84);
  border: 1px solid rgba(0, 212, 255, .32);
  box-shadow: inset 0 0 55px rgba(0, 155, 220, .08), 0 18px 60px rgba(0,0,0,.26);
}
.skill-map-corner { position: absolute; pointer-events: none; width: 33px; height: 33px; }
.skill-map-corner.top-left { top: 14px; left: 14px; border-top: 2px solid #00d9ff; border-left: 2px solid #00d9ff; }
.skill-map-corner.bottom-right { bottom: 14px; right: 14px; border-bottom: 2px solid #00d9ff; border-right: 2px solid #00d9ff; }
.skill-holo-preview {
  position: absolute;
  z-index: 8;
  left: 50%; top: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 258px;
  max-width: calc(100% - 18px);
  padding: 18px 20px 20px;
  border: 1px solid rgba(51, 233, 255, .7);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, rgba(7, 46, 72, .97), rgba(2, 15, 33, .96));
  box-shadow: 0 0 38px rgba(0, 213, 255, .26), 0 19px 45px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-100% - 3px)) scale(.86) rotateX(8deg);
  transform-origin: bottom center;
  transition: opacity .2s ease, transform .34s cubic-bezier(.2, 1.45, .3, 1), visibility .2s;
}
.skill-holo-preview.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, calc(-100% - 17px)) scale(1) rotateX(0);
}
.skill-holo-preview::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: calc(50% - 9px);
  width: 18px; height: 18px;
  background: rgba(5, 35, 57, .97);
  border-right: 1px solid #00d9ff;
  border-bottom: 1px solid #00d9ff;
  transform: rotate(45deg);
}
.skill-holo-kicker, #skill-holo-caption { font-size: 10px; letter-spacing: 1.1px; font-family: var(--font-mono); color: #65dcf6; }
#skill-holo-title { font-family: var(--font-display); font-size: 17px; color: #fff; }
.skill-holo-beam { position: absolute; width: 54%; height: 2px; bottom: 0; left: 23%; background: #2ef1ff; box-shadow: 0 0 15px 4px rgba(0,212,255,.36); }
.skill-quick-access {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.skill-quick-button {
  color: #aacfe3;
  background: rgba(3, 22, 39, .85);
  border: 1px solid rgba(0, 212, 255, .23);
  border-radius: 100px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: transform .22s, border-color .22s, color .22s, box-shadow .22s;
}
.skill-quick-button i { color: #00d9ff; }
.skill-quick-button:hover, .skill-quick-button:focus-visible {
  color: #fff;
  border-color: #00d9ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 212, 255, .13);
}
.skill-holo-modal {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100% - 32px));
  max-height: min(90dvh, 640px);
  margin: auto;
  padding: 30px clamp(22px, 4vw, 40px);
  overflow: auto;
  color: #fff;
  background: radial-gradient(ellipse at 50% -20%, rgba(0, 145, 215, .27), transparent 65%), linear-gradient(150deg, #09253a, #020914 82%);
  border: 1px solid rgba(53, 223, 255, .62);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(0,217,255,.08), 0 0 70px rgba(0,190,255,.2), 0 40px 110px rgba(0,0,0,.68);
}
.skill-holo-modal::backdrop { background: rgba(0, 5, 14, .79); backdrop-filter: blur(13px); }
.skill-holo-modal[open] { animation: skillHologramRise .35s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes skillHologramRise {
  from { opacity: 0; transform: translateY(28px) scale(.9) rotateX(12deg); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); }
}
.skill-modal-scanline { pointer-events: none; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(80, 222, 255, .025) 6px 7px); border-radius: inherit; }
.skill-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; }
.skill-modal-close { display: grid; place-items: center; width: 37px; height: 37px; color: #a8deec; background: rgba(0,212,255,.07); border: 1px solid rgba(0,212,255,.32); border-radius: 10px; cursor: pointer; }
.skill-modal-close:hover { background: rgba(0,212,255,.22); color: #fff; }
.skill-modal-icon { display: grid; place-items: center; width: 80px; height: 80px; margin: 25px 0 17px; font-size: 36px; color: #00ddff; border: 1px solid #00a7dc; border-radius: 19px; background: rgba(0,184,240,.09); box-shadow: 0 0 33px rgba(0,180,235,.19); }
.skill-modal-eyebrow { display: block; color: #00d9ff; font: 11px var(--font-mono); letter-spacing: 2px; margin-bottom: 7px; }
#skill-modal-title { font-size: clamp(20px, 4vw, 28px); line-height: 1.25; }
.skill-modal-description { color: #b9cbd9; line-height: 1.85; font-size: 15px; margin: 14px 0 23px; }
.skill-modal-footer { border-top: 1px solid rgba(0, 217, 255, .17); padding-top: 17px; font: 11px var(--font-mono); color: #80aabe; }
.skill-holo-modal button:focus-visible, .skill-quick-button:focus-visible { outline: 2px solid #00d9ff; outline-offset: 3px; }

/* MODULE 03 — SELECTION FIRST, PREVIEW SECOND */
.css-wrap { margin-top: 28px; }
.css-topbar { padding: 21px 32px 0; }
.css-selector {
  margin: 15px 26px 0;
  padding: 11px 18px 18px;
  border: 1px solid rgba(0, 212, 255, .2);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(3,23,40,.9), rgba(0,50,72,.3), rgba(3,15,30,.86));
}
.css-selector-heading { margin: 0 8px 8px; letter-spacing: 1.5px; }
.css-carousel-viewport { height: 152px; }
.css-system-card { height: 120px; width: clamp(115px, 14vw, 165px); }
.css-system-card img { height: 80px; }
.css-system-card span { padding: 9px 6px; font-size: 10px; }
.css-selector-hint { margin-top: 0; font-size: 9px; }
.css-scene { min-height: 380px; padding: 32px 45px 42px; gap: 30px; }
.css-info-title { font-size: clamp(21px, 2.15vw, 32px); }
.css-info-desc { font-size: 13px; line-height: 1.65; }
.css-info-features { gap: 7px; margin-top: 14px; }
.css-info-features li { font-size: 12px; }
.css-info-badge { font-size: 10px; margin-bottom: 12px; }
.css-stage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; font: 10px var(--font-mono); color: #91c8dd; letter-spacing: 1.1px; }
.css-stage-controls { display: flex; align-items: center; gap: 10px; color: #00d9ff; }
.css-stage-arrow { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; border: 1px solid rgba(0,217,255,.35); background: rgba(3,25,40,.85); color: #c9f5ff; cursor: pointer; }
.css-stage-arrow:hover:not(:disabled) { border-color: #00d9ff; background: rgba(0,217,255,.16); }
.css-stage-arrow:disabled { opacity: .3; cursor: not-allowed; }
.css-stage-arrow:focus-visible { outline: 2px solid #00d9ff; outline-offset: 2px; }
.css-carousel-track .css-system-card:focus-visible { outline: 2px solid #fff; }

/* MODULE 06 — PREMIUM MUSIC THEATER */
.music-studio-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 35px);
  border-radius: 23px;
  border-color: rgba(0, 217, 255, .37);
  background: radial-gradient(ellipse at 18% 0%, rgba(2,88,119,.21), transparent 62%), linear-gradient(130deg, #081624, #020915);
  box-shadow: 0 22px 65px rgba(0,0,0,.3), 0 0 35px rgba(0,210,255,.075);
}
.music-studio-card::before { content: ''; position: absolute; pointer-events:none; inset:0 0 auto; height:2px; background:linear-gradient(90deg,transparent,#00d9ff 45%,#625bff 65%,transparent); opacity:.74; }
.music-studio-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:25px; }
.music-studio-brand { display:flex; align-items:center; gap:18px; }
.music-studio-brand h4 { font-size: clamp(17px,2vw,25px); margin-top:3px; }
.music-youtube-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:11px 17px; text-decoration:none; font:11px var(--font-mono); letter-spacing:.5px; border:1px solid rgba(0,217,255,.55); border-radius:30px; color:#b1edff; background:rgba(0,80,117,.18); transition:.2s ease; }
.music-youtube-link .bi-youtube { color:#ff4264; }
.music-youtube-link:hover { color:white; border-color:#00d9ff; box-shadow:0 0 17px rgba(0,217,255,.16); }
.music-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(270px,.9fr); align-items:start; gap:26px; }
.music-main { min-width:0; border:1px solid rgba(0,217,255,.18); border-radius:17px; overflow:hidden; background:rgba(2,10,20,.73); }
.music-player-topline { display:flex; justify-content:space-between; padding:14px 18px; color:#94c5d7; letter-spacing:1.1px; font:11px var(--font-mono); border-bottom:1px solid rgba(0,217,255,.13); }
.music-player-topline i { color:#00d9ff; }
.music-main .youtube-embed-wrapper { border-radius:0; isolation:isolate; background:radial-gradient(circle at 50% 50%,rgba(0,131,204,.25),transparent 60%),#020914; }
.music-poster { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; filter:brightness(.58) saturate(.8); transition:transform .7s ease; }
.music-main .youtube-embed-wrapper:hover .music-poster { transform:scale(1.055); }
.music-poster-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,rgba(0,6,16,.72),transparent 65%),radial-gradient(circle,transparent 30%,rgba(0,5,12,.4) 100%); }
.music-play-launch { position:absolute; z-index:2; top:50%; left:50%; transform:translate(-50%,-50%); width:76px; height:76px; display:grid; place-items:center; background:#00cdeb; border:1px solid #77eaff; border-radius:50%; color:#041522; font-size:40px; box-shadow:0 0 0 11px rgba(0,217,255,.12),0 0 50px rgba(0,217,255,.35); transition:transform .25s ease, box-shadow .25s; }
.music-play-launch:hover { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 0 0 16px rgba(0,217,255,.13),0 0 70px rgba(0,217,255,.45); }
.music-play-launch[hidden] { display:none !important; }
.music-video-label { position:absolute; bottom:19px; left:20px; z-index:1; font:11px var(--font-mono); color:#f1f7ff; letter-spacing:1.3px; }
.music-video-label i { color:#ff4e6e; }
.music-iframe-host { position:absolute; inset:0; z-index:3; pointer-events:none; }
.music-iframe-host iframe { display:block; width:100%; height:100%; border:0; pointer-events:auto; }
.music-is-playing .music-iframe-host { pointer-events:auto; }
.music-player-bottom { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:15px 18px; }
.music-stream-hint { color:#91aabb; font-size:11px; line-height:1.6; }
#music-fallback-link { color:#49dafa; flex-shrink:0; font:11px var(--font-mono); text-decoration:none; }
#music-fallback-link:hover { color:white; text-decoration:underline; }
.music-playlist-panel { min-width:0; padding:0 0 10px; }
.music-playlist-heading { display:flex; justify-content:space-between; gap:12px; align-items:end; margin:1px 0 17px; }
.music-mini-kicker { display:block; margin-bottom:6px; color:#00d9ff; font:10px var(--font-mono); letter-spacing:1.6px; }
.music-playlist-heading h5 { font-size:16px; }
.music-track-total { font:10px var(--font-mono); color:#87b5c5; border:1px solid rgba(0,217,255,.26); border-radius:20px; padding:7px 10px; white-space:nowrap; }
.music-playlist-items { display:grid; gap:10px; }
#composed-playlist .track-item { display:flex; align-items:center; gap:13px; min-width:0; width:100%; margin:0; padding:9px; border-radius:12px; color:white; border:1px solid rgba(0,217,255,.16); text-align:left; background:rgba(5,19,32,.74); transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
#composed-playlist .track-item:hover { transform:translateX(-4px); border-color:rgba(0,217,255,.68); }
#composed-playlist .track-item.active { background:linear-gradient(90deg,rgba(0,217,255,.16),rgba(0,39,61,.3)); border-color:#00d9ff; box-shadow:inset 3px 0 #00d9ff; }
#composed-playlist .track-item img { flex:0 0 87px; display:block; width:87px; height:54px; object-fit:cover; border-radius:7px; background:linear-gradient(135deg,#0c4e73,#040d1f); }
.music-track-copy { display:grid; gap:6px; flex:1; min-width:0; }
.music-track-index { font:9px var(--font-mono); color:#00d9ff; letter-spacing:.5px; }
.music-track-copy strong { color:#f3f8ff; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.music-track-action { display:grid; place-items:center; width:30px; height:30px; border:1px solid rgba(0,217,255,.35); border-radius:50%; color:#00d9ff; flex-shrink:0; }
.music-playlist-note { display:flex; align-items:start; gap:10px; margin-top:18px; padding:13px 14px; border-radius:11px; background:rgba(0,153,204,.07); border:1px solid rgba(0,217,255,.15); color:#92adbe; font-size:11px; line-height:1.55; }
.music-playlist-note i { color:#00d9ff; }

@media (max-width: 991px) {
  #skills .constellation-wrapper { aspect-ratio:1.5 / 1; min-height:380px; }
  .css-scene { padding:25px 30px 35px; }
  .css-selector { margin:14px 16px 0; }
  .music-layout { grid-template-columns:1fr; }
  .music-playlist-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575px) {
  #skills .constellation-wrapper { min-height:390px; aspect-ratio:1 / 1.15; }
  .skill-explorer-header { align-items:flex-start; }
  .skill-explorer-status { font-size:10px; padding:7px 11px; }
  .skill-holo-preview { display:none; }
  .skill-quick-button { font-size:10px; padding:8px 10px; }
  .css-topbar { padding:20px 18px 0; }
  .css-selector { margin:12px 10px 0; padding:10px 6px 13px; }
  .css-selector-heading { margin:0 8px 4px; font-size:9px; }
  .css-carousel-viewport { height:135px; }
  .css-system-card { width:120px; height:104px; }
  .css-system-card img { height:68px; }
  .css-system-card span { font-size:9px; padding:8px 4px; }
  .css-carousel-wrap { gap:4px; }
  .css-car-arrow { flex-basis:30px; width:30px; height:30px; }
  .css-selector-hint { display:none; }
  .css-scene { padding:24px 18px 28px; }
  .css-stage-toolbar { font-size:9px; }
  .music-studio-card { padding:15px; }
  .music-studio-heading { align-items:flex-start; }
  .music-playlist-items { grid-template-columns:1fr; }
  .music-player-bottom { flex-wrap:wrap; }
  .music-play-launch { width:64px; height:64px; }
  #composed-playlist .track-item img { width:78px; flex-basis:78px; }
}
@media (prefers-reduced-motion: reduce) {
  .skill-holo-modal[open] { animation:none; }
  .skill-holo-preview, .skill-quick-button, .music-studio-card *, .css-section * { transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* Graceful artwork fallback when YouTube thumbnails cannot be reached. */
.music-main .youtube-embed-wrapper { background: radial-gradient(circle at 50% 40%, rgba(0, 202, 240, .17), transparent 47%), repeating-linear-gradient(115deg, transparent 0 26px, rgba(0, 217, 255, .025) 27px 28px), #040d1b; }
.music-poster[hidden], #composed-playlist .track-item img[hidden] { display:none !important; }
#composed-playlist .track-item:has(img[hidden])::before { content:'♪'; display:grid; place-items:center; flex:0 0 78px; height:54px; border-radius:7px; background:linear-gradient(135deg, #074660, #081425); color:#00d9ff; font-size:22px; }
@media (max-width:575px) { html { overflow-x:clip; } }

/* Keep decorative portrait orbit and Bootstrap gutters inside small screens. */
@media (max-width: 575px) {
  #about .row { margin-left: 0; margin-right: 0; }
  #about .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
  #about .holo-portrait-stage { max-width: calc(100vw - 42px); }
  #about .orbital-ring { width: min(306px, calc(100vw - 48px)); height: min(306px, calc(100vw - 48px)); }
}
@media (max-width: 575px) {
  #about { overflow-x: clip; }
}


/* ==========================================================================
   MODULE 06 REWORK / RAD SOUND ARCHIVE -- self-hosted video and premium layout
   ========================================================================== */
#hobbies > .container > .row.g-4.mb-4 .cyber-card {
  position: relative; overflow: hidden; min-height: 188px; padding: 28px 24px;
  background: linear-gradient(155deg, rgba(7,29,47,.94), rgba(3,11,23,.92));
  border-color: rgba(88,202,240,.2); border-radius: 18px;
  transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}
#hobbies > .container > .row.g-4.mb-4 .cyber-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,transparent,rgba(0,212,255,.65),transparent); opacity: .75;
}
#hobbies > .container > .row.g-4.mb-4 .cyber-card:hover {
  transform: translateY(-6px); border-color: rgba(0,212,255,.5);
  box-shadow: 0 15px 35px rgba(0,0,0,.36),0 0 28px rgba(0,212,255,.08);
}
.rad-studio {
  --rad-accent: #25ddff;
  --rad-art: url('../img/music/track-01.webp');
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(35,207,243,.33); border-radius: 24px;
  background: #04111f; padding: clamp(20px, 3.2vw, 42px);
  box-shadow: 0 28px 80px rgba(0,0,0,.45),0 0 40px rgba(0,180,220,.07);
}
.rad-studio::before {
  content: ''; z-index: -1; position: absolute; inset: -70px;
  background-image: var(--rad-art); background-position: 50% 40%; background-size: cover;
  filter: blur(100px) saturate(1.4); opacity: .18; pointer-events: none;
}
.rad-studio::after {
  content: ''; z-index: -1; position: absolute; inset: 0;
  background: linear-gradient(145deg,rgba(2,15,28,.55),rgba(2,7,18,.9) 85%); pointer-events: none;
}
.rad-studio-top {display:flex; justify-content:space-between; align-items:center; gap:22px; margin-bottom:31px;}
.rad-studio-brand {max-width:680px;}
.rad-tiny-label {font: 10px var(--font-mono); letter-spacing: 2px; color:#48d8f4;}
.rad-live-dot,.rad-signal-dot {display:inline-block; width:7px; height:7px; border-radius:50%; background:#15d9bd; box-shadow:0 0 10px rgba(21,217,189,.7); vertical-align:middle; margin-right:8px;}
.rad-studio-title {font-size:clamp(23px,3vw,39px); font-weight:700; line-height:1.25; margin:10px 0 9px; letter-spacing:.02em; color:#f5faff;}
.rad-studio-title span {color:var(--rad-accent); text-shadow:0 0 25px rgba(37,221,255,.2);}
.rad-studio-brand p {color:#9eb9ca; font-size:14px; line-height:1.6; margin:0;}
.rad-studio-top-right {display:flex;align-items:center;gap:13px;white-space:nowrap;color:#97b6ca;font:10px var(--font-mono);letter-spacing:1px;}
.rad-studio-top-right b {color:#3dd7f0;}
.rad-disc-icon {height:44px;width:44px;display:grid;place-items:center;border:1px solid rgba(40,221,255,.31);border-radius:50%;background:#0b2838;font-size:23px;color:#62e5ff;box-shadow:0 0 18px rgba(0,212,255,.07);}
.rad-layout {display:grid;grid-template-columns:minmax(0,1.52fr) minmax(310px,.88fr);gap:25px;align-items:stretch;}
.rad-viewer {min-width:0;background:rgba(2,10,22,.9);border:1px solid rgba(62,190,220,.24);border-radius:19px;overflow:hidden;box-shadow:0 16px 44px rgba(0,0,0,.3);}
.rad-video-stage {position:relative;isolation:isolate;width:100%;aspect-ratio:16/9;overflow:hidden;display:grid;place-items:center;background:#000a11;}
.rad-stage-art {position:absolute;inset:-26px;z-index:-1;background:var(--rad-art) center / cover;filter:blur(28px) brightness(.43) saturate(.8);transform:scale(1.08);pointer-events:none;}
.rad-video-stage video {position:relative;display:block;width:100%;height:100%;object-fit:contain;background:transparent;z-index:0;}
.rad-video-header {position:absolute;z-index:3;inset:0 0 auto;pointer-events:none;padding:13px 18px;display:flex;justify-content:space-between;gap:12px;background:linear-gradient(#020a14df,transparent);color:#d5f5ff;font:10px var(--font-mono);letter-spacing:1.5px;}
.rad-signal {color:#71d6e5;}
.rad-stage-mark {position:absolute;z-index:3;bottom:13px;left:18px;font:9px var(--font-mono);color:#cbe6eb;letter-spacing:1.4px;pointer-events:none;text-shadow:0 2px 10px #000;}
.rad-stage-mark i {color:#f65d72;margin-right:5px;}
.rad-hero-play {position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);width:85px;height:85px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.83);background:#19cceb;color:#031b28;font-size:47px;cursor:pointer;box-shadow:0 0 0 13px rgba(0,212,255,.12),0 12px 55px rgba(0,160,220,.45);transition:opacity .2s,transform .2s,visibility .2s;}
.rad-hero-play:hover {transform:translate(-50%,-50%) scale(1.08);}
.rad-video-stage.rad-playing .rad-hero-play {opacity:0;visibility:hidden;pointer-events:none;}
.rad-video-stage.rad-playing .rad-stage-mark {opacity:0;}
.rad-transport {display:flex;align-items:center;gap:11px;padding:14px 18px;background:linear-gradient(180deg,#061724,#03101d);border-bottom:1px solid rgba(37,221,255,.12);}
.rad-transport-main {display:flex;align-items:center;gap:4px;flex-shrink:0;}
.rad-icon-btn,.rad-transport-play {display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:9px;background:transparent;color:#a9d4e0;cursor:pointer;transition:color .2s,background .2s;}
.rad-icon-btn {width:30px;height:32px;font-size:14px;}
.rad-icon-btn:hover {background:rgba(39,215,248,.12);color:white;}
.rad-transport-play {width:40px;height:40px;background:rgba(0,204,235,.15);border:1px solid rgba(20,215,255,.4);color:#4be3ff;font-size:22px;}
.rad-transport-play:hover {background:#19cceb;color:#021620;}
.rad-time {flex:0 0 auto;color:#a3c5d4;font:11px var(--font-mono);white-space:nowrap;min-width:34px;text-align:center;}
.rad-progress,.rad-volume {appearance:none;-webkit-appearance:none;display:block;height:5px;border-radius:99px;cursor:pointer;outline:none;background:linear-gradient(90deg,#25ddff 0%,#25ddff var(--rad-fill),#234255 var(--rad-fill),#234255 100%);}
.rad-progress {flex:1 1 80px;min-width:35px;}
.rad-volume {width:63px;flex:0 0 63px;}
.rad-progress::-webkit-slider-thumb,.rad-volume::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:12px;height:12px;border:2px solid #c8f9ff;border-radius:50%;background:#00ccea;box-shadow:0 0 8px #00ccea;}
.rad-progress::-moz-range-thumb,.rad-volume::-moz-range-thumb {width:11px;height:11px;border:2px solid #c8f9ff;border-radius:50%;background:#00ccea;}
.rad-track-details {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:25px 22px 26px;}
.rad-track-details-copy {min-width:0;flex:1;}
.rad-track-details h4 {font-size:clamp(16px,2vw,24px);line-height:1.4;color:#f4f9ff;margin:7px 0 6px;}
.rad-track-details p {margin:0;color:#8ba9bc;line-height:1.55;font-size:12px;}
.rad-watch-main {display:inline-flex;justify-content:center;align-items:center;gap:10px;flex-shrink:0;padding:12px 15px;border-radius:12px;border:1px solid rgba(239,75,98,.55);background:rgba(195,32,63,.1);color:#ffe0e5;text-decoration:none;font:11px var(--font-mono);transition:background .2s,border-color .2s,transform .2s;}
.rad-watch-main .bi-youtube {color:#ff4366;font-size:16px;}
.rad-watch-main:hover {background:rgba(240,51,83,.19);border-color:#ff6b83;color:#fff;transform:translateY(-2px);}
.rad-library {min-width:0;display:flex;flex-direction:column;}
.rad-library-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 16px;}
.rad-library-heading h4 {font-size:clamp(16px,1.5vw,20px);color:white;margin:8px 0 0;}
.rad-accent-dot {color:#1dd9ff;}
.rad-track-pill {display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(0,212,255,.25);padding:7px 9px;border-radius:30px;font:10px var(--font-mono);color:#7cd9ed;white-space:nowrap;}
.rad-track-list {display:grid;gap:10px;}
.rad-track-row {display:flex;align-items:stretch;min-width:0;overflow:hidden;border-radius:14px;border:1px solid rgba(53,143,180,.26);background:rgba(4,19,35,.78);transition:border-color .22s,transform .22s,background .22s,box-shadow .22s;}
.rad-track-row:hover {border-color:rgba(16,207,250,.62);background:rgba(4,34,53,.87);transform:translateX(-2px);}
.rad-track-row.is-active {border-color:#1bcff2;background:linear-gradient(120deg,rgba(3,70,98,.59),rgba(5,21,37,.95));box-shadow:inset 3px 0 #10d9ff,0 9px 27px rgba(0,190,240,.075);}
.rad-track-select {min-width:0;flex:1;display:flex;align-items:center;gap:13px;cursor:pointer;text-align:left;padding:11px 5px 11px 12px;background:none;color:inherit;border:0;}
.rad-track-thumb {flex:0 0 89px;height:65px;position:relative;display:block;overflow:hidden;border:1px solid rgba(84,170,201,.24);border-radius:9px;background:#04243a;}
.rad-track-thumb img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.rad-thumb-play {position:absolute;inset:0;display:grid;place-items:center;font-size:24px;color:white;text-shadow:0 2px 15px #000;opacity:0;transition:opacity .2s;background:rgba(0,12,28,.37);}
.rad-track-row:hover .rad-thumb-play,.rad-track-row.is-active .rad-thumb-play {opacity:1;}
.rad-track-text {display:grid;min-width:0;flex:1;gap:4px;}
.rad-track-num {color:#29d2f2;font:10px var(--font-mono);letter-spacing:.5px;}
.rad-track-num span {color:#7b9daf;font-size:9px;}
.rad-track-text strong {color:#f2f8ff;font:600 14px var(--font-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rad-track-text small {color:#8faec0;font:10px var(--font-mono);}
.rad-track-bullet {display:inline-block;margin:0 4px 2px;width:3px;height:3px;border-radius:50%;background:#50aac5;}
.rad-track-external {flex:0 0 40px;display:grid;place-items:center;border-left:1px solid rgba(45,126,160,.21);color:#6bc4d9;text-decoration:none;background:rgba(0,0,0,.1);font-size:16px;transition:background .2s,color .2s;}
.rad-track-external:hover {color:white;background:rgba(12,185,240,.2);}
.rad-library-bottom {display:flex;gap:12px;margin-top:auto;padding:20px 14px 4px;color:#8daabb;}
.rad-library-bottom-icon {display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid rgba(30,186,220,.29);border-radius:10px;color:#25ccee;}
.rad-library-bottom strong {display:block;color:#cee9f1;font:11px var(--font-mono);margin-bottom:5px;}
.rad-library-bottom p {font-size:12px;line-height:1.65;margin:0;}
.rad-studio-foot {display:flex;justify-content:space-between;gap:12px;border-top:1px solid rgba(38,202,238,.13);margin-top:29px;padding-top:15px;color:#527f98;font:10px var(--font-mono);letter-spacing:1.5px;}
.rad-studio-foot i {color:#16cdeb;}
.rad-studio button:focus-visible,.rad-studio a:focus-visible,.rad-studio input:focus-visible {outline:2px solid #8ff3ff;outline-offset:3px;}
.rad-viewer:fullscreen {display:flex;flex-direction:column;justify-content:center;background:#000;padding:15px;border-radius:0;}
.rad-viewer:fullscreen .rad-video-stage {max-height:calc(100vh - 140px);aspect-ratio:auto;flex:1;min-height:0;}
.rad-viewer:fullscreen .rad-track-details {padding:10px 5px;}
@media(max-width:1100px){.rad-layout {grid-template-columns:minmax(0,1.3fr) minmax(270px,.9fr);gap:17px;}.rad-track-thumb{flex-basis:72px;height:58px;}.rad-track-select{gap:9px;padding:9px 3px 9px 9px;}.rad-track-text strong{font-size:12px;}.rad-watch-main{padding:10px;}}
@media(max-width:900px){.rad-layout {grid-template-columns:minmax(0,1fr);gap:23px;}.rad-track-list{grid-template-columns:repeat(2,minmax(0,1fr));}.rad-library-bottom{margin-top:16px;}.rad-track-thumb{flex-basis:84px;height:60px;}}
@media(max-width:620px){.rad-studio{padding:16px;border-radius:17px;}.rad-studio-top{margin-bottom:20px;}.rad-studio-title{font-size:clamp(20px,6vw,30px);}.rad-studio-top-right{display:none;}.rad-video-header{font-size:9px;padding:9px 11px;}.rad-stage-mark{font-size:8px;bottom:9px;left:10px;}.rad-hero-play{width:59px;height:59px;font-size:33px;box-shadow:0 0 0 8px rgba(0,212,255,.12);}.rad-track-list{grid-template-columns:1fr;}.rad-track-thumb{flex-basis:84px;height:57px;}.rad-transport{flex-wrap:wrap;row-gap:8px;padding:10px;}.rad-transport-main{order:0;}.rad-progress{order:4;flex-basis:100%;}.rad-time{min-width:30px;}.rad-volume{width:50px;flex-basis:50px;}.rad-track-details{flex-direction:column;align-items:flex-start;padding:16px;gap:12px;}.rad-watch-main{width:100%;}.rad-library-heading{margin-bottom:12px;}.rad-library-bottom{padding:15px 5px 0;}.rad-studio-foot{font-size:9px;}}
@media(prefers-reduced-motion:reduce){.rad-studio *{transition:none!important;animation:none!important;}}

/* Visible, mobile-friendly build identifier to distinguish new local edition from old YouTube-only folders. */
.rad-version-inline { display:inline-block; margin-left:10px; padding:4px 8px; border-radius:99px; border:1px solid rgba(34,219,191,.5); background:rgba(34,219,191,.1); color:#6bf3d7; font-size:9px; font-weight:700; letter-spacing:1px; vertical-align:middle; white-space:nowrap; }
@media (max-width:560px) { .rad-version-inline { display:block; width:max-content; margin:7px 0 0 16px; } }


/* ======================================================================
   MODULE 06 V4 — HOBBY CATEGORY TABS AND IMMERSIVE ALT CONTENT
   ====================================================================== */
#hobbies .hobby-tabs-heading {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin: 24px 3px 12px;color:#4ed7f2;font:11px var(--font-mono);
  letter-spacing:2px;
}
#hobbies .hobby-tabs-heading i{margin-right:7px;}
#hobbies .hobby-tabs-heading span:last-child{color:#85a9c0;}
#hobbies .hobby-tabs {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;
  margin-bottom:20px;
}
#hobbies .hobby-tab {
  position:relative;isolation:isolate;display:flex;align-items:center;gap:16px;
  padding:20px 19px;min-width:0;min-height:106px;text-align:left;cursor:pointer;
  border:1px solid rgba(69,151,195,.28);border-radius:16px;
  background:linear-gradient(145deg,#081b2b 0%,#030c19 100%);
  color:#d8eef7;overflow:hidden;transition:transform .24s ease,border-color .24s,box-shadow .24s,background .24s;
}
#hobbies .hobby-tab::before{content:"";position:absolute;inset:0 0 auto;height:2px;
  background:linear-gradient(90deg,transparent,#13d9ff,#4f60fc,transparent);
  opacity:0;transition:opacity .25s;}
#hobbies .hobby-tab::after{content:"";position:absolute;inset:auto 0 0;height:45%;
  background:linear-gradient(0deg,rgba(12,182,230,.06),transparent);pointer-events:none;opacity:0;}
#hobbies .hobby-tab:hover {transform:translateY(-4px);border-color:rgba(11,221,255,.68);box-shadow:0 12px 35px rgba(0,0,0,.32);}
#hobbies .hobby-tab.is-active{border-color:#05cffa;
  background:linear-gradient(135deg,rgba(6,59,82,.84),rgba(4,17,35,.95));
  box-shadow:inset 0 0 0 1px rgba(0,219,255,.12),0 0 22px rgba(0,205,255,.1);}
#hobbies .hobby-tab.is-active::before,#hobbies .hobby-tab.is-active::after{opacity:1;}
#hobbies .hobby-tab-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;
  border:1px solid rgba(55,173,220,.36);border-radius:15px;background:rgba(14,75,101,.32);
  color:#54dbf5;font-size:26px;transition:transform .26s,box-shadow .26s,color .26s;}
#hobbies .hobby-tab:hover .hobby-tab-icon,#hobbies .hobby-tab.is-active .hobby-tab-icon{
  transform:translateY(-2px);box-shadow:0 0 20px rgba(3,208,243,.17);color:#1de5ff;}
#hobbies .hobby-tab-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
#hobbies .hobby-tab-copy small{font:10px var(--font-mono);letter-spacing:1.1px;color:#56bfdb;}
#hobbies .hobby-tab-copy strong{font:600 clamp(13px,1.25vw,18px) var(--font-display);color:#f3fbff;line-height:1.15;}
#hobbies .hobby-tab-copy>span{font-size:12px;color:#8ba9be;line-height:1.3;}
#hobbies .hobby-tab-arrow{margin-left:auto;align-self:flex-start;color:#20d3f6;opacity:.35;font-size:16px;transition:opacity .25s,transform .25s;}
#hobbies .hobby-tab.is-active .hobby-tab-arrow,#hobbies .hobby-tab:hover .hobby-tab-arrow{opacity:1;transform:translate(2px,-2px);}
#hobbies .hobby-tab:focus-visible{outline:2px solid #b5faff;outline-offset:3px;}
#hobbies .hobby-panel[hidden]{display:none!important;}
#hobbies .hobby-panel.is-visible{animation:hobbyPanelEnter .38s ease both;}
@keyframes hobbyPanelEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
#hobbies .hobby-feature-panel{
  position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);
  gap:clamp(24px,4vw,60px);padding:clamp(26px,4vw,52px);
  border:1px solid rgba(35,207,243,.33);border-radius:24px;min-height:500px;
  background:radial-gradient(circle at 23% 48%,rgba(3,119,159,.17),transparent 43%),
  linear-gradient(130deg,#071d30 0%,#030a17 75%);
  box-shadow:0 28px 80px rgba(0,0,0,.35);align-items:center;
}
#hobbies .hobby-feature-panel::before{content:"";position:absolute;inset:0 0 auto;height:2px;
  background:linear-gradient(90deg,transparent,#09cff2,#6759e8,transparent);opacity:.7;}
#hobbies .hobby-feature-panel::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(53,170,213,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(53,170,213,.04) 1px,transparent 1px);
  background-size:48px 48px;mask-image:linear-gradient(90deg,black,transparent 70%);}
#hobbies .hobby-feature-kicker{display:flex;align-items:center;gap:9px;color:#54ddf7;font:11px var(--font-mono);letter-spacing:1.7px;}
#hobbies .hobby-feature-pulse{width:7px;height:7px;border-radius:50%;background:#2be6de;box-shadow:0 0 13px #2be6de;}
#hobbies .hobby-hero-art{position:relative;display:grid;place-items:center;width:min(100%,360px);height:205px;margin:12px 0 6px;
  isolation:isolate;overflow:hidden;}
#hobbies .hobby-hero-art>i{z-index:2;font-size:clamp(90px,10vw,150px);line-height:1;
  color:#20d8fd;filter:drop-shadow(0 0 22px rgba(0,211,255,.33));}
#hobbies .hobby-hero-tech>i{color:#68bdff;filter:drop-shadow(0 0 24px rgba(69,111,255,.33));}
#hobbies .hobby-halo{position:absolute;z-index:0;border:1px solid rgba(12,211,247,.26);border-radius:50%;
  width:210px;height:210px;box-shadow:inset 0 0 22px rgba(0,190,250,.04);}
#hobbies .hobby-halo-two{width:300px;height:150px;transform:rotate(-24deg);border-style:dashed;opacity:.7;}
#hobbies .hobby-hero-art::before{content:"";position:absolute;inset:12% 8%;z-index:-1;border-radius:50%;background:radial-gradient(circle,rgba(0,169,223,.17),transparent 65%);}
#hobbies .hobby-art-caption{position:absolute;bottom:1px;left:0;color:#4abbd8;font:10px var(--font-mono);letter-spacing:1.5px;}
#hobbies .hobby-feature-hero h3{color:#f4faff;font-size:clamp(24px,2.8vw,37px);line-height:1.18;margin:15px 0 15px;}
#hobbies .hobby-feature-hero h3 span{color:#00d8ff;}
#hobbies .hobby-feature-hero>p{max-width:440px;color:#a2bacb;font-size:14px;line-height:1.85;margin:0;}
#hobbies .hobby-feature-content{min-width:0;}
#hobbies .hobby-mini-label{color:#36cde9;font:11px var(--font-mono);letter-spacing:1.7px;}
#hobbies .hobby-feature-content>h4{color:#f0f8ff;font-size:clamp(20px,2.1vw,28px);margin:13px 0 23px;line-height:1.25;}
#hobbies .hobby-interest-list{display:grid;gap:12px;}
#hobbies .hobby-interest-item{display:flex;align-items:center;gap:15px;padding:17px;
  border:1px solid rgba(62,157,198,.23);border-radius:15px;background:rgba(3,24,42,.68);
  transition:border-color .25s,transform .25s,background .25s;}
#hobbies .hobby-interest-item:hover{transform:translateX(4px);border-color:rgba(25,204,239,.58);background:rgba(7,46,65,.73);}
#hobbies .hobby-interest-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;
  border:1px solid rgba(45,167,204,.29);border-radius:12px;color:#4bd2f1;background:rgba(4,58,83,.3);font-size:21px;}
#hobbies .hobby-interest-item>div{flex:1;min-width:0;}
#hobbies .hobby-interest-item strong{color:#e6f6ff;font-size:14px;font-weight:600;display:block;line-height:1.35;}
#hobbies .hobby-interest-item p{margin:5px 0 0;color:#8eaabc;font-size:12px;line-height:1.5;}
#hobbies .hobby-item-index{font:10px var(--font-mono);color:#507b91;align-self:flex-start;}
#hobbies .hobby-feature-note{display:flex;gap:10px;align-items:center;color:#739fb5;font:11px var(--font-mono);
  margin-top:24px;padding:12px 0;border-top:1px solid rgba(65,170,205,.16);}
#hobbies .hobby-feature-note i{color:#3bd1f2;font-size:17px;}
@media(max-width:1050px){
  #hobbies .hobby-tabs{gap:10px;}#hobbies .hobby-tab{padding:15px 13px;gap:10px;min-height:100px;}
  #hobbies .hobby-tab-icon{width:42px;height:42px;flex-basis:42px;font-size:22px;}
  #hobbies .hobby-tab-copy>span{font-size:11px;}
}
@media(max-width:760px){
  #hobbies .hobby-feature-panel{grid-template-columns:1fr;gap:28px;min-height:0;}
  #hobbies .hobby-hero-art{height:155px;width:230px;margin:6px 0;}
  #hobbies .hobby-hero-art>i{font-size:92px;}
  #hobbies .hobby-halo{width:165px;height:165px;}
  #hobbies .hobby-halo-two{width:230px;height:110px;}
}
@media(max-width:610px){
  #hobbies .hobby-tabs{gap:7px;}
  #hobbies .hobby-tab{min-height:94px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:7px;border-radius:12px;text-align:center;}
  #hobbies .hobby-tab-icon{width:33px;height:33px;flex-basis:33px;border-radius:10px;font-size:17px;}
  #hobbies .hobby-tab-copy{align-items:center;gap:3px;}
  #hobbies .hobby-tab-copy small{font-size:8px;letter-spacing:0;}
  #hobbies .hobby-tab-copy strong{font-size:clamp(9px,2.75vw,13px);}
  #hobbies .hobby-tab-copy>span,#hobbies .hobby-tab-arrow{display:none;}
  #hobbies .hobby-tabs-heading{font-size:10px;letter-spacing:1.5px;}
  #hobbies .hobby-feature-panel{padding:22px 18px;border-radius:16px;}
  #hobbies .hobby-feature-hero h3{margin-top:13px;}
  #hobbies .hobby-feature-content>h4{margin-bottom:17px;}
  #hobbies .hobby-interest-item{padding:12px 10px;gap:10px;}
  #hobbies .hobby-interest-icon{flex-basis:36px;height:36px;font-size:18px;}
}
@media(prefers-reduced-motion:reduce){
  #hobbies .hobby-panel.is-visible{animation:none;}
  #hobbies .hobby-tab,#hobbies .hobby-interest-item,#hobbies .hobby-tab-icon{transition:none;}
}


/* =====================================================================
   MODULE 06 V5 — REAL GAME ARTWORK + INTERACTIVE GAME ROSTER
   Images are external publisher/editorial assets, not generated artwork.
   ===================================================================== */
#hobbies .rad-games {position:relative;isolation:isolate;padding:clamp(20px,3vw,40px);
 border:1px solid rgba(23,191,229,.37);border-radius:22px;overflow:hidden;
 background:radial-gradient(ellipse at 12% 26%,rgba(3,91,134,.21),transparent 52%),linear-gradient(125deg,#07172b,#030a15 75%);
 box-shadow:0 20px 65px rgba(0,0,0,.33);}
#hobbies .rad-games::before{content:"";position:absolute;inset:0 0 auto;height:2px;
 background:linear-gradient(90deg,#00b9e9,#4b45e5,transparent);}
#hobbies .rad-games-masthead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px;}
#hobbies .rad-games-eyebrow{font:11px var(--font-mono);letter-spacing:2px;color:#2cdef8;}
#hobbies .rad-games-eyebrow i{margin-right:7px;}
#hobbies .rad-games-masthead h3{margin:11px 0 7px;font-size:clamp(26px,3.1vw,42px);color:#f1f8ff;letter-spacing:.7px;}
#hobbies .rad-games-masthead h3 span{color:#05d4ff;}
#hobbies .rad-games-masthead p{margin:0;color:#a0b6c8;font-size:13px;line-height:1.6;}
#hobbies .rad-games-count{font:600 clamp(30px,3.4vw,50px) var(--font-display);white-space:nowrap;color:#23c9e9;}
#hobbies .rad-games-count span{display:block;text-align:right;color:#7c9fb2;font:10px var(--font-mono);letter-spacing:1.5px;}
#hobbies .rad-game-stage{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:stretch;
 min-height:440px;border:1px solid rgba(24,184,221,.34);border-radius:19px;overflow:hidden;background:#030b17;
 box-shadow:0 16px 44px rgba(0,0,0,.3);}
#hobbies .rad-game-visual{position:relative;overflow:hidden;background:radial-gradient(circle at 43% 45%,rgba(11,123,167,.24),transparent 60%),#071220;min-height:400px;}
#hobbies .rad-game-visual img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.91;
 transition:opacity .35s,transform .65s;}
#hobbies .rad-game-stage.is-switching .rad-game-visual img{opacity:.28;transform:scale(1.035);}
#hobbies .rad-game-glow{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,transparent 55%,rgba(3,11,23,.48));pointer-events:none;}
#hobbies .rad-game-visual-fade{position:absolute;z-index:2;inset:0;
 background:linear-gradient(0deg,rgba(1,8,18,.48),transparent 34%),linear-gradient(90deg,transparent 65%,#030b17 100%);pointer-events:none;}
#hobbies .rad-game-image-label{position:absolute;bottom:20px;left:23px;z-index:3;padding:8px 10px;
 border:1px solid rgba(64,188,222,.35);background:rgba(1,10,20,.77);border-radius:6px;
 color:#a2cfdf;font:10px var(--font-mono);letter-spacing:1px;}
#hobbies .rad-game-image-label i{margin-right:5px;}
#hobbies .rad-game-summary{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;
 justify-content:center;padding:clamp(22px,3.2vw,45px);min-width:0;background:linear-gradient(115deg,rgba(3,11,23,.92),#030b17);}
#hobbies .rad-game-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:21px;color:#4bdbef;
 font:10px var(--font-mono);letter-spacing:1px;}
#hobbies .rad-game-meta span{border:1px solid rgba(31,197,235,.27);padding:6px 10px;border-radius:30px;background:rgba(0,199,255,.06);}
#hobbies .rad-game-summary h4{font-size:clamp(23px,2.4vw,36px);line-height:1.16;margin:0 0 15px;color:white;overflow-wrap:anywhere;}
#hobbies .rad-game-summary>p:not(.rad-game-source){font-size:13px;color:#aec1d0;line-height:1.8;margin-bottom:18px;}
#hobbies .rad-game-achievement{display:flex;align-items:center;gap:13px;margin:0 0 18px;padding:13px 16px;
 border:1px solid rgba(246,183,75,.35);border-radius:13px;background:linear-gradient(105deg,rgba(193,137,34,.13),rgba(30,27,28,.35));}
#hobbies .rad-game-achievement[hidden]{display:none;}
#hobbies .rad-game-achievement>i{color:#f6bd61;font-size:25px;}
#hobbies .rad-game-achievement strong{display:block;color:#ffe0a6;font:600 13px var(--font-display);letter-spacing:.5px;}
#hobbies .rad-game-achievement small{display:block;color:#bcb09b;font-size:11px;margin-top:4px;}
#hobbies .rad-game-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px;}
#hobbies .rad-game-tags>span{padding:7px 9px;border:1px solid rgba(34,190,220,.23);border-radius:7px;
 color:#7ed7e9;font:10px var(--font-mono);letter-spacing:.5px;background:rgba(0,194,230,.06);}
#hobbies .rad-game-actions{margin-top:2px;}
#hobbies .rad-game-actions>a{display:inline-flex;gap:9px;align-items:center;padding:10px 14px;border:1px solid #0da8ca;border-radius:30px;
 color:#55ddf6!important;font:11px var(--font-mono);letter-spacing:.5px;text-decoration:none;transition:background .2s,transform .2s;}
#hobbies .rad-game-actions>a:hover{background:rgba(5,206,238,.12);transform:translateY(-2px);}
#hobbies .rad-game-source{font-size:10px!important;line-height:1.5!important;color:#6e91a8!important;margin:15px 0 0!important;}
#hobbies .rad-game-roster-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:24px 1px 13px;
 color:#35d7f0;font:11px var(--font-mono);letter-spacing:1.3px;}
#hobbies .rad-game-roster-head i{margin-right:5px;}
#hobbies .rad-game-roster-head span:last-child{color:#718ea4;}
#hobbies .rad-game-roster{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;}
#hobbies .rad-game-tile{position:relative;display:flex;flex-direction:column;padding:7px;min-width:0;text-align:left;cursor:pointer;
 border:1px solid rgba(48,144,187,.32);border-radius:11px;background:#07192a;color:#dff2fc;
 transition:border-color .2s,transform .25s,box-shadow .25s;overflow:hidden;}
#hobbies .rad-game-tile:hover{transform:translateY(-4px);border-color:rgba(11,218,251,.8);}
#hobbies .rad-game-tile.is-selected{border-color:#00d5f8;box-shadow:inset 0 0 0 1px rgba(0,210,240,.15),0 0 18px rgba(0,201,244,.13);}
#hobbies .rad-game-tile-image{height:clamp(66px,7.3vw,103px);width:100%;display:block;position:relative;border-radius:7px;overflow:hidden;
 background:linear-gradient(140deg,#163a4a,#060b19);}
#hobbies .rad-game-tile-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
#hobbies .rad-game-tile:hover img{transform:scale(1.06);}
#hobbies .rad-game-tile-info{display:flex;flex-direction:column;gap:5px;padding:11px 5px 7px;}
#hobbies .rad-game-tile-info small{color:#46cce7;font:9px var(--font-mono);letter-spacing:.5px;}
#hobbies .rad-game-tile-info strong{font-size:12px;line-height:1.25;min-height:30px;color:#f2f8fb;font-weight:600;}
#hobbies .rad-game-tile:focus-visible{outline:2px solid #bff4ff;outline-offset:3px;}
#hobbies .rad-game-credits{font-size:10px;color:#60849b;line-height:1.55;margin:14px 0 0;}
@media(max-width:1100px){
 #hobbies .rad-game-stage{grid-template-columns:1fr 1fr;}
 #hobbies .rad-game-roster{grid-template-columns:repeat(3,minmax(0,1fr));}
 #hobbies .rad-game-tile-image{height:115px;}
}
@media(max-width:730px){
 #hobbies .rad-games{padding:17px;border-radius:15px;}
 #hobbies .rad-games-count{font-size:30px;}
 #hobbies .rad-game-stage{grid-template-columns:minmax(0,1fr);}
 #hobbies .rad-game-visual{min-height:265px;}
 #hobbies .rad-game-visual-fade{background:linear-gradient(0deg,#030b17,transparent 50%);}
 #hobbies .rad-game-summary{padding:20px;}
 #hobbies .rad-game-roster{grid-template-columns:repeat(2,minmax(0,1fr));}
 #hobbies .rad-game-tile-image{height:105px;}
 #hobbies .rad-game-roster-head span:last-child{display:none;}
 #hobbies .rad-game-masthead h3{font-size:26px;}
}
@media(max-width:390px){
 #hobbies .rad-games-masthead h3{font-size:24px;}
 #hobbies .rad-game-visual{min-height:220px;}
 #hobbies .rad-game-tile-image{height:82px;}
}
@media(prefers-reduced-motion:reduce){#hobbies .rad-game-visual img,#hobbies .rad-game-tile,#hobbies .rad-game-tile-image img{transition:none!important;}}


/* ==========================================================
   V6: PERSISTENT MUSIC MINI-CONTROLLER + REAL ROGER IMAGE FALLBACK
   ========================================================== */
.rad-mini-player[hidden], #hobbies .rad-game-image-fallback[hidden] { display:none !important; }
.rad-mini-player {
 position:fixed;z-index:1040;bottom:22px;right:22px;display:flex;align-items:center;gap:13px;
 width:min(365px,calc(100vw - 28px));min-width:0;padding:11px 13px;
 background:linear-gradient(115deg,rgba(5,22,40,.97),rgba(2,9,21,.97));
 border:1px solid rgba(0,213,248,.7);border-radius:16px;
 box-shadow:0 12px 45px rgba(0,0,0,.52),0 0 25px rgba(0,195,241,.15);
 color:#eafaff;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.rad-mini-art {display:grid;place-items:center;width:44px;height:44px;flex:none;
 border:1px solid rgba(32,212,246,.3);border-radius:12px;color:#0bd9f4;
 font-size:21px;background:linear-gradient(135deg,#0c314a,#071322);}
.rad-mini-info {min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;}
.rad-mini-info small {display:flex;align-items:center;gap:7px;font:9px var(--font-mono);letter-spacing:1px;color:#40dafa;}
.rad-mini-info strong {font:600 13px var(--font-display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rad-mini-pulse {display:inline-block;width:6px;height:6px;border-radius:50%;background:#1ddaf6;}
.rad-mini-player.is-playing .rad-mini-pulse {box-shadow:0 0 0 4px rgba(0,217,255,.12);animation:radMiniPulse 1.7s infinite;}
@keyframes radMiniPulse{50%{opacity:.35;box-shadow:0 0 0 7px rgba(0,217,255,.05)}}
.rad-mini-action {flex:none;width:36px;height:36px;border:1px solid rgba(33,197,226,.34);border-radius:50%;
 background:rgba(0,190,231,.08);color:#56e5ff;display:grid;place-items:center;cursor:pointer;}
.rad-mini-action:hover,.rad-mini-action:focus-visible{background:rgba(0,202,249,.2);border-color:#00d4fd;}
#hobbies .rad-game-stage.rad-game-portrait .rad-game-visual {background:radial-gradient(ellipse at 49% 50%,rgba(2,152,191,.23),transparent 70%),#061121;}
#hobbies .rad-game-stage.rad-game-portrait .rad-game-visual img {object-fit:contain;object-position:center;}
#hobbies .rad-game-image-fallback {position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;
 padding:30px;color:#b9eafa;text-align:center;background:linear-gradient(130deg,rgba(0,25,42,.55),rgba(6,17,32,.84));}
#hobbies .rad-game-image-fallback i{font-size:48px;color:#00c6ec;}
#hobbies .rad-game-image-fallback strong{font:600 clamp(16px,2.3vw,27px) var(--font-display);color:#e8f9ff;}
#hobbies .rad-game-image-fallback small{max-width:260px;font-size:12px;line-height:1.6;color:#a6c6d7;}
#hobbies .rad-game-tile-fallback {display:flex;align-items:center;justify-content:center;}
#hobbies .rad-game-tile-fallback::after {content:'ROGER / MLBB';color:#51e4ff;font:600 11px var(--font-mono);letter-spacing:.5px;}
@media (max-width:576px){.rad-mini-player{right:10px;bottom:12px;width:calc(100vw - 20px);gap:9px;padding:10px;}
.rad-mini-art{width:38px;height:38px;}.rad-mini-action{width:34px;height:34px;}}
@media (prefers-reduced-motion:reduce){.rad-mini-pulse{animation:none!important;}}

/* V7: compact autoplay permission fallback - same floating player, no pop-up */
.rad-mini-player.is-autoplay-blocked {border-color:rgba(0,212,255,.9);box-shadow:0 14px 50px rgba(0,0,0,.55),0 0 20px rgba(0,200,250,.14);}
.rad-mini-player.is-autoplay-blocked .rad-mini-action#rad-mini-toggle {background:#00c8ed;color:#021421;border-color:#00ddff;}


/* ==========================================================================
   V8 MODERN HOLOGRAPHIC UI OVERHAUL — RISING HOLOGRAM + SECTION UPGRADES
   ========================================================================== */

/* Top Scroll Progress Laser */
.rad-scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #0077ff, #00d4ff, #8cf4ff);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.9), 0 0 24px rgba(0, 119, 255, 0.55);
  transition: width 0.08s linear;
  pointer-events: none;
}

.cyber-navbar {
  background: rgba(2, 8, 17, 0.78);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.cyber-navbar .nav-link.active {
  background: rgba(0, 212, 255, 0.09);
  border-radius: 999px;
}

/* Crisp Modern Section Headers */
.section-tag {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.14), rgba(0, 119, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(124, 238, 255, 0.22), 0 0 18px rgba(0, 212, 255, 0.08);
}

.section-line {
  width: 128px;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.55);
}

/* ==========================================================================
   SECTION 1: TRUE SCI-FI HOLOGRAM RISING PROJECTION ("BIGLANG AANGAT")
   ========================================================================== */
#about .holo-portrait-stage {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 10px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1100px;
  transform-style: preserve-3d;
}

#about .orbital-ring.ring-1 {
  width: 390px;
  height: 390px;
  top: 47%;
  border: 1px dashed rgba(0, 212, 255, 0.34);
  opacity: 0.75;
}

#about .orbital-ring.ring-2 {
  width: 445px;
  height: 445px;
  top: 47%;
  border: 1px solid rgba(0, 119, 255, 0.16);
  border-top-color: rgba(0, 212, 255, 0.75);
  border-bottom-color: rgba(0, 212, 255, 0.45);
  opacity: 0.75;
}

/* Volumetric Hologram Projection Beam Shooting Upward */
.holo-beam-cone {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) scaleY(0.05);
  transform-origin: bottom center;
  width: 84%;
  height: 86%;
  background: linear-gradient(
    0deg,
    rgba(0, 212, 255, 0.38) 0%,
    rgba(0, 145, 255, 0.16) 42%,
    rgba(0, 212, 255, 0.03) 78%,
    rgba(0, 212, 255, 0) 100%
  );
  clip-path: polygon(28% 100%, 72% 100%, 100% 0%, 0% 0%);
  filter: blur(7px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.holo-beam-core {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) scaleY(0.05);
  transform-origin: bottom center;
  width: 44%;
  height: 78%;
  background: linear-gradient(
    0deg,
    rgba(140, 244, 255, 0.55) 0%,
    rgba(0, 212, 255, 0.14) 55%,
    transparent 100%
  );
  clip-path: polygon(30% 100%, 70% 100%, 100% 0%, 0% 0%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* Rising Holographic Sparks */
.holo-particles {
  position: absolute;
  inset: 10% 12% 40px 12%;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.holo-particles span {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8cf4ff;
  box-shadow: 0 0 8px #00d4ff, 0 0 14px #0077ff;
  opacity: 0;
  animation: holoSparkRise 3.8s ease-out infinite;
}

.holo-particles span:nth-child(1) { left: 16%; animation-delay: 0.2s; animation-duration: 3.3s; }
.holo-particles span:nth-child(2) { left: 28%; animation-delay: 1.1s; animation-duration: 4.1s; width: 2px; height: 2px; }
.holo-particles span:nth-child(3) { left: 41%; animation-delay: 0.5s; animation-duration: 3.6s; }
.holo-particles span:nth-child(4) { left: 53%; animation-delay: 1.8s; animation-duration: 3.9s; width: 4px; height: 4px; }
.holo-particles span:nth-child(5) { left: 64%; animation-delay: 0.8s; animation-duration: 3.2s; }
.holo-particles span:nth-child(6) { left: 74%; animation-delay: 2.1s; animation-duration: 4.2s; width: 2px; height: 2px; }
.holo-particles span:nth-child(7) { left: 82%; animation-delay: 1.4s; animation-duration: 3.5s; }
.holo-particles span:nth-child(8) { left: 35%; animation-delay: 2.6s; animation-duration: 4.0s; }

@keyframes holoSparkRise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.95; }
  80% { opacity: 0.55; }
  100% { transform: translateY(-340px) scale(0.2); opacity: 0; }
}

/* Floating Holographic HUD Callout Chips */
.holo-hud-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.9px;
  color: #aef4ff;
  background: rgba(4, 18, 34, 0.84);
  border: 1px solid rgba(0, 212, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 14px rgba(0, 212, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.holo-hud-chip.chip-top-left {
  top: 26px;
  left: 4px;
}

.holo-hud-chip.chip-mid-right {
  bottom: 108px;
  right: 0;
}

.holo-hud-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00eaff;
  box-shadow: 0 0 10px #00eaff;
  animation: beaconPulse 1.8s infinite;
}

.holo-portrait-stage.is-floating .holo-hud-chip,
.holo-portrait-stage.is-emerging .holo-hud-chip {
  opacity: 1;
  transform: translateY(0);
}

/* Rising & Levitating Hologram Portrait Container */
.holo-figure-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  will-change: transform, opacity, clip-path;
}

#about .portrait-cutout-box {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

#about .portrait-cutout-box img {
  width: 100%;
  height: auto;
  max-height: 495px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
  filter: contrast(1.06) brightness(1.04) drop-shadow(0 0 22px rgba(0, 212, 255, 0.42)) drop-shadow(0 -6px 18px rgba(0, 119, 255, 0.25));
  transition: filter 0.35s ease, transform 0.35s ease;
}

#about .holo-portrait-stage:hover .portrait-cutout-box img {
  transform: scale(1.025);
  filter: contrast(1.09) brightness(1.08) drop-shadow(0 0 30px rgba(0, 212, 255, 0.65));
}

/* Holographic Horizontal Scanline Texture */
.holo-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 212, 255, 0.055) 0px,
    rgba(0, 212, 255, 0.055) 1.5px,
    transparent 1.5px,
    transparent 5px
  );
  mask-image: radial-gradient(ellipse 68% 76% at 50% 48%, #000 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 68% 76% at 50% 48%, #000 45%, transparent 95%);
}

/* Moving Holographic Laser Scan Bar */
.holo-laser-sweep {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 8%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(140, 244, 255, 0.95), rgba(0, 212, 255, 0.95), transparent);
  box-shadow: 0 0 18px #00d4ff, 0 0 32px rgba(0, 119, 255, 0.8);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  animation: holoLaserScan 4.2s ease-in-out infinite;
}

@keyframes holoLaserScan {
  0% { top: 88%; opacity: 0; }
  12% { opacity: 0.9; }
  86% { opacity: 0.85; }
  100% { top: 8%; opacity: 0; }
}

/* Subtle Hologram Edge Rim Aura */
.holo-rim-flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at 50% 72%, rgba(0, 212, 255, 0.16), transparent 60%);
}

/* 3D Hologram Emitter Pad Underneath */
.holo-emitter-pad {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%) rotateX(74deg);
  width: 290px;
  height: 290px;
  z-index: 1;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.holo-emitter-pad:hover {
  filter: brightness(1.25);
}

.emitter-ring-outer,
.emitter-ring-mid,
.emitter-ring-inner,
.emitter-core-glow {
  position: absolute;
  border-radius: 50%;
}

.emitter-ring-outer {
  inset: 0;
  border: 2.5px dashed rgba(0, 212, 255, 0.78);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.45), inset 0 0 24px rgba(0, 212, 255, 0.25);
  animation: emitterSpinCW 12s linear infinite;
}

.emitter-ring-mid {
  inset: 24px;
  border: 2px solid rgba(0, 140, 255, 0.6);
  border-left-color: #8cf4ff;
  border-right-color: #8cf4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.45);
  animation: emitterSpinCCW 7.5s linear infinite;
}

.emitter-ring-inner {
  inset: 52px;
  border: 2px solid rgba(140, 244, 255, 0.88);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.75);
  animation: emitterPulseCore 2.4s ease-in-out infinite;
}

.emitter-core-glow {
  inset: 76px;
  background: radial-gradient(circle, rgba(175, 248, 255, 0.95) 0%, rgba(0, 212, 255, 0.52) 48%, rgba(0, 119, 255, 0.1) 75%, transparent 100%);
  filter: blur(5px);
}

@keyframes emitterSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes emitterSpinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes emitterPulseCore {
  0%, 100% { transform: scale(0.95); opacity: 0.78; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* PHASE 1: INITIAL HIDDEN STATE BEFORE IGNITION */
.holo-portrait-stage.is-primed .holo-figure-wrapper {
  opacity: 0;
  transform: translateY(125px) scaleY(0.28) scaleX(0.88);
  clip-path: inset(100% 0 0 0);
}

/* PHASE 2: DRAMATIC RISING EMERGENCE ("BIGLANG AANGAT") */
.holo-portrait-stage.is-emerging .holo-beam-cone {
  animation: holoBeamShoot 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.holo-portrait-stage.is-emerging .holo-beam-core {
  animation: holoBeamCoreShoot 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.holo-portrait-stage.is-emerging .holo-figure-wrapper {
  animation: holoRiseEmerge 1.35s cubic-bezier(0.18, 0.92, 0.24, 1) forwards;
}

.holo-portrait-stage.is-emerging .holo-emitter-pad {
  animation: holoPadFlare 1.2s ease-out;
}

@keyframes holoBeamShoot {
  0% { transform: translateX(-50%) scaleY(0.05); opacity: 0; }
  35% { transform: translateX(-50%) scaleY(1.05); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0.78; }
}

@keyframes holoBeamCoreShoot {
  0% { transform: translateX(-50%) scaleY(0.05); opacity: 0; }
  30% { transform: translateX(-50%) scaleY(1.08); opacity: 0.95; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0.52; }
}

@keyframes holoRiseEmerge {
  0% {
    opacity: 0;
    transform: translateY(125px) scaleY(0.28) scaleX(0.88);
    clip-path: inset(100% 0 0 0);
    filter: brightness(2.2) saturate(1.8) drop-shadow(0 0 36px rgba(0, 212, 255, 0.95));
  }
  28% {
    opacity: 0.92;
    transform: translateY(48px) scaleY(0.78) scaleX(0.96);
    clip-path: inset(42% 0 0 0);
    filter: brightness(1.65) drop-shadow(0 0 30px rgba(0, 212, 255, 0.85));
  }
  58% {
    opacity: 1;
    transform: translateY(-16px) scaleY(1.03) scaleX(1.01);
    clip-path: inset(0% 0 0 0);
    filter: brightness(1.25) drop-shadow(0 0 26px rgba(0, 212, 255, 0.7));
  }
  72% {
    opacity: 0.78;
    transform: translateY(-9px) scale(1);
    filter: brightness(1.38) hue-rotate(-6deg);
  }
  84% {
    opacity: 1;
    transform: translateY(-12px) scale(1);
    filter: brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(-8px) scale(1);
    clip-path: inset(0% 0 0 0);
    filter: brightness(1);
  }
}

@keyframes holoPadFlare {
  0% { filter: brightness(1); }
  25% { filter: brightness(2.1) drop-shadow(0 0 30px #00d4ff); }
  100% { filter: brightness(1.1); }
}

/* PHASE 3: CONTINUOUS FLOATING LEVITATION */
.holo-portrait-stage.is-floating .holo-beam-cone {
  transform: translateX(-50%) scaleY(1);
  opacity: 0.72;
  animation: holoConeBreath 4.2s ease-in-out infinite;
}

.holo-portrait-stage.is-floating .holo-beam-core {
  transform: translateX(-50%) scaleY(1);
  opacity: 0.45;
  animation: holoConeBreath 4.2s ease-in-out infinite;
}

.holo-portrait-stage.is-floating .holo-figure-wrapper {
  opacity: 1;
  clip-path: inset(0% 0 0 0);
  animation: holoFloatLevitate 4.4s ease-in-out infinite;
}

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

@keyframes holoConeBreath {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 0.88; }
}

/* Hologram Controls Row Below Stage */
.holo-stage-controls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 4;
}

.btn-holo-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: #020914;
  background: linear-gradient(135deg, #5be8ff, #00c4ff);
  border: 1px solid rgba(140, 244, 255, 0.85);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-holo-replay:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.65);
  filter: brightness(1.08);
}

/* Hero Right Column Upgrades */
.hero-live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.09);
  border: 1px solid rgba(0, 212, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 1.1px;
  color: #9ceeff;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  animation: beaconPulse 1.8s infinite;
}

.hero-name-title {
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.hero-name-accent {
  background: linear-gradient(95deg, #00d4ff 0%, #8cf4ff 52%, #2f95ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.45));
}

.hero-cursor {
  color: var(--cyber-cyan);
  animation: cursorBlink 0.9s steps(2, start) infinite;
}

@keyframes cursorBlink {
  to { opacity: 0; }
}

.v8-glass-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 212, 255, 0.28) !important;
  border-left: 3px solid var(--cyber-cyan) !important;
  background: linear-gradient(145deg, rgba(5, 19, 35, 0.84), rgba(3, 10, 20, 0.9)) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(124, 238, 255, 0.14);
}

.holo-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.22);
}

.holo-panel-id {
  font-size: 0.7rem;
  color: rgba(142, 179, 204, 0.72);
  letter-spacing: 1.2px;
}

.hero-bio-lead,
.hero-bio-sub {
  line-height: 1.68;
  font-size: 0.95rem;
}

.hero-focus-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-focus-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: #c8f5ff;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.26);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-focus-chip i {
  color: var(--cyber-cyan);
}

.hero-focus-chip:hover {
  border-color: var(--cyber-cyan);
  background: rgba(0, 212, 255, 0.18);
  transform: translateY(-2px);
}

/* Mouse-Tracking Radial Spotlight Layer */
[data-spotlight] {
  --mx: 50%;
  --my: 50%;
  position: relative;
}

[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(0, 212, 255, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

[data-spotlight]:hover::after {
  opacity: 1;
}

[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SECTION 2 & 3 POLISH (CONSTELLATION + CINEMATIC SHOWCASE)
   ========================================================================== */
#skills .constellation-wrapper {
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55), 0 0 28px rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.34);
}

#projects .css-wrap {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 212, 255, 0.1);
}

/* ==========================================================================
   SECTION 4: WORKING EXPERIENCE — KINETIC TIMELINE & MISSION CARDS
   ========================================================================== */
.exp-timeline-v8 {
  position: relative;
  padding-left: 2.5rem;
  border-left: 2px solid rgba(0, 212, 255, 0.25);
}

.timeline-energy-beam {
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 110px;
  background: linear-gradient(180deg, transparent, #00d4ff, #8cf4ff, transparent);
  box-shadow: 0 0 14px #00d4ff;
  animation: beamTravel 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beamTravel {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 110px); opacity: 0; }
}

.exp-timeline-v8 .timeline-node::before {
  left: -3.02rem;
  top: 1.75rem;
  width: 18px;
  height: 18px;
  background: #020812;
  border: 3px solid #00d4ff;
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.14), 0 0 18px #00d4ff;
}

.exp-card-v8 {
  padding: 1.85rem 2rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(6, 20, 37, 0.86), rgba(3, 10, 20, 0.92));
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(124, 238, 255, 0.14);
}

.exp-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 1rem;
}

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

.exp-icon-box {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--cyber-cyan);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 119, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.36);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.16);
}

.exp-index {
  display: block;
  font-size: 0.7rem;
  color: var(--cyber-cyan);
  letter-spacing: 1.2px;
  margin-bottom: 3px;
}

.exp-role-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  margin-bottom: 0.95rem;
}

.exp-desc {
  line-height: 1.72;
  font-size: 0.93rem !important;
}

.exp-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0.95rem;
  border-top: 1px dashed rgba(0, 212, 255, 0.18);
}

.exp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #bceeff;
  background: rgba(5, 22, 40, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.24);
}

.exp-pill i {
  color: var(--cyber-cyan);
}

/* ==========================================================================
   SECTION 5: EDUCATION BACKGROUND — ACADEMIC PROGRESSION BENTO CARDS
   ========================================================================== */
.edu-card-v8 {
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(6, 20, 36, 0.86), rgba(3, 10, 20, 0.92));
  border: 1px solid rgba(0, 212, 255, 0.26);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(124, 238, 255, 0.12);
}

.edu-card-current {
  border-color: rgba(0, 212, 255, 0.62);
  background: linear-gradient(145deg, rgba(6, 29, 52, 0.9), rgba(3, 12, 25, 0.94));
  box-shadow: 0 16px 40px rgba(0, 119, 255, 0.22), 0 0 24px rgba(0, 212, 255, 0.16);
}

.edu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.1rem;
}

.edu-icon-orb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--cyber-cyan);
  background: rgba(0, 212, 255, 0.11);
  border: 1px solid rgba(0, 212, 255, 0.32);
}

.edu-icon-orb.is-current {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.28), rgba(0, 119, 255, 0.18));
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.edu-meta-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.edu-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #02101c;
  background: linear-gradient(135deg, #6ef0ff, #00c8ff);
}

.edu-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #02101c;
}

.edu-year-line {
  font-size: 0.76rem;
  color: var(--cyber-cyan);
  letter-spacing: 1.2px;
  margin-bottom: 0.45rem;
}

.edu-progress-wrap {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(0, 212, 255, 0.22);
}

.edu-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.edu-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.edu-progress-fill {
  width: 82%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0077ff, #00d4ff, #8cf4ff);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
}

/* ==========================================================================
   MODERN CYBER FOOTER
   ========================================================================== */
.rad-footer-v8 {
  margin-top: 2rem;
  padding: 2.2rem 0 5.5rem;
  background: linear-gradient(180deg, rgba(2, 8, 17, 0.45), rgba(2, 6, 11, 0.96));
  border-top: 1px solid rgba(0, 212, 255, 0.24);
  backdrop-filter: blur(12px);
}

.rad-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.rad-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.rad-footer-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.rad-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rad-footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyber-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
}

.rad-footer-icon:hover {
  color: #020812;
  background: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.55);
  transform: translateY(-2px);
}

.rad-back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  background: rgba(0, 212, 255, 0.09);
  border: 1px solid rgba(0, 212, 255, 0.38);
  cursor: pointer;
  transition: all 0.25s ease;
}

.rad-back-top:hover {
  color: #020812;
  background: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

/* Smooth Scroll Reveal */
.v8-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.v8-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile & Accessibility Polish */
@media (max-width: 768px) {
  #about .holo-portrait-stage {
    max-width: 340px;
    padding-bottom: 38px;
  }
  #about .orbital-ring.ring-1 { width: 280px; height: 280px; }
  #about .orbital-ring.ring-2 { width: 325px; height: 325px; }
  .holo-emitter-pad { width: 230px; height: 230px; bottom: -10px; }
  .holo-hud-chip { font-size: 0.62rem; padding: 4px 9px; }
  .exp-timeline-v8 { padding-left: 1.75rem; }
  .exp-timeline-v8 .timeline-node::before { left: -2.28rem; }
  .exp-card-v8, .edu-card-v8 { padding: 1.35rem; }
  .rad-footer-v8 { padding-bottom: 6.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .holo-portrait-stage.is-primed .holo-figure-wrapper {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .holo-figure-wrapper,
  .holo-beam-cone,
  .holo-beam-core,
  .holo-laser-sweep,
  .holo-particles span,
  .emitter-ring-outer,
  .emitter-ring-mid,
  .emitter-ring-inner,
  .timeline-energy-beam {
    animation: none !important;
  }
  .holo-beam-cone { transform: translateX(-50%) scaleY(1); opacity: 0.65; }
  .v8-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ==========================================================================
   V9 REFINEMENTS — SLOWER CINEMATIC HOLOGRAM + MODERN PROJECT COMMAND DOCK
   ========================================================================== */

/* 1. Slower, More Dramatic & Clearly Visible Hologram Projection Animations */
#about .orbital-ring.ring-1 {
  animation-duration: 36s;
}
#about .orbital-ring.ring-2 {
  animation-duration: 28s;
}

.holo-particles span {
  animation-duration: 6.2s !important;
}
.holo-particles span:nth-child(odd) {
  animation-duration: 5.4s !important;
}
.holo-particles span:nth-child(even) {
  animation-duration: 7.1s !important;
}

.holo-laser-sweep {
  animation: holoLaserScan 7.2s ease-in-out infinite !important;
}

.emitter-ring-outer {
  animation-duration: 18s !important;
}
.emitter-ring-mid {
  animation-duration: 12s !important;
}
.emitter-ring-inner {
  animation-duration: 3.6s !important;
}

/* Initial primed state: hidden down inside the emitter pad */
.holo-portrait-stage.is-primed .holo-figure-wrapper {
  opacity: 0;
  transform: translateY(150px) scaleY(0.22) scaleX(0.84);
  clip-path: inset(100% 0 0 0);
}

/* Slow, unmistakable rising hologram emergence (3.4s) */
.holo-portrait-stage.is-emerging .holo-beam-cone {
  animation: holoBeamShootV9 2.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.holo-portrait-stage.is-emerging .holo-beam-core {
  animation: holoBeamCoreShootV9 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.holo-portrait-stage.is-emerging .holo-figure-wrapper {
  animation: holoRiseEmergeV9 3.4s cubic-bezier(0.16, 0.88, 0.28, 1) forwards !important;
}

.holo-portrait-stage.is-emerging .holo-emitter-pad {
  animation: holoPadFlareV9 2.8s ease-out !important;
}

@keyframes holoBeamShootV9 {
  0% { transform: translateX(-50%) scaleY(0.04); opacity: 0; }
  22% { transform: translateX(-50%) scaleY(0.55); opacity: 0.92; }
  55% { transform: translateX(-50%) scaleY(1.06); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0.78; }
}

@keyframes holoBeamCoreShootV9 {
  0% { transform: translateX(-50%) scaleY(0.04); opacity: 0; }
  25% { transform: translateX(-50%) scaleY(0.65); opacity: 0.95; }
  55% { transform: translateX(-50%) scaleY(1.08); opacity: 0.95; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0.52; }
}

@keyframes holoRiseEmergeV9 {
  0% {
    opacity: 0;
    transform: translateY(150px) scaleY(0.22) scaleX(0.84);
    clip-path: inset(100% 0 0 0);
    filter: brightness(2.3) saturate(1.8) drop-shadow(0 0 38px rgba(0, 212, 255, 0.95));
  }
  18% {
    opacity: 0.75;
    transform: translateY(108px) scaleY(0.52) scaleX(0.92);
    clip-path: inset(72% 0 0 0);
    filter: brightness(1.9) saturate(1.5) drop-shadow(0 0 34px rgba(0, 212, 255, 0.9));
  }
  44% {
    opacity: 0.95;
    transform: translateY(48px) scaleY(0.84) scaleX(0.97);
    clip-path: inset(34% 0 0 0);
    filter: brightness(1.55) drop-shadow(0 0 28px rgba(0, 212, 255, 0.8));
  }
  70% {
    opacity: 1;
    transform: translateY(-20px) scaleY(1.02) scaleX(1.01);
    clip-path: inset(0% 0 0 0);
    filter: brightness(1.25) drop-shadow(0 0 26px rgba(0, 212, 255, 0.7));
  }
  81% {
    opacity: 0.8;
    transform: translateY(-13px) scale(1);
    filter: brightness(1.38) hue-rotate(-5deg);
  }
  90% {
    opacity: 1;
    transform: translateY(-15px) scale(1);
    filter: brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(-8px) scale(1);
    clip-path: inset(0% 0 0 0);
    filter: brightness(1);
  }
}

@keyframes holoPadFlareV9 {
  0% { filter: brightness(1); }
  20% { filter: brightness(2.2) drop-shadow(0 0 34px #00d4ff); }
  65% { filter: brightness(1.45) drop-shadow(0 0 20px #00d4ff); }
  100% { filter: brightness(1.08); }
}

/* Slower, graceful continuous floating levitation after emergence */
.holo-portrait-stage.is-floating .holo-figure-wrapper {
  animation: holoFloatLevitate 6.6s ease-in-out infinite !important;
}

.holo-portrait-stage.is-floating .holo-beam-cone,
.holo-portrait-stage.is-floating .holo-beam-core {
  animation: holoConeBreath 6.6s ease-in-out infinite !important;
}

/* ==========================================================================
   2. V10 CINEMATIC COVERFLOW CAROUSEL POLISH (ZERO REDUNDANCY + MOBILE-READY)
   ========================================================================== */
.css-wrap.css-v10 {
  width: min(1440px, calc(100% - 28px));
  margin: 26px auto 0;
  border: 1px solid rgba(0, 212, 255, 0.34);
  border-radius: 22px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.6), 0 0 38px rgba(0, 212, 255, 0.12);
}

/* Richer Dynamic Cinematic Background per Selected Project */
.css-v10 .css-bg {
  inset: -40px;
  filter: blur(26px) saturate(1.45) brightness(0.88);
  transition: opacity 0.85s ease, transform 1.1s ease;
}

.css-v10 .css-bg-active {
  opacity: 0.68;
}

.css-v10 .css-vignette {
  background:
    radial-gradient(ellipse at 68% 42%, rgba(0, 170, 255, 0.14), transparent 62%),
    linear-gradient(90deg, rgba(2, 9, 19, 0.92) 0%, rgba(2, 9, 19, 0.66) 46%, rgba(2, 9, 19, 0.36) 100%),
    linear-gradient(180deg, rgba(2, 9, 19, 0.45) 0%, rgba(2, 9, 19, 0.15) 45%, rgba(2, 9, 19, 0.88) 100%);
}

/* Sleeker Floating Coverflow Selector Bar (No Cluttered Inner Box Text) */
.css-selector.css-selector-v10 {
  margin: 14px 28px 0;
  padding: 12px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: linear-gradient(115deg, rgba(3, 18, 34, 0.78), rgba(4, 32, 54, 0.35), rgba(3, 14, 28, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.css-v10 .css-carousel-viewport {
  height: 158px;
}

.css-v10 .css-system-card {
  width: clamp(132px, 14.5vw, 182px);
  height: 126px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: rgba(5, 19, 36, 0.92);
}

.css-v10 .css-system-card img {
  height: 84px;
  object-fit: cover;
  object-position: top;
}

.css-v10 .css-system-card span {
  padding: 9px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #cbeeff;
}

.css-v10 .css-system-card.active {
  border-color: #00e1ff;
  box-shadow: 0 0 0 1px rgba(0, 225, 255, 0.55), 0 0 32px rgba(0, 212, 255, 0.34);
}

.css-v10 .css-system-card.active span {
  color: #ffffff;
}

.css-v10 .css-car-arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 212, 255, 0.42);
  background: rgba(3, 16, 32, 0.84);
  color: #6eeeff;
  transition: all 0.25s ease;
}

.css-v10 .css-car-arrow:hover {
  background: rgba(0, 212, 255, 0.22);
  border-color: #00e1ff;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.css-v10 .css-selector-hint {
  margin-top: 4px;
  font-size: 10px;
  color: #7ea8bf;
  letter-spacing: 1.2px;
}

/* Cinematic Scene Grid */
.css-scene.css-scene-v10 {
  grid-template-columns: minmax(270px, 0.92fr) minmax(0, 1.48fr);
  gap: 34px;
  padding: 28px 40px 40px;
  min-height: 430px;
  align-items: center;
}

.css-v10 .css-info {
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.css-v10 .css-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 4px;
}

.css-v10 .css-info-features {
  margin-top: 16px;
  gap: 9px;
}

.css-v10 .css-info-features li {
  font-size: 13px;
  color: #d6ecf8;
}

/* Preview Stage Toolbar + Fullscreen Inspect Button */
.css-v10 .css-stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.css-v10 .css-screen-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 11px;
  color: #8ee8ff;
  letter-spacing: 1.4px;
  text-align: left;
}

.css-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #7eeeff;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.4);
  cursor: pointer;
  transition: all 0.22s ease;
}

.css-inspect-btn:hover {
  background: #00d4ff;
  color: #020812;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.css-v10 .css-screen-frame {
  cursor: zoom-in;
  padding: 8px;
  border: 1px solid rgba(0, 212, 255, 0.42);
  border-radius: 16px;
  background: rgba(3, 14, 28, 0.85);
}

.css-v10 .css-screen-inner {
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(0, 140, 255, 0.12), #050e1c 75%);
}

/* Clean Clickable View Pills (Replaces Extra Redundant Gallery Arrows) */
.css-view-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.css-view-pills[hidden] {
  display: none !important;
}

.css-view-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b7dcee;
  background: rgba(4, 18, 34, 0.86);
  border: 1px solid rgba(0, 212, 255, 0.25);
  cursor: pointer;
  transition: all 0.22s ease;
}

.css-view-pill:hover {
  border-color: #00d4ff;
  color: #ffffff;
}

.css-view-pill.is-active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.26), rgba(0, 119, 255, 0.2));
  border-color: #00e1ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.28);
}

/* Fullscreen Lightbox Modal */
.proj-lightbox {
  width: min(1120px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.65);
  background: #030c18;
  color: #eaf8ff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85), 0 0 36px rgba(0, 212, 255, 0.25);
  overflow: hidden;
}

.proj-lightbox::backdrop {
  background: rgba(1, 5, 11, 0.86);
  backdrop-filter: blur(8px);
}

.proj-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(4, 15, 29, 0.96);
}

.proj-lightbox-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
  color: #eaf8ff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.proj-lightbox-close:hover {
  background: var(--cyber-cyan);
  color: #020812;
}

.proj-lightbox-body {
  padding: 0.85rem;
  display: grid;
  place-items: center;
  background: #020710;
}

.proj-lightbox-body img {
  max-width: 100%;
  max-height: calc(100vh - 125px);
  object-fit: contain;
  border-radius: 8px;
}

/* ==========================================================================
   MOBILE-FIRST CINEMATIC OPTIMIZATION (SMOOTH, CLEAN, ZERO CLUTTER)
   ========================================================================== */
@media (max-width: 991px) {
  .css-scene.css-scene-v10 {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 22px 24px 32px;
  }

  /* Show preview right under the carousel on mobile/tablet so visual change is instant! */
  .css-v10 .css-screen-stage {
    order: -1;
  }

  .css-v10 .css-screen-frame {
    transform: none;
  }

  .css-selector.css-selector-v10 {
    margin: 12px 18px 0;
  }
}

@media (max-width: 575px) {
  .css-wrap.css-v10 {
    width: calc(100% - 14px);
    border-radius: 16px;
  }

  .css-v10 .css-topbar {
    padding: 18px 16px 0;
    font-size: 10px;
  }

  .css-selector.css-selector-v10 {
    margin: 10px 10px 0;
    padding: 8px 6px 10px;
    border-radius: 12px;
  }

  /* On mobile phones, hide side arrows so cards have full width — swipe or tap cards directly! */
  .css-v10 .css-car-arrow {
    display: none;
  }

  .css-v10 .css-carousel-viewport {
    height: 132px;
  }

  .css-v10 .css-system-card {
    width: 138px;
    height: 112px;
  }

  .css-v10 .css-system-card img {
    height: 74px;
  }

  .css-v10 .css-system-card span {
    font-size: 9.5px;
    padding: 8px 5px;
  }

  .css-v10 .css-selector-hint {
    display: block;
    font-size: 9px;
    margin-top: 2px;
  }

  .css-scene.css-scene-v10 {
    padding: 18px 14px 24px;
    gap: 20px;
  }

  .css-v10 .css-screen-label {
    font-size: 9.5px;
    letter-spacing: 0.8px;
  }

  .css-inspect-btn {
    padding: 4px 10px;
    font-size: 9.5px;
  }

  .css-view-pill {
    font-size: 10px;
    padding: 5px 10px;
  }

  .css-v10 .css-info-title {
    font-size: 20px;
  }

  .css-v10 .css-info-desc {
    font-size: 13px;
    line-height: 1.65;
  }
}
