/* =========================
   VORTEX — LIGHT THEME (Pulse)
   Brand: violet #b06df2, green #13950e
   Glassmorphism everywhere, no dark surfaces
   ========================= */
:root{
  --violet:#b06df2;
  --violet-2:#a55bf0;
  --green:#13950e;
  --text:#222;
  --text-2:#444;
  --muted:#9aa0a6;
  --glass-bg:rgba(255,255,255,0.78);
  --glass-border:#e2d4fa;
  --shadow:0 6px 38px #b06df211;
  --radius:22px;
}

html{ scroll-behavior:smooth; }
*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: 'Manrope',system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(135deg,#faf6ff 0%, #f0f3fa 100%);
  font-size:18px;
  overflow-x:hidden;
}

/* Containers & sections */
.container{
  width:1200px;
  max-width:calc(100% - 48px);
  margin:0 auto;
}

.section-title{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color:var(--violet);
  font-size:34px;
  line-height:1.2;
  margin:0 0 16px;
  text-shadow:0 0 12px rgba(176,109,242,.35);
}

.section{
  padding:96px 0 72px;
}

/* =========================
   NAVBAR
   ========================= */
.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--glass-bg);
  border-bottom:1.5px solid var(--glass-border);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.nav-container{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; padding:12px 0;
}

.nav-logo img{ display:block; height:55px; width:auto; }

.nav-links{
  display:flex; gap:22px; align-items:center;
}

.nav-link{
  position:relative;
  text-decoration:none;
  font-weight:700;
  color:var(--text-2);
  padding:10px 6px;
}
.nav-link:hover{ color:var(--violet); }
.nav-link.active{
  color:var(--violet);
}
.nav-link.active::after{
  content:"";
  position:absolute; left:8px; right:8px; bottom:4px; height:3px;
  background:linear-gradient(90deg, var(--violet), var(--green));
  border-radius:3px;
}

/* =========================
   HERO (Pulse Theme)
   ========================= */
.hero{ position:relative; min-height:86vh; display:flex; align-items:center; }
.hero-background{ position:absolute; inset:0; overflow:hidden; }
#pulseCanvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.smoke-overlay{
  position:absolute; inset:-10%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(176,109,242,.18), transparent 60%),
              radial-gradient(40% 40% at 70% 10%, rgba(19,149,14,.12), transparent 60%);
  pointer-events:none;
  filter: blur(20px);
}

.hero-content{
  position:relative; z-index:1;
  width:100%;
  padding-top:40px;
}
.hero-logo img{
  display:block;
  width:1046px; height:264px;
  max-width:100%; 
  margin:0 auto 18px;
  filter: drop-shadow(0 10px 28px rgba(176,109,242,.25));
}

.hero-title{
  text-align:center;
  margin:0 0 14px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--text);
}
.typing-text{
  font-size:28px;
  color:var(--violet);
  text-shadow:0 0 12px rgba(176,109,242,.35);
  border-right:3px solid var(--violet);
  padding-right:6px;
  white-space:nowrap;
  overflow:hidden;
}

.hero-subtitle{
  text-align:center;
  color:var(--text-2);
  max-width:860px;
  margin:0 auto 22px;
}

.hero-cta{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
}

.cta-button{
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none; font-weight:800;
  padding:14px 22px; border-radius:16px;
  background:#fff;
  border:2px solid var(--violet);
  color:var(--violet);
  box-shadow:var(--shadow);
  transition:.25s ease;
}
.cta-button:hover{
  background:var(--violet); color:#fff; border-color:var(--green);
  transform: translateY(-2px);
}

