/* ===========================================================
   Valie Dream Studios — Coming Soon
   Fonts:  ../fonts/  (Baloo 2, Quicksand, Font Awesome — self-hosted)
   =========================================================== */

@font-face {
  font-family: "Baloo 2";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/baloo-2-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/baloo-2-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/baloo-2-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/quicksand-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/quicksand-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/quicksand-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/quicksand-latin-700-normal.woff2") format("woff2");
}

/* ---------- Palette (from the Valie Dream Studios logo) ---------- */
:root {
  --sky-top:     #4CA6F2;
  --sky-mid:     #8FD3FB;
  --sky-horizon: #EAF7FF;
  --grass-1:     #8FE07A;
  --grass-2:     #4FAE49;

  --pink:    #F5588F;
  --orange:  #FFA23C;
  --yellow:  #FFD93D;
  --green:   #5BC97C;
  --blue:    #4FA9F0;
  --purple:  #A672E0;
  --teal:    #3CC9C9;

  --ink:     #2B2350;      /* deep indigo — main text on light sky */
  --ink-soft: #4B4470;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.9);
  --shadow-soft: rgba(43, 35, 80, 0.18);

  --youtube-red: #FF0000;
  --youtube-red-dark: #D90000;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
*, *::before, *::after { box-sizing: inherit; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Quicksand", sans-serif;
  color: var(--ink);
}

body {
  opacity: 0;
}
body.is-ready {
  opacity: 1;
  transition: opacity .6s ease;
}

a { color: inherit; }
.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;
}

/* ---------- Sky wrapper (gradient stretches over all content) ---------- */
.page-sky {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom,
    var(--sky-top) 0%,
    var(--sky-mid) 55%,
    var(--sky-horizon) 100%);
}

/* Clouds: denser & larger near the top, thinning out toward the horizon */
.clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.clouds svg.cloud {
  position: absolute;
  fill: #ffffff;
}
.clouds svg.cloud.soft { opacity: .85; }

/* ---------- Floating emoji layer ---------- */
.emoji-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.emoji-field span {
  position: absolute;
  display: inline-block;
  font-size: var(--size, 28px);
  left: var(--x, 50%);
  top: 105%;
  filter: drop-shadow(0 6px 8px rgba(43,35,80,.2));
  animation: drift var(--dur, 22s) linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes drift {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: .95; }
  50%  { transform: translateY(-55vh) translateX(var(--drift, 20px)) rotate(8deg); }
  92%  { opacity: .9; }
  100% { transform: translateY(-115vh) translateX(calc(var(--drift, 20px) * -1)) rotate(-6deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .emoji-field span { animation: none; opacity: .6; top: var(--x, 50%); }
  body { opacity: 1; }
}

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 2.2rem;
  box-shadow: 0 6px 16px var(--shadow-soft);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,162,60,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,162,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,162,60,0); }
}
@media (prefers-reduced-motion: reduce) { .badge .dot { animation: none; } }

.logo {
  width: min(78%, 380px);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 14px 26px var(--shadow-soft));
}

.tagline-sub {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple);
  letter-spacing: .02em;
  margin: 0 0 1.4rem;
}

.tagline {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 30rem;
  margin: 0 auto;
}
.tagline strong { color: var(--pink); font-weight: 700; }

.sun-divider {
  margin: 2.6rem auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffbe8 0%, var(--yellow) 55%, var(--orange) 100%);
  box-shadow: 0 0 36px rgba(255, 217, 61, .55);
}

.features {
  display: grid;
  gap: .9rem;
  text-align: left;
  max-width: 26rem;
  margin: 0 auto 2.8rem;
  padding: 0;
}
.features li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: .9rem 1.1rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  box-shadow: 0 8px 20px var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.features li .icon { font-size: 1.4rem; flex-shrink: 0; }

/* ---------- YouTube subscribe button (brand-true red) ---------- */
.yt-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  background: var(--youtube-red);
  color: #ffffff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: .95rem 1.9rem;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(255, 0, 0, .35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.yt-cta i { font-size: 1.35rem; }
.yt-cta:hover {
  background: var(--youtube-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 0, 0, .42);
}
.yt-cta .yt-sub {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: .72rem;
  opacity: .9;
  margin-top: .1rem;
}

.invite {
  margin: 2.2rem auto 0;
  max-width: 26rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Social icons (Font Awesome, brand colors) ---------- */
.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.4rem 0 0;
  flex-wrap: wrap;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 8px 18px var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.socials a:hover { transform: translateY(-3px) scale(1.05); }
.socials a.facebook  { background: #1877F2; }
.socials a.instagram {
  background: radial-gradient(circle at 30% 110%, #FFDB73 0%, #FD5949 35%, #D6249F 65%, #515BD4 100%);
}
.socials a.tiktok    { background: #111111; }
.socials a.twitch    { background: #9146FF; }
.socials a.email     { background: var(--teal); }

/* ---------- Grass footer ---------- */
footer.grass {
  position: relative;
  z-index: 3;
  background: linear-gradient(to bottom, var(--grass-1), var(--grass-2));
  padding: 3.2rem 1.5rem 2.4rem;
  text-align: center;
  color: #EFFFF0;
  overflow: hidden;
}
footer.grass .wave {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 34px;
  fill: var(--grass-1);
}
footer.grass .grass-deco {
  position: absolute;
  font-size: 1.4rem;
  opacity: .9;
  filter: drop-shadow(0 3px 4px rgba(0,60,0,.2));
}
footer.grass p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 600;
}
footer.grass a { text-decoration: underline; text-underline-offset: 3px; }
footer.grass .copyright {
  margin-top: .5rem;
  font-size: .85rem;
  opacity: .85;
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 420px) {
  .logo { width: 88%; }
  .yt-cta { font-size: 1rem; padding: .85rem 1.5rem; }
}
