/* ============================================================
   PuzzleBlitz — Design System
   Colors: Deep navy bg, electric violet primary, neon lime accent
   Fonts: Nunito (display/UI) + Space Grotesk (labels/data)
   ============================================================ */

:root {
  --bg: #0d0f1a;
  --bg2: #131629;
  --bg3: #1a1f35;
  --surface: #1e2440;
  --surface2: #252b4a;
  --border: #2e3659;

  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --accent: #00d2ff;
  --accent2: #b8ff57;
  --danger: #ff6b6b;
  --success: #00cec9;
  --warning: #fdcb6e;

  --text: #e8eaf6;
  --text-muted: #7b82a8;
  --text-dim: #4a5180;

  --timer-color: var(--accent);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --glow: 0 0 20px rgba(108,92,231,0.3);

  --font-display: 'Nunito', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- PARTICLES ---- */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0.15;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(13,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 28px; }
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--text); }
.logo-accent { color: var(--primary-light); }
.site-nav { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 18px; border-radius: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { background: var(--surface); color: var(--text); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  cursor: pointer; border: none; text-decoration: none;
  transition: all 0.2s; user-select: none;
}
.btn-lg { padding: 14px 28px; font-size: 16px; width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff; box-shadow: 0 4px 20px rgba(108,92,231,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,92,231,0.5); }
.btn-secondary {
  background: linear-gradient(135deg, #0d7377, var(--accent));
  color: #fff; box-shadow: 0 4px 20px rgba(0,210,255,0.3);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,210,255,0.4); }
.btn-accent {
  background: linear-gradient(135deg, #e17055, #fd79a8);
  color: #fff; box-shadow: 0 4px 20px rgba(225,112,85,0.35);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-arrow { font-size: 18px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---- INPUTS ---- */
.input-code, .input-nick, input[type="text"], input[type="number"], input[type="password"], textarea, select {
  width: 100%; padding: 12px 16px;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-code { text-transform: uppercase; letter-spacing: 4px; font-size: 20px; text-align: center; }
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.2);
}
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b82a8' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }
.form-error { color: var(--danger); font-size: 13px; font-weight: 600; margin-top: 8px; padding: 8px 12px; background: rgba(255,107,107,0.1); border-radius: 8px; }
.hidden { display: none !important; }

/* ---- HOMEPAGE ---- */
.home-main { padding-top: 80px; position: relative; z-index: 1; }

.hero {
  text-align: center; padding: 80px 24px 60px;
  max-width: 1200px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 16px;
  background: rgba(108,92,231,0.2); border: 1px solid rgba(108,92,231,0.4);
  border-radius: 100px; font-size: 13px; font-weight: 700;
  color: var(--primary-light); margin-bottom: 24px; letter-spacing: 0.05em;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(48px, 7vw, 90px);
  font-weight: 900; line-height: 1.05; color: var(--text);
  margin-bottom: 20px;
}
.hero-accent {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted); max-width: 600px;
  margin: 0 auto 48px; line-height: 1.7;
}

/* ---- ACTION CARDS ---- */
.action-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.action-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--glow); }
.card-center { border-color: rgba(0,210,255,0.3); background: linear-gradient(135deg, var(--surface), rgba(0,210,255,0.05)); }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.action-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.action-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.card-form { display: flex; flex-direction: column; gap: 12px; }

/* ---- GAME TYPES ---- */
.game-types { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display); font-size: 32px; font-weight: 900;
  text-align: center; margin-bottom: 40px;
}
.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.type-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: all 0.2s;
}
.type-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.type-icon { font-size: 32px; margin-bottom: 12px; }
.type-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.type-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.type-example {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  background: var(--bg3); border-radius: 8px; padding: 8px 12px;
  color: var(--accent2);
}

/* ---- HOW IT WORKS ---- */
.how-it-works { padding: 60px 24px 80px; max-width: 1000px; margin: 0 auto; text-align: center; }
.steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; max-width: 180px; text-align: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 900;
  margin: 0 auto 12px;
}
.step p { font-size: 13px; color: var(--text-muted); }
.step-arrow { font-size: 24px; color: var(--text-dim); }

/* ---- FOOTER ---- */
.site-footer { text-align: center; padding: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }

/* ============================================================
   HOST PAGE
   ============================================================ */
