/* Kepler Hotel CMS — Habbo retro vibe */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root {
  --ink: #1b1b2f;
  --paper: #f7f3e8;
  --habbo-blue: #1b6ca8;
  --habbo-blue-dark: #0d4f80;
  --habbo-yellow: #ffcc00;
  --habbo-orange: #ff7a00;
  --habbo-green: #6ab04c;
  --habbo-red: #e84118;
  --panel: #ffffff;
  --shadow: #00000033;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--ink);
  background:
    repeating-linear-gradient(45deg, #1b6ca8 0 24px, #1f7bbd 24px 48px);
  min-height: 100vh;
  image-rendering: pixelated;
}

a { color: var(--habbo-blue-dark); }

.pixel { font-family: 'Press Start 2P', monospace; }

.topbar {
  background: var(--habbo-blue-dark);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 4px 0 var(--shadow);
}
.topbar-inner {
  max-width: 980px; margin: 0 auto; padding: 14px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand {
  font-family: 'Press Start 2P', monospace;
  font-size: 16px; color: var(--habbo-yellow);
  text-decoration: none; text-shadow: 2px 2px 0 #000;
}
.nav { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-size: 22px; }
.nav a:hover { color: var(--habbo-yellow); }

.wrap { max-width: 980px; margin: 24px auto; padding: 0 18px; }

.panel {
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 22px;
  margin-bottom: 22px;
}
.panel h1, .panel h2 { font-family: 'Press Start 2P', monospace; line-height: 1.6; }
.panel h1 { font-size: 18px; color: var(--habbo-blue-dark); }
.panel h2 { font-size: 14px; color: var(--habbo-orange); }

.hero {
  background: linear-gradient(180deg, #ffd84d, #ffcc00);
  border: 4px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 30px; text-align: center; margin-bottom: 22px;
}
.hero h1 { font-family:'Press Start 2P', monospace; font-size: 26px; margin: 0 0 8px; text-shadow: 2px 2px 0 #fff8; }
.hero p { font-size: 24px; margin: 6px 0 18px; }

.stats { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.stat {
  background: #fff; border: 3px solid var(--ink); border-radius: 8px;
  padding: 14px 20px; min-width: 150px; box-shadow: 4px 4px 0 var(--shadow);
}
.stat .num { font-family:'Press Start 2P', monospace; font-size: 22px; color: var(--habbo-blue-dark); }
.stat .lbl { font-size: 18px; color: #555; }
.stat .dot { display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--habbo-green);margin-right:6px;box-shadow:0 0 6px var(--habbo-green); }

.btn {
  display: inline-block; cursor: pointer;
  font-family:'Press Start 2P', monospace; font-size: 13px;
  background: var(--habbo-green); color: #fff; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 8px;
  padding: 14px 22px; box-shadow: 0 5px 0 #2f6b1c;
  transition: transform .05s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #2f6b1c; }
.btn.blue { background: var(--habbo-blue); box-shadow: 0 5px 0 var(--habbo-blue-dark); }
.btn.orange { background: var(--habbo-orange); box-shadow: 0 5px 0 #b35600; }
.btn.big { font-size: 18px; padding: 18px 30px; }

label { display:block; font-size: 20px; margin: 12px 0 4px; font-weight: bold; }
input[type=text], input[type=password], select, textarea {
  width: 100%; font-family:'VT323', monospace; font-size: 22px;
  padding: 8px 10px; border: 3px solid var(--ink); border-radius: 6px; background:#fffef7;
}
.hint { font-size: 17px; color: #777; margin-top: 4px; }

.alert { border:3px solid var(--ink); border-radius:8px; padding:12px 14px; margin-bottom:16px; font-size:20px; }
.alert.err { background:#ffe1dc; color:#a01f0d; }
.alert.ok { background:#e3f7d9; color:#2f6b1c; }

.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
@media (max-width: 720px){ .grid2{ grid-template-columns:1fr; } .hero h1{font-size:18px;} }

table { width:100%; border-collapse: collapse; font-size: 20px; }
th, td { text-align:left; padding:8px 10px; border-bottom: 2px solid #00000022; }
th { font-family:'Press Start 2P', monospace; font-size: 11px; color:#555; }

.avatar { image-rendering: pixelated; background:#f0ead8; border:3px solid var(--ink); border-radius:8px; }
.userlist { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.userlist li { display:flex; align-items:center; gap:10px; border-bottom:2px solid #00000018; padding-bottom:6px; }
.badge-online { font-size:15px; color:var(--habbo-green); }
.tag { display:inline-block; background:var(--habbo-yellow); border:2px solid var(--ink); border-radius:5px; padding:1px 7px; font-size:16px; }
.muted { color:#777; font-size:18px; }
.footer { text-align:center; color:#fff; padding:20px; font-size:18px; text-shadow:1px 1px 0 #000; }
