@font-face {
    font-family: "Vatsal-logo";
    src: url("../../assets/data/vatsal-logo-font.woff2") format("woff2");
    font-display: swap;
}
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

 body {
      overflow: hidden;
      font-family: system-ui, -apple-system, sans-serif;
      background: #000;
      color: #fff;
      display: flex;
      flex-direction: column;
      touch-action: none;
      overscroll-behavior: none;
    }

   #canvas {
      display: block;
      cursor: crosshair;
      touch-action: none;
      flex: 1;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
    }

    .controls {
      position: absolute;
      top: 15px;
      right: 20px;
      display: flex;
      z-index: 25;
    }

   button {
      padding: 6px 16px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 20px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      transition: all 0.2s;
      backdrop-filter: blur(6px);
    }

    button:hover {
      background: #fff;
      color: #000;
    }

    .instructions {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      pointer-events: none;
      z-index: 5;
    }

    .instructions h1 {
      font-size: 48px;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .instructions p {
      font-size: 18px;
      opacity: 0.7;
    }

    .instructions .stats {
      font-size: 14px;
      margin-top: 10px;
      opacity: 0.5;
    }

    .try-again {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    .try-again button {
      padding: 16px 32px;
      font-size: 16px;
      background: #fff;
      color: #000;
      border: none;
    }

    .try-again button:hover {
      background: #e0e0e0;
    }

    .hidden {
      display: none;
    }

/* vatsal header — overlay on canvas, no margin/padding */
.vatsal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    margin: 0;
    padding: 10px 16px;
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
}

.vatsal-home {
    font-family: "Vatsal-logo" !important;
    color: #ffffff !important;
    pointer-events: all;
    text-decoration: none;
}

/* canvas vignette */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 120px rgba(255,255,255,0.04);
    border-radius: 0;
}