/* ═══════════════════════════════════════════════════════
   ZEVSAMA STUDIO — error.css
   Page-specific styles for zevsama-error.html
   404 display · Glitch · Scanlines · CTA buttons
   Phase 02 — diekstrak dari zevsama-error.html
   ═══════════════════════════════════════════════════════ */

    :root {
      --pink: #FF007A;
      --cyan: #00FFCC;
      --black: #050505;
      --blush: #FCE4EC;
      --white: #f5f5f0;
      --g1: #0a0a0a;
      --gray: #1a1a1a;
      --text: #f0ede6;
      --dim: rgba(240,237,230,0.4);
      --border: rgba(255,255,255,0.07);
      --mono: 'Share Tech Mono', monospace;
      --disp: 'Bebas Neue', sans-serif;
      --body: 'DM Sans', sans-serif;
    }

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

    html, body {
      height: 100%;
      background: var(--black);
      color: var(--text);
      font-family: var(--body);
      overflow: hidden;
      padding-top: 0;
    }

    /* Noise grain overlay */
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.6;
    }

    /* Ambient glow */
    .glow-pink {
      position: fixed;
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,0,122,0.12) 0%, transparent 70%);
      top: -150px; left: -150px;
      pointer-events: none;
      animation: driftA 8s ease-in-out infinite alternate;
    }
    .glow-dark {
      position: fixed;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,0,122,0.06) 0%, transparent 70%);
      bottom: -100px; right: -100px;
      pointer-events: none;
      animation: driftB 10s ease-in-out infinite alternate;
    }

    @keyframes driftA {
      from { transform: translate(0, 0); }
      to   { transform: translate(60px, 80px); }
    }
    @keyframes driftB {
      from { transform: translate(0, 0); }
      to   { transform: translate(-40px, -60px); }
    }

    /* Scanline effect */
    .scanlines {
      position: fixed;
      inset: 0;
      background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0,0,0,0.08) 3px,
        rgba(0,0,0,0.08) 4px
      );
      pointer-events: none;
      z-index: 1;
    }

    /* Main layout */
    .container {
      position: relative;
      z-index: 2;
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 24px;
      text-align: center;
    }

    /* Top label */
    .eyebrow {
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 5px;
      text-transform: uppercase;
      color: var(--pink);
      opacity: 0.7;
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 28px;
      animation: fadeUp 0.6s ease both;
    }
    .eyebrow::before, .eyebrow::after {
      content: '';
      width: 32px; height: 1px;
      background: var(--pink);
      opacity: 0.5;
    }

    /* Big 404 */
    .error-code {
      font-family: var(--disp);
      font-size: clamp(7rem, 22vw, 18rem);
      line-height: 0.85;
      letter-spacing: -2px;
      color: var(--text);
      position: relative;
      animation: fadeUp 0.7s 0.1s ease both;
    }

    /* Glitch effect on 404 */
    .error-code::before,
    .error-code::after {
      content: '404';
      position: absolute;
      inset: 0;
      font-family: var(--disp);
      font-size: inherit;
      line-height: inherit;
    }
    .error-code::before {
      color: rgba(255,0,122,0.5);
      clip-path: inset(30% 0 50% 0);
      animation: glitchA 4s 2s steps(1) infinite;
    }
    .error-code::after {
      color: rgba(0,220,255,0.35);
      clip-path: inset(55% 0 15% 0);
      animation: glitchB 4s 2.1s steps(1) infinite;
    }

    @keyframes glitchA {
      0%, 92%  { transform: none; clip-path: inset(30% 0 50% 0); }
      93%      { transform: translateX(-4px); clip-path: inset(15% 0 65% 0); }
      94%      { transform: translateX(4px); clip-path: inset(50% 0 30% 0); }
      95%      { transform: none; clip-path: inset(30% 0 50% 0); }
      100%     { transform: none; }
    }
    @keyframes glitchB {
      0%, 92%  { transform: none; clip-path: inset(55% 0 15% 0); }
      93%      { transform: translateX(3px); clip-path: inset(70% 0 5% 0); }
      94%      { transform: translateX(-3px); clip-path: inset(40% 0 40% 0); }
      95%      { transform: none; clip-path: inset(55% 0 15% 0); }
      100%     { transform: none; }
    }

    /* Subtitle */
    .error-title {
      font-family: var(--disp);
      font-size: clamp(1.4rem, 4vw, 2.4rem);
      letter-spacing: 3px;
      color: rgba(240,237,230,0.55);
      margin-top: 8px;
      margin-bottom: 20px;
      animation: fadeUp 0.7s 0.2s ease both;
    }
    .error-title em {
      color: var(--pink);
      font-style: italic;
      font-family: var(--body);
      font-weight: 300;
      font-size: 0.7em;
    }

    /* Description */
    .error-desc {
      font-size: 0.85rem;
      color: rgba(240,237,230,0.35);
      font-weight: 300;
      line-height: 1.7;
      max-width: 360px;
      margin-bottom: 44px;
      text-align: center;
      animation: fadeUp 0.7s 0.3s ease both;
    }

    /* CTA buttons */
    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
      animation: fadeUp 0.7s 0.4s ease both;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--pink);
      color: #fff;
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 28px;
      border-radius: 100px;
      border: none;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
      box-shadow: 0 0 24px rgba(255,0,122,0.3);
    }
    .btn-primary:hover {
      transform: scale(1.04);
      box-shadow: 0 0 36px rgba(255,0,122,0.5);
    }
    .btn-primary:active { transform: scale(0.97); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      color: rgba(240,237,230,0.55);
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 28px;
      border-radius: 100px;
      border: 1px solid rgba(240,237,230,0.12);
      cursor: pointer;
      transition: transform 0.2s, border-color 0.2s, color 0.2s;
    }
    .btn-secondary:hover {
      transform: scale(1.03);
      border-color: rgba(240,237,230,0.3);
      color: var(--text);
    }

    /* Bottom breadcrumb */
    .breadcrumb {
      position: fixed;
      bottom: 32px;
      left: 0;
      right: 0;
      width: 100%;
      font-family: var(--mono);
      font-size: 0.52rem;
      letter-spacing: 3px;
      color: rgba(240,237,230,0.2);
      text-transform: uppercase;
      text-align: center;
      animation: fadeUp 0.7s 0.55s ease both;
    }
    .breadcrumb span { color: rgba(255,0,122,0.5); margin: 0 6px; }

    /* Animations */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Mobile */
    @media (max-width: 480px) {
      .error-code { font-size: clamp(6rem, 28vw, 10rem); }
      .cta-group { flex-direction: column; align-items: center; }
      .btn-primary, .btn-secondary { width: 220px; justify-content: center; }
    }

    /* ── TAP IMPACT — mobile ── */
    @keyframes ztTapBurst {
      0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
      60%  { opacity: 0.85; }
      100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
    }
    @keyframes ztSparkShoot {
      0%   { opacity: 0.9; transform: translate(-50%,-50%) rotate(var(--angle)) scaleY(0); }
      40%  { opacity: 0.7; transform: translate(-50%,-50%) rotate(var(--angle)) scaleY(1) translateY(calc(var(--dist) * -0.6)); }
      100% { opacity: 0;   transform: translate(-50%,-50%) rotate(var(--angle)) scaleY(0.4) translateY(calc(var(--dist) * -1)); }
    }