:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --purple-dark: #4c1d95;
  --neon: #c084fc;
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #13131f;
  --card: #16162a;
  --border: #2d2d4e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --gold: #f59e0b;
  --success: #10b981;
  --error: #ef4444;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  overflow-x: hidden;
}

/* CURSOR */
#cursor-dot {
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #fff, 0 0 20px #c084fc, 0 0 40px #7c3aed;
  transition: transform 0.05s ease;
}

/* PARTICLES */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo-observer { color: #fff; }
.logo-gen { color: var(--neon); margin-left: 6px; }

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--neon); }

.nav-auth, .nav-user { display: flex; align-items: center; gap: 0.75rem; }
.nav-user span { font-size: 0.9rem; color: var(--text-muted); }
#nav-username { color: var(--text); font-weight: 600; }
#nav-balance { color: var(--success); font-weight: 600; }

.vip-badge {
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.nav-burger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: none; }

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(168,85,247,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-outline:hover {
  background: rgba(124,58,237,0.15);
  box-shadow: 0 0 15px rgba(124,58,237,0.3);
}

.btn-vip {
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #000;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-vip:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(245,158,11,0.5);
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; margin-top: 0.5rem; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.glow-text {
  color: #fff;
  text-shadow: 0 0 30px rgba(192,132,252,0.8), 0 0 60px rgba(124,58,237,0.5);
}

.hero-gen {
  display: block;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(192,132,252,1), 0 0 60px rgba(168,85,247,0.7);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* STATS */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 15px rgba(192,132,252,0.5);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* SECTIONS */
section { position: relative; z-index: 1; padding: 5rem 2rem; }

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #fff;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* GENERATOR */
.generator-section { background: var(--bg2); }

.cooldown-bar {
  max-width: 600px;
  margin: 0 auto 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cooldown-text { position: relative; z-index: 1; font-size: 0.9rem; color: var(--text-muted); }

.cooldown-progress {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(124,58,237,0.3), rgba(168,85,247,0.3));
  transition: width 1s linear;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.service-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: none;
  transition: all 0.2s;
  position: relative;
  user-select: none;
}

.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.2);
}

.service-card.selected {
  border-color: var(--neon);
  background: rgba(124,58,237,0.15);
  box-shadow: 0 0 20px rgba(192,132,252,0.3);
}

.service-card.empty {
  opacity: 0.4;
  cursor: not-allowed;
}

.service-checkbox {
  position: absolute;
  top: 10px; right: 10px;
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.service-card.selected .service-checkbox {
  background: var(--neon);
  border-color: var(--neon);
}

.service-card.selected .service-checkbox::after {
  content: '✓';
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-logo {
  width: 64px; height: 64px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
  border-radius: 12px;
}

.service-logo-placeholder {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 12px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.service-stock {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.service-vip-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #000;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.generate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.results-container {
  max-width: 800px;
  margin: 2rem auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.results-container h3 {
  margin-bottom: 1rem;
  color: var(--neon);
  font-family: 'Orbitron', sans-serif;
}

.result-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.result-service { font-weight: 600; color: var(--neon); min-width: 100px; }
.result-data { font-family: monospace; color: var(--text); flex: 1; word-break: break-all; }
.result-copy { background: none; border: 1px solid var(--border); color: var(--text-muted); padding: 4px 10px; border-radius: 6px; cursor: none; font-size: 0.8rem; }
.result-copy:hover { border-color: var(--purple); color: var(--neon); }

/* VIP SECTION */
.vip-section { background: var(--bg); }

.vip-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.vip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  width: 240px;
  position: relative;
  transition: all 0.3s;
}

.vip-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(245,158,11,0.15);
}

.vip-popular {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(245,158,11,0.2);
}

.vip-lifetime {
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(192,132,252,0.2);
}

.vip-badge-top {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.vip-lifetime .vip-badge-top {
  background: linear-gradient(135deg, var(--neon), var(--purple));
  color: #fff;
}

.vip-card-header { margin-bottom: 1.5rem; }
.vip-duration { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.vip-price { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); }

.vip-features { list-style: none; margin-bottom: 1.5rem; }
.vip-features li { color: var(--text-muted); font-size: 0.85rem; padding: 0.3rem 0; }
.vip-features li::first-letter { color: var(--success); }

.vip-card .btn-vip { width: 100%; }

/* GIFT CARDS */
.giftcard-section { background: var(--bg2); }

.giftcard-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}

#giftcard-result {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

/* CONTACT */
.contact-section { background: var(--bg); }

.contact-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 200px;
}

.contact-card:hover { transform: translateY(-5px); }

.discord:hover { border-color: #5865f2; box-shadow: 0 10px 30px rgba(88,101,242,0.3); }
.telegram:hover { border-color: #0088cc; box-shadow: 0 10px 30px rgba(0,136,204,0.3); }

.contact-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.contact-name { font-weight: 700; font-size: 1.1rem; color: var(--text); margin-bottom: 0.25rem; }
.contact-handle { color: var(--text-muted); font-size: 0.85rem; }

/* FOOTER */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--neon); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.modal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--neon);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: none;
}
.modal-close:hover { color: var(--text); }

.modal-switch { text-align: center; margin-top: 1rem; color: var(--text-muted); font-size: 0.85rem; }
.modal-switch a { color: var(--neon); cursor: none; }

/* FORMS */
.input-field {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}

.input-field:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }

.captcha-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.captcha-box span { color: var(--text); font-weight: 600; white-space: nowrap; }
.captcha-box .input-field { margin-bottom: 0; flex: 1; }

.password-wrap { position: relative; }

.password-strength {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: -0.5rem 0 0.5rem;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: all 0.3s;
}

#strength-label { font-size: 0.8rem; margin-bottom: 0.25rem; }
#brute-time { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }

.error-msg { color: var(--error); font-size: 0.85rem; margin-bottom: 0.5rem; min-height: 1.2em; }
.success-msg { color: var(--success); font-size: 0.85rem; }

/* VIP MODAL */
.vip-modal-info { margin-bottom: 1.5rem; text-align: center; }
.vip-modal-price { font-family: 'Orbitron', sans-serif; font-size: 2rem; color: var(--gold); }
.vip-modal-duration { color: var(--text-muted); margin-top: 0.25rem; }
.vip-pay-methods { display: flex; flex-direction: column; gap: 0.75rem; }

/* LOADING */
.loading-spinner {
  grid-column: 1/-1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
}

/* HIDDEN */
.hidden { display: none !important; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg2); padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
  .nav-burger { display: block; }
  .nav-auth, .nav-user { display: none; }
  .vip-cards { flex-direction: column; align-items: center; }
  .vip-card { width: 100%; max-width: 320px; }
  .stat-item { min-width: 120px; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* TOUCH RIPPLE */
.touch-ripple {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  animation: ripple-out 0.6s ease-out forwards;
}

@keyframes ripple-out {
  0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}

.snow-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99997;
  border-radius: 50%;
  animation: snow-fall 1s ease-out forwards;
}

@keyframes snow-fall {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(80px) scale(0); opacity: 0; }
}
