* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface2: #334155;
  --accent: #facc15;
  --accent2: #a78bfa;
  --green: #4ade80;
  --red: #f87171;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

h1, h2, h3 { font-weight: 700; }

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.hidden { display: none !important; }

/* LOGO */
.logo {
  text-align: center;
  padding: 16px 0 8px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* LANGUAGE TOGGLE */
.lang-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.lang-btn {
  padding: 4px 8px;
  border: 1px solid var(--surface2);
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* TOAST */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 200;
  animation: toastIn 0.3s ease-out;
}

@keyframes toastIn {
  0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 24px 16px 16px;
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}