
/* kk lelijke css */
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #080808;
    --surface: #111111;
    --surface2: #1a1a1a;
    --border: #2a2a2a;
    --border-bright: #444;
    --text: #c8c8c8;
    --text-dim: #666;
    --text-bright: #f0f0f0;
    --accent: #cf4a4a;
    --accent2: #993333;
    --accent-dim: rgba(207,74,74,0.15);
    --danger: #ff4444;
    --mono: 'Share Tech Mono', monospace;
    --display: 'Bebas Neue', sans-serif;
    --head: 'Russo One', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--mono);
    overflow-x: hidden;
    cursor: crosshair;
  }

  /* noise */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
  }

  /* navbar */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 18px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.92), transparent);
    letter-spacing: 0.25em;
    font-size: 0.7rem;
  }
  nav a {
    color: var(--accent);
    text-decoration: none;
    padding: 6px 20px;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 0 12px rgba(207,74,74,0.4);
  }
  nav a:hover { color: #fff; text-shadow: 0 0 20px rgba(207,74,74,0.9); }
  nav .sep { color: var(--border-bright); user-select: none; }

  /* hero */
  #hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    perspective: 800px;
  }
  #hero-inner {
    position: absolute;
    inset: -6%;
    will-change: transform;
    transition: transform 0.08s linear;
    transform-style: preserve-3d;
  }
  #hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../voidrage_presskit.jpg');
    background-size: cover;
    background-position: center 30%;
    filter: grayscale(0.25) contrast(1.1);
  }

  /* scanlines */
  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.18) 2px,
      rgba(0,0,0,0.18) 4px
    );
    pointer-events: none;
    z-index: 2;
  }

  /* vignette */
  #hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 3;
    pointer-events: none;
  }

  /* bottom fade */
  #hero-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 4;
    pointer-events: none;
  }

  /* glitch overlay */
  #hero-glitch {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
  }
  #hero-glitch::before, #hero-glitch::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: rgba(207,74,74,0.6);
    animation: glitch-line 6s infinite;
    opacity: 0;
  }
  #hero-glitch::after { animation-delay: 3.2s; background: rgba(255,255,255,0.3); }
  @keyframes glitch-line {
    0%, 89%, 100% { opacity: 0; top: -10px; }
    90% { opacity: 1; top: 30%; }
    91% { top: 60%; }
    92% { top: 20%; opacity: 0.5; }
    93%, 99% { opacity: 0; }
  }

  /* HUD corner decorations */
  .hud-corner {
    position: absolute;
    width: 30px; height: 30px;
    z-index: 6;
    pointer-events: none;
  }
  .hud-corner.tl { top: 70px; left: 20px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
  .hud-corner.tr { top: 70px; right: 20px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
  .hud-corner.bl { bottom: 210px; left: 20px; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
  .hud-corner.br { bottom: 210px; right: 20px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }

  /* waveform  */
  #hero-wave {
    position: absolute;
    bottom: 200px;
    left: 0; right: 0;
    height: 40px;
    z-index: 6;
    pointer-events: none;
    overflow: hidden;
  }
  #hero-wave svg { width: 100%; height: 100%; opacity: 0.35; }

  /* MAIN  */
  main { position: relative; z-index: 10; }

  /* HUD BAR */
  .hud-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
  }
  .hud-bar .label {
    color: var(--accent);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }
  .waveform-mini {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
  }
  .waveform-mini span {
    display: inline-block;
    width: 2px;
    background: var(--accent);
    opacity: 0.7;
    border-radius: 1px;
    animation: wave-anim 1.4s ease-in-out infinite alternate;
  }
  @keyframes wave-anim {
    from { transform: scaleY(0.3); }
    to { transform: scaleY(1); }
  }

  /* SECTION BASE */
  section {
    padding: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-title {
    font-family: var(--head);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-bright);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-bright), transparent);
  }

  /* GRID LAYOUT */
  .grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  /* PANEL */
  .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent2), transparent);
    opacity: 0.6;
  }
  .panel-header {
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .panel-header .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: blink 2s infinite;
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  .panel-body { padding: 16px; }

  .panel-body-embed {
    padding: 0;
  }

  .spotify-shell {
    position: relative;
    width: 100%;
    border: 1px solid var(--border-bright);
    background:
      linear-gradient(180deg, rgba(207,74,74,0.08), rgba(207,74,74,0) 34%),
      linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.03),
      0 0 0 1px rgba(207,74,74,0.16),
      0 14px 36px rgba(0,0,0,0.5),
      0 0 28px rgba(207,74,74,0.12);
    overflow: hidden;
  }

  .spotify-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.2) 3px,
      rgba(0,0,0,0.2) 4px
    );
    opacity: 0.45;
    pointer-events: none;
    z-index: 2;
  }

  .spotify-shell::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(207,74,74,0.22);
    pointer-events: none;
    z-index: 3;
  }

  .spotify-embed {
    display: block;
    width: 100%;
    height: clamp(240px, 30vw, 360px);
    border: 0;
    filter: contrast(1.06) saturate(0.92);
    transform: scale(1.005);
    transform-origin: center;
  }

  @media (max-width: 700px) {
    .spotify-shell::after { inset: 6px; }
    .spotify-embed { height: clamp(260px, 68vw, 420px); }
  }

  @media (max-width: 980px) {
    body { cursor: default; }

    nav {
      padding: 14px 12px;
      letter-spacing: 0.16em;
      font-size: 0.58rem;
      flex-wrap: wrap;
    }
    nav a { padding: 4px 8px; }

    #hero {
      min-height: 540px;
      height: 100svh;
    }
    #hero-inner { inset: 0; }
    #hero-bg { background-position: center 22%; }

    .hud-corner {
      width: 22px;
      height: 22px;
    }
    .hud-corner.tl, .hud-corner.tr { top: 66px; }
    .hud-corner.bl, .hud-corner.br { bottom: 120px; }

    .hero-glitch-wrap { width: clamp(220px, 76vw, 540px); }
    .hero-sub {
      margin-top: 16px;
      letter-spacing: 0.3em;
      text-align: center;
      padding: 0 14px;
    }

    .hud-bar {
      padding: 9px 12px;
      gap: 10px;
    }
    .hud-bar .label {
      font-size: 0.52rem;
      letter-spacing: 0.1em;
    }

    section {
      padding: 34px 12px;
    }

    .grid-3 {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .releases-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    .tour-list li {
      grid-template-columns: 56px 1fr;
      gap: 8px;
    }
    .tour-city {
      grid-column: 2;
      text-align: left;
    }

    .divider { margin: 0 12px; }

    footer { padding: 36px 12px; }
    .socials { gap: 18px; }
  }

  body.mobile-hero #hero-inner,
  body.mobile-hero #hero-bg {
    transform: none !important;
    transition: none;
  }

  body.mobile-hero #hero {
    perspective: none;
  }

  /* LATEST RELEASE */
  .latest-release {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .album-thumb {
    width: 90px; height: 90px;
    flex-shrink: 0;
    background: var(--surface2);
    border: 1px solid var(--border-bright);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .album-thumb-corrupt {
    background: linear-gradient(135deg, #2a1a1a, #1a0a0a, #2a0a0a);
    font-family: var(--mono);
    font-size: 0.4rem;
    color: var(--accent);
    text-align: center;
    padding: 8px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    word-break: break-all;
    opacity: 0.85;
    position: relative;
  }
  .album-thumb-corrupt::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.4) 3px, rgba(0,0,0,0.4) 4px);
  }
  .release-info { flex: 1; }
  .release-title {
    font-family: var(--display);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--text-bright);
    line-height: 1;
    margin-bottom: 8px;
  }
  .release-meta {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    line-height: 2;
  }
  .drip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 10px;
    border: 1px solid var(--border-bright);
    background: rgba(0,0,0,0.5);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: #1db954;
    cursor: pointer;
    transition: all 0.2s;
  }
  .drip-badge:hover { background: rgba(29,185,84,0.1); border-color: #1db954; }
  .drip-badge svg { width: 14px; height: 14px; fill: #1db954; }

  /* OLDER RELEASES */
  .releases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .release-thumb {
    aspect-ratio: 1;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .release-thumb:hover { border-color: var(--accent2); }
  .release-thumb:hover .release-overlay { opacity: 1; }
  .release-overlay {
    position: absolute;
    inset: 0;
    background: rgba(207,74,74,0.08);
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--accent);
  }
  /* Unique album art placeholders */
  .rt-1 { background: linear-gradient(135deg, #0f0a0a 0%, #2a1414 50%, #0f0a0a 100%); }
  .rt-2 { background: linear-gradient(225deg, #0a0a1a 0%, #1a1a2a 60%, #0a0a0a 100%); }
  .rt-3 { background: radial-gradient(circle at 30% 70%, #1a1a0a, #0a0a0a); }
  .rt-4 { background: linear-gradient(45deg, #1a0a0a, #0a0a0a, #0a1a1a); }
  .rt-5 { background: conic-gradient(from 180deg at 50% 50%, #0a0a0a, #2a1414, #0a0a0a); }
  .rt-6 { background: linear-gradient(160deg, #100808 0%, #0a0a0a 40%, #1a0a1a 100%); }
  .rt-label {
    position: absolute;
    bottom: 4px; left: 5px; right: 5px;
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* TOUR DATES */
  .tour-list { list-style: none; }
  .tour-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    align-items: center;
    transition: background 0.15s;
    cursor: pointer;
  }
  .tour-list li:last-child { border-bottom: none; }
  .tour-list li:hover { background: rgba(207,74,74,0.04); }
  .tour-date { color: var(--accent); white-space: nowrap; }
  .tour-venue { color: var(--text); }
  .tour-city { color: var(--text-dim); text-align: right; font-size: 0.6rem; }
  .term-cursor {
    display: inline-block;
    width: 8px; height: 12px;
    background: var(--accent);
    animation: blink 1s infinite;
    margin-right: 6px;
    vertical-align: text-bottom;
  }

  /* DIVIDER */
  .divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 40px;
  }

  /* FOOTER */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 50px 40px;
    text-align: center;
  }
  .footer-title {
    font-family: var(--head);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--text-bright);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .footer-title::before, .footer-title::after {
    content: '';
    width: 60px; height: 1px;
    background: var(--border-bright);
  }
  .socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-dim);
  }
  .social-item:hover { color: var(--accent); }
  .social-item:hover .social-icon { border-color: var(--accent); box-shadow: 0 0 16px rgba(207,74,74,0.25); }
  .social-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    transition: all 0.2s;
  }
  .social-icon svg { width: 22px; height: 22px; fill: currentColor; }
  .social-label {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    font-family: var(--mono);
  }
  .social-star {
    font-size: 1.6rem;
    color: var(--text-dim);
    line-height: 1;
    margin-left: 16px;
    transition: color 0.2s, text-shadow 0.2s;
    cursor: pointer;
  }
  .social-star:hover { color: var(--accent); text-shadow: 0 0 20px var(--accent); }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

  /* HERO TITLE */
  #hero-title {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    animation: titleReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes titleReveal {
    0%   { opacity: 0; filter: blur(24px); transform: scale(1.1); }
    35%  { opacity: 0.7; filter: blur(8px); transform: scale(1.04); }
    65%  { opacity: 1; filter: blur(2px); transform: scale(1.008); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
  }

  /* color layer glitch */
  .hero-glitch-wrap {
    position: relative;
    display: inline-block;
    width: clamp(220px, 52vw, 620px);
    line-height: 1;
  }

  .hero-logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
    mix-blend-mode: screen;
  }

  .hero-word {
    position: relative;
    animation: idleGlow 4s ease-in-out infinite;
    will-change: filter, transform;
  }
  @keyframes idleGlow {
    0%, 100% {
      filter:
        brightness(1.12)
        contrast(1.15)
        drop-shadow(0 0 6px rgba(207,74,74,0.28))
        drop-shadow(0 0 22px rgba(207,74,74,0.12));
    }
    50% {
      filter:
        brightness(1.22)
        contrast(1.24)
        drop-shadow(0 0 10px rgba(207,74,74,0.5))
        drop-shadow(0 0 38px rgba(207,74,74,0.2));
    }
  }

  .hero-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, clip-path;
  }
  .hero-r {
    filter: sepia(1) saturate(8) hue-rotate(-22deg) brightness(1.2);
    opacity: 0;
  }
  .hero-c {
    filter: sepia(1) saturate(8) hue-rotate(140deg) brightness(1.18);
    opacity: 0;
  }

  .hero-glitch-wrap.glitch-on .hero-word {
    animation: glitchWord 0.15s steps(1) both;
  }
  .hero-glitch-wrap.glitch-on .hero-r {
    animation: glitchR 0.15s steps(1) both;
  }
  .hero-glitch-wrap.glitch-on .hero-c {
    animation: glitchC 0.15s steps(1) both;
  }

  .hero-glitch-wrap.glitch-heavy .hero-word {
    animation: glitchWordHeavy 0.38s steps(1) both;
  }
  .hero-glitch-wrap.glitch-heavy .hero-r {
    animation: glitchRHeavy 0.38s steps(1) both;
  }
  .hero-glitch-wrap.glitch-heavy .hero-c {
    animation: glitchCHeavy 0.38s steps(1) both;
  }

  /* glitch keyframes */
  @keyframes glitchWord {
    0%   { filter: none;        clip-path: none;                                         transform: none; }
    15%  { filter: blur(1.5px); clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%);  transform: translateX(-5px); }
    30%  { filter: none;        clip-path: polygon(0 58%, 100% 58%, 100% 76%, 0 76%);  transform: translateX(7px); }
    50%  { filter: blur(2px);   clip-path: none;                                         transform: translateX(-3px) skewX(-1.5deg); }
    70%  { filter: none;        clip-path: polygon(0 5%,  100% 5%,  100% 28%, 0 28%);  transform: translateX(4px); }
    85%  { filter: blur(1px);   clip-path: none;                                         transform: none; }
    100% { filter: none;        clip-path: none;                                         transform: none; }
  }
  @keyframes glitchR {
    0%   { opacity: 0; }
    15%  { opacity: 0.75; transform: translateX(-8px);  clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%); }
    30%  { opacity: 0.55; transform: translateX(9px);   clip-path: polygon(0 58%, 100% 58%, 100% 76%, 0 76%); }
    50%  { opacity: 0; }
    70%  { opacity: 0.65; transform: translateX(-5px);  clip-path: polygon(0 5%,  100% 5%,  100% 28%, 0 28%); }
    85%  { opacity: 0; }
    100% { opacity: 0; }
  }
  @keyframes glitchC {
    0%   { opacity: 0; }
    15%  { opacity: 0; }
    30%  { opacity: 0.65; transform: translateX(7px);   clip-path: polygon(0 58%, 100% 58%, 100% 76%, 0 76%); }
    50%  { opacity: 0.45; transform: translateX(-7px);  clip-path: none; }
    70%  { opacity: 0; }
    85%  { opacity: 0.55; transform: translateX(5px);   clip-path: polygon(0 72%, 100% 72%, 100% 90%, 0 90%); }
    100% { opacity: 0; }
  }

  /* zware glitch keyframes */
  @keyframes glitchWordHeavy {
    0%   { filter: none;        clip-path: none;                                         transform: none; }
    5%   { filter: blur(5px);   clip-path: none;                                         transform: translateX(-10px) scaleX(0.97); }
    10%  { filter: blur(1px);   clip-path: polygon(0 0,   100% 0,   100% 28%, 0 28%);  transform: translateX(14px); }
    16%  { filter: none;        clip-path: polygon(0 62%, 100% 62%, 100% 83%, 0 83%);  transform: translateX(-9px); }
    22%  { filter: blur(3px);   clip-path: none;                                         transform: none; }
    30%  { filter: none;        clip-path: polygon(0 18%, 100% 18%, 100% 44%, 0 44%);  transform: translateX(7px) skewX(-2deg); }
    38%  { filter: blur(1.5px); clip-path: polygon(0 78%, 100% 78%, 100% 96%, 0 96%);  transform: translateX(-6px); }
    44%  { filter: none;        clip-path: none;                                         transform: none; }
    52%  { filter: blur(1px);   clip-path: polygon(0 44%, 100% 44%, 100% 62%, 0 62%);  transform: translateX(5px); }
    58%  { filter: none;        clip-path: none;                                         transform: none; }
    /* white flash */
    72%  { filter: brightness(4) blur(4px); clip-path: none; transform: none; }
    75%  { filter: brightness(1) blur(0);    clip-path: none; transform: none; }
    82%  { filter: none;        clip-path: none;                                         transform: none; }
    100% { filter: none;        clip-path: none;                                         transform: none; }
  }
  @keyframes glitchRHeavy {
    0%   { opacity: 0; }
    5%   { opacity: 0.85; transform: translateX(-14px) scaleX(0.97); clip-path: none; }
    10%  { opacity: 0.70; transform: translateX(16px);                clip-path: polygon(0 0,   100% 0,   100% 28%, 0 28%); }
    16%  { opacity: 0.55; transform: translateX(-11px);               clip-path: polygon(0 62%, 100% 62%, 100% 83%, 0 83%); }
    24%  { opacity: 0; }
    30%  { opacity: 0.75; transform: translateX(9px);                 clip-path: polygon(0 18%, 100% 18%, 100% 44%, 0 44%); }
    38%  { opacity: 0.45; transform: translateX(-7px);                clip-path: polygon(0 78%, 100% 78%, 100% 96%, 0 96%); }
    46%  { opacity: 0; }
    72%  { opacity: 0; }
    75%  { opacity: 0; }
    100% { opacity: 0; }
  }
  @keyframes glitchCHeavy {
    0%   { opacity: 0; }
    5%   { opacity: 0.65; transform: translateX(12px) scaleX(0.97); clip-path: none; }
    10%  { opacity: 0; }
    16%  { opacity: 0.75; transform: translateX(13px);               clip-path: polygon(0 0,   100% 0,   100% 28%, 0 28%); }
    22%  { opacity: 0.55; transform: translateX(-9px);               clip-path: none; }
    29%  { opacity: 0; }
    38%  { opacity: 0.68; transform: translateX(7px);                clip-path: polygon(0 62%, 100% 62%, 100% 83%, 0 83%); }
    45%  { opacity: 0.40; transform: translateX(-5px); }
    52%  { opacity: 0; }
    72%  { opacity: 0; }
    100% { opacity: 0; }
  }

  /* ── Subtitle ── */
  .hero-sub {
    font-family: var(--mono);
    font-size: clamp(0.5rem, 1.4vw, 0.72rem);
    letter-spacing: 0.55em;
    color: var(--accent);
    margin-top: 22px;
    opacity: 0;
    animation: heroSubIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
    text-shadow: 0 0 16px rgba(207,74,74,0.55);
  }
  @keyframes heroSubIn {
    from { opacity: 0; letter-spacing: 0.9em; filter: blur(6px); }
    to   { opacity: 1; letter-spacing: 0.55em; filter: blur(0); }
  }

  /* fade in */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-in { opacity: 0; animation: fadeUp 0.7s ease forwards; }
  .fade-in:nth-child(1) { animation-delay: 0.1s; }
  .fade-in:nth-child(2) { animation-delay: 0.25s; }
  .fade-in:nth-child(3) { animation-delay: 0.4s; }
