/* ============================================================
   WAYBIG CREATORS — LAUNCHING SOON
   style.css
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ────────────────────────────────── */
:root {
  /* Brand colours extracted from logos */
  --blue-vivid:   #1A6BFF;
  --blue-bright:  #1E8FFF;
  --pink:         #E91E8C;
  --pink-light:   #FF4DB2;

  /* Surface / BG */
  --bg-deepest:   #050810;
  --bg-dark:      #090e1a;
  --bg-card:      rgba(255,255,255,0.035);
  --bg-card-b:    rgba(255,255,255,0.07);

  /* Text */
  --text-white:   #FFFFFF;
  --text-off:     rgba(255,255,255,0.6);
  --text-muted:   rgba(255,255,255,0.35);

  /* Glow */
  --glow-blue:    rgba(26,107,255,0.45);
  --glow-pink:    rgba(233,30,140,0.35);
  --glow-blue-sm: rgba(26,107,255,0.2);

  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-deepest);
  color: var(--text-white);
  min-height: 100dvh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* Accessibility: screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── LOADING SCREEN ─────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deepest);
  transition: opacity 0.7s var(--ease-smooth), visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
  animation: loaderPulse 2s ease-in-out infinite;
}
.text-white{
color:#fffff;
}
.loader__icon {
  width: 90px; height: 90px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--glow-blue), 0 0 80px var(--glow-pink);
  animation: iconFloat 3s ease-in-out infinite;
}
.loader__icon img { width: 100%; height: 100%; object-fit: cover; }

.loader__bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.loader__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-vivid), var(--pink));
  border-radius: 99px;
  animation: loaderFill 1.8s var(--ease-smooth) forwards;
}
.loader__text {
  font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  font-family: var(--font-display);
}

@keyframes loaderFill  { from { width: 0 } to { width: 100% } }
@keyframes loaderPulse { 0%,100% { opacity:1 } 50% { opacity:0.7 } }
@keyframes iconFloat   { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-8px) } }

/* ── PARTICLE CANVAS ────────────────────────────────────── */
#particleCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ── GRADIENT BLOBS ─────────────────────────────────────── */
.blobs {
  position: fixed; inset: 0; z-index: 1;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
}
.blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--blue-vivid), transparent 70%);
  top: -200px; left: -200px;
  animation: blobDrift1 18s ease-in-out infinite;
}
.blob--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: -150px; right: -150px;
  animation: blobDrift2 22s ease-in-out infinite;
}
.blob--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0066ff, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  animation: blobDrift3 26s ease-in-out infinite;
}

@keyframes blobDrift1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(80px,60px)} 66%{transform:translate(-40px,100px)} }
@keyframes blobDrift2 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-60px,-80px)} 66%{transform:translate(50px,-30px)} }
@keyframes blobDrift3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-45%,-55%) scale(1.1)} }

/* ── PAGE WRAPPER ───────────────────────────────────────── */
.page {
  position: relative; z-index: 10;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* Entrance animation states */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-smooth) var(--delay, 0s),
              transform 0.9s var(--ease-smooth) var(--delay, 0s);
}
.page.visible .reveal-up {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 4vh, 40px) 0;
  gap: 20px;
}

.logo-img {
  height: clamp(36px, 5vw, 52px);
  width: auto;
  filter: drop-shadow(0 0 12px var(--glow-blue));
  transition: filter 0.3s ease;
}
.logo-img:hover { filter: drop-shadow(0 0 22px var(--glow-blue)) drop-shadow(0 0 10px var(--glow-pink)); }

.header__socials { display: flex; align-items: center; gap: 10px; }

/* ── SOCIAL LINKS ───────────────────────────────────────── */
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-off);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-spring);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  color: var(--text-white);
  border-color: var(--blue-vivid);
  background: rgba(26,107,255,0.12);
  box-shadow: 0 0 16px var(--glow-blue-sm);
  transform: translateY(-2px) scale(1.08);
}
.social-link--lg { width: 44px; height: 44px; border-radius: 12px; }
.social-link--lg svg { width: 18px; height: 18px; }

/* ── HERO SECTION ───────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 60px;
  padding: clamp(40px, 8vh, 100px) 0 clamp(40px, 6vh, 80px);
  position: relative;
}

/* Floating elephant */
.elephant-float {
  display: none; /* shown on larger screens via media query */
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  align-items: center; justify-content: center;
  perspective: 1000px; /* Add 3D depth */
}

.elephant-glow-img {
  width: 200px; height: 200px;
  object-fit: cover; border-radius: 36px;
  position: relative; z-index: 2;
  animation: elephantFloat 6s ease-in-out infinite;
  filter: 
    drop-shadow(0 0 30px var(--glow-blue)) 
    drop-shadow(0 0 60px var(--glow-pink))
    drop-shadow(0 8px 16px rgba(0,0,0,0.3))
    brightness(1.05)
    contrast(1.1);
  transition: transform 0.1s ease-out; /* for parallax JS */
  will-change: transform;
  /* Add texture and depth */
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.1), transparent 40%);
  background-blend-mode: overlay;
  /* Subtle inner shadow for depth */
  box-shadow: 
    inset 0 0 20px rgba(0,0,0,0.2),
    inset 0 0 40px rgba(255,255,255,0.1);
}

