/* Modern, minimal styles for OJIMS MC homepage */
:root{
--bg:#0f1724;
--card:#0b1220;
--muted:#9aa6bf;
--accent:#6ee7b7;
--accent-2:#60a5fa;
--glass: rgba(255,255,255,0.04);
--radius:12px;
--container-width:1100px;
--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;
background:linear-gradient(180deg,#071028 0%, #071019 60%);
color:#e6eef8;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height:1.5;
}
.container{
max-width:var(--container-width);
margin:0 auto;
padding:0 20px;
}
.site-header{
padding:18px 0;
backdrop-filter: blur(6px);
}
.header-row{display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:800;color:var(--accent);text-decoration:none;font-size:1.05rem}
.nav a{color:var(--muted);text-decoration:none;margin-left:18px;font-weight:600}
.nav a:hover{color:var(--accent-2)}

.hero{
padding:64px 0 48px;
background:linear-gradient(135deg, rgba(96,165,250,0.09), rgba(110,231,183,0.06));
}
.hero-inner{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.hero h1{font-size:2.1rem;margin:0;font-weight:800}
.lead{color:var(--muted);max-width:760px}

.cta-row{display:flex;gap:12px;margin-top:6px}
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#04202b}
.btn.ghost{background:transparent;color:var(--accent);border:1px solid rgba(255,255,255,0.06)}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:20px;border-radius:var(--radius);box-shadow:0 6px 18px rgba(2,6,23,0.6)}
.card h3{margin:0 0 8px}
.mono{font-family:var(--mono);color:var(--accent);margin:0 0 8px}

.links{margin-top:36px;padding:18px;border-radius:10px;background:var(--glass)}
.links h2{margin-top:0}
.links ul{margin:8px 0 0;padding-left:18px;color:var(--muted)}
.links a{color:var(--accent);text-decoration:none}

.site-footer{margin-top:48px;padding:18px 0;border-top:1px solid rgba(255,255,255,0.03)}
.footer-row{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}
.footer-right a{color:var(--muted);text-decoration:none;margin-left:12px}

/* Responsive */
@media (max-width:900px){
.cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
.header-row{flex-direction:column;align-items:flex-start;gap:12px}
.nav a{margin-left:0}
.hero h1{font-size:1.6rem}
.cards{grid-template-columns:1fr}
.footer-row{flex-direction:column;gap:10px}
}

/* Small utility */
a{color:inherit}

/* Ensure focus outlines for accessibility */
a:focus,button:focus{outline:2px dashed rgba(96,165,250,0.6);outline-offset:3px}

/* Status pill in header */
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.03);
  color:var(--muted);
  text-decoration:none;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease;
  user-select:none;
  font-weight:700;
  font-size:0.9rem;
}
.status-pill .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(90deg,#94a3b8,#c7d2fe);
  box-shadow:0 2px 6px rgba(2,6,23,0.45);
  flex:0 0 10px;
}
.status-pill:hover{ transform:translateY(-2px); box-shadow:0 6px 22px rgba(2,6,23,0.45); }
.status-pill.online{ color: #0b2f2a; background: linear-gradient(90deg, rgba(110,231,183,0.14), rgba(96,165,250,0.04)); }
.status-pill.offline{ color:var(--muted); }
.status-pill.error{ color:var(--muted); opacity:0.9 }