:root {
    --bg-1: #0a0f18;
    --bg-2: #050810;
    --bg-3: #02040a;
  
    --glow-1: rgba(130,170,255,0.08);
    --glow-2: rgba(110,150,255,0.04);
    --glow-3: rgba(160,200,255,0.03);
  
    --text: rgba(240,245,255,0.92);
    --muted: rgba(200,215,255,0.46);
  
    --border: rgba(170,190,255,0.12);
    --border-strong: rgba(190,210,255,0.22);
  
    --accent: #8faeff;
    --button-top: rgba(170,190,255,0.06);
    --button-bottom: rgba(170,190,255,0.02);
  
    --screen-tint: rgba(170,255,210,0.035);
    --screen-warm: rgba(255,220,160,0.035);
    --rgb-r: rgba(255,70,70,0.045);
    --rgb-b: rgba(70,140,255,0.04);
  
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    min-height: 100%;
  }
  
  body {
    margin: 0;
    color: var(--text);
    font-family: var(--mono);
    background:
      radial-gradient(circle at 50% 8%, var(--glow-1), transparent 22%),
      radial-gradient(circle at 20% 25%, var(--glow-2), transparent 28%),
      radial-gradient(circle at 80% 22%, var(--glow-3), transparent 30%),
      linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
    overflow-x: hidden;
    position: relative;
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12) 0 0.7px, transparent 1px),
      radial-gradient(circle at 75% 35%, rgba(255,255,255,0.09) 0 0.8px, transparent 1.2px),
      radial-gradient(circle at 62% 78%, rgba(255,255,255,0.08) 0 0.8px, transparent 1.2px),
      radial-gradient(circle at 30% 70%, rgba(255,255,255,0.06) 0 0.9px, transparent 1.3px);
    background-size: 180px 180px, 230px 230px, 210px 210px, 260px 260px;
    mix-blend-mode: screen;
  }
  
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 18%, transparent 82%, rgba(0,0,0,0.16)),
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.016) 0px,
        rgba(255,255,255,0.016) 1px,
        transparent 2px,
        transparent 4px
      );
    opacity: 0.24;
  }
  
  .screen-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
  }
  
  .screen-effects::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 50%, transparent 44%, rgba(0,0,0,0.38) 100%),
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        rgba(0,0,0,0.14) 2px,
        rgba(0,0,0,0.14) 4px
      ),
      linear-gradient(
        90deg,
        rgba(255, 40, 40, 0.035) 0%,
        transparent 20%,
        transparent 80%,
        rgba(70, 140, 255, 0.035) 100%
      ),
      linear-gradient(
        180deg,
        rgba(170,255,210,0.03),
        rgba(255,220,160,0.045)
      );
    opacity: 0.95;
    mix-blend-mode: screen;
    animation: crtFlicker 0.16s infinite;
  }
  
  .screen-effects::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    height: 140px;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.18),
      rgba(140,180,255,0.08) 35%,
      rgba(0,0,0,0) 100%
    );
    opacity: 0;
    mix-blend-mode: screen;
    animation: tearMove 6s linear infinite;
  }
  
  @keyframes crtFlicker {
    0%, 100% { opacity: 0.94; }
    48% { opacity: 0.88; }
    49% { opacity: 0.98; }
    50% { opacity: 0.78; }
    51% { opacity: 0.97; }
    52% { opacity: 0.90; }
  }
  
  @keyframes tearMove {
    0% {
      transform: translateY(-140%);
      opacity: 0;
    }
    8% { opacity: 0; }
    10% { opacity: 0.4; }
    14% { opacity: 0; }
    100% {
      transform: translateY(220vh);
      opacity: 0;
    }
  }
  
  @keyframes terminalJitter {
    0%, 96%, 100% { transform: rotateX(2deg) translateX(0); }
    97% { transform: rotateX(2deg) translateX(-0.8px); }
    98% { transform: rotateX(2deg) translateX(0.7px); }
    99% { transform: rotateX(2deg) translateX(-0.4px); }
  }
  
  @keyframes rgbSplitText {
    0%, 100% {
      text-shadow: 0 0 6px rgba(255,255,255,0.03);
    }
    48% {
      text-shadow:
        -1px 0 0 rgba(255,70,70,0.06),
        1px 0 0 rgba(70,140,255,0.055),
        0 0 8px rgba(255,255,255,0.04);
    }
    50% {
      text-shadow:
        -1.8px 0 0 rgba(255,70,70,0.085),
        1.8px 0 0 rgba(70,140,255,0.075),
        0 0 10px rgba(255,255,255,0.05);
    }
    52% {
      text-shadow:
        -0.8px 0 0 rgba(255,70,70,0.05),
        0.8px 0 0 rgba(70,140,255,0.05),
        0 0 7px rgba(255,255,255,0.03);
    }
  }
  
  @keyframes breathe {
    0%, 100% {
      box-shadow:
        0 34px 90px rgba(0,0,0,0.76),
        0 12px 28px rgba(0,0,0,0.58),
        inset 0 1px 0 rgba(255,255,255,0.045),
        inset 0 -1px 0 rgba(0,0,0,0.58),
        0 0 40px rgba(170,255,210,0.035);
    }
    50% {
      box-shadow:
        0 40px 110px rgba(0,0,0,0.84),
        0 16px 34px rgba(0,0,0,0.62),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.62),
        0 0 56px rgba(170,255,210,0.05);
    }
  }
  
  .page {
    min-height: 100vh;
    padding: 28px 20px 36px;
    position: relative;
  }
  
  .site-header {
    width: min(1180px, 94vw);
    margin: 0 auto 34px;
    position: relative;
    z-index: 4;
  }
  
  .header-top {
    min-height: 148px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
  }
  
  .brand {
    grid-column: 2;
    justify-self: center;
  }
  
  .brand a {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
  }
  
  .brand a:hover {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.96;
    filter:
      drop-shadow(0 8px 18px rgba(0,0,0,0.52))
      drop-shadow(0 0 24px rgba(255,255,255,0.05));
  }
  
  .brand img {
    width: min(148px, 28vw);
    max-width: 148px;
    display: block;
    opacity: 0.92;
    filter:
      drop-shadow(0 8px 18px rgba(0,0,0,0.52))
      drop-shadow(0 0 20px rgba(255,255,255,0.03));
  }
  
  .header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 1px;
    padding-top: 8px;
  }
  
  .neversince-badge {
    display: block;
    height: 132px;
    width: auto;
    opacity: 0.96;
    filter:
      drop-shadow(0 10px 28px rgba(0,0,0,0.58))
      drop-shadow(0 0 24px rgba(255,255,255,0.06));
  }
  
  .top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.014));
    box-shadow:
      0 4px 12px rgba(0,0,0,0.22),
      inset 0 1px 0 rgba(255,255,255,0.05);
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease,
      color 0.2s ease,
      box-shadow 0.2s ease;
    font-size: 12px;
  }
  
  .top-link:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
  }
  
  .top-link-shop {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.98);
    border: 1px solid rgba(180,205,255,0.34);
    background:
      linear-gradient(180deg, rgba(143,174,255,0.22), rgba(143,174,255,0.08)),
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    box-shadow:
      0 8px 22px rgba(0,0,0,0.28),
      0 0 24px rgba(143,174,255,0.16),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
  
  .top-link-shop:hover {
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(200,220,255,0.48);
    color: #ffffff;
    box-shadow:
      0 12px 30px rgba(0,0,0,0.34),
      0 0 34px rgba(143,174,255,0.22),
      inset 0 1px 0 rgba(255,255,255,0.15);
  }
  
  .terminal-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1200px;
    position: relative;
    z-index: 3;
  }
  
  .terminal {
    width: min(920px, 90vw);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.004)),
      linear-gradient(180deg, rgba(18,22,28,0.95), rgba(8,10,14,0.97));
    border: 1px solid rgba(190,210,255,0.09);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    transform: rotateX(2deg);
    box-shadow:
      0 34px 90px rgba(0,0,0,0.76),
      0 12px 28px rgba(0,0,0,0.58),
      inset 0 1px 0 rgba(255,255,255,0.045),
      inset 0 -1px 0 rgba(0,0,0,0.58),
      0 0 40px rgba(170,255,210,0.035);
    backdrop-filter: blur(8px) saturate(0.82);
    transition:
      width 0.28s ease,
      min-height 0.28s ease,
      transform 0.28s ease,
      box-shadow 0.28s ease,
      border-color 0.28s ease;
    filter: contrast(1.08) saturate(0.78) brightness(0.93);
    animation:
      breathe 8s infinite ease-in-out,
      terminalJitter 0.22s infinite steps(1);
  }
  
  .terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% -12%, rgba(255,255,255,0.08), transparent 34%),
      linear-gradient(
        90deg,
        rgba(255,40,40,0.055) 0%,
        transparent 18%,
        transparent 82%,
        rgba(70,140,255,0.05) 100%
      ),
      linear-gradient(
        180deg,
        rgba(170,255,210,0.04),
        rgba(255,220,160,0.045)
      );
    opacity: 0.75;
    mix-blend-mode: screen;
  }
  
  .terminal::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
      ),
      radial-gradient(circle at 50% 50%, transparent 58%, rgba(0,0,0,0.16) 100%);
    opacity: 0.42;
  }
  
  .terminal.expanded {
    width: min(1220px, 94vw);
    min-height: calc(100vh - 240px);
    transform: none;
    border-color: rgba(255,255,255,0.16);
  }
  
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
    font-size: 12px;
    color: var(--muted);
    position: relative;
    z-index: 1;
    animation: rgbSplitText 4.6s linear infinite;
  }
  
  .window-dots {
    display: flex;
    gap: 8px;
  }
  
  .window-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    display: inline-block;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1px 0 rgba(0,0,0,0.34),
      0 1px 2px rgba(0,0,0,0.42);
  }
  
  button.window-btn {
    cursor: pointer;
  }
  
  .static-dot {
    cursor: default;
  }
  
  .close { background: #ff5f57; }
  .min { background: #febc2e; }
  .max { background: #28c840; }
  
  .output {
    padding: 22px 22px 10px;
    height: 420px;
    white-space: pre-wrap;
    line-height: 1.55;
    color: rgba(235,245,255,0.84);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    scrollbar-width: thin;
    animation: rgbSplitText 4.6s linear infinite;
  }
  
  .output::-webkit-scrollbar {
    width: 8px;
  }
  
  .output::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
  }
  
  .terminal.expanded .output {
    height: calc(100vh - 360px);
  }
  
  .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 22px;
    position: relative;
    z-index: 1;
    animation: rgbSplitText 4.6s linear infinite;
  }
  
  .input-row span {
    color: rgba(255,255,255,0.64);
  }
  
  input {
    flex: 1;
    background: none;
    border: none;
    color: rgba(245,248,255,0.88);
    font-family: var(--mono);
    font-size: 14px;
    outline: none;
  }
  
  input::placeholder {
    color: rgba(255,255,255,0.28);
  }
  
  .controls,
  .socials {
    width: min(920px, 90vw);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px auto 0;
    position: relative;
    z-index: 3;
  }
  
  .controls.expanded-width,
  .socials.expanded-width {
    width: min(1220px, 94vw);
  }
  
  .cmd,
  .social-link {
    background: linear-gradient(180deg, var(--button-top), var(--button-bottom));
    border: 1px solid var(--border);
    color: rgba(255,255,255,0.88);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow:
      0 4px 12px rgba(0,0,0,0.22),
      inset 0 1px 0 rgba(255,255,255,0.05);
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease,
      color 0.2s ease;
  }
  
  .cmd:hover,
  .social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .cmd:active {
    transform: translateY(1px);
  }
  
  .socials {
    margin-top: 12px;
  }
  
  .socials-label {
    width: 100%;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  
  .audio {
    margin-top: 8px;
  }
  
  audio {
    width: min(100%, 340px);
    opacity: 0.9;
  }
  
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 40;
  }
  
  .modal-backdrop.active {
    display: flex;
  }
  
  .modal {
    width: min(460px, 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
      linear-gradient(180deg, rgba(15,17,22,0.96), rgba(8,10,13,0.96));
    box-shadow:
      0 30px 80px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.06);
    padding: 20px;
  }
  
  .modal h2 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
  }
  
  .modal p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.66);
  }
  
  .modal input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    color: white;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
  
  .modal button {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: white;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--mono);
  }
  
  /* desktop folder */
  
  .desktop-folder {
    position: fixed;
    right: 44px;
    bottom: 30px;
    width: 120px;
    z-index: 22;
    touch-action: none;
    user-select: none;
    outline: none;
  }
  
  .desktop-folder.dragging {
    z-index: 38;
  }
  
  .desktop-folder-hitbox {
    padding: 8px 6px;
    border-radius: 12px;
    text-align: center;
    cursor: default;
  }
  
  .desktop-folder.selected .desktop-folder-hitbox {
    background: rgba(170,190,255,0.12);
    box-shadow:
      inset 0 0 0 1px rgba(170,190,255,0.18),
      0 8px 20px rgba(0,0,0,0.18);
  }
  
  .mac-folder-icon {
    position: relative;
    width: 96px;
    height: 74px;
    margin: 0 auto 10px;
    filter:
      drop-shadow(0 10px 16px rgba(0,0,0,0.34))
      drop-shadow(0 0 12px rgba(255,255,255,0.04));
  }
  
  .mac-folder-back {
    position: absolute;
    inset: 14px 0 0 0;
    border-radius: 11px;
    background: linear-gradient(180deg, #8fdcff 0%, #61c3f7 100%);
  }
  
  .mac-folder-tab {
    position: absolute;
    top: 4px;
    left: 12px;
    width: 28px;
    height: 14px;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, #b4e8ff 0%, #89d5fb 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
    z-index: 1;
  }
  
  .mac-folder-front {
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    bottom: 0;
    border-radius: 12px;
    background:
      linear-gradient(180deg, #a7e4ff 0%, #78d0fb 28%, #55bff3 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.46),
      inset 0 -10px 16px rgba(0,0,0,0.07);
    z-index: 2;
  }
  
  .mac-folder-front::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 44%);
  }
  
  .mac-folder-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(0,110,190,0.55);
    text-shadow: 0 1px 0 rgba(255,255,255,0.24);
    z-index: 3;
  }
  
  .desktop-folder-label {
    display: inline-block;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 7px;
    color: rgba(248,252,255,0.96);
    font-size: 13px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }
  
  .desktop-folder.selected .desktop-folder-label {
    background: rgba(28, 110, 255, 0.9);
    color: #fff;
  }
  
  /* finder */
  
  .finder-window {
    position: fixed;
    left: 50%;
    top: 54%;
    width: min(760px, 88vw);
    height: min(490px, 66vh);
    transform: translate(-50%, -50%);
    border-radius: 16px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
      linear-gradient(180deg, rgba(29,31,36,0.98), rgba(18,20,25,0.98));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
      0 32px 90px rgba(0,0,0,0.56),
      0 12px 28px rgba(0,0,0,0.36),
      inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(18px) saturate(1.04);
    display: none;
    z-index: 30;
  }
  
  .finder-window.open {
    display: block;
  }
  
  .finder-window.dragging {
    z-index: 39;
  }
  
  .finder-topbar {
    height: 50px;
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    padding: 0 14px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035)),
      linear-gradient(180deg, rgba(72,74,80,0.95), rgba(44,47,54,0.95));
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: grab;
  }
  
  .finder-window.dragging .finder-topbar {
    cursor: grabbing;
  }
  
  .finder-window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .finder-window-btn {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    display: inline-block;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1px 0 rgba(0,0,0,0.28),
      0 1px 2px rgba(0,0,0,0.28);
  }
  
  .finder-window-btn.finder-close {
    background: #ff5f57;
    cursor: pointer;
  }
  
  .finder-window-btn.finder-min {
    background: #febc2e;
  }
  
  .finder-window-btn.finder-max {
    background: #28c840;
  }
  
  .finder-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
  }
  
  .finder-topbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }
  
  .finder-toolbar-button {
    width: 26px;
    height: 24px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    font-family: var(--mono);
    cursor: pointer;
  }
  
  .finder-body {
    display: grid;
    grid-template-columns: 178px 1fr;
    height: calc(100% - 50px);
  }
  
  .finder-sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
      linear-gradient(180deg, rgba(70,72,78,0.88), rgba(54,56,62,0.9));
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 18px 12px;
  }
  
  .finder-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .finder-sidebar-label {
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    margin-bottom: 8px;
    padding: 0 8px;
  }
  
  .finder-sidebar-item {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.8);
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 12px;
  }
  
  .finder-sidebar-item.active {
    background: rgba(255,255,255,0.13);
    color: #fff;
  }
  
  .finder-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  
  .finder-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
  }
  
  .finder-view-controls {
    display: flex;
    gap: 6px;
  }
  
  .finder-view-pill {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
  }
  
  .finder-view-pill.active {
    background: rgba(143,174,255,0.22);
  }
  
  .finder-path {
    color: rgba(255,255,255,0.62);
    font-size: 12px;
  }
  
  .finder-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
    align-content: start;
    gap: 22px 16px;
    padding: 20px;
    overflow: auto;
  }
  
  .finder-doc {
    padding: 8px 6px;
    border-radius: 12px;
    text-align: center;
    user-select: none;
    cursor: default;
  }
  
  .finder-doc.selected {
    background: rgba(170,190,255,0.1);
    box-shadow: inset 0 0 0 1px rgba(170,190,255,0.16);
  }
  
  .finder-doc-icon {
    position: relative;
    width: 54px;
    height: 68px;
    margin: 0 auto 10px;
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,239,248,0.96));
    box-shadow:
      0 8px 16px rgba(0,0,0,0.18),
      inset 0 -10px 16px rgba(70,90,130,0.06);
  }
  
  .finder-doc-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 17px;
    height: 17px;
    background: linear-gradient(135deg, rgba(210,220,236,0.95) 0%, rgba(246,249,253,0.96) 65%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-top-right-radius: 8px;
  }
  
  .finder-doc-lines {
    position: absolute;
    left: 11px;
    right: 11px;
    top: 20px;
    height: 28px;
    background:
      repeating-linear-gradient(
        to bottom,
        rgba(93,120,170,0.55) 0 2px,
        transparent 2px 8px
      );
    opacity: 0.75;
  }
  
  .finder-doc-label {
    display: inline-block;
    max-width: 100%;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(245,248,255,0.9);
    border-radius: 7px;
    word-break: break-word;
  }
  
  .finder-doc.selected .finder-doc-label {
    background: rgba(28, 110, 255, 0.9);
    color: #fff;
  }
  
