/* ============================================================
   main.css — global base styles for ndlsk.com
   ============================================================ */

/* --- Reset ------------------------------------------------- */

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

/* --- Root & body ------------------------------------------- */

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: linear-gradient(145deg, #ffffff 0%, #f2f7f2 50%, #eaf4ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 1rem;
}

/* --- Particle canvas --------------------------------------- */

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1800ms ease;
  z-index: 0;
}

#particles.is-visible {
  opacity: 1;
}

/* --- Page container ---------------------------------------- */

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  width: min(100%, 900px);
  margin-top: -18vh;
}

/* --- Logo -------------------------------------------------- */

.logo {
  width: 68px;
  height: 68px;
  background: #14a800;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  animation: float 3.5s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(20, 168, 0, 0.2);
  will-change: transform;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --- Domain label ------------------------------------------ */

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8c8b8;
  margin-bottom: 1.1rem;
}

/* --- Main heading with typewriter -------------------------- */

.heading {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  color: #14a800;
  line-height: 1;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-wrap: anywhere;
}

.cursor {
  display: inline-block;
  color: #14a800;
  font-weight: 200;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Subtext ----------------------------------------------- */

.subtext {
  font-size: 0.95rem;
  color: #a8baa8;
  font-weight: 400;
}
