/* Ellos Pool – shared styles */
:root {
  --bg: #0a0b0a; --ink: #f4ead2; --muted: #b9ad92; --gold: #ffcf4a; --gold2: #e2a522;
  --pink: #ff3fa4; --cyan: #38e8ff; --felt: #1f7a3e; --wood: #5b2a10; --panel: rgba(18, 16, 13, .86);
  --line: rgba(255, 220, 160, .14); --red: #ff5a4f; --green: #39d98a;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
a { color: var(--gold); }
h1, h2, h3 { font-family: Oswald, Impact, 'Arial Narrow', sans-serif; letter-spacing: .02em; font-weight: 600; margin: 0 0 .4em; }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* buttons */
.btn { appearance: none; border: 1px solid var(--line); background: linear-gradient(#2b2620, #1a1612); color: var(--ink); font: 600 16px/1 Inter, system-ui, sans-serif; padding: 14px 18px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .08s, filter .15s, box-shadow .15s; user-select: none; }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.gold { background: linear-gradient(#ffe08a, #f2b632 55%, #d38f15); color: #2a1803; border-color: #ffd770; box-shadow: 0 6px 24px rgba(255, 190, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.felt { background: linear-gradient(#2a8a4b, #176334); border-color: #3cae68; color: #fff; }
.btn.neon { background: transparent; border: 2px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 14px rgba(56, 232, 255, .35), inset 0 0 12px rgba(56, 232, 255, .2); text-shadow: 0 0 8px rgba(56, 232, 255, .8); }
.btn.pink { background: transparent; border: 2px solid var(--pink); color: #ffd0ea; box-shadow: 0 0 14px rgba(255, 63, 164, .35), inset 0 0 12px rgba(255, 63, 164, .2); }
.btn.ghost { background: transparent; }
.btn.small { padding: 9px 12px; font-size: 14px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; pointer-events: none; }
input, select { font: 16px Inter, system-ui, sans-serif; background: #15120e; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 6px; }

/* neon sign */
.neon-sign { font-family: Monoton, Oswald, sans-serif; font-weight: 400; line-height: 1; letter-spacing: .04em; margin: 0; }
.neon-sign .n1 { color: #ffe2f2; text-shadow: 0 0 4px #fff, 0 0 10px var(--pink), 0 0 22px var(--pink), 0 0 44px var(--pink), 0 0 80px #ff007b; animation: flick 7s infinite; }
.neon-sign .n2 { color: #e0fbff; text-shadow: 0 0 4px #fff, 0 0 10px var(--cyan), 0 0 22px var(--cyan), 0 0 44px var(--cyan), 0 0 80px #00b7ff; }
@keyframes flick { 0%, 19%, 21%, 62%, 64%, 66%, 100% { opacity: 1 } 20%, 63%, 65% { opacity: .35 } }

/* ball icons */
.bi { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset -2px -3px 5px rgba(0, 0, 0, .45), 0 1px 2px rgba(0, 0, 0, .6); vertical-align: middle; flex: none; }
.bi i { font: 700 9px/1 Arial, sans-serif; font-style: normal; color: #111; background: #f6f1e4; border-radius: 50%; width: 11px; height: 11px; display: grid; place-items: center; }
.bi.gone { opacity: .18; filter: grayscale(.6); }

/* toast */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: #1d1a15; border: 1px solid var(--gold); color: var(--ink); padding: 12px 18px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 99; pointer-events: none; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* invite sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); display: grid; align-items: end; justify-items: center; z-index: 80; opacity: 0; transition: .25s; }
.sheet-bg.open { opacity: 1; }
.sheet { position: relative; width: min(520px, 100%); background: linear-gradient(#211c16, #14110d); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(40px); transition: .25s; box-shadow: 0 -20px 60px rgba(0,0,0,.5); max-height: 92vh; overflow: auto; }
.sheet-bg.open .sheet { transform: none; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; border-bottom: 1px solid var(--line); } }
.sheet h3 { font-size: 24px; color: var(--gold); padding-right: 30px; }
.sheet-x { position: absolute; right: 14px; top: 14px; background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 6px; }
.inv-row { display: flex; gap: 16px; align-items: center; margin: 14px 0 16px; }
.inv-qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.inv-code span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.inv-code b { display: block; font: 600 46px/1.05 Oswald, sans-serif; letter-spacing: .12em; color: var(--ink); }
.inv-code small { color: var(--muted); word-break: break-all; }
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.inv-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--line); background: #1b1712; color: var(--ink); text-decoration: none; font-size: 12px; cursor: pointer; font-family: inherit; }
.inv-btn svg { width: 26px; height: 26px; }
.inv-btn.whatsapp svg { color: #25d366; } .inv-btn.facebook svg { color: #1877f2; } .inv-btn.messenger svg { color: #a334fa; }
.inv-btn.x svg { color: #fff; } .inv-btn.telegram svg { color: #2aabee; } .inv-btn.sms svg { color: #6ee36e; } .inv-btn.email svg { color: #ffb84a; } .inv-btn.copy svg { color: var(--gold); }

/* panels and modals */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.seg { display: flex; gap: 6px; background: #120f0c; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { flex: 1; background: none; border: 0; color: var(--muted); font: 600 14px Inter, sans-serif; padding: 10px 6px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--gold); color: #2a1803; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 -4px 8px rgba(0,0,0,.4); }
.swatches button.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 207, 74, .3), inset 0 -4px 8px rgba(0,0,0,.4); }
