/* ==========================================================================
   Infinitum India Landing Page Stylesheet
   Theme: Cosmic Infinity & Centered Simplicity
   ========================================================================== */

:root {
  --bg-dark: #050508;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  
  --accent-purple: #7c3aed;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-pink: #ec4899;
  
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center top, #140d2b 0%, var(--bg-dark) 80%);
  color: var(--text-primary);
  font-family: var(--font-display);
  overflow: hidden;
}

/* Background Grid Overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 85%);
  pointer-events: none;
  opacity: 0.8;
}

/* Main Container (Centered Viewport) */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Centered Brand Stack */
.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* proper infinity logo size */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.logo-svg {
  width: 200px;
  height: 100px;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.45)) drop-shadow(0 0 40px rgba(6, 182, 212, 0.25));
  transition: transform var(--transition-normal);
}

.logo-svg:hover {
  transform: scale(1.04);
}

.logo-loop-base {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  opacity: 0.35;
}

.logo-loop-active {
  stroke-dasharray: 220;
  stroke-dashoffset: 440;
  animation: strokeFlow 4.5s linear infinite;
}

@keyframes strokeFlow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Brand Name Typography */
.brand-name {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Headline Message Typography */
.arriving-text {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a78bfa 40%, var(--accent-cyan) 80%, var(--accent-pink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradFlow 8s linear infinite;
}

@keyframes textGradFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
