/* 平台 4.0 大廳核心版面與主題樣式 (PC 版) */
.lobby-viewport {
  width: 100vw;
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease;
}

/* 頂部全域導航列 */
.lobby-header {
  height: 68px;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-size: 24px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f6c860;
  text-shadow: 0 2px 8px rgba(246, 200, 96, 0.3);
}

/* 平滑滾動跑馬燈 */
.marquee-wrapper {
  flex: 1;
  max-width: 480px;
  margin: 0 24px;
  height: 32px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 18s linear infinite;
  color: #e2e8f0;
  font-size: 13px;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 點數膠囊與一鍵召回 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.balance-capsule {
  display: flex;
  align-items: center;
  background: #181b22;
  border: 1px solid #f6c860;
  border-radius: 20px;
  padding: 4px 14px;
  gap: 8px;
  box-shadow: 0 0 12px rgba(246, 200, 96, 0.15);
}

.balance-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: 800;
  color: #4ade80;
}

.btn-recall {
  background: linear-gradient(180deg, #f6c860 0%, #d49a24 100%);
  color: #1a1202;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(212, 154, 36, 0.4);
}

/* 機台舞台展示區 */
.lobby-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.game-grid {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.game-card {
  width: 280px;
  background: rgba(18, 21, 28, 0.88);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: #f6c860;
}

.game-card-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #111;
}

.game-card-info {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.game-card-minbet {
  font-size: 12px;
  color: #94a3b8;
}

.badge-retained {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #000; font-size: 12px; font-weight: 800; padding: 3px 8px;
  border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.mobile-bottom-nav { display: none !important; }