.host-page { padding-top: 80px; max-width: 1100px; margin: 0 auto; padding: 100px 24px 60px; }
.host-page h1 { font-family: var(--font-display); font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.host-page .subtitle { color: var(--text-muted); margin-bottom: 40px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.panel h2 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

/* Question list */
.question-list { display: flex; flex-direction: column; gap: 10px; max-height: 500px; overflow-y: auto; }
.question-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; cursor: grab;
}
.q-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.q-info { flex: 1; overflow: hidden; }
.q-type { font-size: 10px; font-weight: 700; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.08em; }
.q-text { font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.q-timer { font-size: 11px; color: var(--text-dim); }
.q-delete { background: none; border: none; cursor: pointer; color: var(--text-dim); font-size: 18px; padding: 4px; transition: color 0.2s; }
.q-delete:hover { color: var(--danger); }

.question-type-select { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.type-btn {
  padding: 10px 8px; border: 1.5px solid var(--border); background: var(--bg3);
  border-radius: 8px; cursor: pointer; text-align: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--text-muted);
  transition: all 0.2s;
}
.type-btn:hover { border-color: var(--primary); color: var(--text); }
.type-btn.active { border-color: var(--primary); background: rgba(108,92,231,0.15); color: var(--primary-light); }
.type-btn .t-icon { font-size: 20px; display: block; margin-bottom: 4px; }

.options-area { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.option-row { display: flex; gap: 8px; align-items: center; }
.option-row input { flex: 1; }
.option-row .correct-radio { cursor: pointer; }
.option-label { font-size: 12px; font-weight: 700; width: 20px; color: var(--text-muted); }

/* Game code display */
.game-code-display {
  text-align: center; padding: 24px;
  background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(0,210,255,0.1));
  border: 2px solid rgba(108,92,231,0.3);
  border-radius: var(--radius); margin-bottom: 20px;
}
.code-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.code-value { font-family: var(--font-display); font-size: 48px; font-weight: 900; color: var(--accent2); letter-spacing: 8px; }
.code-url { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* Player lobby list */
.player-lobby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 60px; }
.player-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  background: var(--surface2); border: 1px solid var(--border);
  animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.player-avatar { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.player-count { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ============================================================
   GAME PLAY PAGE
   ============================================================ */
.game-page { padding-top: 60px; }

/* Waiting room */
.waiting-room {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px; text-align: center;
}
.waiting-room .big-code {
  font-family: var(--font-display); font-size: clamp(64px,15vw,120px); font-weight: 900;
  color: var(--accent2); letter-spacing: 10px; line-height: 1;
  text-shadow: 0 0 60px rgba(184,255,87,0.3);
  margin: 20px 0;
}
.waiting-room .game-title { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text-muted); }
.pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--success); display: inline-block; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }

/* Question area */
.question-area {
  min-height: 100vh; display: flex; flex-direction: column;
  max-width: 900px; margin: 0 auto; padding: 20px 24px 40px;
}
.question-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.q-progress { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.q-score { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--accent2); }

/* Timer */
.timer-wrap { text-align: center; margin-bottom: 24px; }
.timer-ring { position: relative; display: inline-block; }
.timer-ring svg { transform: rotate(-90deg); }
.timer-ring-bg { fill: none; stroke: var(--bg3); stroke-width: 8; }
.timer-ring-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke 0.5s; }
.timer-number {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 36px; font-weight: 900;
}
.timer-label { font-size: 11px; color: var(--text-muted); }

/* Question card */
.question-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-bottom: 24px;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.q-type-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
  background: rgba(108,92,231,0.2); color: var(--primary-light); border: 1px solid rgba(108,92,231,0.3);
}
.question-text {
  font-family: var(--font-display); font-size: clamp(18px, 3vw, 26px); font-weight: 800;
  color: var(--text); line-height: 1.4;
}

/* Shape canvas */
.shape-canvas {
  background: var(--bg3); border-radius: var(--radius-sm);
  margin: 20px 0; padding: 20px; text-align: center;
}
.shape-canvas canvas { max-width: 100%; }

