
:root{--bg:#090016;--card:#140b2d;--card2:#201144;--text:#fff;--muted:#b9acd8;--neon:#00e5ff;--pink:#ff2bd6;--yellow:#ffe66d;--green:#52ff9a;--danger:#ff4d6d}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 20% 0%,#3d126e 0,#090016 38%),linear-gradient(135deg,#090016,#03040b);color:var(--text)}
body{overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:12px 16px;background:linear-gradient(135deg,var(--neon),var(--pink));color:#070014;font-weight:900;box-shadow:0 12px 30px #0008}button.secondary, .game-actions button:not(.play){background:#ffffff16;color:white;border:1px solid #ffffff20}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(14px,3vw,34px);background:#070010cc;backdrop-filter:blur(16px);border-bottom:1px solid #ffffff12}
.brand{display:flex;align-items:center;gap:12px}.logo{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--neon),var(--pink));display:grid;place-items:center;color:#080014;font-weight:1000;font-size:24px;box-shadow:0 0 30px #00e5ff80}.brand h1{font-size:20px;margin:0}.brand span{font-size:12px;color:var(--muted)}
nav{display:flex;gap:12px;flex-wrap:wrap}nav a,.footer-links a{font-size:14px;color:#e8ddff;background:#ffffff0e;border:1px solid #ffffff14;border-radius:999px;padding:9px 12px}
main{max-width:1220px;margin:auto;padding:24px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center;min-height:520px}.badge{display:inline-flex;padding:9px 12px;border-radius:999px;background:#00e5ff16;border:1px solid #00e5ff55;color:#9cf6ff;font-weight:800;font-size:13px}.hero h2{font-size:clamp(38px,7vw,76px);line-height:.92;margin:20px 0;background:linear-gradient(120deg,#fff,#9cf6ff,#ffb4f2,#ffe66d);-webkit-background-clip:text;color:transparent}.hero p{color:var(--muted);font-size:18px;line-height:1.6;max-width:680px}.nickname-panel,.info-panel,.game-card,.stats-grid>div,.toolbar,.ad-space{background:linear-gradient(180deg,#ffffff12,#ffffff08);border:1px solid #ffffff14;border-radius:24px;box-shadow:0 20px 60px #0005}.nickname-panel{padding:16px;max-width:540px}.nickname-panel label{display:block;font-weight:900;margin-bottom:8px}.nick-row{display:flex;gap:10px}.nick-row input,.filters input,.filters select{width:100%;border:1px solid #ffffff20;background:#05000f;color:white;border-radius:14px;padding:13px 14px;outline:none}.nickname-panel small{display:block;margin-top:8px;color:var(--muted)}.hero-actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.primary{font-size:18px;padding:15px 22px}.hero-card{display:grid;place-items:center}.machine{width:min(360px,92vw);padding:18px;background:linear-gradient(160deg,#25104b,#0a0017);border:1px solid #ffffff22;border-radius:34px;box-shadow:0 0 80px #ff2bd640, inset 0 0 40px #000}.screen{position:relative;min-height:310px;border-radius:24px;background:radial-gradient(circle at 50% 20%,#00e5ff45,transparent 40%),#070010;border:4px solid #000;overflow:hidden;padding:28px;display:flex;flex-direction:column;justify-content:center}.screen strong{color:var(--yellow)}.screen h3{font-size:32px;margin:12px 0}.scanlines{position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0 5px,#ffffff08 6px 7px);pointer-events:none}.controls-preview{display:flex;justify-content:center;gap:16px;padding-top:18px}.controls-preview span{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--pink),var(--yellow));box-shadow:0 0 22px #ff2bd680}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:10px 0 24px}.stats-grid>div{padding:18px}.stats-grid strong{display:block;font-size:28px}.stats-grid span{color:var(--muted);font-size:13px}.ad-space{min-height:70px;margin:18px 0;display:grid;place-items:center;color:#ffffff20}.ad-space.has-ad{background:transparent;border:0;box-shadow:none}.toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-top:22px;padding:18px}.toolbar h2{margin:0;font-size:30px}.toolbar p{margin:6px 0 0;color:var(--muted)}.filters{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:10px;min-width:min(650px,100%)}
.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:18px}.game-card{overflow:hidden;position:relative;min-height:250px;padding:16px;display:flex;flex-direction:column;justify-content:space-between}.game-card:before{content:"";position:absolute;inset:-80px -40px auto auto;width:180px;height:180px;border-radius:50%;background:var(--glow,#00e5ff);filter:blur(36px);opacity:.24}.game-icon{font-size:42px}.game-card h3{margin:12px 0 8px;font-size:21px}.game-card p{margin:0;color:var(--muted);line-height:1.45;font-size:14px}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.tags span{font-size:11px;padding:6px 8px;background:#ffffff12;border:1px solid #ffffff14;border-radius:999px;color:#e8ddff}.game-actions{display:flex;gap:8px;margin-top:12px}.game-actions button{flex:1;padding:10px 8px;font-size:13px}.panel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}.info-panel{padding:20px}.info-panel h3{margin:0 0 8px}.info-panel p{color:var(--muted);line-height:1.6}.info-panel a{color:var(--neon);font-weight:900}
footer{max-width:1220px;margin:20px auto 0;padding:24px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);border-top:1px solid #ffffff12}.footer-links{display:flex;gap:10px;flex-wrap:wrap}
.cookie-banner{position:fixed;z-index:100;left:16px;right:16px;bottom:16px;display:flex;gap:14px;align-items:center;justify-content:space-between;background:#080014f4;border:1px solid #ffffff22;border-radius:22px;padding:16px;box-shadow:0 18px 70px #000}.cookie-banner p{margin:5px 0 0;color:var(--muted);font-size:13px}.cookie-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cookie-actions a{color:var(--neon);font-weight:800}.hidden{display:none!important}
.game-page{max-width:1040px;margin:auto;padding:16px}.game-shell{display:grid;grid-template-columns:1fr 280px;gap:16px}.canvas-wrap{position:relative;background:#020009;border:1px solid #ffffff18;border-radius:24px;overflow:hidden;box-shadow:0 0 60px #00e5ff20;touch-action:none}.game-canvas{width:100%;height:min(70vh,680px);display:block;touch-action:none;background:#05000d}.hud{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.hud a{background:#ffffff12;border:1px solid #ffffff18;border-radius:999px;padding:10px 12px}.side-panel{background:#ffffff10;border:1px solid #ffffff14;border-radius:24px;padding:16px}.side-panel h2{margin-top:0}.control-pad{position:absolute;left:12px;bottom:12px;display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:8px;z-index:5}.control-pad button,.action-buttons button{background:#ffffff20;color:white;border:1px solid #ffffff30;box-shadow:none;padding:0}.control-pad .up{grid-column:2}.control-pad .left{grid-column:1;grid-row:2}.control-pad .down{grid-column:2;grid-row:2}.control-pad .right{grid-column:3;grid-row:2}.action-buttons{position:absolute;right:12px;bottom:12px;display:flex;gap:8px;z-index:5}.action-buttons button{width:64px;height:64px;border-radius:50%;font-weight:1000}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0009;z-index:8;text-align:center;padding:20px}.overlay-card{max-width:460px;background:#100523;border:1px solid #ffffff20;border-radius:24px;padding:24px}.overlay-card h2{font-size:34px;margin:0 0 8px}.overlay-card p{color:var(--muted)}.page-content{max-width:900px;margin:auto;padding:30px 18px;line-height:1.75}.page-content h1{font-size:42px}.page-content h2{margin-top:32px}.page-content p,.page-content li{color:#d6cbed}.chat-box{height:420px;overflow:auto;background:#05000d;border:1px solid #ffffff18;border-radius:18px;padding:12px}.chat-msg{padding:10px;border-bottom:1px solid #ffffff10}.chat-msg strong{color:var(--neon)}.chat-form{display:flex;gap:10px;margin-top:10px}.chat-form input{flex:1;background:#05000d;border:1px solid #ffffff20;color:white;border-radius:14px;padding:12px}
@media (max-width:980px){.hero,.game-shell{grid-template-columns:1fr}.game-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.side-panel{order:-1}.game-canvas{height:66vh}.topbar{align-items:flex-start;flex-direction:column}nav{width:100%;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.panel-grid{grid-template-columns:1fr}}
@media (max-width:560px){main{padding:12px}.hero{min-height:auto;padding-top:16px}.game-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.nick-row{flex-direction:column}.cookie-banner{flex-direction:column;align-items:flex-start}.control-pad{grid-template-columns:repeat(3,46px);grid-template-rows:repeat(2,46px)}.action-buttons button{width:56px;height:56px}.hero h2{font-size:42px}footer{flex-direction:column}}


/* v9 mobile/game fixes */
body.playing-page{
  overflow:hidden;
  height:100dvh;
  overscroll-behavior:none;
}
body.playing-page .game-page{
  height:100dvh;
  max-width:none;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
body.playing-page .hud{
  flex:0 0 auto;
  margin-bottom:0;
}
body.playing-page .game-shell{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
}
body.playing-page .canvas-wrap{
  height:100%;
  min-height:0;
}
body.playing-page .game-canvas{
  height:100%;
  min-height:360px;
}
body.playing-page .side-panel{
  overflow:auto;
  max-height:100%;
}
.ad-space{
  min-height:86px;
  margin:14px 0;
  display:grid;
  place-items:center;
  color:#d6cbed;
  background:linear-gradient(135deg,#120525,#0b1024);
  border:1px dashed rgba(0,229,255,.45);
  border-radius:20px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  text-align:center;
  padding:12px;
}
.ad-space::before{
  content:"Χώρος διαφήμισης";
  font-weight:900;
  color:#9cf6ff;
}
.ad-space.has-ad::before{content:"";}
.ad-space.has-ad{
  border:0;
  padding:0;
  min-height:auto;
  background:transparent;
  box-shadow:none;
}
.ad-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:14px 0;
}
.sound-on{
  background:linear-gradient(135deg,#52ff9a,#00e5ff)!important;
  color:#061018!important;
}
.sound-off{
  background:#ffffff16!important;
  color:white!important;
  border:1px solid #ffffff2e!important;
}
.control-help{
  font-size:13px;
  color:#b9acd8;
  line-height:1.55;
  background:#ffffff0c;
  border:1px solid #ffffff12;
  padding:10px;
  border-radius:16px;
}
@media (max-width:980px){
  body.playing-page .game-shell{
    grid-template-columns:1fr;
  }
  body.playing-page .side-panel{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    max-height:145px;
    padding:10px;
    order:2;
  }
  body.playing-page .side-panel h2,
  body.playing-page .side-panel #gameDesc,
  body.playing-page .side-panel .control-help{
    display:none;
  }
  body.playing-page .canvas-wrap{
    order:1;
  }
  body.playing-page .game-canvas{
    height:calc(100dvh - 245px);
    min-height:390px;
  }
  body.playing-page .ad-space[data-ad-slot="game_side"]{
    display:none;
  }
}
@media (max-width:560px){
  body.playing-page .game-page{padding:6px;gap:6px}
  body.playing-page .hud a,
  body.playing-page .hud button,
  body.playing-page .hud strong{
    font-size:12px;
    padding:8px 9px;
  }
  body.playing-page .side-panel{
    grid-template-columns:1fr 1fr 1fr;
    max-height:98px;
  }
  body.playing-page .side-panel p{
    margin:0;
    font-size:12px;
  }
  body.playing-page .side-panel button{
    padding:9px 8px;
    font-size:12px;
  }
  body.playing-page .game-canvas{
    height:calc(100dvh - 178px);
    min-height:410px;
  }
  .ad-row{grid-template-columns:1fr}
}


/* v10 real mobile gameplay fixes */
body.playing-page{
  background:#090016;
  overflow:hidden!important;
  height:100dvh!important;
  max-height:100dvh!important;
}
body.playing-page .game-page{
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  padding:6px!important;
}
body.playing-page .hud{
  min-height:48px;
}
body.playing-page .hud strong{
  max-width:42vw;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
}
body.playing-page .ad-space[data-ad-slot="game_top"]{
  flex:0 0 54px;
  min-height:54px!important;
  max-height:54px!important;
  margin:4px 0!important;
  padding:6px!important;
  border-radius:14px;
  font-size:12px;
}
body.playing-page .ad-space[data-ad-slot="game_top"]::before{
  content:"Διαφήμιση";
  font-size:13px;
}
body.playing-page .ad-space[data-ad-slot="game_bottom"]{
  display:none!important;
}
body.playing-page .game-shell{
  flex:1 1 auto;
  min-height:0!important;
  overflow:hidden!important;
  gap:8px!important;
}
body.playing-page .canvas-wrap{
  min-height:0!important;
  overflow:hidden!important;
}
body.playing-page .game-canvas{
  height:100%!important;
  min-height:0!important;
}
body.playing-page .side-panel{
  min-height:0!important;
}
.overlay{
  z-index:60!important;
}
.overlay-card{
  pointer-events:auto;
}
.overlay-card button{
  min-width:170px;
  min-height:54px;
  font-size:18px;
}
.canvas-wrap.no-virtual-controls .control-pad,
.canvas-wrap.no-virtual-controls .action-buttons{
  display:none!important;
}
.answer-panel{
  position:absolute;
  left:14px;
  right:14px;
  bottom:16px;
  z-index:20;
  display:grid;
  gap:10px;
  pointer-events:auto;
}
.answer-panel button{
  min-height:54px;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  color:white;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:none;
  text-align:left;
  padding:12px 16px;
  font-size:20px;
}
.answer-panel button:active{
  transform:scale(.98);
  background:rgba(0,229,255,.25);
}
@media (max-width:980px){
  body.playing-page .game-shell{
    display:flex!important;
    flex-direction:column!important;
  }
  body.playing-page .canvas-wrap{
    flex:1 1 auto!important;
    height:auto!important;
  }
  body.playing-page .game-canvas{
    height:100%!important;
  }
  body.playing-page .side-panel{
    flex:0 0 82px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 1fr!important;
    align-items:center!important;
    gap:8px!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  body.playing-page .side-panel #gameDesc,
  body.playing-page .side-panel h2,
  body.playing-page .side-panel .control-help,
  body.playing-page .side-panel .ad-space{
    display:none!important;
  }
  body.playing-page .side-panel p{
    margin:0!important;
    font-size:13px!important;
  }
  body.playing-page .side-panel button{
    min-height:44px!important;
    padding:8px!important;
  }
}
@media (max-width:560px){
  body.playing-page .hud{
    min-height:44px;
    gap:5px!important;
  }
  body.playing-page .hud a,
  body.playing-page .hud button{
    font-size:12px!important;
    padding:8px 10px!important;
  }
  body.playing-page .hud strong{
    font-size:14px!important;
  }
  body.playing-page .ad-space[data-ad-slot="game_top"]{
    min-height:46px!important;
    max-height:46px!important;
  }
  body.playing-page .side-panel{
    flex-basis:76px!important;
    padding:8px!important;
  }
  .answer-panel{
    left:10px;
    right:10px;
    bottom:10px;
    gap:8px;
  }
  .answer-panel button{
    min-height:48px;
    font-size:18px;
  }
}


/* v11 public clean polish */
.topbar nav a[href*="admin"], .topbar nav a[href*="chat"]{display:none!important}
.info-panel ul{color:#d6cbed;line-height:1.7}
.page-content code{
  background:#ffffff12;
  border:1px solid #ffffff18;
  padding:2px 6px;
  border-radius:8px;
}
.game-card{
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-card:hover{
  transform:translateY(-3px);
  border-color:rgba(0,229,255,.38);
  box-shadow:0 24px 70px rgba(0,229,255,.13);
}
.quick-links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:18px 0;
}
.quick-links a{
  display:block;
  padding:16px;
  background:#ffffff10;
  border:1px solid #ffffff14;
  border-radius:18px;
  font-weight:900;
}
@media(max-width:760px){.quick-links{grid-template-columns:1fr 1fr}}


/* v12 critical start/mobile fixes */
.overlay{
  position:absolute!important;
  inset:0!important;
  z-index:9999!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(0,0,0,.78)!important;
  pointer-events:auto!important;
}

.overlay-card{
  width:min(92vw,420px)!important;
  padding:24px!important;
  border-radius:24px!important;
  text-align:center!important;
}

.overlay-card button{
  width:100%!important;
  min-height:62px!important;
  font-size:22px!important;
  font-weight:900!important;
  position:relative!important;
  z-index:10000!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}

.canvas-wrap{
  position:relative!important;
  isolation:isolate!important;
}

.game-canvas{
  width:100%!important;
  object-fit:cover!important;
}

@media(max-width:700px){
  body.playing-page .game-shell{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
  }

  body.playing-page .canvas-wrap{
    flex:1 1 auto!important;
    min-height:58dvh!important;
  }

  body.playing-page .game-canvas{
    height:58dvh!important;
    min-height:58dvh!important;
  }

  body.playing-page .side-panel{
    flex:0 0 auto!important;
  }

  .overlay-card h2{
    font-size:34px!important;
  }

  .overlay-card p{
    font-size:15px!important;
    line-height:1.5!important;
  }
}


/* v13 premium mobile header + return position + online stats */
.topbar{
  border-bottom:1px solid rgba(255,255,255,.10);
}
.mobile-status-strip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(0,229,255,.10);
  border:1px solid rgba(0,229,255,.22);
  color:#dffbff;
  font-size:13px;
  white-space:nowrap;
}
.live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#52ff9a;
  box-shadow:0 0 12px #52ff9a;
  display:inline-block;
}
@media(max-width:760px){
  .topbar{
    padding:12px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    position:sticky;
    top:0;
  }
  .brand{
    width:100%;
    display:grid!important;
    grid-template-columns:54px 1fr!important;
    gap:12px!important;
    align-items:center!important;
  }
  .logo{
    width:54px!important;
    height:54px!important;
    border-radius:18px!important;
    font-size:28px!important;
  }
  .brand h1{
    font-size:27px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .brand span{
    font-size:14px!important;
  }
  .topbar nav{
    display:grid!important;
    grid-template-columns:repeat(5, minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    overflow:visible!important;
    padding:0!important;
  }
  .topbar nav a{
    text-align:center!important;
    padding:10px 4px!important;
    border-radius:15px!important;
    font-size:12px!important;
    line-height:1.1!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.07))!important;
  }
  .mobile-status-strip{
    width:100%;
    justify-content:center;
    border-radius:15px;
    font-size:12px;
    padding:8px;
  }
  .hero{
    padding-top:12px!important;
  }
  .hero h2{
    font-size:clamp(38px,12vw,58px)!important;
    letter-spacing:-1.5px!important;
  }
}
@media(max-width:380px){
  .topbar nav{
    grid-template-columns:repeat(3,1fr)!important;
  }
  .brand h1{
    font-size:23px!important;
  }
}

/* kikos arcade premium branding restore */
.logo{
  background-image:url('../icons/bunny-logo.svg')!important;
  background-size:cover!important;
  background-position:center!important;
  color:transparent!important;
  text-indent:-9999px!important;
  box-shadow:0 0 28px rgba(255,43,214,.45),0 0 22px rgba(0,229,255,.35)!important;
}
.brand h1{text-transform:lowercase;}

/* v28 guaranteed static games while keeping premium skin */
#gameGrid:empty::before{
  content:"Φόρτωση παιχνιδιών...";
  color:#c9bde4;
}
.game-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
}
.game-card, .card{
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  padding:16px;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.game-card .icon, .card .icon{font-size:42px}
.game-card h3, .card h3{margin:10px 0 8px}
.game-card p, .card p{color:#c9bde4;line-height:1.45;font-size:14px}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.tags span{font-size:11px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 8px}
.play,.play-btn{
  display:block;
  width:100%;
  text-align:center;
  border:0;
  border-radius:16px;
  padding:12px;
  background:linear-gradient(135deg,#00e5ff,#ff2bd6);
  color:#050014!important;
  font-weight:1000;
}
.filters input,.filters select{
  background:#05000d;
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  color:white;
  padding:12px;
}
