*{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;height:100%;overflow:hidden;background:#000;color:#fff;font-family:Rubik,"Segoe UI",system-ui,sans-serif;-webkit-user-select:none;user-select:none}
#stage{position:absolute;left:50%;top:50%;width:1280px;height:720px;transform:translate(-50%,-50%);transform-origin:50% 50%;overflow:hidden;background:#0b0620}
#bgc,#gc{position:absolute;left:0;top:0;width:1280px;height:720px}
#gc{display:none}
.scr{position:absolute;left:0;top:0;width:1280px;height:720px;display:none}
.scr.on{display:block}
.disp{font-family:"Russo One",Rubik,sans-serif}

/* ---------- LOBBY ---------- */
.logo{position:absolute;left:48px;top:30px;font-family:"Russo One",Rubik,sans-serif;font-size:80px;letter-spacing:2px;line-height:1;white-space:nowrap}
.logo .l1{color:#fff;text-shadow:0 0 6px #ff3ea5,0 0 20px #ff3ea5,0 0 46px rgba(255,62,165,.7)}
.logo .l2{color:#bff8ff;margin-left:6px;text-shadow:0 0 6px #22e6ff,0 0 20px #22e6ff,0 0 46px rgba(34,230,255,.6);animation:flick 6s infinite}
@keyframes flick{0%,92%,100%{opacity:1}93%{opacity:.4}94%{opacity:1}96%{opacity:.6}97%{opacity:1}}
.tag{position:absolute;left:54px;top:120px;font-size:21px;color:#d6c8ff;letter-spacing:.4px;font-weight:500}
.showcase{position:absolute;left:0;top:168px;width:870px;height:288px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 90%,transparent)}
.row{height:138px;margin-bottom:10px;overflow:hidden}
.track{display:flex;width:-webkit-max-content;width:max-content;animation:marq 70s linear infinite;will-change:transform}
.track.rev{animation-direction:reverse;animation-duration:82s}
@keyframes marq{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.tile{position:relative;flex:0 0 auto;width:204px;height:132px;margin:2px 14px 0 0;border-radius:20px;padding:12px 14px;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 6px 22px rgba(0,0,0,.45),inset 0 0 0 2px rgba(255,255,255,.2);overflow:hidden}
.tile:after{content:"";position:absolute;left:0;top:0;right:0;bottom:0;background:linear-gradient(170deg,rgba(255,255,255,.22),rgba(255,255,255,0) 40%,rgba(0,0,0,.28))}
.ti{position:relative;z-index:1;font-size:46px;line-height:1;filter:drop-shadow(0 3px 5px rgba(0,0,0,.45))}
.tn{position:relative;z-index:1;font-family:"Russo One",Rubik,sans-serif;font-size:19px;margin-top:9px;text-shadow:0 2px 4px rgba(0,0,0,.5);white-space:nowrap}
.tp{position:relative;z-index:1;font-size:14px;opacity:.95;margin-top:4px;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.join{position:absolute;right:38px;top:28px;width:350px;height:428px;border-radius:28px;padding:18px 22px;text-align:center;background:rgba(17,10,46,.86);border:2px solid rgba(34,230,255,.5);box-shadow:0 0 34px rgba(34,230,255,.28),inset 0 0 30px rgba(34,230,255,.08)}
.jt{font-family:"Russo One",Rubik,sans-serif;font-size:30px;letter-spacing:3px;text-shadow:0 0 14px rgba(34,230,255,.85)}
.qr{width:222px;height:222px;margin:12px auto 10px;background:#fff;border-radius:16px;padding:7px;box-shadow:0 0 0 4px rgba(255,62,165,.65),0 0 30px rgba(255,62,165,.55)}
.qr svg{width:100%;height:100%;display:block}
.qrwait{color:#666;font-weight:700;line-height:206px}
.url{font-size:15px;color:#c3b6ee}
.url b{display:block;color:#fff;font-size:19px;margin-top:3px;word-break:break-all}
.code{margin-top:12px;display:flex;align-items:center;justify-content:center}
.code span{font-family:"Russo One",Rubik,sans-serif;font-size:18px;color:#ff9fd6;margin-right:12px;letter-spacing:2px}
.code i{font-style:normal;display:inline-block;width:48px;height:60px;line-height:58px;margin:0 3px;border-radius:12px;background:#1d1250;border:2px solid #ff3ea5;font-family:"Russo One",Rubik,sans-serif;font-size:38px;color:#fff;text-shadow:0 0 10px #ff3ea5;box-shadow:0 0 14px rgba(255,62,165,.45)}
.players{position:absolute;left:38px;right:38px;top:470px;height:198px;border-radius:26px;padding:12px 18px;background:rgba(13,8,36,.76);border:2px solid rgba(255,255,255,.09)}
.ph{display:flex;align-items:center;justify-content:space-between;font-family:"Russo One",Rubik,sans-serif;letter-spacing:2px;font-size:18px;color:#cdbcff;margin-bottom:10px}
#slots{display:flex;justify-content:space-between}
.slot{width:142px;text-align:center;position:relative}
.slot .av{position:relative;width:92px;height:92px;margin:0 auto;border-radius:50%;font-size:50px;line-height:92px;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.4),var(--c) 55%,rgba(0,0,0,.5));box-shadow:0 0 0 4px var(--c),0 0 26px var(--c)}
.slot:not(.empty) .av{animation:bob 3.2s ease-in-out infinite}
.slot:nth-child(2) .av{animation-delay:-.4s}.slot:nth-child(3) .av{animation-delay:-.8s}.slot:nth-child(4) .av{animation-delay:-1.2s}
.slot:nth-child(5) .av{animation-delay:-1.6s}.slot:nth-child(6) .av{animation-delay:-2s}.slot:nth-child(7) .av{animation-delay:-2.4s}.slot:nth-child(8) .av{animation-delay:-2.8s}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.slot .nm{margin-top:12px;font-weight:700;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slot .ch{font-size:15px;color:#ffd32a;font-weight:800;margin-top:1px}
.slot .crown{position:absolute;top:-20px;right:-8px;font-size:30px;font-style:normal;line-height:1;transform:rotate(18deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.6))}
.slot.off{opacity:.35;filter:grayscale(.85)}
.slot.empty .av{background:none;box-shadow:none;border:3px dashed rgba(255,255,255,.22);color:rgba(255,255,255,.32);font-size:40px;line-height:86px;animation:breathe 2.6s ease-in-out infinite}
.slot.empty .nm{color:rgba(255,255,255,.3);font-weight:500;font-size:16px}
.slot.pop .av{animation:pop .7s cubic-bezier(.2,1.7,.4,1)}
@keyframes pop{0%{transform:scale(.15)}100%{transform:scale(1)}}
@keyframes breathe{0%,100%{transform:scale(.93);opacity:.55}50%{transform:scale(1);opacity:1}}
.status{position:absolute;left:52px;bottom:14px;font-size:20px;font-weight:700;color:#efe7ff;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.status b{color:#ffd32a}

/* ---------- INTRO ---------- */
#intro{background:radial-gradient(circle at 22% 30%,var(--a),rgba(0,0,0,0) 58%),radial-gradient(circle at 85% 80%,var(--b),rgba(0,0,0,0) 55%),#0b0620}
#intro:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;background:linear-gradient(180deg,rgba(6,3,20,.35),rgba(6,3,20,.78))}
.iw{position:absolute;left:60px;right:60px;top:54px;height:520px;display:flex}
.ileft{flex:1.15;padding-right:44px}
.iicon{font-size:132px;line-height:1;display:inline-block;animation:bob 3s ease-in-out infinite;filter:drop-shadow(0 8px 16px rgba(0,0,0,.5))}
.icat{display:inline-block;margin-left:18px;vertical-align:top;margin-top:30px;padding:8px 16px;border-radius:30px;background:rgba(0,0,0,.4);border:2px solid rgba(255,255,255,.25);font-weight:700;font-size:19px}
#intro h1{font-family:"Russo One",Rubik,sans-serif;font-weight:400;font-size:74px;line-height:1.04;margin:16px 0 18px;text-shadow:0 0 26px var(--a),0 5px 0 rgba(0,0,0,.35)}
.idesc{font-size:25px;line-height:1.42;color:#f1eaff;max-width:650px}
.iright{flex:1;position:relative;background:rgba(10,6,30,.72);border-radius:28px;padding:24px 30px;border:2px solid rgba(255,255,255,.14)}
.iright h3{font-family:"Russo One",Rubik,sans-serif;font-weight:400;letter-spacing:3px;color:#ffd32a;font-size:22px}
.phone{display:block;margin:12px auto 12px;width:320px;height:170px}
.iright ul{list-style:none}
.iright li{font-size:21px;line-height:1.3;padding:8px 0 8px 32px;position:relative;border-bottom:1px solid rgba(255,255,255,.09)}
.iright li:before{content:"▸";position:absolute;left:6px;color:var(--a)}
.ifoot{position:absolute;left:60px;right:60px;bottom:44px;height:70px;display:flex;align-items:center;justify-content:space-between}
.who{display:flex}
.who span{display:inline-block;width:54px;height:54px;line-height:54px;margin-right:10px;text-align:center;font-size:30px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px rgba(255,255,255,.7),0 0 16px var(--c)}
.go{font-size:25px;font-weight:800;background:rgba(0,0,0,.5);padding:14px 26px;border-radius:18px;border:2px solid rgba(255,255,255,.2)}
.go.warn{color:#ffd32a;border-color:#ffd32a}

/* ---------- EREDMÉNY ---------- */
#results h2{position:absolute;top:22px;left:0;right:0;text-align:center;font-family:"Russo One",Rubik,sans-serif;font-weight:400;font-size:56px;text-shadow:0 0 22px #ffb400,0 4px 0 rgba(0,0,0,.4)}
#results .rg{position:absolute;top:96px;left:0;width:880px;text-align:center;font-size:24px;color:#d6c8ff;font-weight:600}
.podium{position:absolute;left:60px;width:820px;top:140px;height:410px;display:flex;align-items:flex-end;justify-content:center}
.pcol{width:250px;margin:0 6px;text-align:center}
.pcol .pps{min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.pav{width:88px;height:88px;line-height:88px;border-radius:50%;font-size:48px;margin:6px auto 0;background:var(--c);box-shadow:0 0 0 4px #fff,0 0 30px var(--c);animation:pop .7s cubic-bezier(.2,1.7,.4,1) both}
.pnm{font-size:23px;font-weight:800;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.plb{font-size:17px;color:#e3dbff;font-weight:600}
.pbar{margin-top:10px;border-radius:18px 18px 4px 4px;font-family:"Russo One",Rubik,sans-serif;font-size:62px;padding-top:6px;transform-origin:50% 100%;animation:rise .9s cubic-bezier(.2,1.2,.4,1) both;box-shadow:inset 0 0 0 3px rgba(255,255,255,.35)}
.p1 .pbar{height:200px;background:linear-gradient(180deg,#ffe066,#e09400);color:#5a3a00;animation-delay:.9s}
.p2 .pbar{height:140px;background:linear-gradient(180deg,#f1f5ff,#9aa8c9);color:#2e3550;animation-delay:.5s}
.p3 .pbar{height:96px;background:linear-gradient(180deg,#ffb27a,#b8652d);color:#4a2104;animation-delay:.2s}
.p1 .pav{animation-delay:1.4s}.p2 .pav{animation-delay:1s}.p3 .pav{animation-delay:.7s}
@keyframes rise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.paw{display:inline-block;margin-top:4px;padding:2px 10px;border-radius:12px;background:rgba(255,211,42,.18);color:#ffd32a;font-weight:800;font-size:16px}
.rest{position:absolute;left:60px;width:820px;top:566px;display:flex;flex-wrap:wrap;justify-content:center}
.rest div{margin:4px 6px;padding:8px 16px;border-radius:30px;background:rgba(10,6,30,.8);border:2px solid var(--c);font-weight:700;font-size:18px}
.champ{position:absolute;right:44px;top:140px;width:330px;height:470px;border-radius:26px;padding:18px 20px;background:rgba(13,8,36,.82);border:2px solid rgba(255,211,42,.45);box-shadow:0 0 26px rgba(255,211,42,.18)}
.champ h4{font-family:"Russo One",Rubik,sans-serif;font-weight:400;font-size:22px;letter-spacing:2px;color:#ffd32a;text-align:center;margin-bottom:12px}
.crow{display:flex;align-items:center;padding:8px 6px;border-bottom:1px solid rgba(255,255,255,.08);font-size:20px;font-weight:700}
.crow i{font-style:normal;width:30px;color:#9a8cc9}
.crow em{font-style:normal;width:40px;height:40px;line-height:40px;text-align:center;border-radius:50%;background:var(--c);margin-right:10px;font-size:22px}
.crow span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crow b{font-family:"Russo One",Rubik,sans-serif;font-weight:400;color:#ffd32a;font-size:22px}
.rfoot{position:absolute;bottom:22px;left:0;width:940px;text-align:center;font-size:22px;color:#d6c8ff;font-weight:600}

/* ---------- SZÜNET, ÉRTESÍTÉSEK ---------- */
#pause{background:rgba(5,3,18,.8);text-align:center;z-index:5}
.pz{margin-top:240px;font-family:"Russo One",Rubik,sans-serif;font-size:96px;text-shadow:0 0 30px #22e6ff}
#pauseby{font-size:28px;margin-top:14px;color:#d6c8ff}
.pcode{margin-top:26px;font-size:22px;color:#9a8cc9}
#toasts{position:absolute;bottom:58px;left:0;right:0;text-align:center;pointer-events:none;z-index:30}
.toast{display:table;margin:0 auto 8px;padding:10px 24px;border-radius:30px;background:rgba(20,12,52,.94);border:2px solid rgba(34,230,255,.55);box-shadow:0 6px 20px rgba(0,0,0,.4);font-size:22px;font-weight:700;animation:tin .35s ease-out;transition:opacity .4s,transform .4s}
.toast.out{opacity:0;transform:translateY(-12px)}
@keyframes tin{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
.hint{position:absolute;right:16px;bottom:10px;z-index:30;padding:6px 14px;border-radius:30px;background:rgba(255,62,165,.92);font-weight:700;font-size:14px;animation:blink 1.8s ease-in-out infinite;box-shadow:0 0 20px rgba(255,62,165,.6)}
.hint.hide{display:none}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.55}}
.net{position:absolute;right:16px;top:8px;z-index:30;font-size:15px;font-weight:700;color:#ffd32a;text-shadow:0 1px 4px #000}