/* shop page */

.shop-page .screen-effects {
  display: none;
}

.shop-terminal {
  width: min(1180px, 94vw);
  transform: rotateX(1.4deg);
  filter: contrast(1.02) saturate(0.92) brightness(1);
}

.shop-terminal::before {
  opacity: 0.42;
}

.shop-terminal::after {
  opacity: 0.18;
}
  
  .shop-content {
    padding: 30px 24px 34px;
    position: relative;
    z-index: 1;
  
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .tile {
    width: min(760px, 100%);
    min-height: 240px;
    margin: 0 auto;
    padding: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.03),
      0 12px 28px rgba(0,0,0,0.22);
  }
  .tile .cmd {
    position: absolute;
    bottom: 18px;
    left: 18px;
  
    margin: 0; 
  }

  .shop-kicker {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .shop-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  
  .shop-copy {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
    font-size: 13px;
  }
  
  .shop-placeholder-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
  }
  
  .shop-placeholder-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.008));
  }
  
  .shop-placeholder-media {
    min-height: 320px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
    background:
      radial-gradient(circle at 50% 30%, rgba(143,174,255,0.12), transparent 36%),
      linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 10px;
  }
  
  .shop-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  @media (max-width: 1020px) {
    .header-top {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 20px;
      min-height: 0;
    }
  
    .brand,
    .header-actions {
      grid-column: auto;
      justify-self: center;
    }
  
    .header-actions {
      padding-top: 0;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .site-header {
      margin-bottom: 24px;
    }
  }

  @media (max-width: 900px) {
    .desktop-folder,
    .finder-window {
      display: none !important;
    }
  }
  
  @media (max-width: 640px) {
    .page {
      padding-top: 22px;
    }

    .desktop-folder,
    .finder-window {
      display: none !important;
    }
  
    .site-header {
      width: 94vw;
      margin-bottom: 22px;
    }
  
    .header-top {
      gap: 14px;
    }
  
    .brand img {
      width: min(120px, 34vw);
    }
  
    .neversince-badge {
      height: 72px;
      margin-top: 0;
      margin-bottom: 16px; /* tighten overall spacing */
    }
  
    .header-actions {
      gap: 10px;
      flex-direction: column;
    }
  
    .top-link-shop {
      min-height: 38px;
      padding: 9px 14px;
      font-size: 12px;
    }
  
    .terminal {
      width: 94vw;
      transform: none;
    }
  
    .terminal.expanded {
      width: 96vw;
      min-height: calc(100vh - 150px);
    }
  
    .output {
      height: 360px;
      padding: 18px 18px 8px;
    }
  
    .terminal.expanded .output {
      height: calc(100vh - 280px);
    }
  
    .input-row {
      padding: 10px 18px 18px;
    }
  
    .controls,
    .socials,
    .shop-terminal {
      width: 94vw;
    }
  
    .controls.expanded-width,
    .socials.expanded-width {
      width: 96vw;
    }
  
    .shop-content {
      padding: 18px;
    }
  
    .shop-placeholder-grid {
      grid-template-columns: 1fr;
    }
  
    .desktop-folder {
      right: 16px;
      bottom: 18px;
      width: 110px;
    }
  
    .mac-folder-icon {
      width: 86px;
      height: 68px;
    }
  
    .finder-window {
      width: 94vw;
      height: 64vh;
    }
  
    .finder-body {
      grid-template-columns: 1fr;
    }
  
    .finder-sidebar {
      display: none;
    }

    .shop-placeholder-media {
        min-height: 280px;
      }

      .tile {
        width: 100%;
        padding: 18px;
      }
  
    .finder-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 18px 14px;
      padding: 16px;
    }

html,
body {
  width: 100%;
  overflow-x: hidden;
}

}
/* startup overlay */

.startup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.startup-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.startup-video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  background: #000;
}

body.startup-playing {
  overflow: hidden;
}