/* ============================================================
   UNCLEAP.XYZ — Futuristic / cyberpunk / holographic landing
   ============================================================ */

:root {
  --bg: #060612;
  --bg-soft: #0b0b1f;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --pink: #ff006e;
  --text: #e0e0ff;
  --muted: #7a7aa0;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* radial glow ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px circle at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(800px circle at 85% 80%, rgba(0, 212, 255, 0.14), transparent 60%),
    radial-gradient(600px circle at 50% 50%, rgba(255, 0, 110, 0.06), transparent 70%);
  z-index: -3;
  pointer-events: none;
}

/* ---------- Background layers ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 90%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 212, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
  mix-blend-mode: screen;
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
  box-shadow: 0 0 10px var(--cyan);
}
.cursor.hover {
  width: 56px;
  height: 56px;
  border-color: var(--pink);
  background: rgba(255, 0, 110, 0.08);
}
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.2rem;
  backdrop-filter: blur(12px);
  background: rgba(6, 6, 18, 0.45);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}
.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--text);
}
.nav-logo .dot, .footer-logo .dot { color: var(--pink); }
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--cyan);
  border-radius: 30px;
  color: var(--cyan) !important;
}
.nav-cta:hover {
  background: var(--cyan);
  color: var(--bg) !important;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.6);
}

/* ---------- Sections / shared ---------- */
section { position: relative; padding: 7rem 1.5rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-tag {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 2.5rem;
  background: linear-gradient(120deg, #fff, var(--cyan) 60%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
  cursor: none;
  border: none;
}
.btn-primary {
  color: var(--bg);
  background: linear-gradient(120deg, var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 38px rgba(124, 58, 237, 0.7);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(224, 224, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}
.hero-kicker {
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}
.glitch {
  position: relative;
  font-size: clamp(3.5rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--pink);
  clip-path: inset(0 0 0 0);
  animation: glitch-1 3s infinite linear alternate-reverse;
}
.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--cyan);
  animation: glitch-2 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-1 {
  0% { clip-path: inset(10% 0 85% 0); }
  20% { clip-path: inset(80% 0 5% 0); }
  40% { clip-path: inset(40% 0 40% 0); }
  60% { clip-path: inset(5% 0 90% 0); }
  80% { clip-path: inset(60% 0 20% 0); }
  100% { clip-path: inset(30% 0 55% 0); }
}
@keyframes glitch-2 {
  0% { clip-path: inset(70% 0 15% 0); }
  25% { clip-path: inset(20% 0 65% 0); }
  50% { clip-path: inset(50% 0 30% 0); }
  75% { clip-path: inset(10% 0 80% 0); }
  100% { clip-path: inset(85% 0 5% 0); }
}
.hero-tagline {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--cyan);
  margin: 1.6rem 0 2.4rem;
  min-height: 1.6em;
}
.caret { animation: blink 1s steps(1) infinite; color: var(--pink); }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  animation: float 2s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Countdown ---------- */
.countdown { text-align: center; overflow: hidden; }
.holo-bg {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08),
    rgba(255, 0, 110, 0.08), rgba(0, 212, 255, 0.08));
  filter: blur(60px);
  animation: spin 18s linear infinite;
  z-index: -1;
  opacity: 0.7;
}
@keyframes spin { to { transform: rotate(360deg); } }
.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0 2rem;
  flex-wrap: wrap;
}
.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 1.2rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.timer-num {
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.6);
}
.timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 0.3rem;
}
.timer-sep { font-size: 2rem; color: var(--purple); font-weight: 700; }
.countdown-note { color: var(--muted); font-size: 0.95rem; }

/* ---------- Tease ---------- */
.tease-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.drop-card {
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.drop-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: 0 12px 40px rgba(255, 0, 110, 0.2);
}
.drop-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(124, 58, 237, 0.35), rgba(255, 0, 110, 0.25));
  filter: blur(14px) saturate(1.4);
  transition: filter 0.5s;
}
.drop-img::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}
.drop-card:hover .drop-img { filter: blur(0) saturate(1.1); }
.drop-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
}
.drop-name { font-weight: 600; letter-spacing: 0.06em; }
.drop-price { font-family: var(--mono); color: var(--muted); }
.tease-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* ---------- Community ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 212, 255, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(0, 212, 255, 0.18); }
.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ---------- Join ---------- */
.join { text-align: center; }
.join-sub { color: var(--muted); max-width: 540px; margin: -1.5rem auto 2rem; }
.join-form {
  display: flex;
  gap: 0.8rem;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.join-form input {
  flex: 1;
  min-width: 240px;
  padding: 0.9rem 1.2rem;
  border-radius: 40px;
  border: 1px solid rgba(224, 224, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.join-form input::placeholder { color: var(--muted); }
.join-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
}
.join-msg { margin-top: 1.2rem; font-family: var(--mono); font-size: 0.9rem; min-height: 1.2em; }
.join-msg.ok { color: var(--cyan); }
.join-msg.err { color: var(--pink); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}
.footer-logo { font-weight: 700; letter-spacing: 0.18em; font-size: 1.3rem; margin-bottom: 1.2rem; }
.socials {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(224, 224, 255, 0.2);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  transition: all 0.25s;
}
.socials a:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 16px rgba(0, 212, 255, 0.4); }
.footer-copy { color: var(--muted); font-size: 0.8rem; font-family: var(--mono); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .nav-links { gap: 0.9rem; }
  .nav-links li:not(:last-child) { display: none; }
  .timer-sep { display: none; }
}