.pulse-btn{
  box-shadow:0 0 0 0 rgba(176,109,242,.35);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(176,109,242,.35); }
  70%{ box-shadow:0 0 0 18px rgba(176,109,242,0); }
  100%{ box-shadow:0 0 0 0 rgba(176,109,242,0); }
}
.secondary-btn{ border-color:#e2d4fa; }

/* =========================
   MIRRORS — second section
   ========================= */
.mirror-box{
  padding:28px;
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  box-shadow:var(--shadow);
}

.mirrors-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
@media (max-width:960px){
  .mirrors-grid{ grid-template-columns:1fr; }
}

.mirror-link{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  display:block;
  padding:14px 16px;
  border:1.5px solid #ede6ff;
  border-radius:14px;
  text-decoration:none;
  color:#5b3d87; /* спокойный фиолетовый */
  background: rgba(255,255,255,0.9);
  line-height:1.35;
  word-break: break-all;
  overflow-wrap: anywhere;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, color .2s ease;
}
.mirror-link:hover{
  color:var(--violet);
  border-color:var(--violet);
  box-shadow:0 0 0 4px #b06df218, 0 12px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.mirror-warning{
  margin-top:16px;
  padding:14px 16px;
  border:1.5px dashed #e2d4fa;
  border-radius:14px;
  color:#5a4f6e;
  background:rgba(255,255,255,0.88);
}

/* =========================
   ABOUT
   ========================= */
.about-section .about-grid{
  margin-top:22px;
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1100px){ .about-section .about-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:780px){ .about-section .about-grid{ grid-template-columns:1fr; } }

.about-card{
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-card:hover{
  transform: translateY(-4px);
  border-color:var(--violet);
  box-shadow:0 10px 32px #b06df222;
}
.about-card .card-icon{ font-size:26px; margin-bottom:10px; }
.about-card h3{ margin:6px 0 8px; color:var(--violet); }

/* =========================
   REGISTRATION — steps
   ========================= */
.registration-section .registration-steps{
  margin-top:20px;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.step-card{
  display:grid; grid-template-columns:96px 1fr; gap:18px;
  padding:18px;
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.step-number{
  height:96px; width:96px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff;
  background: linear-gradient(135deg, var(--violet), var(--green));
}
.step-content h3{ margin:6px 0 6px; color:var(--violet); }
.step-content p{ margin:6px 0; color:var(--text-2); }

/* image rules — keep intrinsic sizes (desktop-first) */
.step-image img{
  display:block;
  image-rendering:auto;
  box-shadow:0 8px 34px rgba(0,0,0,.08);
  border-radius:16px;
  margin-top:10px;
}

/* =========================
   CRYPTO PANEL
   ========================= */
.crypto-section .crypto-grid{
  margin-top:20px;
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px;
}
@media (max-width:1100px){ .crypto-section .crypto-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:780px){ .crypto-section .crypto-grid{ grid-template-columns:1fr; } }

.crypto-card{
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
}
.crypto-icon{ font-size:28px; }
.crypto-card h3{ margin:8px 0; color:var(--violet); }
.crypto-rate{
  display:inline-block;
  margin:6px 0 10px;
  padding:6px 10px;
  border:1.5px solid #ede6ff;
  border-radius:12px;
  font-weight:800;
  color:var(--green);
  background:#fff;
  min-width:170px;
}
.crypto-card p{ color:var(--text-2); }
.crypto-features{
  margin-top:16px;
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px 20px;
}
.crypto-features h3{ margin:0 0 6px; color:var(--violet); }
.crypto-features ul{ margin:0; padding-left:18px; }
.crypto-features li{ margin:6px 0; }

/* =========================
   SECURITY TIMELINE
   ========================= */
.security-section .security-timeline{
  margin-top:20px;
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px;
}
@media (max-width:1100px){ .security-section .security-timeline{ grid-template-columns:1fr 1fr; } }
@media (max-width:780px){ .security-section .security-timeline{ grid-template-columns:1fr; } }

.timeline-item{
  position:relative;
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.timeline-icon{ font-size:24px; margin-bottom:8px; }
.timeline-item h3{ margin:6px 0 8px; color:var(--violet); }

/* =========================
   FAQ
   ========================= */
.faq-section .faq-image img{
  display:block;
  width:2484px; height:1313px; /* нативно */
  max-width:100%;
  border-radius:16px;
  box-shadow:0 8px 34px rgba(0,0,0,.08);
  margin:8px 0 14px;
}
.faq-accordion{ display:grid; gap:10px; }
.faq-item{
  background:var(--glass-bg);
  border:1.5px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.faq-question{
  width:100%;
  text-align:left;
  background:transparent;
  border:none;
  padding:16px 18px;
  font-weight:800;
  color:var(--violet);
  cursor:pointer;
}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .28s ease;
  padding:0 18px 0;
}
.faq-item.open .faq-answer{
  max-height:400px;
  padding:0 18px 16px;
}
.faq-answer p{ color:var(--text-2); }

/* =========================
   GALLERY — scroll snap
   ========================= */
/* Gallery: moderate size, clean scroll */

/* =========================
   FOOTER
   ========================= */
.footer{
  padding:40px 0;
  background:linear-gradient(0deg, rgba(255,255,255,0.85), rgba(255,255,255,0.85));
  border-top:1.5px solid var(--glass-border);
}
.footer-content{
  display:flex; align-items:center; justify-content:space-between; gap:22px;
}
.footer-info{ color:var(--text-2); }
.footer-info p{ margin:6px 0; }
.footer-logo img{ height:64px; width:auto; display:block; }

/* =========================
   REVEAL ANIMATIONS
   ========================= */
.reveal{ opacity:0; transform:translateY(12px); will-change:opacity, transform; }
.reveal-visible{ opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease; }

/* Utility spacing for sections already in DOM */
#mirrors.section, .mirror-box.section{ padding-top:40px; }
