html { scroll-behavior: smooth; }
:root {
      --neon-cyan: #00f0ff;
      --neon-magenta: #ff00aa;
      --neon-yellow: #f0ff00;
      --bg-dark: #0a0a0f;
      --bg-card: #0f0f18;
      --border-cyber: #1a1a2e;
      --grid: rgba(0,240,255,0.06);
      --cyan-dim: rgba(0,240,255,0.15);
      --magenta-dim: rgba(255,0,170,0.15);
    }

    * { box-sizing: border-box; }

    body {
      background: var(--bg-dark);
      font-family: 'Share Tech Mono', monospace;
      color: #e0e0e0;
      min-height: 450px;
      overflow-x: hidden;
    }

    /* Scanlines */
    body::before {
      content: '';
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.12) 2px, rgba(0,0,0,0.12) 4px);
      pointer-events: none;
      z-index: 9999;
    }

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

    .cyber-grid {
      background-image:
        linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
      background-size: 50px 50px;
    }

    nav {
      border-bottom: 1px solid var(--neon-cyan);
      box-shadow: 0 1px 20px rgba(0,240,255,0.1);
    }

    .logo-icon svg { height: 2.5rem; }
    .logo-icon svg path { fill: #00f0ff; }
    .logo-icon svg path:nth-child(2),
    .logo-icon svg path:nth-child(6),
    .logo-icon svg path:nth-child(7),
    .logo-icon svg path:nth-child(8),
    .logo-icon svg path:nth-child(9),
    .logo-icon svg path:nth-child(10) { fill: #ff00aa; }

    /* Card terminal frame */
    .print-card {
      background: var(--bg-card);
      border: 1px solid var(--border-cyber);
      clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 0);
      position: relative;
      cursor: pointer;
      transition: all 0.3s ease;
      overflow: hidden;
    }

    /* Corner marks like a technical drawing / blueprint */
    .print-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      border: 1px solid transparent;
      pointer-events: none;
      z-index: 2;
    }

    

    /* Top data bar */
    .print-card .data-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      px-4 py-3 border-b border-[#1a1a2e] text-[0.75rem]
      color: rgba(0,240,255,0.4);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .print-card:hover .data-bar {
      border-color: rgba(0,240,255,0.3);
      color: rgba(0,240,255,0.7);
    }

    .print-card .data-bar .id {
      color: rgba(255,0,170,0.5);
      font-size: 0.55rem;
    }

    .print-card .tag-slug {
      color: rgba(255,0,170,0.5);
      letter-spacing: 0.05em;
    }
      
    }

    .print-card:hover .tag-slug {
      color: rgba(255,0,170,0.8);
    }

    .print-card img {
      width: 100%;
      aspect-ratio: 1/1;
      object-fit: fill;
      display: block;
      position: relative;
    }
    .print-card:hover img {
      animation: img-flicker 0.5s steps(2) forwards;
    }
    .print-card .scan-line {
      position: absolute;
      top: -30%;
      left: 0;
      right: 0;
      height: 25%;
      background: linear-gradient(to bottom, transparent 0%, rgba(0,240,255,0.12) 40%, rgba(0,240,255,0.06) 60%, transparent 100%);
      pointer-events: none;
      z-index: 3;
      opacity: 0;
    }
    .print-card:hover .scan-line {
      animation: scan-sweep 0.6s ease-out forwards, scan-sweep 1.2s ease-out 0.6s forwards;
    }

    @keyframes img-flicker {
      0%   { filter: saturate(1) contrast(1.1); }
      10%  { filter: saturate(0) brightness(2); }
      20%  { filter: saturate(1) contrast(1.2) brightness(1.1); }
      30%  { filter: saturate(0) brightness(1.8); }
      40%  { filter: saturate(1) contrast(1.1) brightness(0.9); }
      50%  { filter: saturate(0) brightness(2.2); }
      60%  { filter: saturate(1) contrast(1.3) brightness(1); }
      70%  { filter: saturate(0.3) brightness(1.5); }
      80%  { filter: saturate(1) contrast(1.1); }
      90%  { filter: saturate(0.5) brightness(1.3); }
      100% { filter: saturate(1) contrast(1.1); }
    }

    .glitch-detail-inner {
      position: relative;
      overflow: hidden;
    }

    /* Lightbox */
    .lb-overlay {
      position: fixed;
      inset: 0;
      background: rgba(5, 5, 12, 0.97);
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(8px);
    }
    .lb-inner {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
    .lb-img {
      max-width: 85vw;
      max-height: 70vh;
      object-fit: contain;
      border: 1px solid rgba(0,240,255,0.2);
      box-shadow: 0 0 60px rgba(0,240,255,0.15), 0 0 120px rgba(255,0,170,0.08);
      animation: lb-in 0.2s ease-out;
    }
    @keyframes lb-in {
      from { opacity: 0; transform: scale(0.92); }
      to   { opacity: 1; transform: scale(1); }
    }
    .lb-close {
      position: absolute;
      top: -48px;
      right: 0;
      background: transparent;
      border: 1px solid rgba(0,240,255,0.4);
      color: var(--neon-cyan);
      font-size: 1.8rem;
      width: 40px;
      height: 40px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
      line-height: 1;
    }
    .lb-close:hover { background: var(--neon-cyan); color: #0a0a0f; }
    .lb-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: 1px solid rgba(0,240,255,0.3);
      color: var(--neon-cyan);
      font-size: 1.4rem;
      width: 44px;
      height: 44px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      font-family: 'Share Tech Mono', monospace;
      clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }
    .lb-arrow:hover { background: rgba(0,240,255,0.1); border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,240,255,0.3); }
    .lb-prev { left: 12px; }
    .lb-next { right: 12px; }
    .lb-nav-wrap {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .lb-nav-wrap .lb-arrow {
      pointer-events: all;
      position: relative;
      left: auto; right: auto;
      flex-shrink: 0;
    }
    .lb-counter {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.75rem;
      color: rgba(0,240,255,0.5);
      letter-spacing: 0.15em;
    }
    .lb-thumbs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 8px 0;
      max-width: 90vw;
    }
    .lb-thumbs::-webkit-scrollbar { height: 4px; }
    .lb-thumbs::-webkit-scrollbar-track { background: rgba(0,240,255,0.05); }
    .lb-thumbs::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 2px; }
    .lb-thumb {
      width: 56px;
      height: 56px;
      object-fit: cover;
      cursor: pointer;
      border: 1px solid transparent;
      opacity: 0.4;
      transition: all 0.2s;
      flex-shrink: 0;
    }
    .lb-thumb.active { border-color: var(--neon-cyan); opacity: 1; box-shadow: 0 0 10px rgba(0,240,255,0.4); }
    .lb-thumb:hover { opacity: 0.8; }
    @media (max-width: 640px) {
      .lb-img { max-width: 95vw; max-height: 55vh; }
      .lb-inner { gap: 10px; }
      .lb-thumbs { max-width: 95vw; }
    }

    #print-detail.corruption-reveal .max-w-screen-xl {
      position: relative;
      overflow: hidden;
      animation: detail-corruption-in 0.7s ease-out forwards;
    }

    @keyframes detail-corruption-in {
      0%   { opacity: 0; transform: translate(0); clip-path: inset(100% 0 0 0); }
      5%   { opacity: 1; transform: translate(-3px, 1px) skewX(-2deg); clip-path: inset(0 0 75% 0); }
      10%  { opacity: 0.4; transform: translate(2px, -1px); clip-path: inset(0 0 50% 0); }
      20%  { opacity: 1; transform: translate(-1px, 2px) skewX(1deg); clip-path: inset(0 0 25% 0); }
      30%  { opacity: 0.7; transform: translate(1px, 0); clip-path: inset(0 0 10% 0); }
      45%  { opacity: 1; transform: translate(-1px, -1px); clip-path: inset(5% 0 0 0); }
      60%  { opacity: 0.9; transform: translate(0); }
      75%  { opacity: 1; transform: translate(0); }
      100% { opacity: 1; transform: translate(0) skewX(0); clip-path: inset(0 0 0 0); }
    }

    #print-detail.crt-reveal .max-w-screen-xl {
      position: relative;
      overflow: hidden;
      animation: detail-crt-in 0.6s ease-out forwards;
    }

    @keyframes detail-crt-in {
      0%   { clip-path: inset(100% 0 0 0); filter: brightness(3) saturate(0); }
      40%  { clip-path: inset(50% 0 0 0); filter: brightness(2) saturate(0.3); }
      70%  { clip-path: inset(10% 0 0 0); filter: brightness(1.3) saturate(0.8); }
      100% { clip-path: inset(0 0 0 0); filter: brightness(1) saturate(1); }
    }

    #print-detail.neon-reveal .max-w-screen-xl {
      animation: detail-neon-in 0.8s ease-out forwards;
    }

    .print-card .card-body {
      padding: 0.75rem;
      border-top: 1px solid var(--border-cyber);
      transition: border-color 0.3s;
    }

    .print-card:hover .card-body {
      border-color: rgba(0,240,255,0.2);
    }

    .print-card .card-body h3 {
      font-family: 'Orbitron', sans-serif;
      font-weight: 600;
      color: #fff;
      letter-spacing: 0.05em;
      margin-bottom: 8px;
    }

    .tag-pill {
      font-size: 0.6rem;
      padding: 2px 6px;
      background: transparent;
      border: 1px solid rgba(0,240,255,0.25);
      color: var(--neon-cyan);
      letter-spacing: 0.05em;
    }

    .print-card:hover .tag-pill {
      border-color: rgba(0,240,255,0.4);
    }

    /* Bottom status line */
    .print-card .status-line {
      height: 2px;
      background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
      position: absolute;
      top: 0; left: 0; right: 0;
    }

    .print-card:hover .status-line {
      transform: scaleX(1);
    }

    .print-card::after {
      content: '';
      position: absolute;
      bottom: 0; right: 0;
      width: 24px; height: 24px;
      background: linear-gradient(135deg, transparent 50%, rgba(0,240,255,0.4) 50%);
      opacity: 1;
      z-index: 3;
    }

    .print-card:hover::after {
      opacity: 1;
      background: linear-gradient(135deg, transparent 50%, rgba(0,240,255,0.6) 50%);
    }

    

    /* Filter buttons */
    .filter-btn {
      font-family: 'Orbitron', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 8px 16px;
      border: 1px solid rgba(0,240,255,0.4);
      color: var(--neon-cyan);
      background: transparent;
      cursor: pointer;
      letter-spacing: 0.08em;
      transition: all 0.2s;
      text-transform: uppercase;
    }

    .filter-btn:hover, .filter-btn.active {
      background: var(--neon-cyan);
      color: #0a0a0f;
      box-shadow: 0 0 15px rgba(0,240,255,0.4);
    }

    .tag-btn {
      font-family: 'Orbitron', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 6px 12px;
      border: 1px solid rgba(255,0,170,0.4);
      color: var(--neon-magenta);
      background: transparent;
      cursor: pointer;
      letter-spacing: 0.08em;
      transition: all 0.2s;
      text-transform: uppercase;
    }

    .tag-btn:hover, .tag-btn.active {
      background: var(--neon-magenta);
      color: #0a0a0f;
      box-shadow: 0 0 15px rgba(255,0,170,0.4);
    }

    .hero {
      position: relative;
      width: auto;
      height: 450px;
      min-height: 450px;
      max-height: 450px;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px);
      pointer-events: none;
      z-index: 10;
    }

    .grid-bg {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 1;
    }

    .perspective-lines {
      position: absolute;
      inset: 0;
      z-index: 2;
      overflow: hidden;
    }

    .perspective-lines::before,
    .perspective-lines::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
    }

    .perspective-lines::before {
      width: 700px;
      height: 700px;
      border: 1px solid rgba(0,240,255,0.07);
      box-shadow: 0 0 0 1px rgba(255,0,170,0.04), inset 0 0 80px rgba(0,240,255,0.03);
    }

    .perspective-lines::after {
      width: 1100px;
      height: 1100px;
      border: 1px solid rgba(0,240,255,0.04);
      box-shadow: 0 0 0 1px rgba(255,0,170,0.03);
    }

    .geo {
      position: absolute;
      z-index: 3;
      pointer-events: none;
    }

    .geo-hex {
      top: 12%;
      left: 6%;
      width: 80px;
      height: 92px;
      clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
      background: linear-gradient(135deg, var(--cyan-dim), var(--magenta-dim));
      border: 1px solid rgba(0,240,255,0.3);
      animation: floatA 6s ease-in-out infinite;
    }

    .geo-line-v {
      top: 0;
      bottom: 0;
      left: 15%;
      width: 1px;
      background: linear-gradient(to bottom, transparent, var(--cyan) 30%, var(--magenta) 70%, transparent);
      opacity: 0.25;
      animation: pulse-line 4s ease-in-out infinite;
    }

    .geo-line-h {
      left: 0;
      right: 0;
      top: 35%;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--magenta) 20%, var(--cyan) 80%, transparent);
      opacity: 0.2;
      animation: pulse-line 5s ease-in-out infinite reverse;
    }

    .geo-dot-grid {
      top: 20%;
      right: 8%;
      width: 120px;
      height: 120px;
      background-image: radial-gradient(circle, var(--cyan) 1px, transparent 1px);
      background-size: 16px 16px;
      opacity: 0.3;
      animation: floatA 8s ease-in-out infinite reverse;
    }

    .geo-ring {
      bottom: 18%;
      right: 12%;
      width: 140px;
      height: 140px;
      border: 1px solid rgba(255,0,170,0.2);
      border-radius: 50%;
      box-shadow: 0 0 20px rgba(255,0,170,0.1), inset 0 0 20px rgba(255,0,170,0.05);
      animation: spin 20s linear infinite;
    }

    .geo-corner-tl { left: 0;
      top: 5%;
      width: 60px;
      height: 60px;
      border-top: 2px solid var(--neon-cyan);
      border-left: 2px solid var(--neon-cyan);
      opacity: 0.4;
    }

    .geo-corner-br {
      bottom: 5%;
      right: 0;
      width: 60px;
      height: 60px;
      border-bottom: 2px solid var(--neon-magenta);
      border-right: 2px solid var(--neon-magenta);
      opacity: 0.4;
    }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
      z-index: 2;
    }

    .orb-cyan {
      top: 10%;
      left: 20%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(0,240,255,0.12) 0%, transparent 70%);
      animation: orb-drift 12s ease-in-out infinite;
    }

    .orb-magenta {
      bottom: 5%;
      right: 15%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255,0,170,0.1) 0%, transparent 70%);
      animation: orb-drift 15s ease-in-out infinite reverse;
    }

    .hero-content {
      position: relative;
      z-index: 20;
      text-align: center;
      padding: 0 20px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .logo-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 2.5rem;
      animation: fadeInDown 0.8s ease-out;
    }

    .logo-wrap svg {
      height: 72px;
      width: auto;
      filter: drop-shadow(0 0 18px rgba(0,240,255,0.5)) drop-shadow(0 0 40px rgba(255,0,170,0.3));
    }

    .headline {
      font-family: 'Orbitron', sans-serif;
      font-weight: 900;
      line-height: 1.05;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.2rem;
      animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    .headline span {
      display: block;
      color: #fff;
      text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 30px rgba(0,240,255,0.6), 0 0 80px rgba(0,240,255,0.3);
    }

    .headline .hl-accent {
      background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
      display: inline-block;
    }

    .headline .hl-accent::after {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      filter: blur(12px);
      opacity: 0.7;
    }

    .glitch {
      position: relative;
      animation: glitch-skew 4s linear infinite;
    }
    .hud-val.glitch-tag {
      position: relative;
      display: inline-block;
    }
    .hud-val.glitch-tag::before,
    .hud-val.glitch-tag::after {
      content: attr(data-text);
      position: absolute;
      left: 0;
      right: 0;
      font-family: inherit;
      font-size: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
      opacity: 0;
    }
    .hud-val.glitch-tag.glitching {
      animation: tag-glitch-anim 0.4s steps(1) forwards;
    }
    .hud-val.glitch-tag.glitching::before {
      color: var(--neon-cyan);
      text-shadow: 0 0 6px var(--neon-cyan);
      clip-path: polygon(0 25%, 100% 25%, 100% 45%, 0 45%);
      opacity: 1;
      animation: tag-glitch-cyan 0.4s steps(1) forwards;
    }
    .hud-val.glitch-tag.glitching::after {
      color: var(--neon-magenta);
      text-shadow: 0 0 6px var(--neon-magenta);
      clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%);
      opacity: 1;
      animation: tag-glitch-mag 0.4s steps(1) forwards;
    }

    .glitch-tag {
      position: relative;
      display: inline-block;
    }
    .glitch-tag::before,
    .glitch-tag::after {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      font-family: inherit;
      font-size: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
      opacity: 0;
    }
    .glitch-tag.glitching {
      animation: tag-glitch-anim 0.4s steps(1) forwards;
    }
    .glitch-tag.glitching::before {
      color: var(--neon-cyan);
      text-shadow: 0 0 8px var(--neon-cyan);
      clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
      opacity: 1;
      animation: tag-glitch-cyan 0.4s steps(1) forwards;
    }
    .glitch-tag.glitching::after {
      color: var(--neon-magenta);
      text-shadow: 0 0 8px var(--neon-magenta);
      clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
      opacity: 1;
      animation: tag-glitch-mag 0.4s steps(1) forwards;
    }
    .glitch-tag:not(.glitching) {
      animation: tag-glitch-out 0.3s ease-out forwards;
    }

    @keyframes tag-glitch-anim {
      0%   { transform: translate(0); }
      20%  { transform: translate(-2px, 1px); }
      40%  { transform: translate(2px, -1px); }
      60%  { transform: translate(-1px, -1px); }
      80%  { transform: translate(1px, 1px); }
      100% { transform: translate(0); }
    }

    @keyframes tag-glitch-cyan {
      0%, 100% { opacity: 0; }
      25% { opacity: 1; transform: translate(-1px, 0); }
      50% { opacity: 0; }
      75% { opacity: 1; transform: translate(1px, 0); }
    }

    @keyframes tag-glitch-mag {
      0%, 100% { opacity: 0; }
      30% { opacity: 0; }
      50% { opacity: 1; transform: translate(1px, 0); }
      70% { opacity: 0; }
    }

    @keyframes tag-glitch-out {
      from { transform: translate(0); }
      to   { transform: translate(0); }
    }

    .glitch::before,
    .glitch::after {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      font-family: 'Orbitron', sans-serif;
      font-weight: 900;
      font-size: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
    }

    .glitch::before {
      color: var(--neon-cyan);
      clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
      animation: glitch-anim-1 3s linear infinite;
      -webkit-text-fill-color: var(--neon-cyan);
    }

    .glitch::after {
      color: var(--neon-magenta);
      clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
      animation: glitch-anim-2 3s linear infinite;
      -webkit-text-fill-color: var(--neon-magenta);
    }

    .subtitle {
      font-family: 'Share Tech Mono', monospace;
      color: rgba(255,255,255,0.55);
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 3rem;
      animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .subtitle span {
      color: var(--neon-cyan);
      text-shadow: 0 0 12px rgba(0,240,255,0.6);
      margin: 0 0.3em;
    }

    
/* 3D printer bottom-reveal effect */
.subtitle {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.6;
}

.subtitle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  border-bottom: 2px solid var(--cyan);
  box-shadow: 0 1px 12px var(--cyan);
  animation: reveal-up 2s ease-out forwards;
  pointer-events: none;
}

