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

:root {
  --bg-deep: #050510;
  --bg-mid: #0a0a20;
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-green: #22d3ee;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: #e0e0f0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  cursor: default;
}

/* ===== CANVAS ===== */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* ===== SCANLINES ===== */
.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
}

/* ===== NEBULA BLOBS ===== */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.nebula-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.15), transparent 70%);
  top: -10%; left: -5%;
  animation: nebPulse 8s ease-in-out infinite;
}
.nebula-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  bottom: -10%; right: -5%;
  animation: nebPulse 10s ease-in-out infinite 3s;
}
.nebula-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(236,72,153,0.1), transparent 70%);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  animation: nebPulse 12s ease-in-out infinite 6s;
}
@keyframes nebPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ===== ORBIT RINGS (background decorative) ===== */
.bg-orbit {
  position: fixed;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.bg-orbit-1 {
  width: 900px; height: 900px;
  margin-top: -450px; margin-left: -450px;
  border: 1px solid rgba(0,212,255,0.04);
  animation: bgOrbitSpin 80s linear infinite;
}
.bg-orbit-2 {
  width: 1200px; height: 1200px;
  margin-top: -600px; margin-left: -600px;
  border: 1px solid rgba(168,85,247,0.035);
  animation: bgOrbitSpin 110s linear infinite reverse;
}
.bg-orbit-3 {
  width: 1500px; height: 1500px;
  margin-top: -750px; margin-left: -750px;
  border: 1px dashed rgba(236,72,153,0.025);
  animation: bgOrbitSpin 140s linear infinite;
}
@keyframes bgOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== METEORS ===== */
.meteor {
  position: fixed;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-blue), transparent);
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.meteor-1 { height: 120px; top: -120px; left: 20%; animation: meteorFall 6s ease-in infinite 2s; }
.meteor-2 { height: 80px; top: -80px; left: 65%; animation: meteorFall 8s ease-in infinite 5s; }
.meteor-3 { height: 100px; top: -100px; left: 80%; animation: meteorFall 7s ease-in infinite 8s; }
@keyframes meteorFall {
  0% { transform: translateY(0) rotate(25deg); opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  40% { transform: translateY(110vh) rotate(25deg); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== GLITCH LINES ===== */
.glitch-line {
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  background: rgba(0,212,255,0.1);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: glitchLine 8s ease infinite;
}
.glitch-line:nth-child(2) { animation-delay: 3s; }
.glitch-line:nth-child(3) { animation-delay: 6s; }
@keyframes glitchLine {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  10% { top: 100%; opacity: 0; }
  100% { opacity: 0; }
}

/* ===== MAIN CONTENT ===== */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
}

/* ===== CENTER ORBITAL LOGO ===== */
.orbital-logo {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center; 
  opacity: 0;
  animation: fadeInScale 1.2s ease forwards 0.3s;
}

/* Core glow behind text */
.orbital-glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, rgba(168,85,247,0.08) 40%, transparent 70%);
  filter: blur(40px);
  animation: coreGlow 4s ease-in-out infinite;
}
@keyframes coreGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Inner solid ring */
.orbital-ring-core {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  background: radial-gradient(circle, rgba(0,212,255,0.02) 0%, transparent 70%);
}

/* Rotating ring 1 — outer */
.orbital-ring-1 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--neon-blue);
  border-right-color: rgba(0,212,255,0.3);
  border-bottom-color: transparent;
  border-left-color: rgba(0,212,255,0.1);
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.35));
  animation: orbitSpin1 6s linear infinite;
}
@keyframes orbitSpin1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Rotating ring 2 — middle */
.orbital-ring-2 {
  position: absolute;
  width: 270px; height: 270px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: var(--neon-purple);
  border-left-color: rgba(168,85,247,0.3);
  filter: drop-shadow(0 0 10px rgba(168,85,247,0.3));
  animation: orbitSpin2 4.5s linear infinite reverse;
}
@keyframes orbitSpin2 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Rotating ring 3 — inner */
.orbital-ring-3 {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--neon-pink);
  border-left-color: rgba(236,72,153,0.2);
  filter: drop-shadow(0 0 8px rgba(236,72,153,0.25));
  animation: orbitSpin3 3s linear infinite;
}
@keyframes orbitSpin3 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dot on ring 1 */
.orbital-dot-1 {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-blue), 0 0 24px rgba(0,212,255,0.4);
  animation: dotOrbit1 6s linear infinite;
}
@keyframes dotOrbit1 {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* Dot on ring 2 */
.orbital-dot-2 {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--neon-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-purple), 0 0 20px rgba(168,85,247,0.4);
  animation: dotOrbit2 4.5s linear infinite reverse;
}
@keyframes dotOrbit2 {
  from { transform: rotate(120deg) translateX(135px) rotate(-120deg); }
  to { transform: rotate(480deg) translateX(135px) rotate(-480deg); }
}

