:root {
  --bg: #0f1115;
  --bg2: #161a22;
  --card: #1c2230;
  --card-hover: #232b3d;
  --accent: #6ea8fe;
  --accent2: #b98bff;
  --text: #e7ecf3;
  --muted: #93a1b5;
  --border: #2a3243;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, #1b2440 0%, var(--bg) 55%);
  display: flex;
  min-height: 100vh;
}

.wrap {
  margin: auto;
  width: 100%;
  max-width: 960px;
  padding: 48px 20px;
}

.head { text-align: center; margin-bottom: 40px; }
.head h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.logo { filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.tagline { color: var(--muted); margin: 8px 0 0; font-size: 1.05rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.tile:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: var(--accent);
}
.tile .ico { font-size: 2rem; }
.tile .name { font-weight: 650; font-size: 1.15rem; }
.tile .desc { color: var(--muted); font-size: .9rem; }

.foot { margin-top: 40px; text-align: center; }
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transition: opacity .15s ease, transform .15s ease;
}
.admin-btn:hover { opacity: .92; transform: translateY(-2px); }