.subtitle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  animation: wipe-up 2s ease-out forwards;
  z-index: 2;
}

@keyframes reveal-up {
  0% { top: auto; bottom: 0; border-color: var(--cyan); }
  40% { border-color: var(--cyan); }
  60% { border-color: var(--magenta); }
  80% { border-color: var(--magenta); }
  100% { top: auto; bottom: 100%; border-color: transparent; }
}

@keyframes wipe-up {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}
.subtitle .sep {
      color: rgba(255,255,255,0.25);
      margin: 0 0.5em;
    }

    .tags-bar {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 3.5rem;
      animation: fadeInUp 0.8s ease-out 0.55s both;
    }

    .tag {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.35rem 0.8rem;
      border: 1px solid rgba(0,240,255,0.35);
      background: rgba(0,240,255,0.05);
      color: var(--neon-cyan);
      clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
      position: relative;
      transition: all 0.3s ease;
    }

    @media (min-width: 1024px) {
      .tag {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
      }
    }

    #tagsBar {
      max-height: 5rem;
      overflow: hidden;
    }

    @media (min-width: 1024px) {
      #tagsBar {
        max-height: 7rem;
        overflow: visible;
      }
    }

    .tag:hover {
      background: rgba(0,240,255,0.15);
      box-shadow: 0 0 20px rgba(0,240,255,0.25), inset 0 0 15px rgba(0,240,255,0.1);
      transform: translateY(-2px);
      color: #fff;
    }

    .tag.mg {
      border-color: rgba(255,0,170,0.35);
      background: rgba(255,0,170,0.05);
      color: var(--neon-magenta);
    }

    .tag.mg:hover {
      background: rgba(255,0,170,0.15);
      box-shadow: 0 0 20px rgba(255,0,170,0.25), inset 0 0 15px rgba(255,0,170,0.1);
    }

    .cta-wrap {
      animation: fadeInUp 0.8s ease-out 0.7s both;
    }

    .cta {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-family: 'Orbitron', sans-serif;
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 1rem 2.8rem;
      background: transparent;
      border: 1px solid var(--neon-cyan);
      color: var(--neon-cyan);
      clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
      position: relative;
      cursor: pointer;
      transition: all 0.35s ease;
      overflow: hidden;
    }

    .cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
      opacity: 0;
      transition: opacity 0.35s ease;
      z-index: -1;
    }

    .cta:hover {
      color: #0a0a0f;
      border-color: transparent;
      box-shadow: 0 0 40px rgba(0,240,255,0.4), 0 0 80px rgba(255,0,170,0.2);
      transform: translateY(-3px);
    }

    .cta:hover::before {
      opacity: 1;
    }

    .cta svg {
      transition: transform 0.3s ease;
    }

    .cta:hover svg {
      transform: translateX(4px);
    }

    .rainbow-line {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #0000ff, #ff00aa, #ff0000);
      background-size: 200% 100%;
      animation: rainbow-move 3s linear infinite;
      z-index: 30;
      opacity: 0.7;
    }

    .hud {
      position: absolute;
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      color: rgba(0,240,255,0.5);
      z-index: 25;
      line-height: 1.8;
    }


    .hud-tl {
      top: 2rem;
      left: 1rem;
    }

    .hud-tr {
      top: 2rem;
      right: 2.5rem;
      text-align: right;
    }

    .hud-bl {
      bottom: 2.5rem;
      left: 1rem;
    }

    .hud-br {
      bottom: 2.5rem;
      right: 1rem;
      text-align: right;
    }

    .hud .hud-label {
      color: rgba(255,0,170,0.6);
    }

    .hud .hud-val {
      color: rgba(0,240,255,0.8);
    }

    .hud .hud-line {
      display: block;
      width: 40px;
      height: 1px;
      background: linear-gradient(to right, var(--neon-cyan), transparent);
      margin: 0.3rem 0;
    }

    .hud-tr .hud-line {
      background: linear-gradient(to left, var(--neon-magenta), transparent);
      margin-left: auto;
    }

    @keyframes floatA {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-18px) rotate(2deg); }
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes orb-drift {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(30px, -20px) scale(1.05); }
      66% { transform: translate(-20px, 15px) scale(0.97); }
    }

    @keyframes pulse-line {
      0%, 100% { opacity: 0.15; }
      50% { opacity: 0.35; }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes glitch-anim-1 {
      0%, 100% { transform: translateX(0); }
      20% { transform: translateX(-3px); }
      40% { transform: translateX(3px); }
      60% { transform: translateX(-2px); }
      80% { transform: translateX(2px); }
    }

    @keyframes glitch-anim-2 {
      0%, 100% { transform: translateX(0); }
      20% { transform: translateX(3px); }
      40% { transform: translateX(-3px); }
      60% { transform: translateX(2px); }
      80% { transform: translateX(-2px); }
    }

    @keyframes glitch-skew {
      0%, 100% { transform: skewX(0deg); }
      92% { transform: skewX(0deg); }
      93% { transform: skewX(2deg); }
      94% { transform: skewX(0deg); }
      96% { transform: skewX(-1deg); }
      97% { transform: skewX(0deg); }
    }

    @keyframes rainbow-move {
      0% { background-position: 0% 50%; }
      100% { background-position: 200% 50%; }
    }

    @media (max-width: 768px) {
      .geo { display: none; }
      .hud { font-size: 0.55rem; }
      .hud-tl { top: 1rem; left: 1rem; }
      .hud-tr { top: 1rem; right: 1rem; }
      .hud-bl { bottom: 1.5rem; left: 1rem; }
      .hud-br { bottom: 1.5rem; right: 1rem; }
      .tags-bar { gap: 0.6rem; }
      .cta { font-size: 0.8rem; padding: 0.85rem 2rem; }
      .orb { filter: blur(50px); }
      .orb-cyan { width: 250px; height: 250px; }
      .orb-magenta { width: 300px; height: 300px; }
    }

    .hero {
      text-align: center;
      padding: 0 20px 0;
    }

    .hero h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: clamp(2rem, 6vw, 4.5rem);
      font-weight: 900;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 20px;
    }

    .hero h1 .accent {
      display: block;
      color: var(--neon-cyan);
      text-shadow: 0 0 20px var(--neon-cyan), 0 0 60px var(--neon-cyan);
    }

    .glitch-line {
      width: 120px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
      margin: 20px auto;
      animation: glitch-line 3s infinite;
    }

    @keyframes glitch-line {
      0%, 100% { transform: translateX(-5px); opacity: 0.5; }
      50% { transform: translateX(5px); opacity: 0.2; }
    }

    .section-label {
      font-family: 'Orbitron', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: rgba(0,240,255,0.5);
      margin-bottom: 16px;
    }

    footer {
      border-top: 1px solid var(--border-cyber);
      padding: 40px 20px;
      text-align: center;
    }

    footer .logo-icon svg { height: 36px; }
    footer p { font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }

    .loading-text {
      font-family: 'Orbitron', sans-serif;
      color: var(--neon-cyan);
      letter-spacing: 0.2em;
      animation: blink 1s step-end infinite;
    }

    @keyframes blink { 50% { opacity: 0; } }

    /* ============================================
       CYBERPUNK SIDE DRAWER — Mobile Navigation
       ============================================ */

    /* Hamburger button */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 32px;
      height: 32px;
      padding: 4px;
      background: transparent;
      border: 1px solid rgba(0,240,255,0.3);
      transition: all 0.3s;
    }

    .hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--neon-cyan);
      box-shadow: 0 0 6px var(--neon-cyan);
      transition: all 0.3s;
      transform-origin: center;
    }

    .hamburger:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 0 12px rgba(0,240,255,0.3);
    }

    /* Overlay */
    .mobile-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      z-index: 55;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .mobile-overlay.open {
      display: block;
      opacity: 1;
    }

    /* Cyberpunk side drawer */
    .mobile-drawer {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 78%;
      max-width: 320px;
      height: 100vh;
      height: 100dvh;
      background: #0a0a0f;
      z-index: 90;
      transform: translateX(-100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
      border-right: 1px solid var(--neon-cyan);
      box-shadow: 4px 0 30px rgba(0,240,255,0.15), inset -1px 0 0 rgba(0,240,255,0.1);
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    /* Grid background effect */
    .drawer-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }

    /* Scanline effect */
    .drawer-scanline {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(0,240,255,0.4), transparent);
      animation: scanline 4s linear infinite;
      pointer-events: none;
    }

    @keyframes scanline {
      0% { top: 0; opacity: 1; }
      100% { top: 100%; opacity: 0.3; }
    }

    /* Drawer header */
    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 20px 16px;
      border-bottom: 1px solid rgba(0,240,255,0.15);
      position: relative;
      z-index: 1;
    }

    .drawer-title {
      font-family: 'Courier New', monospace;
      font-size: 11px;
      letter-spacing: 4px;
      color: var(--neon-cyan);
      text-shadow: 0 0 8px var(--neon-cyan);
      font-weight: bold;
    }

    .drawer-close {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      color: var(--neon-cyan);
      border: 1px solid rgba(0,240,255,0.3);
      background: transparent;
      cursor: pointer;
      transition: all 0.2s;
    }

    .drawer-close:hover {
      background: rgba(0,240,255,0.1);
      border-color: var(--neon-cyan);
      box-shadow: 0 0 10px rgba(0,240,255,0.3);
    }

    /* Drawer nav items */
    .drawer-items {
      display: flex;
      flex-direction: column;
      padding: 12px 0;
      position: relative;
      z-index: 1;
    }

    .drawer-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px 14px 24px;
      color: rgba(0,240,255,0.7);
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      transition: all 0.2s;
      position: relative;
      overflow: hidden;
      font-family: 'Courier New', monospace;
    }

    .drawer-item::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0,240,255,0.08), transparent);
      opacity: 0;
      transition: opacity 0.2s;
    }

    .drawer-item:hover,
    .drawer-item.active {
      color: var(--neon-cyan);
      text-shadow: 0 0 10px rgba(0,240,255,0.6);
    }

    .drawer-item:hover::before,
    .drawer-item.active::before {
      opacity: 1;
    }

    /* Left accent bar for active */
    .drawer-item-bar {
      display: none;
      width: 3px;
      height: 20px;
      background: var(--neon-cyan);
      box-shadow: 0 0 8px var(--neon-cyan);
      flex-shrink: 0;
    }

    .drawer-item.active .drawer-item-bar {
      display: block;
    }

    .drawer-item-text {
      flex: 1;
    }

    .drawer-item-arrow {
      color: rgba(0,240,255,0.3);
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .drawer-item:hover .drawer-item-arrow {
      color: var(--neon-cyan);
      transform: translateX(3px);
    }

    /* Drawer footer */
    .drawer-footer {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      border-top: 1px solid rgba(0,240,255,0.1);
      position: relative;
      z-index: 1;
    }

    .drawer-version {
      font-family: 'Courier New', monospace;
      font-size: 9px;
      letter-spacing: 2px;
      color: rgba(0,240,255,0.25);
    }

    /* Corner decorations */
    .drawer-corner {
      position: absolute;
      width: 12px;
      height: 12px;
    }

    .drawer-corner-tl { top: 8px; left: 8px; border-top: 1px solid rgba(0,240,255,0.4); border-left: 1px solid rgba(0,240,255,0.4); }
    .drawer-corner-tr { top: 8px; right: 8px; border-top: 1px solid rgba(0,240,255,0.4); border-right: 1px solid rgba(0,240,255,0.4); }
    .drawer-corner-bl { bottom: 8px; left: 8px; border-bottom: 1px solid rgba(0,240,255,0.4); border-left: 1px solid rgba(0,240,255,0.4); }
    .drawer-corner-br { bottom: 8px; right: 8px; border-bottom: 1px solid rgba(0,240,255,0.4); border-right: 1px solid rgba(0,240,255,0.4); }

    /* Glitch flicker on drawer open */
    @keyframes drawer-glitch {
      0% { clip-path: inset(0 0 90% 0); }
      10% { clip-path: inset(40% 0 50% 0); }
      20% { clip-path: inset(80% 0 0 0); }
      30% { clip-path: inset(0); }
      100% { clip-path: inset(0); }
    }

    .mobile-drawer.open .drawer-items {
      animation: drawer-glitch 0.15s ease forwards;
    }

    /* Divider with label */
    .drawer-divider {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 20px;
    }

    .drawer-divider-line {
      flex: 1;
      height: 1px;
      background: rgba(0,240,255,0.15);
    }

    .drawer-divider-label {
      font-family: 'Courier New', monospace;
      font-size: 8px;
      letter-spacing: 3px;
      color: rgba(255,0,170,0.6);
      text-shadow: 0 0 6px rgba(255,0,170,0.4);
      white-space: nowrap;
    }

    /* Category items */
    .drawer-item--cat {
      color: rgba(0,240,255,0.5);
      font-size: 11px;
      letter-spacing: 1px;
      padding-left: 28px;
    }

    .drawer-item--cat:hover,
    .drawer-item--cat.active {
      color: rgba(255,0,170,0.9);
      text-shadow: 0 0 8px rgba(255,0,170,0.5);
    }

    .drawer-item--cat:hover .drawer-item-icon,
    .drawer-item--cat.active .drawer-item-icon {
      color: rgba(255,0,170,0.9);
    }

    .drawer-item-icon {
      color: rgba(0,240,255,0.3);
      flex-shrink: 0;
      transition: color 0.2s;
    }

    /* Tag items — same style as categories */
    .drawer-item--tag {
      color: rgba(0,240,255,0.5);
      font-size: 11px;
      letter-spacing: 1px;
      padding-left: 28px;
    }

    .drawer-item--tag:hover,
    .drawer-item--tag.active {
      color: rgba(255,0,170,0.9);
      text-shadow: 0 0 8px rgba(255,0,170,0.5);
    }

    .drawer-item--tag:hover .drawer-item-icon,
    .drawer-item--tag.active .drawer-item-icon {
      color: rgba(255,0,170,0.9);
    }

    .drawer-item-bar--tag {
      background: rgba(255,255,0,0.7);
      box-shadow: 0 0 8px rgba(255,255,0,0.4);
    }

    .drawer-divider-label--tag {
      color: rgba(255,255,0,0.6) !important;
      text-shadow: 0 0 6px rgba(255,255,0,0.3) !important;
    }

    /* Collapsible sections */
    .drawer-section {
      border-bottom: 1px solid rgba(0,240,255,0.05);
    }

    .drawer-section-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 14px 20px 14px 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      color: rgba(0,240,255,0.7);
      font-family: 'Courier New', monospace;
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      text-align: left;
      transition: all 0.2s;
      text-shadow: 0 0 6px rgba(0,240,255,0.3);
    }

    .drawer-section-toggle:hover {
      color: rgba(0,240,255,1);
      text-shadow: 0 0 10px rgba(0,240,255,0.6);
    }

    .drawer-section-label {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .drawer-section-label::before {
      content: '';
      display: block;
      width: 3px;
      height: 14px;
      background: rgba(0,240,255,0.6);
      box-shadow: 0 0 6px rgba(0,240,255,0.4);
    }

    .drawer-section-label--tag {
      color: rgba(0,240,255,0.7) !important;
      text-shadow: 0 0 6px rgba(0,240,255,0.3) !important;
    }

    .drawer-section-label--tag::before {
      background: rgba(0,240,255,0.6) !important;
      box-shadow: 0 0 6px rgba(0,240,255,0.4) !important;
    }

    .drawer-section-toggle:hover .drawer-section-label--tag {
      color: rgba(0,240,255,1) !important;
      text-shadow: 0 0 10px rgba(0,240,255,0.6) !important;
    }

    .drawer-section-arrow {
      color: rgba(0,240,255,0.6);
      transition: transform 0.25s ease;
    }

    .drawer-section-label--tag ~ .drawer-section-arrow {
      color: rgba(0,240,255,0.6);
    }

    .drawer-section-content {
      overflow: hidden;
    }

    .drawer-section-content .drawer-item {
      padding-left: 28px;
    }

    .drawer-section-content .drawer-item--tag {
      padding-left: 28px;
    }

    /* ============================================
    /* ============================================
       TERMINAL HUD DESKTOP NAV
       ============================================ */

    .hud-nav-item {
      display: flex;
      align-items: center;
      gap: 5px;
      color: rgba(0,240,255,0.55);
      text-decoration: none;
      font-family: 'Share Tech Mono', 'Courier New', monospace;
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 6px 14px;
      background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
      clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    }

    .hud-nav-item:hover,
    .hud-nav-item.active {
      color: rgba(0,240,255,1);
      border-color: rgba(0,240,255,0.3);
      background: rgba(0,240,255,0.06);
      text-shadow: 0 0 8px rgba(0,240,255,0.5);
      box-shadow: 0 0 12px rgba(0,240,255,0.15), inset 0 0 8px rgba(0,240,255,0.05);
    }

    .hud-prefix {
      color: rgba(255,0,170,0.6);
      font-size: 13px;
    }

    .hud-nav-item:hover .hud-prefix,
    .hud-nav-item.active .hud-prefix {
      color: rgba(0,240,255,1);
    }

    .hud-arrow {
      font-size: 12px;
      transition: transform 0.2s;
      color: rgba(0,240,255,0.35);
    }

    .hud-nav-item:hover .hud-arrow {
      transform: rotate(180deg);
      color: rgba(0,240,255,0.9);
    }

    .hud-wrapper {
      position: static;
    }

    .hud-panel {
      display: none;
      position: absolute;
      top: calc(100% + 1px);
      left: 0;
      right: 0;
      background: #080810;
      border-top: 2px solid rgba(0,240,255,0.6);
      border-bottom: 1px solid rgba(0,240,255,0.25);
      z-index: 200;
      font-family: 'Share Tech Mono', 'Courier New', monospace;
      transition: opacity 0.2s ease, transform 0.2s ease;
      box-shadow: 0 12px 40px rgba(0,0,0,0.95), 0 0 0 1px rgba(0,240,255,0.05), inset 0 0 60px rgba(0,240,255,0.02);
    }

    /* CRT scanlines inside panel */
    .hud-panel::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.15) 3px, rgba(0,0,0,0.15) 4px);
      pointer-events: none;
      z-index: 1;
    }

    /* Grid decoration */
    .hud-panel::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(0,240,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.025) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
      z-index: 0;
    }

    .hud-panel-inner {
      position: relative;
      z-index: 2;
      padding: 12px 24px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .hud-header {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px 8px;
      font-size: 12px;
      letter-spacing: 3px;
      color: rgba(0,240,255,0.7);
      text-transform: uppercase;
      border-bottom: 1px solid rgba(0,240,255,0.15);
      background: rgba(0,240,255,0.03);
    }

    .hud-cursor {
      color: rgba(0,240,255,0.9);
      animation: blink-cursor 1s step-end infinite;
      font-size: 12px;
    }

    .hud-badge {
      margin-left: auto;
      font-size: 11px;
      color: rgba(0,240,255,0.4);
      background: rgba(0,240,255,0.08);
      padding: 1px 6px;
      border: 1px solid rgba(0,240,255,0.2);
    }

    .hud-list {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      max-height: none;
      overflow-y: visible;
      padding: 4px 0;
    }

    .hud-list::-webkit-scrollbar { display: none; }
    .hud-list { scrollbar-width: none; -ms-overflow-style: none; }

    .hud-item {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 12px;
      color: rgba(0,240,255,0.5);
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 1px;
      text-transform: uppercase;
      transition: all 0.15s;
      border-left: 2px solid transparent;
      white-space: nowrap;
    }

    .hud-item:hover {
      color: rgba(0,240,255,1);
      background: rgba(0,240,255,0.06);
      border-left-color: rgba(0,240,255,0.8);
      text-shadow: 0 0 6px rgba(0,240,255,0.4);
    }

    .hud-item-num {
      color: rgba(255,0,170,0.4);
      font-size: 13px;
      min-width: 20px;
      flex-shrink: 0;
    }

    .hud-item-sep {
      color: rgba(0,240,255,0.2);
      font-size: 11px;
    }

    .hud-item-name {
      flex: 1;
      color: rgba(255,255,255,0.7);
      font-size: 13px;
      letter-spacing: 1px;
    }

    .hud-item:hover .hud-item-name {
      color: rgba(0,240,255,0.95);
    }

    .hud-item-enter {
      font-size: 11px;
      color: rgba(0,240,255,0.2);
      letter-spacing: 1px;
      opacity: 0;
      transition: opacity 0.15s;
    }

    .hud-item:hover .hud-item-enter {
      opacity: 1;
      color: rgba(0,240,255,0.5);
    }

    /* Tags panel — yellow accent */
    .hud-panel--tag {
      border-color: rgba(255,255,0,0.25);
      border-top-color: rgba(255,255,0,0.6);
    }

    .hud-panel--tag {
      border-top: 2px solid rgba(255,255,0,0.6);
      border-bottom: 1px solid rgba(255,255,0,0.25);
      box-shadow: 0 12px 40px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,0,0.05), inset 0 0 60px rgba(255,255,0,0.02);
    }

    .hud-panel--tag::before {
      background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px);
    }

    .hud-panel--tag::after {
      background-image:
        linear-gradient(rgba(255,255,0,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,0,0.025) 1px, transparent 1px);
    }

    .hud-header--tag {
      color: rgba(255,255,0,0.7);
      border-bottom-color: rgba(255,255,0,0.15);
      background: rgba(255,255,0,0.03);
    }

    .hud-badge--tag {
      color: rgba(255,255,0,0.4);
      background: rgba(255,255,0,0.08);
      border-color: rgba(255,255,0,0.2);
    }

    .hud-item--tag {
      color: rgba(255,255,0,0.5);
      border-left-color: transparent;
    }

    .hud-item--tag:hover {
      color: rgba(255,255,0,1);
      background: rgba(255,255,0,0.06);
      border-left-color: rgba(255,255,0,0.8);
      text-shadow: 0 0 6px rgba(255,255,0,0.4);
    }

    .hud-item--tag .hud-item-name {
      color: rgba(255,255,255,0.6);
    }

    .hud-item--tag:hover .hud-item-name {
      color: rgba(255,255,0,0.95);
    }

    .hud-item--tag .hud-item-enter {
      color: rgba(255,255,0,0.2);
    }

    .hud-item--tag:hover .hud-item-enter {
      color: rgba(255,255,0,0.5);
    }

    .hud-nav-item--tag:hover .hud-prefix,
    .hud-nav-item--tag.active .hud-prefix {
      color: rgba(255,255,0,1);
    }

    /* Hide default mobile-menu if any */
    .mobile-menu { display: none !important; }


    @keyframes fade-up {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero > * { animation: fade-up 0.6s ease forwards; }
    .hero h1 { animation-delay: 0.1s; }
    .hero .glitch-line { animation-delay: 0.2s; }
    .hero p { animation-delay: 0.3s; }

    /* Horizontal scroll for filters */
    #catsList::-webkit-scrollbar, #tagsList::-webkit-scrollbar { display: none; }
    #catsList, #tagsList { scrollbar-width: none; -ms-overflow-style: none; padding: 0 4px; }
    .filter-scroll-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      background: var(--bg-card, #0f0f18);
      border: 1px solid var(--border-cyber, #1a1a2e);
      color: var(--neon-cyan, #00f0ff);
      cursor: pointer;
      transition: all 0.2s;
      margin: 0 4px;
    }
    .filter-scroll-btn:hover { background: var(--border-cyber, #1a1a2e); color: #fff; }
    .filter-scroll-wrap { display: flex; align-items: center; gap: 0; padding: 8px 0; }
    @media (max-width: 640px) { .filter-scroll-btn { display: none; } }
    @media (min-width: 641px) { .filter-scroll-btn { display: none; } }
/* VIDEO CARDS 9:16 */
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-cyber);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 0);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.video-card .data-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border-cyber);
    font-size: 0.75rem;
    color: rgba(0,240,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.video-card:hover .data-bar {
    border-color: rgba(255,0,170,0.3);
    color: rgba(255,0,170,0.7);
}
.video-card .tag-slug {
    color: rgba(255,0,170,0.5);
    letter-spacing: 0.05em;
}
.video-card:hover .tag-slug { color: rgba(255,0,170,0.8); }
.video-card .video-thumb { position: relative; }
.video-card .video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.video-card:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.video-card .video-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(0,240,255,0.7);
    transform: translateY(100%);
    transition: transform 0.3s;
}
.video-card:hover .video-bar { transform: translateY(0); }
.video-card .card-body {
    padding: 0.75rem;
    border-top: 1px solid var(--border-cyber);
}
.video-card .card-body h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.video-card .status-line {
    height: 2px;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    position: absolute;
    top: 0; left: 0; right: 0;
}
.video-card:hover .status-line { transform: scaleX(1); }
.video-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 24px; height: 24px;
    background: linear-gradient(135deg, transparent 50%, rgba(255,0,170,0.4) 50%);
    opacity: 1;
    z-index: 3;
}

/* =============================================
   ACCESIBILITY — Focus visible (WCAG 2.4.7 AA)
   ============================================= */
*:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Por defecto sin focus (para mouse users) */
*:focus:not(:focus-visible) {
  outline: none;
}

/* =============================================
   ACCESIBILITY — Skip navigation (WCAG 2.4.1 A)
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--neon-cyan);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* =============================================
   ACCESIBILITY — prefers-reduced-motion
   Solo afecta a usuarios con la opción activa
   en su dispositivo/sistema operativo.
   Las animaciones permanecen para el resto.
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Scanlines */
  body::before {
    display: none;
  }

  /* Glitch effect disabled */
  .glitch-tag.glitching,
  .glitch-tag {
    animation: none !important;
    transform: none !important;
  }
}