/* Dot on ring 3 */
.orbital-dot-3 {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-pink), 0 0 16px rgba(236,72,153,0.4);
  animation: dotOrbit3 3s linear infinite;
}
@keyframes dotOrbit3 {
  from { transform: rotate(240deg) translateX(100px) rotate(-240deg); }
  to { transform: rotate(600deg) translateX(100px) rotate(-600deg); }
}

/* Center text */
.orbital-text {
  position: relative;
  z-index: 5;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 10px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink), var(--neon-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  filter: drop-shadow(0 0 40px rgba(0,212,255,0.2));
  user-select: none;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtitle under logo circle */
.orbital-subtitle {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ===== COMING SOON TEXT ===== */
.coming-soon-block {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1s;
}

.main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.main-title .gradient-word {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  margin: 0 auto 20px;
  border-radius: 1px;
  box-shadow: 0 0 15px rgba(0,212,255,0.3);
}

.main-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 36px;
}

/* ===== TELEGRAM CTA ===== */
.tg-cta {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.5s;
}

a {
    text-decoration: none;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  background: linear-gradient(135deg, rgba(0,136,204,0.15), rgba(168,85,247,0.1));
  border: 1px solid rgba(0,136,204,0.25);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.tg-link::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: shimmer 4s ease infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.tg-link:hover {
  transform: translateY(-3px);
  border-color: rgba(0,136,204,0.5);
  box-shadow: 0 8px 40px rgba(0,136,204,0.25), 0 0 60px rgba(0,212,255,0.1);
  background: linear-gradient(135deg, rgba(0,136,204,0.2), rgba(168,85,247,0.15));
}

.tg-link:active {
  transform: translateY(-1px);
}

.tg-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.4));
}

