/* ============================================
   Capital & Qahwa — Coming Soon
   ============================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'KansasNew';
  src: url('./fonts/KansasNew-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roobert';
  src: url('./fonts/Roobert-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #0c190c;
  color: #fffcf8;
  font-family: 'Roobert', 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* --- Particle Canvas --- */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Cinematic Vignette Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(12, 25, 12, 0.45) 70%,
    rgba(12, 25, 12, 0.85) 100%
  );
}

/* --- Noise / Grain Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Main Content Container --- */
.main {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 3rem;
  padding: 2rem;
}

/* --- Logo --- */
.logo {
  width: clamp(220px, 35vw, 360px);
  height: auto;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  filter: drop-shadow(0 0 60px rgba(255, 252, 248, 0.04));
}

/* --- Coming Soon Heading --- */
.coming-soon {
  font-family: 'KansasNew', Georgia, serif;
  font-size: clamp(0.85rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fffcf8;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
  position: relative;
}

/* --- Decorative line accents around "Coming Soon" --- */
.coming-soon::before,
.coming-soon::after {
  content: '';
  position: absolute;
  top: 50%;
  width: clamp(30px, 5vw, 80px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 252, 248, 0.3),
    transparent
  );
  transform: translateY(-50%);
}

.coming-soon::before {
  right: calc(100% + 1.2rem);
}

.coming-soon::after {
  left: calc(100% + 1.2rem);
}

/* --- Subtle ambient glow pulse behind logo area --- */
.glow-orb {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 252, 248, 0.025) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
  opacity: 0;
  animation: 
    fadeIn 2s ease 0.2s forwards,
    glowPulse 6s ease-in-out 2s infinite alternate;
}

/* --- Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  to {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .logo {
    width: clamp(180px, 55vw, 260px);
  }

  .main {
    gap: 2rem;
  }

  .coming-soon {
    font-size: clamp(0.65rem, 3vw, 0.9rem);
    letter-spacing: 0.25em;
  }

  .glow-orb {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 380px) {
  .coming-soon::before,
  .coming-soon::after {
    display: none;
  }
}