/* =============================================
   SEARCH BAR CYBERPUNK
   ============================================= */
  .search-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 24px;
  }

  @media (max-width: 480px) {
    .mobile-drawer .search-wrap {
      display: none;
    }
  }

  /* Hide search bar inside mobile drawer only */
  @media (max-width: 767px) {
    .mobile-drawer .search-wrap {
      display: none;
    }
  }

  .search-hud {
    display: flex;
    align-items: center;
    background: #080810;
    border: 1px solid rgba(0,240,255,0.3);
    border-top: 2px solid rgba(0,240,255,0.6);
    padding: 0 12px;
    gap: 8px;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  }

  .search-hud:focus-within {
    border-color: rgba(0,240,255,0.8);
    box-shadow: 0 0 16px rgba(0,240,255,0.15), inset 0 0 8px rgba(0,240,255,0.04);
  }

  .search-prefix {
    color: rgba(255,0,170,0.7);
    font-size: 14px;
    flex-shrink: 0;
  }

  .search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(0,240,255,0.9);
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 0;
    width: 100%;
  }

  .search-input::placeholder {
    color: rgba(0,240,255,0.3);
  }

  .search-clear {
    background: none;
    border: none;
    color: rgba(0,240,255,0.4);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.15s;
  }

  .search-clear:hover {
    color: rgba(0,240,255,0.9);
  }

  .search-results {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #080810;
    border: 1px solid rgba(0,240,255,0.25);
    border-top: 2px solid rgba(0,240,255,0.6);
    max-height: 340px;
    overflow-y: auto;
    z-index: 75;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
  }

  .search-results::-webkit-scrollbar { width: 3px; }
  .search-results::-webkit-scrollbar-track { background: rgba(0,240,255,0.03); }
  .search-results::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); }

  .search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,240,255,0.06);
    transition: all 0.15s;
    text-decoration: none;
  }

  .search-result-item:hover,
  .search-result-item.active {
    background: rgba(0,240,255,0.06);
    border-left: 2px solid rgba(0,240,255,0.7);
    padding-left: 16px;
  }

  .search-result-num {
    color: rgba(255,0,170,0.5);
    font-size: 11px;
    min-width: 20px;
  }

  .search-result-info {
    flex: 1;
    overflow: hidden;
  }

  .search-result-title {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-result-cat {
    color: rgba(0,240,255,0.4);
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 2px;
  }

  .search-result-arrow {
    color: rgba(0,240,255,0.3);
    font-size: 11px;
  }

  .search-empty {
    padding: 16px;
    text-align: center;
    color: rgba(0,240,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
  }

  .search-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: rgba(0,240,255,0.7);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
  }

  @keyframes blink {
    50% { opacity: 0; }
  }

/* =============================================
   VIDEO MODAL CYBERPUNK (extraído de welcome.blade.php inline styles)
   ============================================= */
.video-modal {
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,0.85);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  animation:fadeInModal 0.2s ease;
}
@keyframes fadeInModal {
  from{opacity:0}to{opacity:1}
}
.video-modal-box {
  position:relative;width:90%;max-width:900px;
  background:#0a0a0f;border:1px solid rgba(0,240,255,0.3);
  box-shadow:0 0 40px rgba(0,240,255,0.15),0 0 80px rgba(0,0,0,0.8);
  animation:glitchIn 0.3s ease;
}
@keyframes glitchIn {
  0%{transform:scale(0.95) skewX(5deg);opacity:0}
  30%{transform:scale(1.02) skewX(-2deg)}
  60%{transform:scale(0.99) skewX(1deg)}
  100%{transform:scale(1) skewX(0);opacity:1}
}
.video-modal-header {
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 16px;border-bottom:1px solid rgba(0,240,255,0.2);
  background:rgba(0,240,255,0.05);
}
.video-modal-title {
  font-family:'Share Tech Mono',monospace;font-size:11px;
  color:#00f0ff;letter-spacing:2px;text-transform:uppercase;
}
.video-modal-close {
  background:none;border:none;color:#00f0ff;cursor:pointer;
  padding:4px;line-height:1;transition:color 0.2s;
}
.video-modal-close:hover{color:#f0a}
.video-modal-body {
  background:#000;line-height:0;
}
.video-modal-body video {
  display:block;background:#000;
}
.video-modal-hud-br {
  position:absolute;bottom:8px;right:12px;
  font-family:'Share Tech Mono',monospace;font-size:10px;
  color:rgba(0,240,255,0.3);letter-spacing:1px;
}
.video-modal.hidden{display:none}
.video-scanline{position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(0,240,255,0.6),transparent);animation:scanV 3s linear infinite;pointer-events:none}
@keyframes scanV{0%{transform:translateY(-100%)}100%{transform:translateY(400px)}}

