* { box-sizing: border-box; }
body, html { margin: 0; padding: 0; font-family: 'Segoe UI', Arial, sans-serif; background: #120d1f; color: #f5f1ff; }
a { color: #fbbf24; }
.hidden { display: none !important; }
.muted { color: #b3a6cf; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: #0a0714; position: sticky; top: 0; z-index: 10; border-bottom: 2px solid #2a1f45; }
.logo { font-size: 23px; font-weight: 800; color: #fbbf24; text-decoration: none; letter-spacing: .02em; }
.nav-controls { display: flex; align-items: center; gap: 10px; }

.btn, button.play-btn { background: #fbbf24; color: #1a1030; border: none; padding: 10px 18px; font-weight: 700; border-radius: 8px; cursor: pointer; font-size: 14px; }
.btn:hover { background: #f59e0b; }
.btn-ghost { background: transparent; color: #f5f1ff; border: 1px solid #4a3a6e; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-ghost:hover { background: #241a3b; }
.btn.wide, .btn-ghost.wide { width: 100%; margin-top: 8px; }

.hero { position: relative; height: 80vh; min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(180deg, #1e1b4b 0%, #4c1d95 45%, #9d174d 70%, #1c1917 70%, #292524 100%); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; background: rgba(10, 7, 20, .55); padding: 30px 40px; border-radius: 16px; backdrop-filter: blur(3px); max-width: 760px; margin: 0 16px; }
.kirmes-sign { font-size: clamp(40px, 8.5vw, 92px); font-weight: 900; color: #fff7d6; letter-spacing: 5px; line-height: 1; text-shadow: 0 0 12px #fbbf24, 0 0 28px #f97316, 4px 4px 0 #7c2d12; }
.kirmes-sign span { display: block; font-size: .42em; letter-spacing: .6em; color: #fbbf24; text-shadow: 0 0 10px #f472b6; margin-top: 8px; padding-left: .6em; }
.subtitle { font-size: 19px; margin: 16px 0 24px; line-height: 1.45; }
button.play-btn { font-size: 20px; padding: 14px 36px; box-shadow: 0 6px 0 #b45309; }
button.play-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #b45309; }
.hero-stats { margin: 18px 0 0; font-size: 14px; color: #e9d5ff; min-height: 1em; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; max-width: 1100px; margin: 50px auto; padding: 0 20px; }
.feature { background: #1d1530; border-radius: 12px; padding: 22px; border-top: 4px solid #fbbf24; }
.feature:nth-child(2) { border-top-color: #f472b6; }
.feature:nth-child(3) { border-top-color: #38bdf8; }
.feature:nth-child(4) { border-top-color: #4ade80; }
.feature h3 { margin: 8px 0; }
.feature p { color: #d6cbe9; line-height: 1.5; margin: 0; }
.f-icon { font-size: 34px; }

.board-wrap { max-width: 760px; margin: 0 auto 60px; padding: 0 20px; }
.board-wrap h2 { text-align: center; }
.board { width: 100%; border-collapse: collapse; background: #1d1530; border-radius: 12px; overflow: hidden; }
.board td, .board th { padding: 10px 14px; border-bottom: 1px solid #2a1f45; text-align: left; }
.board td.num { text-align: right; font-variant-numeric: tabular-nums; }

.footer { display: flex; gap: 22px; justify-content: center; padding: 26px; background: #0a0714; font-size: 14px; flex-wrap: wrap; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-box { background: #1d1530; padding: 26px; border-radius: 14px; width: 100%; max-width: 380px; border: 1px solid #3b2d5c; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tab { flex: 1; background: transparent; border: 1px solid #4a3a6e; color: #f5f1ff; padding: 9px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.tab.active { background: #fbbf24; color: #1a1030; border-color: #fbbf24; }
.modal-box input[type=email], .modal-box input[type=password], .modal-box input[type=text] { width: 100%; padding: 11px; margin: 6px 0; border-radius: 8px; border: 1px solid #4a3a6e; background: #120d1f; color: #fff; font-size: 15px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 8px 0; color: #d6cbe9; }
.msg { display: none; background: #7f1d1d; color: #fff; padding: 9px 12px; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
