/* public/style.css: No Overall Control client (main menu + placeholders).
 * Dark theme; palette matches the game's identity:
 *   bg #0b0f19, panel #131a2a, border #233052
 *   accents: blue #4cc9f0, pink #f72585, yellow #ffd166, green #06d6a0 */

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #0b0f19;
  color: #e6edf3;
  min-height: 100vh;
}

#app {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- top bar ------------------------------------------------------------ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #233052;
}

.brand {
  color: #e6edf3;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: #8b98b8;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav a:hover { color: #e6edf3; background: #131a2a; }

.nav a.active {
  color: #07101c;
  background: #4cc9f0;
  font-weight: 700;
}

/* --- main menu (home) ---------------------------------------------------- */

.hero { text-align: center; padding: 28px 0 8px; }

.hero h1 {
  font-size: 2.6rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #4cc9f0, #f72585);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline { color: #9fb3dc; margin-top: 8px; font-size: 1.05rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 24px 0;
}

.menu-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #131a2a;
  border: 1px solid #233052;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: #e6edf3;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: #4cc9f0;
  background: #182240;
}

.menu-card .icon { font-size: 1.8rem; }
.menu-card .label { font-size: 1.1rem; font-weight: 700; }
.menu-card .sub { color: #8b98b8; font-size: 0.85rem; }

.menu-card .soon {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffd166;
  border: 1px solid #ffd166;
  border-radius: 999px;
  padding: 2px 8px;
}

/* --- placeholder pages --------------------------------------------------- */

.placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px 24px;
}

.placeholder .icon { font-size: 3rem; }
.placeholder h2 { font-size: 1.6rem; }
.placeholder p { color: #8b98b8; max-width: 420px; line-height: 1.5; }

.placeholder .note {
  font-size: 0.8rem;
  color: #ffd166;
  border: 1px dashed #233052;
  border-radius: 10px;
  padding: 10px 16px;
}

/* Stats embedded inside the profile view. */
.profile-stats {
  width: 100%;
  max-width: 420px;
  border: 1px solid #233052;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  background: #131a2a;
}

.profile-stats h3 {
  color: #9fb3dc;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.profile-stats p {
  color: #8b98b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: #4cc9f0;
  color: #07101c;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

.btn:hover { background: #6fd6f5; }

/* --- footer -------------------------------------------------------------- */

.footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #233052;
  color: #8b98b8;
  font-size: 0.8rem;
}

.footer .ok { color: #06d6a0; }
.footer .bad { color: #f72585; }