/* Enhanced pulsing rings with more realistic effects */
.elephant-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--blue-vivid);
  opacity: 0;
  animation: ringPulse 4s ease-out infinite;
  /* Add glow to rings */
  box-shadow: 
    0 0 15px rgba(26,107,255,0.3),
    0 0 25px rgba(233,30,140,0.2);
}
.elephant-ring--1 { animation-delay: 0s; }
.elephant-ring--2 { animation-delay: 1.3s; }
.elephant-ring--3 { animation-delay: 2.6s; }

@keyframes elephantFloat {
  0%,100% { 
    transform: translateY(0) rotate(-1deg) scale(1);
    filter: 
      drop-shadow(0 0 30px var(--glow-blue)) 
      drop-shadow(0 0 60px var(--glow-pink))
      drop-shadow(0 8px 16px rgba(0,0,0,0.3))
      brightness(1.05)
      contrast(1.1);
  }
  50% { 
    transform: translateY(-18px) rotate(1deg) scale(1.02);
    filter: 
      drop-shadow(0 0 35px var(--glow-blue)) 
      drop-shadow(0 0 70px var(--glow-pink))
      drop-shadow(0 10px 20px rgba(0,0,0,0.4))
      brightness(1.1)
      contrast(1.15);
  }
}

/* Pulsing rings around elephant */
.elephant-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--blue-vivid);
  opacity: 0;
  animation: ringPulse 4s ease-out infinite;
}
.elephant-ring--1 { animation-delay: 0s; }
.elephant-ring--2 { animation-delay: 1.3s; }
.elephant-ring--3 { animation-delay: 2.6s; }

@keyframes elephantFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-18px) rotate(1deg); }
}
@keyframes ringPulse {
  0%   { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Hero content */
.hero__content { max-width: 680px; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue-bright);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(26,107,255,0.3);
  background: rgba(26,107,255,0.08);
  margin-bottom: 22px;
}
.hero__tag::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.5; transform:scale(0.7)} }

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 20px;
}
.hero__heading em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-off);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero__desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

img.herogif {
    width: 100%;
}

/* ── COUNTDOWN ──────────────────────────────────────────── */
.countdown {
  display: flex; align-items: center;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown__unit {
  display: flex; flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(14px, 3vw, 22px) clamp(16px, 3vw, 28px);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 72px;
}
.countdown__unit:hover {
  border-color: rgba(26,107,255,0.4);
  box-shadow: 0 0 20px var(--glow-blue-sm);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--blue-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: transform 0.2s var(--ease-spring);
}
.countdown__num.flip { transform: scale(1.12); }

.countdown__label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-vivid);
  opacity: 0.5;
  align-self: flex-start;
  padding-top: clamp(10px, 2vw, 14px);
  animation: sepBlink 1s step-end infinite;
}
@keyframes sepBlink { 0%,49%{opacity:0.5} 50%,100%{opacity:0.1} }

/* ── SUBSCRIBE FORM ─────────────────────────────────────── */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
}

.subscribe__field {
  flex: 1;
  display: flex; align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0 18px;
  gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 200px;
  backdrop-filter: blur(10px);
}
.subscribe__field:focus-within {
  border-color: var(--blue-vivid);
  box-shadow: 0 0 0 3px rgba(26,107,255,0.15);
}

.subscribe__icon {
  width: 17px; height: 17px;
  color: var(--text-muted); flex-shrink: 0;
}

.subscribe__input {
  flex: 1; background: transparent;
  border: none; outline: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 16px 0;
}
.subscribe__input::placeholder { color: var(--text-muted); }

.subscribe__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border-radius: 14px;
  border: none; outline: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-vivid), var(--pink));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.subscribe__btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.subscribe__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(26,107,255,0.4), 0 4px 14px rgba(233,30,140,0.3);
}
.subscribe__btn:hover::after { opacity: 1; }
.subscribe__btn:active { transform: scale(0.97); }
.subscribe__btn svg { width: 16px; height: 16px; }

.subscribe__feedback {
  width: 100%;
  font-size: 0.82rem; padding-top: 6px;
  min-height: 1.2em; color: var(--blue-bright);
  letter-spacing: 0.02em;
}
.subscribe__feedback.error { color: var(--pink); }

/* ── SERVICES TICKER ────────────────────────────────────── */
.services {
  width: calc(100% + clamp(40px, 10vw, 120px));
  margin-left: clamp(-60px, -5vw, -60px);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
}

.services__track {
  display: flex; align-items: center;
  gap: 32px; white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}
.services__track span {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-off);
}
.services__track .sep {
  color: var(--pink); font-size: 0.6rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: clamp(24px, 4vh, 40px) 0;
}
.footer__copy {
  font-size: 0.8rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer__socials { display: flex; align-items: center; gap: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Show elephant float on big screens */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 520px;
    gap: 40px;
  }
  .elephant-float {
    display: flex;
    position: static;
    transform: none;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .countdown { gap: 8px; }
  .countdown__unit { padding: 12px 14px; min-width: 60px; }
  .countdown__sep { padding-top: 10px; }
  .subscribe { flex-direction: column; }
  .subscribe__btn { width: 100%; justify-content: center; }
  .header__socials .social-link { width: 34px; height: 34px; }
  .header__socials .social-link svg { width: 14px; height: 14px; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
