*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --gold: #ffd166;
  --gold-dim: rgba(255,209,102,0.15);
  --gold-glow: rgba(255,209,102,0.35);
  --dark: #0b1220;
  --darker: #060d18;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.06);
  --text: #d4c9a8;
  --muted: #a09070;
  --warn: #e57373;
  --radius: 14px;
  --font-display: 'Cinzel', serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-ui: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--darker); color: var(--text); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
a { color: var(--gold); text-decoration: none; }
.ls-page { min-height: 100vh; background: radial-gradient(ellipse at 30% 20%, rgba(255,209,102,0.06) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(139,92,246,0.04) 0%, transparent 50%), linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%); padding: 0 0 40px; }
.ls-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.ls-brand { display: flex; align-items: center; gap: 12px; }
.ls-brand img { height: 36px; width: auto; }
.ls-brand-text { display: flex; flex-direction: column; }
.ls-brand-name { font-family: var(--font-display); color: var(--gold); font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.ls-brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.ls-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--muted); font-family: var(--font-ui); }
.ls-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 6px var(--warn); flex-shrink: 0; }
.ls-pill.active .dot { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.ls-pill.active { color: #4ade80; border-color: rgba(74,222,128,0.2); }
.ls-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.ls-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .ls-grid { grid-template-columns: 1fr; } }
.ls-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.ls-title h1 { font-family: var(--font-display); color: var(--gold); font-size: 28px; font-weight: 900; letter-spacing: 2px; text-align: center; }
.ls-subtitle { text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }
.ls-wheel-wrap { position: relative; width: 320px; max-width: 100%; margin: 24px auto; }
.ls-wheel-wrap svg { width: 100%; height: auto; display: block; }
.ls-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 22px solid var(--gold); filter: drop-shadow(0 2px 6px rgba(255,209,102,0.5)); z-index: 5; }
.ls-actions { text-align: center; margin-top: 16px; }
.ls-btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ls-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border: none; border-radius: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; text-transform: uppercase; color: #111; background: linear-gradient(135deg, var(--gold), #f0a830); box-shadow: 0 4px 20px rgba(255,209,102,0.3); }
.ls-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,209,102,0.45); }
.ls-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.ls-btn.secondary { background: rgba(255,255,255,0.06); color: var(--text); box-shadow: none; border: 1px solid rgba(255,255,255,0.1); }
.ls-btn.secondary:hover { background: rgba(255,255,255,0.1); }
.ls-btn a { color: inherit; text-decoration: none; }
.ls-result { margin-top: 16px; font-family: var(--font-display); font-size: 20px; color: var(--gold); font-weight: 700; text-align: center; min-height: 28px; text-shadow: 0 0 12px var(--gold-glow); }
.ls-hint { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; min-height: 18px; }
.ls-rules h2 { font-family: var(--font-display); font-size: 18px; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; }
.ls-rules-sub { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; opacity: 0.85; }
.ls-rules-section { margin-bottom: 16px; }
.ls-rules-label { font-size: 11px; font-weight: 800; color: var(--gold); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--gold-dim); }
.ls-steps { padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.ls-steps li { font-size: 13px; color: var(--text); line-height: 1.5; }
.ls-steps a { color: var(--gold); font-weight: 700; border-bottom: 1px dashed rgba(255,209,102,0.4); }
.ls-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-size: 12px; }
.ls-table th { background: var(--gold-dim); color: var(--gold); font-weight: 800; padding: 6px 10px; text-align: left; font-size: 11px; letter-spacing: 0.5px; }
.ls-table td { padding: 6px 10px; color: var(--text); border-top: 1px solid rgba(255,255,255,0.05); font-weight: 600; }
.ls-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.ls-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ls-badge { background: var(--gold-dim); border: 1px solid rgba(255,209,102,0.25); border-radius: 20px; padding: 3px 10px; font-size: 11px; color: var(--gold); font-weight: 700; }
.ls-tolist { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ls-tolist li { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid var(--gold-dim); border-radius: 6px; padding: 7px 12px; font-size: 12px; }
.ls-tolist li span { color: var(--muted); }
.ls-tolist li strong { color: var(--gold); font-size: 14px; }
.ls-sk { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.ls-sk li { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #c9b88a; line-height: 1.5; }
.ls-sk li::before { content: '•'; color: #b8860b; flex-shrink: 0; }
.ls-sk-warn { color: var(--warn) !important; }
.ls-sk-warn::before { color: var(--warn) !important; }
.ls-note { background: rgba(255,209,102,0.06); border: 1px solid var(--gold-dim); border-radius: 8px; padding: 10px 14px; font-size: 12px; color: var(--text); line-height: 1.5; margin-top: 12px; }
.ls-note strong { color: var(--gold); }
.ls-gate { position: fixed; inset: 0; background: rgba(6,13,24,0.92); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.ls-gate.hidden { display: none; }
.ls-gate-card { background: linear-gradient(145deg, rgba(20,28,45,0.98), rgba(11,18,32,0.98)); border: 1px solid rgba(255,209,102,0.12); border-radius: 16px; padding: 40px 32px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.ls-gate-logo { margin-bottom: 16px; }
.ls-gate-logo img { height: 48px; width: auto; }
.ls-gate-card h2 { font-family: var(--font-display); color: var(--gold); font-size: 22px; margin-bottom: 8px; }
.ls-gate-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.ls-gate-input { width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,209,102,0.2); background: rgba(0,0,0,0.3); color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-align: center; letter-spacing: 2px; outline: none; transition: border-color 0.2s; margin-bottom: 16px; text-transform: uppercase; }
.ls-gate-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.ls-gate-input::placeholder { color: rgba(255,255,255,0.2); letter-spacing: 1px; }
.ls-gate-actions { display: flex; gap: 10px; justify-content: center; }
.ls-gate-msg { margin-top: 12px; font-size: 12px; min-height: 20px; color: var(--warn); font-weight: 600; line-height: 1.5; text-align: center; max-width: 100%; }
#wheelSlices { transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99); transform-origin: 175px 175px; }
@media (max-width: 600px) { .ls-topbar { padding: 10px 14px; flex-wrap: wrap; gap: 8px; } .ls-card { padding: 20px 16px; } .ls-title h1 { font-size: 22px; } .ls-wheel-wrap { width: 280px; } .ls-gate-card { padding: 28px 20px; } .ls-pill { font-size: 11px; padding: 4px 10px; } }
