/* ============================================
   Shiro brand tokens
   ============================================ */
@font-face {
  font-family: 'Peach Club Script';
  src: url('../assets/fonts/PeachClubScript.woff2') format('woff2'),
       url('../assets/fonts/PeachClubScript.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand blues, lifted from source art */
  --sky-100: #eaf6ff;
  --sky-200: #cdebff;
  --sky-300: #8cd0fb;
  --sky-400: #5ea8f4;
  --sky-500: #4e97ee;
  --sky-600: #3c78cd;
  --sky-700: #2e5fa8;
  --sky-900: #12335c;

  --ink: #0f2a4a;
  --ink-soft: #3a5578;
  --paper: #f6fbff;
  --white: #ffffff;
  --gold: #ffe08a;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 40px -12px rgba(18, 51, 92, 0.18);
  --shadow-card: 0 20px 60px -20px rgba(18, 51, 92, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1120px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.script {
  font-family: 'Peach Club Script', cursive;
  font-weight: 400;
  line-height: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Ambient sky background (used behind hero + whole page tint)
   ============================================ */
.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 15% -10%, var(--sky-200) 0%, transparent 60%),
    radial-gradient(1000px 600px at 90% 5%, var(--sky-300) 0%, transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 0 0;
  animation: sky-drift 26s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sky-drift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 0 0; }
  50% { background-position: 8% 6%, 92% 8%, 0 0; }
}

/* [data-parallax] is the outer positioned wrapper JS moves via translate();
   .cloud / .sparkle is the inner element that runs its own CSS animation.
   Keeping these on separate elements avoids both writing to `transform`. */
[data-parallax] {
  position: absolute;
  will-change: transform;
}

.cloud {
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(0.5px);
  will-change: transform;
  animation: cloud-drift linear infinite;
  animation-duration: var(--drift-duration, 32s);
  animation-delay: var(--drift-delay, 0s);
}

/* nested inside a parallax wrapper: fill it instead of using its own position */
[data-parallax] > .cloud,
[data-parallax] > .sparkle {
  position: static;
  width: 100%;
  height: 100%;
}

@keyframes cloud-drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(var(--drift-x, 22px), var(--drift-y, -10px)); }
  100% { transform: translate(0, 0); }
}

/* floating sparkle */
.sparkle {
  color: var(--gold);
  opacity: 0.8;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.15) rotate(12deg); }
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 5vw, 48px);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px -10px rgba(18, 51, 92, 0.15);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), padding 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 12px 36px -12px rgba(18, 51, 92, 0.25);
  background: rgba(255, 255, 255, 0.75);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(17px, 4vw, 20px);
  color: var(--sky-700);
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0px, 1vw, 4px);
}

.nav__links a {
  position: relative;
  font-size: clamp(12.5px, 2.6vw, 14.5px);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px clamp(8px, 2.5vw, 16px);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav__links a:hover {
  background: rgba(94, 168, 244, 0.14);
  color: var(--sky-700);
  transform: translateY(-1px);
}

.nav__links a:active {
  transform: translateY(0);
}

.nav__links a.is-active {
  color: var(--sky-700);
  background: rgba(94, 168, 244, 0.18);
}

.nav__brand {
  transition: transform 0.4s var(--ease);
}
.nav__brand:hover {
  transform: scale(1.04) rotate(-1deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(140, 208, 251, 0.55) 0%, rgba(140, 208, 251, 0) 70%);
  z-index: 0;
  opacity: 0;
  animation: glow-in 1.4s var(--ease) 0.1s forwards, glow-pulse 6s ease-in-out 1.5s infinite;
  pointer-events: none;
}

@keyframes glow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}

.hero__title {
  display: inline-block;
  font-size: clamp(72px, 14vw, 158px);
  color: var(--sky-600);
  text-shadow: 0 6px 0 rgba(46, 95, 168, 0.15);
  opacity: 0;
  animation: rise-in 1s var(--ease) 0.15s forwards, float-idle 5s ease-in-out 1.2s infinite;
}

.hero__tagline {
  margin: 22px auto 0;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 520px;
  opacity: 0;
  animation: rise-in 0.9s var(--ease) 0.35s forwards;
}

.hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise-in 0.9s var(--ease) 0.5s forwards;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes float-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  position: relative;
  background: linear-gradient(180deg, var(--sky-400), var(--sky-600));
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(60, 120, 205, 0.55);
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px -10px rgba(60, 120, 205, 0.65);
}
.btn--primary:hover::after {
  left: 130%;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--sky-700);
  border-color: rgba(94, 168, 244, 0.35);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sky-600);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.7s forwards, bob 2.4s ease-in-out 1.6s infinite;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============================================
   Section shell + reveal-on-scroll
   ============================================ */
