:root {
  --bg: #0f141a;
  --sidebar: #0c1117;
  --panel: #151b23;
  --panel-2: #1b2230;
  --accent: #4da3ff;
  --accent-hover: #2f8cff;
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --success: #2ecc71;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: var(--sidebar);
  border-right: 1px solid #1e2633;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sidebar h2 span {
  color: var(--accent);
}

.nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-link.active,
.nav-link:hover {
  background: var(--panel);
  color: var(--text);
}

.sidebar-footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Top bar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: var(--panel);
  border-bottom: 1px solid #222b3a;
}

.panel-btn {
  text-decoration: none;
  background: var(--panel-2);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid #263044;
}

.panel-btn:hover {
  border-color: var(--accent);
}

/* Content */
.content {
  padding: 40px 36px;
  max-width: 1200px;
  width: 100%;
}

/* Hero */
.hero {
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.buy-btn {
  display: inline-block;
  background: var(--accent);
  color: #08121d;
  padding: 14px 34px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.buy-btn:hover {
  background: var(--accent-hover);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid #222b3a;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Pricing */
.pricing {
  margin-bottom: 80px;
}

.pricing h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

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

.price-card {
  background: var(--panel);
  border: 1px solid #222b3a;
  border-radius: 14px;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.price-card ul {
  list-style: none;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.price-card a {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  border: 1px solid #263044;
}

.price-card a:hover {
  border-color: var(--accent);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222b3a;
  color: var(--muted);
  font-size: 0.85rem;
}
.server-status {
  margin-bottom: 80px;
}

.server-status h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.status-card {
  background: var(--panel);
  border: 1px solid #222b3a;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: gray;
}

.dot.online {
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
}

.dot.offline {
  background: #e74c3c;
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.7);
}
.server-btn {
  padding: 6px 12px;
  margin-top: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}

.server-btn.start { background: #2ecc71; }
.server-btn.stop  { background: #e74c3c; }

.server-btn:hover {
  opacity: 0.85;
}
