:root {
  --primary: #4ECDC4;
  --bg: #000a18;
  --text: #88aacc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { overflow: hidden; background: #000; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

[hidden] { display: none !important; }

#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  padding: 0 32px; text-align: center;
}
#splash-logo img { max-width: 140px; max-height: 80px; object-fit: contain; }
#splash h1 { color: var(--primary); font-size: 26px; }
#splash p  { color: var(--text); font-size: 14px; line-height: 1.5; }
#splash button {
  background: var(--primary); color: #000; font-size: 18px;
  font-weight: bold; padding: 18px 40px;
  border: none; border-radius: 12px; cursor: pointer;
}
#splash button:disabled { opacity: 0.5; }
#splash-note { font-size: 12px; opacity: 0.7; }

#hint {
  position: fixed; bottom: 88px;
  left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 14px; white-space: nowrap;
  padding: 10px 20px; border-radius: 24px;
  z-index: 100; pointer-events: none;
  border: 1px solid var(--primary);
}

#cta-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 100;
  max-width: 100vw; padding: 0 12px;
}
#cta-bar a {
  background: var(--primary); color: #000;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 12px 18px; border-radius: 24px;
  white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

#error-panel {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 0 32px; text-align: center;
}
#error-panel h2 { color: #ff6b6b; font-size: 20px; }
#error-panel p { color: var(--text); font-size: 14px; line-height: 1.6; }
#error-panel button {
  background: var(--primary); color: #000; font-size: 16px;
  font-weight: bold; padding: 14px 32px;
  border: none; border-radius: 12px; cursor: pointer;
}
