/* ==========================================================================
   Namaste Nations — Holi-Themed Landing Page Styles
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette — inspired by Holi colors */
  --holi-pink: #ff6b9d;
  --holi-magenta: #c44569;
  --holi-orange: #f7971e;
  --holi-yellow: #ffd93d;
  --holi-green: #6bcf7f;
  --holi-teal: #4ecdc4;
  --holi-blue: #45b7d1;
  --holi-purple: #a78bfa;
  --holi-deep-purple: #7c3aed;

  /* Backgrounds */
  --bg-dark: #0d0117;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.10);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Effects */
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 20px;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-accent: 'Dancing Script', cursive;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Canvas (particle layer) ---------- */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Background Overlay ---------- */
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    url('images/holi-bg.png') center / cover no-repeat,
    linear-gradient(135deg, #0d0117 0%, #1a0a2e 40%, #2d1b69 100%);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Gradient vignette on top of everything behind content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg-dark) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Container ---------- */
.container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-lg) var(--space-sm);
}

.content-wrapper {
  max-width: 680px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 1s ease-out both;
}

/* ---------- Brand ---------- */
.brand {
  margin-bottom: var(--space-lg);
}

.brand-name {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.namaste {
  display: block;
  background: linear-gradient(135deg, var(--holi-pink), var(--holi-orange), var(--holi-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 107, 157, 0.4));
  animation: shimmer 4s ease-in-out infinite alternate;
}

.nations {
  display: block;
  background: linear-gradient(135deg, var(--holi-teal), var(--holi-blue), var(--holi-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(69, 183, 209, 0.4));
  animation: shimmer 4s ease-in-out 1s infinite alternate;
}

.brand-tagline {
  margin-top: var(--space-xs);
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--holi-pink);
  box-shadow: 0 0 12px var(--holi-pink);
  animation: pulse-dot 2s ease-in-out infinite;
}

.divider-dot:last-child {
  background: var(--holi-teal);
  box-shadow: 0 0 12px var(--holi-teal);
  animation-delay: 1s;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--holi-pink), var(--holi-purple), var(--holi-teal));
  border-radius: var(--radius-full);
}

/* ---------- Mission ---------- */
.mission {
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  animation: fadeInUp 1s ease-out 0.3s both;
}

.mission-text {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

.mission-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.mission-text em {
  color: var(--holi-yellow);
  font-style: normal;
  font-weight: 500;
}

/* ---------- Event Chips ---------- */
.event-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.5s both;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--chip-color, var(--glass-border));
  box-shadow: 0 0 16px -4px var(--chip-color, transparent);
  transition: all 0.3s ease;
  cursor: default;
}

.event-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px -4px var(--chip-color, transparent);
}

.event-emoji {
  font-size: 1.1rem;
}

/* ---------- Coming Soon ---------- */
.coming-soon {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.7s both;
}

.coming-soon-title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, var(--holi-yellow), var(--holi-orange), var(--holi-pink), var(--holi-purple));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

.coming-soon-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Contact / Social ---------- */
.contact-hint {
  animation: fadeInUp 1s ease-out 0.9s both;
}

.contact-hint p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--bg-card-hover);
  color: var(--holi-pink);
  border-color: var(--holi-pink);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(255, 107, 157, 0.4);
}

.social-link:nth-child(2):hover {
  color: var(--holi-blue);
  border-color: var(--holi-blue);
  box-shadow: 0 8px 20px -6px rgba(69, 183, 209, 0.4);
}

.social-link:nth-child(3):hover {
  color: var(--holi-yellow);
  border-color: var(--holi-yellow);
  box-shadow: 0 8px 20px -6px rgba(255, 217, 61, 0.4);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--space-xl);
  padding: var(--space-sm) 0;
  animation: fadeInUp 1s ease-out 1.1s both;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes shimmer {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.3)) brightness(1);
  }
  100% {
    filter: drop-shadow(0 0 40px rgba(255, 107, 157, 0.6)) brightness(1.1);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  .container {
    padding: var(--space-md) var(--space-sm);
  }

  .mission {
    padding: var(--space-sm) var(--space-md);
  }

  .event-chip {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 2.4rem;
  }

  .brand-tagline {
    font-size: 1rem;
  }
}
