:root {
  --bg: #080a0e;
  --surface: #0d1117;
  --border: #1c2333;
  --accent: #00ff88;
  --accent-dim: rgba(0,255,136,0.08);
  --text: #e6edf3;
  --muted: #7d8590;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,10,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 52px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0,255,136,0.3);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Container */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.hero-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0,255,136,0.3);
}

.hero-sub {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
  50% { box-shadow: 0 0 0 4px rgba(0,255,136,0); }
}

/* Sections */
section {
  margin-bottom: 56px;
  animation: fadeUp 0.5s ease both;
}

section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.info-cell {
  background: var(--surface);
  padding: 14px 18px;
  transition: background 0.2s;
}

.info-cell.full {
  grid-column: span 2;
}

.info-cell:hover { background: var(--accent-dim); }

.info-cell .label {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.info-cell .value {
  font-size: 0.82rem;
  color: var(--text);
  word-break: break-all;
}

.info-cell .value.accent {
  color: var(--accent);
  font-weight: 600;
}

/* Policy */
.policy-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.policy-item:last-child { border-bottom: none; }
.policy-item:hover { background: var(--accent-dim); color: var(--text); }
.policy-item .icon { color: var(--accent); flex-shrink: 0; }

/* Link cards */
.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.link-card {
  background: var(--surface);
  padding: 20px;
  text-decoration: none;
  transition: background 0.2s;
  display: block;
}

.link-card:hover { background: var(--accent-dim); }

.link-title {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.link-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Empty state */
.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 64px 24px;
  text-align: center;
}

.empty-icon {
  font-size: 2.5rem;
  color: var(--border);
  margin-bottom: 16px;
}

.empty-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.empty-sub {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.8;
}

.empty-sub a {
  color: var(--accent);
  text-decoration: none;
}

.empty-sub a:hover { text-decoration: underline; }

/* Form */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.06);
}

.form-row textarea { resize: vertical; min-height: 80px; }
.form-row select option { background: var(--surface); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.submit-btn {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-top: 6px;
}

.submit-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(0,255,136,0.3);
}

.submit-btn:active { transform: scale(0.99); }

.form-note {
  font-size: 0.67rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}

.success-msg {
  display: none;
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 6px;
  padding: 16px 20px;
  color: var(--accent);
  font-size: 0.8rem;
  text-align: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.67rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--accent); }

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .info-grid { grid-template-columns: 1fr; }
  .info-cell.full { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; text-align: center; }
}
