/* === Layout: Grid System, Containers, Screens === */

.screen {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.screen.active {
  display: block;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 600px at 15% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 75%, rgba(0, 180, 100, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
}

/* --- Dashboard Container & Grid --- */

.dashboard-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 100px;
}

.dash-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- Landing Container (Stats page etc.) --- */

.landing-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 20px 100px 20px;
}

/* --- Top Bar --- */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Bento Grid --- */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* --- Game Layout --- */

.game-layout {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 1rem;
  gap: 16px;
  min-height: 100vh;
  align-items: center;
}

.game-left {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  position: relative;
}

#screen-game {
  padding-bottom: 0;
}

/* Utility Classes */
.hidden {
  display: none !important;
}