/* Answer options grid */
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .options-grid { grid-template-columns: 1fr; } }
.option-btn {
  padding: 18px 20px; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid var(--border); background: var(--surface);
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  color: var(--text); text-align: left; transition: all 0.15s;
  display: flex; align-items: center; gap: 12px;
}
.option-btn:hover:not(:disabled) { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(108,92,231,0.2); }
.option-btn.selected { border-color: var(--primary); background: rgba(108,92,231,0.15); }
.option-btn.correct { border-color: var(--success); background: rgba(0,206,201,0.15); }
.option-btn.wrong { border-color: var(--danger); background: rgba(255,107,107,0.1); }
.option-letter {
  width: 32px; height: 32px; border-radius: 8px; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex-shrink: 0;
}
.opt-colors { background: linear-gradient(135deg,#6c5ce7,#a855f7); }

/* Word input */
.word-input-area { display: flex; flex-direction: column; gap: 12px; }
.word-input-area input { font-size: 22px; font-weight: 800; text-align: center; letter-spacing: 4px; text-transform: uppercase; }

/* Answer feedback */
.answer-feedback {
  padding: 20px; border-radius: var(--radius); text-align: center;
  margin-top: 16px; animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.feedback-correct { background: rgba(0,206,201,0.15); border: 2px solid var(--success); }
.feedback-wrong { background: rgba(255,107,107,0.1); border: 2px solid var(--danger); }
.feedback-icon { font-size: 40px; margin-bottom: 8px; }
.feedback-title { font-family: var(--font-display); font-size: 22px; font-weight: 900; }
.feedback-points { font-size: 32px; font-weight: 900; color: var(--accent2); }
.feedback-explanation { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* Leaderboard sidebar */
.game-layout { display: flex; gap: 20px; }
.game-main { flex: 1; }
.game-sidebar {
  width: 260px; flex-shrink: 0;
}
@media (max-width: 900px) {
  .game-layout { flex-direction: column; }
  .game-sidebar { width: 100%; }
}
.leaderboard-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; position: sticky; top: 20px;
}
.leaderboard-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.lb-list { display: flex; flex-direction: column; gap: 8px; }
.lb-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 8px; background: var(--bg3); transition: all 0.3s;
}
.lb-rank { width: 20px; font-size: 12px; font-weight: 800; color: var(--text-muted); text-align: center; }
.lb-rank.top { font-size: 18px; }
.lb-name { flex: 1; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-score { font-family: var(--font-display); font-size: 14px; font-weight: 900; color: var(--accent2); }
.lb-streak { font-size: 12px; }

/* Host control bar */
.host-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 16px;
  z-index: 50;
}
.answer-progress {
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  background: var(--surface); padding: 8px 16px; border-radius: 100px;
}

/* Results page */
.results-page {
  max-width: 700px; margin: 0 auto; padding: 100px 24px 60px;
  text-align: center;
}
.results-page h1 { font-family: var(--font-display); font-size: 48px; font-weight: 900; margin-bottom: 8px; }
.results-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 40px 0; }
.podium-item { text-align: center; }
.podium-col {
  width: 90px; background: var(--surface);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
  border: 1px solid var(--border); border-bottom: none;
}
.podium-1 { height: 120px; background: linear-gradient(to top, rgba(253,203,110,0.2), var(--surface)); border-color: var(--warning); }
.podium-2 { height: 90px; }
.podium-3 { height: 70px; }
.podium-medal { font-size: 28px; }
.podium-name { font-family: var(--font-display); font-size: 13px; font-weight: 800; margin-top: 8px; }
.podium-score { font-size: 12px; color: var(--text-muted); }
.results-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 24px; }
.results-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 8px 12px; border-bottom: 1px solid var(--border); }
.results-table td { padding: 12px; border-bottom: 1px solid rgba(46,54,89,0.5); font-size: 14px; }
.results-table tr:first-child td { font-weight: 800; }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface2); font-weight: 800; font-size: 13px; }

/* Host dashboard question view */
.host-q-view {
  display: flex; flex-direction: column; align-items: center; padding: 20px 24px 100px;
  max-width: 1100px; margin: 0 auto;
}
.big-question-text {
  font-family: var(--font-display); font-size: clamp(22px,4vw,40px); font-weight: 900;
  text-align: center; max-width: 800px; line-height: 1.3; margin: 20px 0;
}
.host-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 800px; margin-top: 16px; }
.host-option {
  padding: 20px; border-radius: var(--radius); font-family: var(--font-display); font-size: 18px; font-weight: 800;
  text-align: center; border: none; cursor: default;
}
.host-opt-0 { background: rgba(108,92,231,0.3); }
.host-opt-1 { background: rgba(236,72,153,0.3); }
.host-opt-2 { background: rgba(245,158,11,0.3); }
.host-opt-3 { background: rgba(16,185,129,0.3); }

/* Loading spinner */
.spinner {
  width: 40px; height: 40px; border: 4px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notification */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 14px; font-weight: 600; max-width: 300px;
  animation: slideInRight 0.3s ease; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
}
.toast-success { border-color: var(--success); }
.toast-error { border-color: var(--danger); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Responsive */
@media (max-width: 600px) {
  .site-header { padding: 12px 16px; }
  .hero { padding: 60px 16px 40px; }
  .action-cards { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .host-options-grid { grid-template-columns: 1fr; }
}
