/* === BASE === */
body {
  margin: 0;
  padding: 0;
  font-family: "Orbitron", sans-serif;
  color: #fff;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #0a0a0f, #000000 85%);
}

.hidden {
  display: none !important; /* обязательно скрывает */
}

/* === CYBER AURA (пульсирующая дымка) === */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #8b5cf6 0%, transparent 70%),
              radial-gradient(circle at 30% 70%, #00ffe7 0%, transparent 70%),
              radial-gradient(circle at 70% 30%, #ec4899 0%, transparent 70%);
  background-size: 300% 300%;
  animation: pulseBg 20s ease-in-out infinite alternate;
  filter: blur(180px);
  opacity: 0.15;
  z-index: -2;
}

@keyframes pulseBg {
  0% { background-position: 20% 30%; }
  50% { background-position: 80% 70%; }
  100% { background-position: 40% 20%; }
}

/* === NEON GRID (Tron-сетка) === */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 231, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
}

/* === HEADER === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  font-weight: 800;
}
.logo span {
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

/* === NAVIGATION === */
.nav {
  display: flex;
  gap: 50px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 6px;
  white-space: nowrap;
}
.nav a.active,
.nav a:hover {
  color: #fff;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ffe7, #ec4899);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* === WALLET CARD === */
.wallet-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
}
.wallet-icon {
  width: 20px;
  height: 20px;
}
.copy-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* === CONNECT BUTTON === */
.connect-btn {
  padding: 10px 24px;
  border-radius: 8px;
  background: linear-gradient(270deg, #00ffe7, #8b5cf6, #ec4899);
  background-size: 600% 600%;
  border: none;
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: gradientFlow 6s ease infinite;
}
.connect-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 750px;
  margin: 2rem auto;
  padding: 0 1rem;
  z-index: 2;
  position: relative;
}

/* === HEADINGS (с неоновой анимацией) === */
h1, h2 {
  text-align: center;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  animation: neonPulse 2.5s infinite alternate;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
@keyframes neonPulse {
  from { text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
  to   { text-shadow: 0 0 20px rgba(236, 72, 153, 0.8); }
}

/* === CARDS === */
.card {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.1);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* === FORMS === */
label {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}
input, textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
input:focus, textarea:focus {
  border-color: #a855f7;
  outline: none;
  box-shadow: 0 0 6px #a855f7;
}
textarea {
  min-height: 100px;
  resize: vertical;
}

/* === CHECKBOXES === */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 6px;
  background-color: #111;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  vertical-align: middle;
  margin-right: 6px;
}
input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: #a855f7;
}
input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 12px;
  color: white;
  font-weight: bold;
}

/* === BUTTONS === */
button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}
button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* === LOG AREA === */
#log {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  color: #00ff9d;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 2rem;
}

/* === PAGES === */
.page { display: none; }
.page.active { display: block; }

/* HERO */
/* === HERO SECTION === */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none; /* убрано свечение */
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none; /* убрано свечение */
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: #bbb; /* спокойный серый текст */
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}





.gradient-text {
  background: linear-gradient(90deg, #00ffe7, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  margin-top: 1rem;
  color: #bbb;
  font-size: 1.2rem;
}
.cta {
  margin-top: 2rem;
}
.cta-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cta-btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* FEATURES */
.features {
  text-align: center;
  padding: 4rem 2rem;
}
.features h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.features .card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  width: 280px;
  transition: all 0.3s ease;
}
.features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.features .card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* CTA FOOTER */
.cta-footer {
  text-align: center;
  padding: 4rem 2rem;
}
.cta-footer h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.cta-btn.big {
  font-size: 1.4rem;
  padding: 1.2rem 2.5rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: 0.9rem;
}
.footer a {
  color: #8b5cf6;
  text-decoration: none;
}
