:root {
  --bg: #060810;
  --bg2: #0b0f1a;
  --bg3: #0f1520;
  --green: #00ff88;
  --green2: #00cc6a;
  --cyan: #00e5ff;
  --amber: #ffb300;
  --purple: #9d4edd;
  --red: #ff4455;
  --text: #e8eaf0;
  --text2: #9ca3af;
  --muted: #4b5563;
  --border: #1a2333;
  --border2: rgba(0, 255, 136, 0.12);
  --card: #0a0e18;
  --card2: #0d1220;
  --mono: "Share Tech Mono", monospace;
  --display: "Orbitron", monospace;
  --body: "DM Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
  will-change: transform;
  backface-visibility: hidden;
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 136, 0.5);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s;
  will-change: transform;
  backface-visibility: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.06) 2px, rgba(0, 0, 0, 0.06) 4px);
  pointer-events: none;
  z-index: 200;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 255, 136, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 8, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-text .g { color: var(--green); }
.logo-text .c { color: var(--cyan); }
.logo-text .d { color: var(--muted); font-size: 13px; }

.nav-links, .nav-r {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a,
.nav-r a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-r a:hover {
  color: var(--green);
}

.nav-cta {
  background: var(--green) !important;
  color: var(--bg) !important;
  padding: 8px 20px;
  text-decoration: none;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
}

.btn-p,
.btn-s,
.btn-dl,
.btn-copy,
.btn-star,
.cb-copy {
  font-family: var(--mono);
}

.btn-p,
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-p::before,
.btn-dl::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.4s;
}

.btn-p:hover::before,
.btn-dl:hover::before {
  left: 100%;
}

.btn-p:hover,
.btn-dl:hover {
  background: var(--green2);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
  transform: translateY(-1px);
}

.btn-s,
.btn-copy,
.btn-star {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 13px 32px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: none;
  transition: all 0.2s;
}

.btn-s:hover,
.btn-copy:hover,
.btn-star:hover {
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--green);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--green);
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.6s ease both; }
.fade-in-2 { animation: fadeIn 0.6s 0.1s ease both; }
.fade-in-3 { animation: fadeIn 0.6s 0.2s ease both; }
.fade-in-4 { animation: fadeIn 0.6s 0.3s ease both; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-r { display: none; }
}
