/* ==========================================================================
   Adu Loom - laxspace.co Inspired Animated Coming Soon Landing Page
   Aesthetic Warm Beige Theme & 3D Interactive Canvas
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* laxspace Beige & Dark Neutral Theme */
  --bg-dark: #1A1715;
  --bg-main: #F7F3ED;
  --bg-card: rgba(247, 243, 237, 0.75);
  --bg-surface: #EAE2D6;
  
  --primary-beige: #D8C3A5;
  --accent-gold: #C4A47C;
  --accent-clay: #C67D63;
  --text-dark: #1F1A17;
  --text-muted: #786E65;
  --text-light: #F7F3ED;

  --border-light: rgba(216, 195, 165, 0.4);
  --border-dark: rgba(31, 26, 23, 0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

/* Hide default cursor on desktop for custom magnetic cursor */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, .floating-card {
    cursor: none;
  }
}

/* Custom Magnetic Cursor */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--text-dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, opacity 0.2s ease;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease, height 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.cursor-follower.hovered {
  width: 90px;
  height: 90px;
  background: rgba(196, 164, 124, 0.15);
  border-color: var(--text-dark);
  backdrop-filter: blur(4px);
}

/* Ambient Spotlights */
.ambient-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.spotlight {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: pulseSpotlight 12s ease-in-out infinite alternate;
}

.spotlight-1 {
  width: 600px;
  height: 600px;
  background: #EAE2D6;
  top: -100px;
  left: -100px;
}

.spotlight-2 {
  width: 700px;
  height: 700px;
  background: #D8C3A5;
  bottom: -150px;
  right: -150px;
  animation-delay: -6s;
}

@keyframes pulseSpotlight {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(30px, 30px); }
}

/* Main Container Layout */
.app-viewport {
  position: relative;
  min-height: 100vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 48px;
}

/* Navigation Header */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo Image Styling & Background Blend */
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(0.95);
  transition: transform 0.3s ease;
}

.brand-title:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-name-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--text-dark);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Central Hero Section */
.center-content {
  text-align: center;
  max-width: 960px;
  margin: auto;
  padding: 0px 0;
  z-index: 10;
  position: relative;
}

.center-logo-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.center-logo-img {
  height: 90px;
  width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(0.95);
}

.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-clay);
  margin-bottom: 24px;
}

.launch-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-clay);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(198, 125, 99, 0.7);
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(198, 125, 99, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(198, 125, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 125, 99, 0); }
}

.main-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.98;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.main-headline span.italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Countdown Clock Display */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}

.time-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 20px 24px;
  min-width: 110px;
  box-shadow: 0 16px 40px rgba(31, 26, 23, 0.06);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.time-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(31, 26, 23, 0.1);
  border-color: var(--accent-gold);
}

.time-val {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-dark);
}

.time-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* VIP Access Email Form */
.vip-form-box {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.vip-input-group {
  display: flex;
  background: white;
  padding: 6px 6px 6px 20px;
  border-radius: 50px;
  box-shadow: 0 12px 32px rgba(31, 26, 23, 0.08);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.vip-input-group:focus-within {
  border-color: var(--text-dark);
  box-shadow: 0 16px 40px rgba(31, 26, 23, 0.12);
}

.vip-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  width: 100%;
}

.vip-submit-btn {
  background: var(--text-dark);
  color: var(--text-light);
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-submit-btn:hover {
  background: var(--accent-gold);
  color: white;
}

/* 3D Floating Interactive Image Canvas */
.floating-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  pointer-events: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31, 26, 23, 0.15);
  border: 4px solid white;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.floating-card:hover img {
  transform: scale(1.08);
}

/* Individual Floating Card Positions */
.card-1 {
  width: 220px;
  height: 280px;
  top: 15%;
  left: 6%;
}

.card-2 {
  width: 240px;
  height: 300px;
  top: 12%;
  right: 6%;
}

.card-3 {
  width: 200px;
  height: 250px;
  bottom: 12%;
  left: 8%;
}

.card-4 {
  width: 230px;
  height: 290px;
  bottom: 10%;
  right: 8%;
}

.card-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(to top, rgba(31, 26, 23, 0.8), transparent);
  color: white;
  padding: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.floating-card:hover .card-caption {
  transform: translateY(0);
}

/* Bottom Bar Footer */
.bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.social-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--accent-gold);
}

/* Success Toast Notification */
.success-toast {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
  background: var(--text-dark);
  color: var(--text-light);
  padding: 16px 32px;
  border-radius: 50px;
  z-index: 10000;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--accent-gold);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.success-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Lightbox Modal for Kids Garment Preview */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 21, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-card {
  background: var(--bg-main);
  border-radius: 24px;
  padding: 40px;
  max-width: 680px;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.lightbox-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 1;
}

/* Canvas Confetti Layer */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .floating-card {
    display: none;
  }
  .app-viewport {
    padding: 24px;
  }
  .countdown-container {
    gap: 12px;
  }
  .time-card {
    min-width: 80px;
    padding: 14px 16px;
  }
  .lightbox-card {
    grid-template-columns: 1fr;
  }
}