section {
  position: relative;
  padding: 120px 24px;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-600);
  background: rgba(94, 168, 244, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--sky-600);
  line-height: 1.05;
}

.section__subtitle {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================
   About
   ============================================ */
.about {
  background: var(--white);
  border-radius: 48px;
  margin: 0 16px;
  box-shadow: var(--shadow-soft);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.about__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--sky-300), var(--sky-500) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.about__art:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 28px 70px -20px rgba(18, 51, 92, 0.35);
}

.about__art img {
  width: 46%;
  filter: drop-shadow(0 14px 24px rgba(15, 45, 90, 0.25));
  animation: mark-float 5.5s ease-in-out infinite;
}

@keyframes mark-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

.about__art .cloud { opacity: 0.5; }

.about__eyebrow { margin-bottom: 18px; }

.about h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--sky-600);
  margin: 0 0 20px;
  line-height: 1.1;
}

.about p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ============================================
   Socials
   ============================================ */
.socials {
  max-width: var(--container);
  margin: 0 auto;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.social-card {
  position: relative;
  flex: 1 1 150px;
  max-width: 170px;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(94, 168, 244, 0.14);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--sky-100), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.social-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.social-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-card);
  border-color: rgba(94, 168, 244, 0.35);
}
.social-card:hover::before { opacity: 1; }
.social-card:hover::after { left: 130%; }

.social-card__icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  transition: transform 0.4s var(--ease);
}

.social-card:hover .social-card__icon {
  transform: scale(1.12) rotate(-4deg);
}

.social-card__icon svg { width: 23px; height: 23px; }

.social-card__platform {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
}

.social-card__handle {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-twitch { background: linear-gradient(160deg, #b18cf4, #7a4fe0); }
.icon-youtube { background: linear-gradient(160deg, #ff6b6b, #e02f2f); }
.icon-instagram { background: linear-gradient(160deg, #f6a56a, #d63a8a 55%, #7a4fe0); }
.icon-x { background: linear-gradient(160deg, #3a4a5c, #0f1a26); }
.icon-tiktok { background: linear-gradient(160deg, #2e2e2e, #000); }

/* ============================================
   Reviews teaser (compact banner within page)
   ============================================ */
.teaser {
  max-width: var(--container);
  margin: 0 auto;
}

.teaser__card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  background-size: 160% 160%;
  animation: teaser-shift 10s ease-in-out infinite;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.teaser__card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 70px -18px rgba(18, 51, 92, 0.4);
}

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

.teaser__card .cloud { background: rgba(255,255,255,0.5); }

.teaser__badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.teaser__card h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 24px;
}

.teaser__card p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.6;
}

.teaser__ctas {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.teaser__card .btn--ghost {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.teaser__card .btn--ghost:hover {
  background: rgba(255,255,255,0.28);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 24px 40px;
  text-align: center;
}

.footer__brand {
  font-size: 28px;
  color: var(--sky-600);
  margin-bottom: 6px;
}

.footer__note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--sky-600);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer__links a:hover {
  transform: translateY(-4px);
  color: var(--sky-700);
  box-shadow: var(--shadow-card);
}
.footer__links svg { width: 18px; height: 18px; }

.footer__copy {
  font-size: 13px;
  color: #7c93ad;
}

/* ============================================
   Coming soon (reviews.html)
   ============================================ */
.coming-soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  text-align: center;
}

.coming-soon__inner {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.coming-soon__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
}

.coming-soon .eyebrow { margin-bottom: 22px; }

.coming-soon__title {
  font-size: clamp(48px, 9vw, 84px);
  color: var(--sky-600);
}

.coming-soon__text {
  margin: 20px auto 36px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.coming-soon__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__art { max-width: 280px; margin: 0 auto; }
  .social-card { flex: 1 1 45%; }
}

@media (max-width: 640px) {
  .nav { top: 12px; gap: 10px; padding: 8px 10px; }
  section { padding: 88px 20px; }
  .about { border-radius: 32px; margin: 0 8px; padding: 0; }
  .about__grid { padding: 40px 24px; }
  .social-card { flex: 1 1 100%; max-width: 320px; }
  .teaser__card { padding: 36px 24px; }
  .hero { padding-top: 120px; }
}
