/* ==========================================================================
   WORDBLAST ARENA — ESTILOS MODERNOS Y RESPONSIVOS (TIKTOK LIVE READY)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;800;900&family=Nunito:wght@700;900&display=swap');

:root {
  --bg-dark: #070714;
  --bg-gradient: radial-gradient(circle at 50% 20%, #171738 0%, #080816 70%, #030308 100%);
  --neon-cyan: #00f0ff;
  --neon-pink: #ff2a85;
  --neon-yellow: #ffd60a;
  --neon-green: #22c55e;
  --neon-red: #ff3344;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  background-image: var(--bg-gradient);
  font-family: var(--font-body);
  user-select: none;
  -webkit-user-select: none;
  color: #fff;
}

#game-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: #0a0a1a;
}

#game-canvas {
  display: block;
  border-radius: 20px;
  background: #0a0a1a;
  box-shadow:
    0 0 60px rgba(110, 70, 255, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 40px rgba(0, 0, 0, 0.6);
  touch-action: none;
  max-height: 100vh;
  max-height: 100dvh;
  max-width: 100vw;
  object-fit: contain;
}

/* Móvil portrait: canvas al filo, sin marco redondeado que recorte área */
@media (max-width: 520px) {
  #game-canvas {
    border-radius: 12px;
    box-shadow:
      0 0 30px rgba(110, 70, 255, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.06),
      inset 0 0 40px rgba(0, 0, 0, 0.6);
  }
}


