:root {
  --bg-900: #030406;
  --panel: rgba(255,255,255,0.02);
  --accent-cyan: #22d3ee;
  --accent-sculk: #34d399;
  --accent-pink: #ff4b7b;
  --muted: #94a3b8;
  --glass-border: rgba(255,255,255,0.04);
  --header-h: 72px;
}

html, body { height:100%; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg-900) 0%, #05060a 60%);
  color: #e6eef8;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header.site-header {
  height: var(--header-h);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(6,8,12,0.55), rgba(6,8,12,0.35));
  border-bottom: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 6px 30px rgba(2,6,12,0.45);
}

.header-inner {
  width: 100%; max-width: 1180px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}

nav.header-nav { display:flex; gap:18px; align-items:center; }
nav.header-nav a {
  color: #cfe9f3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color .18s ease, background .18s ease, transform .12s ease;
}
nav.header-nav a:hover,
nav.header-nav a.active {
  color: white;
  background: rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

.header-join {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-sculk));
  color: #041226;
  border: 1px solid rgba(255,255,255,0.02);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.header-join:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34,211,238,0.08); }

/* Main content */
main { 
  padding-top: calc(var(--header-h) + 28px); 
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Glass panels */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  border-radius: 14px;
}

/* Buttons */
.btn-accent {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-sculk));
  color: #041226;
  font-weight:700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-accent:hover {
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(34,211,238,0.08);
}

.thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps aspect ratio */
}
/* Highlights grid */
.highlights-grid { display:grid; grid-template-columns: repeat(1, 1fr); gap: 16px; }
@media (min-width: 640px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } }

/* Footer */
footer { 
  color: var(--muted); 
  padding: 44px 20px; 
  max-width: 1180px;
  margin: 0 auto;
}

/* Home page specific */
.banner-slot {
  max-width: 1250px; width: 100%; height: 500px;
  margin: calc(var(--header-h) - 100px) auto 28px auto;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(6,8,12,0.6), rgba(6,8,12,0.45));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 12px 60px rgba(2,6,12,0.6);
}
.banner-slot img { width:100%; height:100%; object-fit:cover; display:block; }

/* Status page specific */
.status-area { padding: 22px; text-align: center; }
.status-chip { display:flex; gap:10px; align-items:center; justify-content:center; margin:12px 0; }
.status-dot { width:12px; height:12px; border-radius:999px; background:#6b7280; display:inline-block; }

.muted { color:var(--muted); }

.chart-wrap { margin-top:14px; padding:10px; }
.player-graph { 
  width:100% !important; 
  height: 280px !important; 
  display:block; 
  border-radius:10px; 
  background: linear-gradient(180deg, rgba(6,8,12,0.5), rgba(6,8,12,0.4)); 
  padding:8px; 
}

.player-grid { margin-top:18px; display:grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap:16px; }
.player {
  padding:12px;
  border-radius:10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.02);
  text-align:center;
}
.player .avatar {
  width:80px; height:80px; margin:0 auto 8px; overflow:hidden; border-radius:8px; background:#071022;
}
.player .avatar img {
  width:80px; height:80px; object-fit:cover; display:block;
}

/* Responsive */
@media (max-width: 720px) {
  .banner-slot { height: 320px; margin-top: calc(var(--header-h) - 100px); }
  .player-graph { height: 200px !important; }
}