/* ==========================================================================
   kevdriel — Coming Soon
   Minimalist, High-Contrast Dark Aesthetic
   ========================================================================== */

:root {
  --bg: #000000;
  --text-primary: #ededed;
  --text-pure: #ffffff;
  --text-muted: #73737a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.28);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.07);

  --font-brand: "Syne", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Grotesk", -apple-system, BlinkMacSystemFont, monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Film Grain */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E");
}

/* Mouse Spotlight Glow */
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
    rgba(255, 255, 255, 0.035),
    transparent 65%
  );
}

/* Particle Canvas */
#particleCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

/* Centered Layout with Ample Negative Space */
.container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  width: 100%;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

/* Main Brand Header: kevdriel */
.brand-title {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-pure);
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-bottom: 1.5rem;
}

.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(35px) scale(0.95);
  filter: blur(12px);
  animation: blurReveal 1.2s var(--ease-expo) forwards;
  animation-delay: calc(0.15s + var(--i) * 65ms);
  transition: transform 0.3s var(--ease-spring), filter 0.3s ease, color 0.3s ease;
  cursor: default;
}

.char:hover {
  transform: translateY(-6px) scale(1.06);
  filter: blur(0px) drop-shadow(0 0 16px rgba(255, 255, 255, 0.5));
  color: #ffffff;
}

@keyframes blurReveal {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.95);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Subheading: Coming Soon with Kinetic Effect */
.subheading-wrapper {
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-expo) 0.8s forwards;
}

.kinetic-subheading {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sub-char {
  display: inline-block;
  animation: kineticPulse 3.8s ease-in-out infinite;
  animation-delay: calc(var(--d) * 140ms);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

@keyframes kineticPulse {
  0%, 100% {
    color: #63636b;
    transform: translateY(0);
    text-shadow: none;
  }
  50% {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.7);
  }
}

/* Minimalist Social Links */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-expo) 1.1s forwards;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.35rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-spring);
}

.social-icon {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.social-link:hover .social-icon {
  color: #ffffff;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .brand-title {
    font-size: clamp(3rem, 16vw, 4.5rem);
    margin-bottom: 1.2rem;
  }

  .subheading-wrapper {
    margin-bottom: 2.75rem;
  }

  .kinetic-subheading {
    letter-spacing: 0.22em;
    font-size: 0.85rem;
  }

  .social-links {
    gap: 0.85rem;
  }

  .social-link {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #particleCanvas, .cursor-glow {
    display: none !important;
  }
}