.tg-arrow {
  font-size: 18px;
  opacity: 0.5;
  transition: all 0.3s;
}
.tg-link:hover .tg-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.tg-hint {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

.tg-hint .tg-handle {
  color: var(--neon-blue);
  font-weight: 500;
}

/* ===== COUNTDOWN (minimal) ===== */
.countdown-row {
  display: flex;
  gap: 24px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.8s;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cd-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  position: relative;
  min-width: 56px;
  text-align: center;
}

.cd-num::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.cd-sep {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  align-self: flex-start;
  margin-top: 4px;
}

.cd-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); filter: blur(10px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ===== FLOATING PARTICLES ===== */
.float-particle {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .orbital-logo { width: 280px; height: 280px; margin-bottom: 40px; }
  .orbital-glow { width: 200px; height: 200px; }
  .orbital-ring-core { width: 200px; height: 200px; }
  .orbital-ring-1 { width: 260px; height: 260px; }
  .orbital-ring-2 { width: 220px; height: 220px; }
  .orbital-ring-3 { width: 160px; height: 160px; }
  .orbital-text { font-size: 30px; letter-spacing: 7px; }
  .orbital-dot-1 { animation-name: dotOrbit1_m; }
  .orbital-dot-2 { animation-name: dotOrbit2_m; }
  .orbital-dot-3 { animation-name: dotOrbit3_m; }
  @keyframes dotOrbit1_m {
    from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
  }
  @keyframes dotOrbit2_m {
    from { transform: rotate(120deg) translateX(110px) rotate(-120deg); }
    to { transform: rotate(480deg) translateX(110px) rotate(-480deg); }
  }
  @keyframes dotOrbit3_m {
    from { transform: rotate(240deg) translateX(80px) rotate(-240deg); }
    to { transform: rotate(600deg) translateX(80px) rotate(-600deg); }
  }
  .main-title { font-size: 26px; }
  .main-subtitle { font-size: 14px; }
  .tg-link { padding: 14px 28px; font-size: 15px; }
  .cd-num { font-size: 30px; min-width: 48px; }
  .countdown-row { gap: 16px; }
  .bg-orbit-1 { width: 600px; height: 600px; margin-top: -300px; margin-left: -300px; }
  .bg-orbit-2 { width: 800px; height: 800px; margin-top: -400px; margin-left: -400px; }
  .bg-orbit-3 { display: none; }
  .nebula-1 { width: 350px; height: 350px; }
  .nebula-2 { width: 300px; height: 300px; }
  .nebula-3 { width: 250px; height: 250px; }
}

@media (max-width: 480px) {
  body { overflow-y: auto; overflow-x: hidden; height: auto; min-height: 100vh; }
  .orbital-logo { width: 230px; height: 230px; margin-bottom: 32px; }
  .orbital-glow { width: 160px; height: 160px; }
  .orbital-ring-core { width: 160px; height: 160px; }
  .orbital-ring-1 { width: 210px; height: 210px; }
  .orbital-ring-2 { width: 180px; height: 180px; }
  .orbital-ring-3 { width: 130px; height: 130px; }
  .orbital-text { font-size: 24px; letter-spacing: 5px; }
  .orbital-subtitle { font-size: 8px; letter-spacing: 3px; bottom: -8px; }
  .orbital-dot-1 { width: 6px; height: 6px; }
  .orbital-dot-2 { width: 5px; height: 5px; }
  .orbital-dot-3 { width: 4px; height: 4px; }
  @keyframes dotOrbit1_m {
    from { transform: rotate(0deg) translateX(105px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(105px) rotate(-360deg); }
  }
  @keyframes dotOrbit2_m {
    from { transform: rotate(120deg) translateX(90px) rotate(-120deg); }
    to { transform: rotate(480deg) translateX(90px) rotate(-480deg); }
  }
  @keyframes dotOrbit3_m {
    from { transform: rotate(240deg) translateX(65px) rotate(-240deg); }
    to { transform: rotate(600deg) translateX(65px) rotate(-600deg); }
  }
  .main-title { font-size: 22px; letter-spacing: 1px; }
  .main-subtitle { font-size: 13px; margin-bottom: 28px; }
  .divider-line { width: 60px; margin-bottom: 16px; }
  .tg-link { padding: 13px 22px; font-size: 14px; gap: 10px; border-radius: 14px; }
  .tg-icon { width: 24px; height: 24px; }
  .tg-hint { font-size: 11px; }
  .cd-num { font-size: 26px; min-width: 42px; }
  .cd-sep { font-size: 22px; }
  .cd-label { font-size: 8px; }
  .countdown-row { gap: 10px; margin-bottom: 32px; }
  .bg-orbit-1, .bg-orbit-2, .bg-orbit-3 { display: none; }
}

@media (max-width: 360px) {
  .orbital-logo { width: 200px; height: 200px; margin-bottom: 28px; }
  .orbital-glow { width: 140px; height: 140px; }
  .orbital-ring-core { width: 140px; height: 140px; }
  .orbital-ring-1 { width: 185px; height: 185px; }
  .orbital-ring-2 { width: 155px; height: 155px; }
  .orbital-ring-3 { width: 115px; height: 115px; }
  .orbital-text { font-size: 20px; letter-spacing: 4px; }
  .main-title { font-size: 18px; }
  .main-subtitle { font-size: 12px; }
  .tg-link { padding: 12px 18px; font-size: 13px; }
  .cd-num { font-size: 22px; min-width: 36px; }
}

@media (min-width: 2560px) {
  .orbital-logo { width: 550px; height: 550px; margin-bottom: 70px; }
  .orbital-glow { width: 420px; height: 420px; }
  .orbital-ring-core { width: 380px; height: 380px; }
  .orbital-ring-1 { width: 520px; height: 520px; }
  .orbital-ring-2 { width: 440px; height: 440px; }
  .orbital-ring-3 { width: 330px; height: 330px; }
  .orbital-text { font-size: 64px; letter-spacing: 16px; }
  .orbital-subtitle { font-size: 14px; letter-spacing: 6px; }
  .main-title { font-size: 48px; }
  .main-subtitle { font-size: 22px; max-width: 600px; }
  .tg-link { padding: 22px 52px; font-size: 24px; border-radius: 20px; }
  .tg-icon { width: 36px; height: 36px; }
  .tg-arrow { font-size: 24px; }
  .tg-hint { font-size: 18px; margin-top: 24px; }
  .cd-num { font-size: 56px; min-width: 90px; }
  .cd-sep { font-size: 44px; }
  .cd-label { font-size: 13px; }
  .countdown-row { gap: 36px; margin-bottom: 60px; }
  .divider-line { width: 120px; }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .tg-link:hover { transform: none; box-shadow: none; border-color: rgba(0,136,204,0.25); background: linear-gradient(135deg, rgba(0,136,204,0.15), rgba(168,85,247,0.1)); }
  .tg-link:active { transform: scale(0.97); }
  .tg-link:hover .tg-arrow { opacity: 0.5; transform: none; }
}

/* Landscape small */
@media (max-height: 500px) and (orientation: landscape) {
  .content { flex-direction: row; gap: 40px; padding: 20px 40px; }
  .orbital-logo { width: 200px; height: 200px; margin-bottom: 0; flex-shrink: 0; }
  .orbital-glow { width: 150px; height: 150px; }
  .orbital-ring-core { width: 150px; height: 150px; }
  .orbital-ring-1 { width: 190px; height: 190px; }
  .orbital-ring-2 { width: 160px; height: 160px; }
  .orbital-ring-3 { width: 120px; height: 120px; }
  .orbital-text { font-size: 22px; letter-spacing: 4px; }
  .right-block { text-align: left; }
  .main-title { font-size: 20px; }
  .main-subtitle { font-size: 12px; margin-bottom: 16px; }
  .tg-link { padding: 10px 18px; font-size: 13px; }
  .countdown-row { margin-bottom: 16px; gap: 12px; }
  .cd-num { font-size: 22px; min-width: 36px; }
  .bg-orbit-1, .bg-orbit-2, .bg-orbit-3 { display: none; }
}