/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');

/* NOVAH Company Colors from Brand Guide */
/* NOVAH Logo Blue: #99ccff; */
/* background:#3290ed;  */
/* NOVAH Sky Blue: #5f6e8b; */
/* border-color: #648ef7; */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.title {
  font-family: 'Orbitron', sans-serif;
}

/* ========== STAR BACKGROUND ========== */
.star-bg {
  background-image:
    radial-gradient(circle, rgba(153, 204, 255, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px, 40px 40px;
  background-position: 0 0, 20px 20px;
  animation: stars 60s linear infinite;
}

@keyframes stars {
  0% {
    background-position: 0 0, 20px 20px;
  }

  100% {
    background-position: 200px 200px, 220px 220px;
  }
}

/* ========== NEON TEXT ========== */
.neon-text {
  text-shadow:
    0 0 10px rgba(153, 204, 255, 0.5),
    0 0 30px rgba(153, 204, 255, 0.3),
    0 0 60px rgba(153, 204, 255, 0.1);
}

/* ========== LIVE WINDOW ========== */
.live-window {
  border: 3px solid rgba(153, 204, 255, 0.5);
  box-shadow:
    0 0 20px rgba(153, 204, 255, 0.15),
    0 0 40px rgba(153, 204, 255, 0.05),
    inset 0 0 20px rgba(153, 204, 255, 0.02);
  transition: all 0.3s ease;
}

.live-window:hover {
  border-color: rgba(100, 142, 247, 0.8);
  box-shadow:
    0 0 30px rgba(100, 142, 247, 0.25),
    0 0 60px rgba(100, 142, 247, 0.1),
    inset 0 0 30px rgba(100, 142, 247, 0.03);
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
}

/* ========== FLOATING ANIMATION ========== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ========== PARTICLES ========== */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(153, 204, 255, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* ========== SPLASH SCREEN ========== */
#splashScreen {
  background: radial-gradient(ellipse at center, #0a1628 0%, #000000 70%);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BACK TO TOP ARROW  ========== */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--color-lightgreen-100);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6bc1e9;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/* ========== COPY BUTTON ANIMATION ========== */
@keyframes copySuccess {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.copy-success {
  animation: copySuccess 0.3s ease;
}

/* ========== CONFETTI ========== */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  z-index: 9999;
  pointer-events: none;
  animation: confettiFall 1.5s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(300px) rotate(720deg) scale(0);
    opacity: 0;
  }
}

/* ========== GLOW PULSE ========== */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(153, 204, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(153, 204, 255, 0.6);
  }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ========== COUNTER ANIMATION ========== */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .live-window {
    border-width: 2px;
  }

  .twitter-embed-container {
    height: 450px !important;
  }
}

@media (max-width: 480px) {
  .title {
    letter-spacing: 1px;
  }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: rgba(153, 204, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(153, 204, 255, 0.5);
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(153, 204, 255, 0.3);
  color: #fff;
}

/* ========== TWITTER EMBED FALLBACK ========== */
.twitter-embed-container {
  background: #0a0a0a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.twitter-embed-container a {
  color: #3b82f6;
  padding: 20px;
  text-align: center;
}