@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800;900&family=Press+Start+2P&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-dark: #07080e;
  --panel-bg: rgba(18, 20, 34, 0.75);
  --panel-border: rgba(255, 255, 255, 0.08);
  --neon-yellow: #ffff00;
  --neon-cyan: #00f0ff;
  --neon-blue: #2196f3;
  --neon-purple: #b026ff;
  --neon-red: #ff2255;
  --neon-green: #00ff66;
  --font-arcade: 'Press Start 2P', monospace, sans-serif;
  --font-tech: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

.account-dialog { width: min(520px, calc(100vw - 30px)); padding: 0; border: 1px solid rgba(0,240,255,.3); border-radius: 14px; background: #080d18; color: #eef2ff; box-shadow: 0 30px 100px #000; }
.account-dialog::backdrop { background: rgba(1,4,10,.82); backdrop-filter: blur(8px); }
.account-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.account-head h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: 2px; }
.account-head button { border: 0; background: none; color: #94a3b8; font-size: 30px; cursor: pointer; }
.account-kicker { color: #00f0ff; font-size: 10px; letter-spacing: 3px; }
.account-error { min-height: 22px; padding: 10px 24px 0; color: #f87171; font-weight: 700; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.account-tab { padding: 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: #64748b; font-weight: 800; cursor: pointer; }
.account-tab.active { border-color: #00f0ff; color: #00f0ff; }
#account-form { display: grid; gap: 14px; padding: 0 24px 26px; }
#account-form label { display: grid; gap: 6px; color: #94a3b8; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
#account-form input { padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: #050914; color: #fff; font: inherit; }
.account-submit { width: 100%; padding: 13px; border: 1px solid #00f0ff; border-radius: 6px; background: rgba(0,240,255,.12); color: #00f0ff; font-weight: 900; cursor: pointer; }
.account-submit.secondary { margin-top: 18px; border-color: #475569; color: #94a3b8; background: transparent; }
#signed-in-panel { padding: 2px 24px 26px; }
.player-card { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 16px; border: 1px solid rgba(0,240,255,.18); border-radius: 9px; background: rgba(0,240,255,.05); }
.player-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #00f0ff; color: #07101a; }
.player-card small, .player-card strong { display: block; }.player-card small { color: #64748b; }.player-card strong { font-size: 18px; }
.vault-stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.vault-stat-box { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px 6px; text-align: center; }
.vault-stat-label { font-size: 9px; color: #94a3b8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; font-weight: 700; }
.vault-stat-value { font-size: 18px; font-weight: 800; font-family: var(--font-arcade); color: #00f0ff; }
.vault-stat-value.wins { color: #34d399; }
.vault-stat-value.losses { color: #f87171; }
.badge-wins { display: inline-block; margin-left: 6px; padding: 2px 7px; background: rgba(52, 211, 153, 0.15); border: 1px solid rgba(52, 211, 153, 0.35); border-radius: 12px; color: #34d399; font-size: 0.75rem; font-weight: 700; }
#signed-in-panel h3 { margin-bottom: 10px; color: #94a3b8; font-size: 11px; letter-spacing: 1px; }
.match-row { display: grid; grid-template-columns: 140px 58px 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 6px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); font-size: 11px; }
.match-game-tag { display: flex; align-items: center; gap: 5px; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap; }
.match-lvl { color: #94a3b8; font-weight: 600; }
.match-detail { color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-outcome { font-weight: 700; text-align: right; letter-spacing: 0.5px; padding: 2px 6px; border-radius: 4px; }
.match-outcome.win { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.match-outcome.loss { color: #f87171; background: rgba(248, 113, 113, 0.12); }
.match-outcome.pts { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.match-outcome.neutral { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: #e2e8f0;
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(at 10% 15%, rgba(0, 240, 255, 0.06) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(176, 38, 255, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(33, 150, 243, 0.08) 0px, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* CRT Overlay */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%),
    radial-gradient(circle at center, transparent 70%, rgba(0, 0, 0, 0.4) 100%);
  background-size: 100% 4px, 100% 100%;
}

.crt-overlay.disabled {
  opacity: 0;
}

/* Header */
.hub-header {
  background: rgba(12, 14, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.9)); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-tech);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #00f0ff, #2196f3, #b026ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  font-family: var(--font-arcade);
  font-size: 0.55rem;
  color: #8892b0;
  letter-spacing: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-count {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  border-radius: 20px;
  letter-spacing: 1px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 6px 14px;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.control-btn.active {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* Main Container */
.hub-main {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-tag {
  font-family: var(--font-arcade);
  font-size: 0.7rem;
  color: var(--neon-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(255, 255, 0, 0.5);
}

.hero-heading {
  font-family: var(--font-tech);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.5;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(33, 150, 243, 0.3));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  width: 100%;
}

/* Game Tile Card */
.game-tile {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.game-tile:hover {
  transform: translateY(-8px);
  border-color: var(--tile-accent, var(--neon-cyan));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--tile-glow, rgba(0, 240, 255, 0.2));
}

.tile-preview {
  height: 190px;
  background: #0d0f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tile-badge-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.tile-badge {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--tile-accent, #fff);
  color: var(--tile-accent, #fff);
}

.tile-year {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-arcade);
  font-size: 0.6rem;
  color: #64748b;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
}

.tile-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.tile-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tile-category {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--tile-accent, var(--neon-cyan));
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tile-title {
  font-family: var(--font-tech);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.tile-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
  flex: 1;
}

.tile-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tile-score {
  font-family: var(--font-arcade);
  font-size: 0.65rem;
  color: #cbd5e1;
}

.tile-score span {
  color: var(--neon-yellow);
}

.tile-play-btn {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--tile-accent, var(--neon-cyan));
  color: #000;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tile-play-btn:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

/* Tile Preview Graphics */
.preview-art-modern {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rts-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tech);
  font-weight: 900;
  font-size: 0.8rem;
  box-shadow: 0 0 15px currentColor;
}

.rts-player {
  border-color: #2196f3;
  color: #2196f3;
  background: rgba(33, 150, 243, 0.2);
}

.rts-enemy {
  border-color: #f44336;
  color: #f44336;
  background: rgba(244, 67, 54, 0.2);
}

.rts-link {
  width: 50px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #64748b, #64748b 6px, transparent 6px, transparent 12px);
  position: relative;
}

.rts-unit {
  position: absolute;
  top: -8px;
  left: 18px;
  font-size: 0.9rem;
  animation: moveUnit 2s infinite linear;
}

@keyframes moveUnit {
  0% { left: 0%; }
  100% { left: 80%; }
}

/* Pacman Preview Art */
.preview-pacman-scene {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chomper {
  width: 36px;
  height: 36px;
  background: #ffff00;
  border-radius: 50%;
  clip-path: polygon(100% 74%, 50% 50%, 100% 26%, 100% 0, 0 0, 0 100%, 100% 100%);
  animation: chomp 0.4s infinite alternate;
  filter: drop-shadow(0 0 10px #ffff00);
}

@keyframes chomp {
  0% { clip-path: polygon(100% 50%, 50% 50%, 100% 50%, 100% 0, 0 0, 0 100%, 100% 100%); }
  100% { clip-path: polygon(100% 80%, 50% 50%, 100% 20%, 100% 0, 0 0, 0 100%, 100% 100%); }
}

.ghost-avatar {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px #ff2255);
  animation: ghostBob 1s infinite alternate ease-in-out;
}

@keyframes ghostBob {
  0% { transform: translateY(-4px); }
  100% { transform: translateY(4px); }
}

/* Digger Preview Art */
.preview-digger-scene {
  display: flex;
  align-items: center;
  gap: 16px;
}

.digger-item {
  font-size: 2.4rem;
  transition: transform 0.2s ease;
}

.digger-item:hover {
  transform: scale(1.2);
}

/* Tetris Preview Art */
.preview-tetris-scene {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tetro-grid {
  display: grid;
  gap: 2px;
}

.tetro-o {
  grid-template-columns: repeat(2, 14px);
  filter: drop-shadow(0 0 8px #ffff00);
}

.tetro-t {
  grid-template-columns: repeat(3, 14px);
  filter: drop-shadow(0 0 8px #b026ff);
}

.tetro-i {
  grid-template-columns: repeat(4, 12px);
  filter: drop-shadow(0 0 8px #00f0ff);
}

.tetro-cell {
  width: 100%;
  height: 14px;
  border-radius: 2px;
}

/* Safari Run Preview Art */
.preview-safari-scene {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  width: 100%;
  justify-content: center;
}

.safari-sun {
  position: absolute;
  top: -24px;
  right: 28px;
  width: 32px;
  height: 32px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 18px #f59e0b;
}

.safari-tree {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 8px rgba(120, 53, 15, 0.6));
}

.safari-rock {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 6px rgba(124, 45, 18, 0.6));
}

.safari-cheetah {
  font-size: 2.6rem;
  filter: drop-shadow(0 0 10px #f59e0b);
  animation: cheetahGallop 0.6s infinite alternate ease-in-out;
}

@keyframes cheetahGallop {
  0% { transform: translateY(-3px) scaleX(1); }
  100% { transform: translateY(3px) scaleX(1.05); }
}

/* Fast Car Preview Art */
.preview-fastcar-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.fastcar-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48%;
  background: linear-gradient(180deg, #0090f0 0%, #38bdf8 100%);
  z-index: 1;
}

.fastcar-road {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 52%;
  background: #475569;
  clip-path: polygon(36% 0%, 64% 0%, 100% 100%, 0% 100%);
  z-index: 2;
  display: flex;
  justify-content: space-evenly;
  padding-top: 10px;
}

.fastcar-stripe {
  width: 3px;
  height: 100%;
  background: repeating-linear-gradient(180deg, #fff 0px, #fff 12px, transparent 12px, transparent 24px);
}

.fastcar-palm {
  position: absolute;
  font-size: 2.2rem;
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

.fastcar-palm.left {
  left: 20px;
  bottom: 25px;
}

.fastcar-palm.right {
  right: 20px;
  bottom: 25px;
}

.fastcar-player {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  z-index: 4;
  filter: drop-shadow(0 0 10px #ef4444);
  animation: carVibrate 0.25s infinite alternate ease-in-out;
}

@keyframes carVibrate {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-2px); }
}

/* Sharpshooter Preview Art */
.preview-sharpshooter-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.sharpshooter-crosshair {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
  z-index: 3;
  pointer-events: none;
}

.sharpshooter-crosshair::before,
.sharpshooter-crosshair::after {
  content: '';
  position: absolute;
  background: #ffffff;
}

.sharpshooter-crosshair::before {
  top: 50%;
  left: -8px;
  right: -8px;
  height: 2px;
  transform: translateY(-50%);
}

.sharpshooter-crosshair::after {
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 2px;
  transform: translateX(-50%);
}

.sharpshooter-target {
  position: absolute;
  font-size: 2.2rem;
  z-index: 2;
}

.sharpshooter-target.duck {
  left: 18%;
  filter: drop-shadow(0 0 8px #facc15);
  animation: targetGlide 2.4s infinite ease-in-out;
}

.sharpshooter-target.circle {
  right: 18%;
  filter: drop-shadow(0 0 8px #ef4444);
  animation: targetGlideRev 2.8s infinite ease-in-out;
}

@keyframes targetGlide {
  0% { transform: translateX(-15px); }
  50% { transform: translateX(25px); }
  100% { transform: translateX(-15px); }
}

@keyframes targetGlideRev {
  0% { transform: translateX(15px); }
  50% { transform: translateX(-25px); }
  100% { transform: translateX(15px); }
}

/* Space Destroyer Preview Art */
.preview-space-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #0d1933 0%, #030712 85%);
  overflow: hidden;
}

.space-starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ffffff 1px, transparent 1px), radial-gradient(#38bdf8 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  background-position: 0 0, 16px 16px;
  opacity: 0.35;
}

.space-invader {
  position: absolute;
  font-size: 1.8rem;
  z-index: 2;
}

.space-invader.squid {
  top: 24%;
  left: 36%;
  filter: drop-shadow(0 0 8px #f43f5e);
  animation: invaderMarch 1.4s infinite ease-in-out alternate;
}

.space-invader.crab {
  top: 24%;
  right: 34%;
  filter: drop-shadow(0 0 8px #38bdf8);
  animation: invaderMarch 1.4s infinite ease-in-out alternate-reverse;
}

.space-cannon {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: #22c55e;
  text-shadow: 0 0 10px #22c55e;
  z-index: 3;
}

.space-laser {
  position: absolute;
  bottom: 25%;
  left: 50%;
  width: 3px;
  height: 14px;
  background: #facc15;
  box-shadow: 0 0 8px #facc15;
  transform: translateX(-50%);
  animation: laserFire 1.1s infinite ease-out;
  z-index: 2;
}

@keyframes invaderMarch {
  0% { transform: translateX(-16px); }
  100% { transform: translateX(16px); }
}

@keyframes laserFire {
  0% {
    bottom: 25%;
    opacity: 1;
  }
  80% {
    bottom: 75%;
    opacity: 1;
  }
  100% {
    bottom: 85%;
    opacity: 0;
  }
/* Gorillas Preview Scene (Tile 9) */
.preview-gorillas-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000aa;
  overflow: hidden;
  z-index: 1;
}

.gorilla-sun {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #ffff55;
  border-radius: 50%;
  box-shadow: 0 0 12px #ffff55;
  z-index: 2;
}

.gorilla-skyline-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.gorilla-skyline-silhouette .bld {
  flex: 1;
  border-right: 1px solid #000;
  position: relative;
}

.gorilla-skyline-silhouette .bld-1 { height: 50%; background: #00aaaa; }
.gorilla-skyline-silhouette .bld-2 { height: 75%; background: #aa0000; }
.gorilla-skyline-silhouette .bld-3 { height: 45%; background: #aaaaaa; }
.gorilla-skyline-silhouette .bld-4 { height: 85%; background: #00aaaa; }
.gorilla-skyline-silhouette .bld-5 { height: 70%; background: #aa0000; }
.gorilla-skyline-silhouette .bld-6 { height: 55%; background: #aaaaaa; }

.mini-gorilla {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.mini-gorilla.g-left {
  animation: gorillaHop 1.2s infinite ease-in-out;
}

.mini-gorilla.g-right {
  animation: gorillaHop 1.2s infinite ease-in-out 0.6s;
}

.flying-banana-dot {
  position: absolute;
  font-size: 1rem;
  z-index: 3;
  animation: bananaArc 1.8s infinite ease-in-out;
}

@keyframes gorillaHop {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

@keyframes bananaArc {
  0% {
    left: 25%;
    bottom: 52%;
    transform: rotate(0deg);
    opacity: 1;
  }
  50% {
    left: 50%;
    bottom: 82%;
    transform: rotate(270deg);
    opacity: 1;
  }
  95% {
    left: 75%;
    bottom: 48%;
    transform: rotate(540deg);
    opacity: 1;
  }
  100% {
    left: 75%;
    bottom: 48%;
    transform: rotate(540deg);
    opacity: 0;
  }
}

/* Footer Info */
.hub-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--panel-border);
  color: #64748b;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hub-footer a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.hub-footer a:hover {
  text-decoration: underline;
}