.cyber-footer {
 background: #0a0a0f;
 border-top: 1px solid rgba(0, 240, 255, 0.1);
 position: relative;
}

.cyber-footer__grid {
 position: absolute;
 inset: 0;
 background-image:
 linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
 linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
 background-size: 40px 40px;
 pointer-events: none;
}

.cyber-footer__scanline {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 2px;
 background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
 animation: scanline-move 4s linear infinite;
 pointer-events: none;
}

@keyframes scanline-move {
 0% { transform: translateY(0); opacity: 1; }
 100% { transform: translateY(200px); opacity: 0; }
}

.cyber-footer__glow-line {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg, transparent, #00f0ff, #f0a, #00f0ff, transparent);
 box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.cyber-link {
 position: relative;
 display: inline-block;
 color: rgba(0, 240, 255, 0.6);
 transition: color 0.3s ease;
 text-decoration: none;
}

.cyber-link::before {
 content: attr(data-text);
 position: absolute;
 left: 0;
 top: 0;
 color: #00f0ff;
 clip-path: inset(0 100% 0 0);
 transition: clip-path 0.2s ease;
}

.cyber-link:hover::before {
 clip-path: inset(0 0 0 0);
}

.cyber-link:hover {
 color: #00f0ff;
}

.cyber-social {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 32px;
 height: 32px;
 border: 1px solid rgba(0, 240, 255, 0.2);
 border-radius: 4px;
 color: rgba(0, 240, 255, 0.5);
 transition: all 0.2s ease;
}

.cyber-social:hover {
 border-color: #00f0ff;
 color: #00f0ff;
 box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
 background: rgba(0, 240, 255, 0.05);
}

.cyber-col-title {
 padding-bottom: 8px;
 border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.cyber-divider {
 position: relative;
}

.text-magenta {
 color: #f0a;
}

.background-cyber {
 background: rgba(0, 240, 255, 0.05);
}

/* Glitch effect on hover for links */
.cyber-link:hover {
 animation: glitch-text 0.3s ease;
}

@keyframes glitch-text {
 0%, 100% { transform: translate(0); }
 20% { transform: translate(-2px, 1px); }
 40% { transform: translate(2px, -1px); }
 60% { transform: translate(-1px, -1px); }
 80% { transform: translate(1px, 1px); }
}

/* ---- Article page styles ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.breadcrumb a { color: rgba(0,240,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: #00f0ff; }

/* Simple cyberpunk breadcrumb */
.cbreadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 10px 16px;
  flex-wrap: wrap;
  background: rgba(0,240,255,0.03);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.cbreadcrumb::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.6), transparent);
}
.cbreadcrumb-prefix {
  color: rgba(240,0,255,0.7);
  margin-right: 8px;
  font-weight: bold;
}
.cbreadcrumb-item {
  color: rgba(0,240,255,0.5);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
}
.cbreadcrumb-item:hover { color: #00f0ff; text-shadow: 0 0 8px rgba(0,240,255,0.6); }
.cbreadcrumb-sep {
  color: rgba(240,0,255,0.4);
  margin: 0 8px;
  font-size: 14px;
}
.cbreadcrumb-current {
  color: #00f0ff;
  text-transform: uppercase;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0,240,255,0.5);
}
.cbreadcrumb-cursor {
  color: #00f0ff;
  font-weight: bold;
  animation: blink-cursor 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Description in details panel */
.desc-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,240,255,0.1);
}
.desc-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.desc-text p { margin-bottom: 8px; }
.desc-text strong { color: #00f0ff; font-weight: normal; }

/* Article title */
.article-title-wrap { position: relative; display: inline-block; }
.article-title {
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(0,240,255,0.5);
  color: #00f0ff;
  font-family: 'Orbitron', sans-serif;
}
.main-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: fill;
  display: block;
}
.article-title-glow {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, #f0a, #00f0ff, transparent);
  box-shadow: 0 0 10px rgba(0,240,255,0.6);
}

