* {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    background:
      radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 30%),
      radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 30%),
      #0b1020;
    color: #f8fafc;
  }
  
  button,
  a {
    font: inherit;
  }

  .page {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 40px;
  }

  .hero {
    max-width: 760px;
    margin-bottom: 48px;
  }
  
  .eyebrow,
  .game-label {
    margin: 0 0 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
  }
  
  h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
  
  .intro {
    margin: 28px 0 0;
    max-width: 620px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .game-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  }
  
  .game-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  
  h2 {
    margin: 0;
    font-size: 2rem;
  }
  
  .stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .stats span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
  }
  
  .game-description {
    color: #94a3b8;
    line-height: 1.6;
  }
  
  .start-button {
    margin: 10px 0 22px;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  
  .start-button:hover {
    transform: translateY(-2px);
  }
  
  .start-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
  }
  
  .game-area {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
      #080d19;
    background-size: 32px 32px;
  }
  
  .game-message {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #64748b;
    font-size: 1.1rem;
    text-align: center;
    padding: 30px;
  }
  
  .target {
    position: absolute;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 1.8rem;
    cursor: pointer;
    animation: pop 0.16s ease-out;
  }
  
  .target:hover {
    transform: scale(1.08);
  }
  
  @keyframes pop {
    from {
      transform: scale(0.5);
      opacity: 0;
    }
  
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    color: #64748b;
    font-size: 0.9rem;
  }
  
  .footer-links {
    display: flex;
    gap: 18px;
  }
  
  .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  @media (max-width: 700px) {
    .page {
      width: calc(100% - 32px);
      padding-top: 48px;
    }
  
    h1 {
      font-size: 2.5rem;
    }
  
    .game-header,
    footer {
      flex-direction: column;
    }
  
    .game-area {
      min-height: 360px;
    }
  }
  .footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .footer-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease,
      background 0.2s ease;
  }
  
  .footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
  }
  
  .footer-links svg {
    width: 21px;
    height: 21px;
  }

  .game-message {
    pointer-events: none;
  }