/* ===== 28th.net – Base & Variables ===== */
:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --border: #262626;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #a78bfa;
  --accent-dim: #7c5dd4;
  --accent-glow: rgba(167, 139, 250, 0.4);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

header:hover {
  background: rgba(13, 13, 13, 0.92);
  border-bottom-color: rgba(167, 139, 250, 0.2);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo span {
  color: var(--accent);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
  color: var(--text);
}

.logo:hover span {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(167, 139, 250, 0.2);
}

/* ===== Hero – Coming Soon ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

/* Animated radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 600px);
  height: min(80vw, 600px);
  background: radial-gradient(
    ellipse,
    rgba(167, 139, 250, 0.15) 0%,
    rgba(124, 93, 212, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

/* Floating orbs – subtle background motion */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-20px, 20px); }
  75% { transform: translate(20px, 10px); }
}

/* Staggered fade-in on load */
.hero .coming-soon {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1rem;
  position: relative;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.hero h1 .net {
  color: var(--accent);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #c4b5fd 50%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.hero .buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero .btn {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.1) 0%,
    transparent 50%,
    rgba(167, 139, 250, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero .btn:hover {
  border-color: var(--accent);
  color: var(--text);
  box-shadow:
    0 0 24px var(--accent-glow),
    0 0 48px rgba(167, 139, 250, 0.15);
  transform: translateY(-2px);
}

.hero .btn:hover::before {
  opacity: 1;
}

.hero .btn:active {
  transform: translateY(0);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Subtle grain overlay (optional texture) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ===== Footer ===== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s ease;
  z-index: 10;
}

footer:hover {
  border-top-color: rgba(167, 139, 250, 0.15);
}

footer p {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

footer:hover p {
  color: #999;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero .coming-soon,
  .hero h1,
  .hero .tagline,
  .hero h1 .net {
    animation: none;
  }
  .hero .coming-soon,
  .hero h1,
  .hero .tagline {
    opacity: 1;
  }
  .hero h1 .net {
    -webkit-text-fill-color: var(--accent);
    background: none;
  }
}