/* Price badge */
.price-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0,240,255,0.4);
  background: rgba(0,240,255,0.05);
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: #00f0ff;
  letter-spacing: 2px;
}
.pub-date { display: flex; align-items: center; gap: 8px; }
.pub-date span:last-child {
  color: rgba(0,240,255,0.6);
  font-family: 'Share Tech Mono', monospace;
}

/* Tags */
.tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(255,0,170,0.4);
  background: rgba(255,0,170,0.05);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(255,0,170,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  text-decoration: none;
}
.tag-pill:hover {
  border-color: #f0a;
  color: #f0a;
  background: rgba(255,0,170,0.1);
  box-shadow: 0 0 10px rgba(255,0,170,0.3);
}

/* Tag link in article detail */
.tag-pill-link {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00f0ff;
  border: 1px solid rgba(0,240,255,0.4);
  background: rgba(0,240,255,0.05);
  text-decoration: none;
  transition: all 0.2s;
}
.tag-pill-link:hover {
  background: rgba(0,240,255,0.1);
  box-shadow: 0 0 10px rgba(0,240,255,0.3);
}

/* Color swatch */
.color-swatch {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
  border-radius: 2px;
  flex-shrink: 0;
}
.color-swatch-name {
  font-size: 13px;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}

/* Video */
.video-player {
  width: 100%;
  max-height: 70vh;
  background: #000;
  display: block;
}

