:root {
  --bg: #08090c;
  --bg-card: #0f1115;
  --gold: #c9a227;
  --gold-light: #e8c84b;
  --gold-dark: #8a6d1a;
  --gold-glow: rgba(201,162,39,0.25);
  --green: #2ecc71;
  --red: #e74c3c;
  --text: #eaeaea;
  --text-dim: #7a7f8e;
  --border: rgba(255,255,255,0.07);
  --radius: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Cinzel', serif; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
p { line-height: 1.75; color: var(--text-dim); }
code { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; color: var(--gold-light); background: rgba(255,255,255,0.05); padding: 0.1em 0.4em; border-radius: 3px; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0 6rem; }
.gold { color: var(--gold); }
.section-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; padding: 0.4rem 1rem; border: 1px solid var(--gold-dark); border-radius: 3px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding: 1rem 0; transition: all 0.4s; }
.nav.scrolled { background: rgba(8,9,12,0.92); backdrop-filter: blur(16px); padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-text { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: 0.2em; }
.brand-sub { font-size: 0.55rem; color: var(--text-dim); letter-spacing: 0.5em; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }
.nav-cta { background: var(--gold) !important; color: var(--bg) !important; padding: 0.55rem 1.3rem; border-radius: 3px; font-weight: 700 !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); }

/* HERO */
.status-hero { position: relative; padding: 9rem 0 5rem; text-align: center; overflow: hidden; }
.status-hero-bg { position: absolute; inset: 0; }
.status-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.status-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,0.6) 0%, rgba(8,9,12,0.4) 40%, rgba(8,9,12,0.9) 90%, var(--bg) 100%); }
.status-hero-content { position: relative; z-index: 1; }
.status-hero-content h1 { color: #fff; margin: 0.5rem 0 0.75rem; }
.status-hero-content p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

/* STATUS CARD */
.status-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 2.5rem; margin-top: -2rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.status-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.status-indicator { display: flex; align-items: center; gap: 1rem; }
.big-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--text-dim); box-shadow: 0 0 0 4px rgba(122,127,142,0.15); transition: all 0.3s; }
.big-dot.online { background: var(--green); box-shadow: 0 0 0 4px rgba(46,204,113,0.15), 0 0 12px rgba(46,204,113,0.4); }
.big-dot.offline { background: var(--red); box-shadow: 0 0 0 4px rgba(231,76,60,0.15), 0 0 12px rgba(231,76,60,0.4); }
.status-label { display: block; font-weight: 600; font-size: 1rem; color: var(--text); }
.status-sub { font-size: 0.78rem; color: var(--text-dim); }
.refresh-badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 3px; }

/* STATS GRID */
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.stat-block { background: var(--bg); padding: 1.5rem; text-align: center; }
.stat-label-sm { display: block; font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.4rem; }
.stat-value { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--text); font-weight: 600; }
.stat-online { color: var(--green); }

/* DETAILS */
.status-details { margin-bottom: 2rem; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.detail-row:last-child { border-bottom: none; }
.detail-row span:first-child { color: var(--text-dim); }

/* UPTIME */
.uptime-section { background: rgba(0,0,0,0.2); border-radius: var(--radius); padding: 1.5rem; }
.uptime-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 0.85rem; }
.uptime-header span:first-child { color: var(--text-dim); font-weight: 500; }
.uptime-pct { color: var(--green); font-weight: 700; }
.uptime-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.uptime-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #27ae60); border-radius: 3px; transition: width 0.5s ease; }
.uptime-stats { display: flex; gap: 2rem; margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-dim); }
.uptime-stats strong { color: var(--text); }

/* INFO GRID */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; transition: border-color 0.2s; }
.info-card:hover { border-color: var(--gold-dark); }
.info-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.info-card p { font-size: 0.85rem; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; background: var(--bg-card); margin-top: 4rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.footer-brand { font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.1em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(8,9,12,0.98); backdrop-filter: blur(12px); padding: 2rem; gap: 1.2rem; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-burger { display: flex; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; }
}
