/* ================= NAXCORE GAMES (ARCADE) ================= */

/* Oyunlar: tam ekran modal + sidebar'ı gizle (PC + Mobil) */
#games-modal{
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

/* body class: oyun açıkken layout tam ekran kalsın */
body.games-fullscreen .rooms-panel,
body.games-fullscreen .users-panel{
  display: none !important;
}
body.games-fullscreen .chat-panel{
  margin-left: 0 !important;
  width: 100vw !important;
}

.games-box{
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding: 12px;
}

.games-head{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom: 10px;
}
.games-sub{
  font-size: 12px;
  color:#b9bbbe;
  opacity:.95;
  margin-top:-4px;
}

.games-home{
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:auto;
  padding-right:4px;
}

.game-card{
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(88,101,242,.25), transparent 60%),
    radial-gradient(700px 220px at 80% 100%, rgba(255,79,216,.18), transparent 55%),
    rgba(32,34,37,.88);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.game-card:hover{
  transform: translateY(-1px);
  border-color: rgba(88,101,242,.40);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.game-card-top{
  display:flex;
  gap:12px;
  align-items:center;
}
.game-icon{
  width:52px; height:52px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(88,101,242,.22);
  border:1px solid rgba(88,101,242,.32);
  color:#fff;
  flex:0 0 auto;
}
.game-icon i{ font-size: 20px; }
.game-title{
  font-weight: 1000;
  letter-spacing: .4px;
  font-size: 14px;
}
.game-desc{
  font-size: 12px;
  color:#b9bbbe;
  margin-top: 2px;
  line-height: 1.25;
}
.game-card-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top: 12px;
}
.my-best{
  font-size: 12px;
  color:#b9bbbe;
}
.best-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight: 900;
}
.play-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(88,101,242,.95);
  border: 1px solid rgba(88,101,242,.55);
  color:#fff;
  font-weight: 1000;
  font-size: 13px;
}

.games-hint{
  font-size: 12px;
  color:#b9bbbe;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}

.games-player{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height: 0;
}
.games-player-bar{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 8px;
}
.games-player-title{
  font-weight: 1000;
  font-size: 13px;
  color:#e6e7ea;
  opacity:.95;
}
.games-iframe{
  width: 100%;
  flex: 1;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: #0f1115;
}

@media (max-width: 520px){
  .games-box{ padding: 8px; }
  .game-icon{ width:48px; height:48px; border-radius: 12px; }
  .play-btn{ font-size: 12px; padding: 7px 10px; }
}

@media (max-height: 760px){
  .games-box{ padding: 8px; }
  .games-head{ margin-bottom: 6px; }
  .games-player-bar{ margin-bottom: 6px; }
}