/* Gallery */
.gallery-section { position: relative; }
.main-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,240,255,0.2);
  background: #0a0a0f;
  display: block;
}
.main-image-wrap:hover .zoom-icon { opacity: 1; }
.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.6), transparent);
  animation: scanline-move 4s linear infinite;
  pointer-events: none;
}
@keyframes scanline-move {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(300px); opacity: 0; }
}
.image-counter {
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.6);
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  letter-spacing: 1px;
}
.zoom-icon {
  position: absolute;
  bottom: 10px; right: 10px;
  color: rgba(0,240,255,0.5);
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-hud-tl, .gallery-hud-br {
  position: absolute;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.2);
  letter-spacing: 1px;
}
.gallery-hud-tl { top: 8px; left: 8px; }
.gallery-hud-br { bottom: 8px; right: 8px; }

/* Thumbnails */
.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,240,255,0.3) transparent;
}
.thumb-item {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0,240,255,0.15);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb-item:hover { border-color: rgba(0,240,255,0.5); }
.thumb-item.active { border-color: #00f0ff; box-shadow: 0 0 10px rgba(0,240,255,0.4); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-item img.thumb-fill { object-fit: fill; }

/* Video indicator */
.video-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(0,240,255,0.4);
  background: rgba(0,240,255,0.05);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #00f0ff;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}
.video-indicator:hover {
  background: rgba(0,240,255,0.1);
  box-shadow: 0 0 15px rgba(0,240,255,0.3);
}
.video-badge-tag {
  background: rgba(0,240,255,0.15);
  padding: 2px 6px;
  font-size: 9px;
}

/* Details panel */
.data-block {
  border: 1px solid rgba(0,240,255,0.2);
  background: rgba(0,240,255,0.02);
  padding: 16px;
  margin-bottom: 16px;
  margin-top: 12px;
}
.data-block:first-child { margin-top: 0; }
.data-block-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: rgba(0,240,255,0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,240,255,0.1);
}
.data-value {
  font-family: 'Share Tech Mono', monospace;
}
.data-block-content {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.dims-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.dim-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1 40%;
  min-width: 0;
}
@media (min-width: 640px) {
  .dim-item {
    flex: 1 1 auto;
    min-width: 80px;
  }
}
.dim-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: rgba(0,240,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.dim-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0,240,255,0.5);
}
.dim-unit {
  font-size: 11px;
  color: rgba(0,240,255,0.5);
  margin-left: 2px;
}
.dim-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,240,255,0.1);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Price block */
.price-block {
  border: 1px solid rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.03);
  padding: 20px;
  text-align: center;
}
.price-glow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  animation: price-pulse 3s ease-in-out infinite;
}
@keyframes price-pulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0,240,255,0.3); }
  50% { text-shadow: 0 0 25px rgba(0,240,255,0.7), 0 0 50px rgba(0,240,255,0.3); }
}
.price-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #00f0ff;
  text-shadow: 0 0 20px rgba(0,240,255,0.5);
}
.price-currency {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: rgba(0,240,255,0.7);
}

