/* GOLDEN LAGOON — sister brand of Royal Reef. Same lobby code, its own look: a neon night lagoon in the style of the
 * approved logo (hot pink + cyan neon tubes, warm gold letters, deep indigo night). Loaded after lobby.css. */
:root {
  --gl-pink: #ff4fd8; --gl-cyan: #3ff3ff; --gl-teal: #2ff0d8; --gl-gold: #ffc94a; --gl-gold2: #ffe7a6;
  --gl-night: #12062e; --gl-night2: #1d0b45;
  --gold: #ffc94a; --gold2: #ffe7a6; --gold3: #c7860f; --teal: #3ff3ff; --teal2: #9ffbff;
  --ink: #f4ecff; --mute: #b9a8dc; --line: rgba(255,79,216,.22);
}
body { background: var(--gl-night) }
#lobby, #login { font-family: Manrope, system-ui, sans-serif }

/* ---- the scene: neon night lagoon, twinkling stars, no underwater bubbles / light rays ---- */
.sea { background: var(--gl-night) url(img/gl/lobby-bg.webp) center 62% / cover no-repeat }
.sea::before { background: radial-gradient(58% 46% at 50% 44%, rgba(14,4,36,.55), transparent 72%) }
.bub, .ray { display: none }
.star { background: #fff; box-shadow: 0 0 6px var(--gl-cyan), 0 0 12px var(--gl-pink) }
.s2, .s5 { box-shadow: 0 0 6px var(--gl-pink), 0 0 12px var(--gl-pink) }

/* ---- logo: the neon sign hums now and then like a real tube sign ---- */
.logo img { filter: none !important; animation: glhum 7s linear infinite }
@keyframes glhum { 0%, 91%, 100% { opacity: 1 } 92% { opacity: .55 } 93% { opacity: 1 } 95% { opacity: .75 } 96% { opacity: 1 } }

/* ---- player block ---- */
.avatar .ring { display: none }
.avatar::after { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 3px solid var(--gl-cyan); box-shadow: 0 0 8px var(--gl-cyan), 0 0 18px rgba(63,243,255,.55), inset 0 0 8px rgba(63,243,255,.6); pointer-events: none; z-index: 2 }
.avatar .face { inset: 12%; width: 76%; height: 76% }
.gid { font-family: Oswald, Manrope, sans-serif !important; font-weight: 600 !important; letter-spacing: .1em !important; color: var(--gl-gold2) !important; text-shadow: 0 0 6px rgba(255,185,58,.85), 0 0 14px rgba(255,150,30,.5), 0 1px 2px #000 !important }
.balance { background: linear-gradient(180deg, rgba(30,10,64,.92), rgba(14,4,36,.95)) !important; border: 2px solid var(--gl-pink) !important; box-shadow: 0 0 8px rgba(255,79,216,.75), 0 0 20px rgba(255,79,216,.35), inset 0 0 12px rgba(255,79,216,.25) !important }
.balance b { color: var(--gl-gold2) !important; text-shadow: 0 0 8px rgba(255,185,58,.9) !important; font-family: Oswald, Manrope, sans-serif; font-weight: 600 !important; letter-spacing: .04em }
.balance .coin { width: 30px; height: 30px; margin: 0 0 0 -2px; filter: none }
.balance.held { border-color: var(--gl-cyan) !important } .balance.held b { color: var(--gl-cyan) !important }
.balance .coline { background: rgba(20,6,46,.94); border-color: rgba(255,79,216,.6); color: var(--gl-gold2) }
.menubtn { filter: none !important }
.menu { background: linear-gradient(180deg, #24104f, #14062f) !important; border: 1.5px solid var(--gl-pink) !important; box-shadow: 0 0 14px rgba(255,79,216,.45), 0 20px 50px rgba(0,0,0,.7) !important }
.menu button:hover { background: rgba(63,243,255,.1) }

/* ---- category rail: dark glass with a cyan neon tube, the chosen one lights up pink ---- */
.rail { background: linear-gradient(180deg, rgba(36,12,78,.86), rgba(16,5,40,.9)) !important; border: 2px solid var(--gl-cyan) !important; box-shadow: 0 0 10px rgba(63,243,255,.6), 0 0 26px rgba(63,243,255,.25), inset 0 0 14px rgba(63,243,255,.18), 0 10px 28px rgba(0,0,0,.55) !important }
.rail button { font-family: Oswald, Manrope, sans-serif !important; font-weight: 600 !important; letter-spacing: .1em !important; color: #e9ddff !important; text-shadow: 0 1px 2px #000 !important }
.rail button img { filter: none !important; width: 42px !important; height: 42px !important }
.rail button.on { background: radial-gradient(circle at 50% 45%, rgba(255,79,216,.32), rgba(28,8,60,.95) 72%) !important; color: #fff !important; text-shadow: 0 0 8px var(--gl-pink), 0 0 16px rgba(255,79,216,.6) !important; box-shadow: 0 0 0 1.5px var(--gl-pink), 0 0 14px rgba(255,79,216,.65), inset 0 0 12px rgba(255,79,216,.35) !important }

/* ---- game tiles: the picture inside a glowing neon tube (pink outer + cyan inner, like the logo's frame) ---- */
.tile { --fx: 3.2%; --fy: 4%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.55)) }
.tile .frame { display: none }
.tile .inner { border-radius: 14px; background: rgba(16,5,40,.75); box-shadow: 0 0 0 2px var(--gl-pink), 0 0 10px 1px rgba(255,79,216,.7), inset 0 0 0 2px rgba(18,6,46,1), inset 0 0 0 4px var(--gl-cyan), inset 0 0 14px rgba(63,243,255,.55) }
.tile .pic { border-radius: 9px; background: #12062e }
.tile:hover { filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(255,79,216,.6)) }
.tile .pic img.ribbon { filter: none; top: 9px; left: -30px; width: 108px }
.tile .heart { filter: none !important }
.tile .heart.on { filter: drop-shadow(0 0 6px rgba(255,79,216,.8)) !important }

/* ---- arrows / page dots ---- */
.arrow img { filter: none !important; animation: glbeat 1.6s ease-in-out infinite }
@keyframes glbeat { 50% { transform: translateX(3px); opacity: .8 } }
.arrow.left img { transform: scaleX(-1) } .arrow.left img { animation-name: glbeatl }
@keyframes glbeatl { 0%, 100% { transform: scaleX(-1) } 50% { transform: scaleX(-1) translateX(3px); opacity: .8 } }
.dots i { background: rgba(255,79,216,.35) } .dots i.on { background: var(--gl-cyan); box-shadow: 0 0 8px var(--gl-cyan) }

/* ---- bottom strip: share + a real neon JACKPOT sign (the figure is the engine's real jackpot) ---- */
.sbtn { font-family: Oswald, Manrope, sans-serif !important; font-weight: 600 !important; letter-spacing: .12em !important; color: var(--gl-cyan) !important; text-shadow: 0 0 8px rgba(63,243,255,.8), 0 1px 2px #000 !important }
.ico { filter: none }
.jackpot { height: auto !important; margin-bottom: 2px !important; padding: 6px 30px 8px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: none; filter: none;
  background: linear-gradient(180deg, rgba(30,9,64,.9), rgba(14,4,34,.94)); box-shadow: 0 0 0 2px var(--gl-pink), 0 0 12px rgba(255,79,216,.75), 0 0 30px rgba(255,79,216,.3), inset 0 0 0 4px rgba(14,4,34,1), inset 0 0 0 6px var(--gl-cyan), inset 0 0 18px rgba(63,243,255,.4) }
.jackpot > img { display: none }
.jackpot::before { content: 'JACKPOT'; font: 600 calc(var(--strip) * .27)/1 Oswald, Manrope, sans-serif; letter-spacing: .16em; color: rgba(255,201,74,.12); -webkit-text-stroke: 1.6px #ffd36a; filter: drop-shadow(0 0 4px #ffb93a) drop-shadow(0 0 10px rgba(255,150,30,.8)); animation: glhum 9s linear infinite }
.jp-plate { position: static !important; padding: 2px 18px; background: rgba(8,2,22,.85) !important; box-shadow: inset 0 2px 8px rgba(0,0,0,.8) !important; font-size: calc(var(--strip) * .24) !important; border-radius: 999px }
.jp-plate span { display: inline !important; font-family: Oswald, Manrope, sans-serif; font-weight: 600; color: var(--gl-cyan) !important; text-shadow: 0 0 8px rgba(63,243,255,.9) !important }
.jp-plate b { font-family: Oswald, Manrope, sans-serif; font-weight: 600; letter-spacing: .03em; color: #fff1c4 !important; text-shadow: 0 0 8px rgba(255,185,58,1), 0 0 18px rgba(255,150,30,.6) !important }

/* ---- login ---- */
#login .biglogo { width: auto !important; height: min(34vh, 230px); border-radius: 22%; filter: drop-shadow(0 0 18px rgba(255,79,216,.45)) drop-shadow(0 0 30px rgba(63,243,255,.3)) }
@media (orientation: portrait) { #login .biglogo { width: min(62vw, 300px) !important; height: auto } }
.logincard { background: linear-gradient(180deg, rgba(34,11,72,.9), rgba(14,4,34,.95)) padding-box, linear-gradient(140deg, var(--gl-pink), var(--gl-cyan)) border-box !important;
  box-shadow: 0 0 16px rgba(255,79,216,.45), 0 0 34px rgba(63,243,255,.2), 0 18px 50px rgba(0,0,0,.7) !important }
.lc-title, .card h3 { font-family: Oswald, Manrope, sans-serif !important; font-weight: 600 !important; letter-spacing: .2em !important; color: var(--gl-gold2) !important; text-shadow: 0 0 8px rgba(255,185,58,.85), 0 0 18px rgba(255,150,30,.45) !important }
.logincard label { color: #d9c9ff }
.logincard input, .card input { background: rgba(10,3,26,.85) !important; border: 1px solid rgba(63,243,255,.4) !important }
.logincard input:focus, .card input:focus { border-color: var(--gl-cyan) !important; box-shadow: 0 0 0 3px rgba(63,243,255,.2), 0 0 12px rgba(63,243,255,.35) !important; outline: 0 }
.gbtn { font-family: Oswald, Manrope, sans-serif !important; font-weight: 600 !important; letter-spacing: .18em !important; color: #2a1300 !important; background: linear-gradient(180deg, #fff0b8, #ffc94a 50%, #f0a020) !important; box-shadow: 0 0 14px rgba(255,185,58,.6), inset 0 1px 0 #fffa !important }
.gbtn.ghost { background: rgba(20,6,46,.9) !important; color: var(--gl-cyan) !important; box-shadow: 0 0 0 1.5px var(--gl-cyan), 0 0 10px rgba(63,243,255,.4) !important }

/* ---- cards, toasts, loading ---- */
.card { background: linear-gradient(180deg, rgba(34,11,72,.97), rgba(14,4,34,.98)) !important; border: 1.5px solid var(--gl-pink) !important; box-shadow: 0 0 16px rgba(255,79,216,.4), 0 20px 50px rgba(0,0,0,.7) !important }
.toast { background: #1d0b45 !important; border-color: var(--gl-cyan) !important; box-shadow: 0 0 12px rgba(63,243,255,.4) }
.spin { border-color: rgba(255,79,216,.35) !important; border-top-color: var(--gl-cyan) !important; box-shadow: 0 0 14px rgba(63,243,255,.5) }
.status { background: rgba(20,6,46,.94) !important; border-color: var(--gl-cyan) !important }
.logo img { height: calc(var(--top) + 20px) !important }

/* ---- one row of tall posters that slides (brand/slide.js) ---- */
#lobby .gridwrap { justify-content: flex-start; align-items: stretch; touch-action: none; cursor: grab; padding: 0 4px }
#lobby .gridwrap:active { cursor: grabbing }
#lobby .grid { display: flex !important; height: 100%; width: max-content; max-width: none; aspect-ratio: auto; gap: 22px; padding: 14px 12px 10px; margin: 0; will-change: transform; transition: opacity .25s }
#lobby .grid.anim { transform: none }
#lobby .tile { flex: 0 0 auto; height: 100%; aspect-ratio: 3 / 4; --fx: 2.6%; --fy: 2%; transition: filter .15s }
#lobby .tile:hover { transform: none }
#lobby .tile .inner { border-radius: 18px }
#lobby .tile .pic { border-radius: 13px }
#lobby .tile .pic img { object-position: 50% 50% }
#lobby .tile .pic img.ribbon { top: 14px; left: -34px; width: 130px }
#lobby .tile .heart { width: 36px; height: 36px; top: calc(var(--fy) + 8px); right: calc(var(--fx) + 8px) }
#lobby .dots { display: none }
#lobby .stage { grid-template-rows: 1fr 0 }
#lobby .tile img { -webkit-user-drag: none; user-select: none; pointer-events: none }
#lobby .gridwrap { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 46px), transparent) }
/* smooth slide: the poster row is its own GPU layer, painted once and then only moved (no re-drawing of the neon glow per frame) */
#lobby #grid { will-change: transform; backface-visibility: hidden; transform: translateZ(0) }
#lobby .tile { backface-visibility: hidden }
