/* Font Import */
@font-face {
  font-family: 'Digital-7';
  src: url('digital-7.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base */
:root {
  --bg: #050806;
  --bg2: #0b1210;
  --card: rgba(0,255,130,0.06);
  --glass: rgba(0,255,130,0.09);
  --text: #c9ffdd;
  --muted: #77b892;
  --accent: #33ff88; /* primary neon */
  --accent-2: #58ffc7; /* link neon */
  --border: rgba(51,255,136,0.35);
  --scanline: rgba(51,255,136,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Digital-7', monospace;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(51,255,136,0.15), transparent),
    radial-gradient(900px 600px at 90% 0%, rgba(0,255,204,0.10), transparent),
    linear-gradient(180deg, var(--bg), var(--bg2));
  position: relative;
}

/* faint scanlines */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 2px,
      var(--scanline) 3px,
      transparent 4px
  );
  mix-blend-mode: screen;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top/Bottom transparent menus */
.topbar, .bottombar {
  position: fixed;
  left: 0; right: 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.15));
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.bottombar { bottom: 0; border-top: 1px solid var(--border); border-bottom: none; }
.topbar { top: 0; }

.topbar .container, .bottombar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-title { font-weight: 800; letter-spacing: 2px; color: var(--accent); text-shadow: 0 0 8px rgba(51,255,136,0.6); }

.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a, .admin-link {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  transition: background 120ms ease, color 120ms ease;
}
.nav-links a:hover, .admin-link:hover { background: var(--glass); color: #fff; box-shadow: 0 0 12px rgba(51,255,136,0.4) inset; }

/* Main layout */
.main { padding-top: 80px; padding-bottom: 80px; min-height: 100vh; display: grid; place-items: center; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }

.left-col .logo-wrap { display: flex; justify-content: center; align-items: center; }
.big-logo { width: min(360px, 50vw); height: auto; filter: drop-shadow(0 0 18px rgba(51,255,136,0.55)); }
.title { font-size: 5vw; margin: 12px 0 20px; text-align: center;  font-family: 'Digital-7', monospace; color: var(--accent); text-shadow: 0 0 10px rgba(51,255,136,0.7); letter-spacing: 1px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.card-head { padding: 14px 16px; font-weight: 600; letter-spacing: 2px; font-family: 'Digital-7', monospace; color: var(--accent); background: rgba(0,0,0,0.35); border-bottom: 1px solid var(--border); text-shadow: 0 0 8px rgba(51,255,136,0.6); }
.card-body { padding: 16px; display: flex; align-items: center; }

.rewards-value { font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--accent); text-shadow: 0 0 14px rgba(51,255,136,0.65); font-family: 'Digital-7', monospace; }
.rewards-sub { color: var(--muted); margin-top: 6px; }

.boosts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.boost-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(10,20,15,0.6); box-shadow: 0 0 18px rgba(51,255,136,0.08) inset; }
.boost-label { color: var(--muted); font-family: 'Digital-7', monospace; letter-spacing: 1px; }
.boost-link { color: var(--accent-2); text-decoration: none; word-break: break-all; text-shadow: 0 0 8px rgba(88,255,199,0.6); }
.boost-link:hover { text-decoration: underline; }
.empty-hint { color: var(--muted); font-size: 14px; margin-top: 8px; }

.right-placeholder { border: 1px dashed var(--border); border-radius: 16px; padding: 20px; color: var(--muted); background: rgba(255,255,255,0.03); }

/* Bottom */
.bottom-inner { gap: 16px; }
.contract { display: flex; align-items: center; gap: 8px; }
.contract-label { color: var(--muted); }
.contract-value {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.contract-value:hover { background: var(--glass); box-shadow: 0 0 12px rgba(51,255,136,0.4) inset; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .right-col { order: 2; }
  .left-col { order: 1; }
  .big-logo { width: min(300px, 70vw); }
}