/* Description */
.description-block {
  border-top: 1px solid rgba(0,240,255,0.1);
  padding-top: 30px;
  margin-top: 20px;
}
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: rgba(0,240,255,0.4);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.description-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 800px;
}
.description-text p { margin-bottom: 16px; }
.description-text ul, .description-text ol { padding-left: 20px; margin-bottom: 16px; }
.description-text li { margin-bottom: 6px; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: fadeInLightbox 0.2s ease;
}
@keyframes fadeInLightbox {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lb-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
}
.lb-image-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-counter {
  position: absolute;
  top: -30px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: rgba(0,240,255,0.6);
  letter-spacing: 2px;
}
.lb-title {
  position: absolute;
  bottom: -30px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-hud-br {
  position: absolute;
  bottom: -30px;
  right: 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.2);
  letter-spacing: 1px;
}
.lb-nav {
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.3);
  color: #00f0ff;
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.lb-nav:hover {
  background: rgba(0,240,255,0.2);
  box-shadow: 0 0 20px rgba(0,240,255,0.4);
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.3);
  color: #00f0ff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lb-close:hover { background: rgba(0,240,255,0.2); color: #f0a; }
.lightbox.hidden { display: none; }

/* =============================================
   VIDEO MODAL
   ============================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-modal-box {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #0a0a0f;
  border: 1px solid rgba(0,240,255,0.3);
  box-shadow: 0 0 40px rgba(0,240,255,0.15), 0 0 80px rgba(0,0,0,0.8);
  animation: glitchIn 0.3s ease;
}
@keyframes glitchIn {
  0% { transform: scale(0.95) skewX(5deg); opacity: 0; }
  30% { transform: scale(1.02) skewX(-2deg); }
  60% { transform: scale(0.99) skewX(1deg); }
  100% { transform: scale(1) skewX(0); opacity: 1; }
}
.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,240,255,0.2);
  background: rgba(0,240,255,0.05);
}
.video-modal-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #00f0ff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.video-modal-close {
  background: none;
  border: none;
  color: #00f0ff;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.video-modal-close:hover { color: #f0a; }
.video-modal-body { background: #000; line-height: 0; }
.video-modal-body video { display: block; background: #000; }
.video-modal-hud-br {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,240,255,0.3);
  letter-spacing: 1px;
}
.video-modal.hidden { display: none; }


/* --- Related articles --- */
.related-card { transition: opacity 0.2s; }
.related-card:hover { opacity: 0.75; }
.related-card img { transition: transform 0.3s; }
.related-card:hover img { transform: scale(1.05); }

/* --- Category/Tag header --- */
@keyframes headerFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cat-header { animation: headerFadeIn 0.5s ease forwards; }
