/* CritterTown — the Coming Soon page (Website/pages/coming-soon.html): a sunny island sky with drifting clouds and
   rolling hills, the raccoon-face mark bobbing above the wordmark, and the access-code card. Uses site.css's tokens. */

.page-soon { background: #bfe3ff; min-height: 100vh; }
.soon { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; overflow: hidden;
  padding: 40px 16px 120px; background: linear-gradient(180deg, #3f9ef0 0%, #74c0ff 38%, #bfe3ff 70%, #e8f6ff 100%); }

/* ---------------------------------------------------------------- the sky */
.soon-sky { position: absolute; inset: 0; pointer-events: none; }
.soon-sun { position: absolute; top: 6%; right: 9%; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffbe0, #ffe98a 60%, #ffd23f); box-shadow: 0 0 0 18px rgba(255, 240, 170, .35), 0 0 0 40px rgba(255, 240, 170, .18), 0 0 90px 40px rgba(255, 236, 150, .45);
  animation: soon-sun 6s ease-in-out infinite; }
@keyframes soon-sun { 50% { transform: scale(1.06); } }
.soon-cloud { position: absolute; width: 180px; height: 56px; background: #fff; border-radius: 999px; box-shadow: inset 0 -8px 0 rgba(13, 47, 107, .07);
  animation: soon-drift linear infinite; opacity: .95; }
.soon-cloud::before, .soon-cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.soon-cloud::before { width: 80px; height: 80px; left: 26px; top: -38px; }
.soon-cloud::after { width: 104px; height: 104px; left: 70px; top: -56px; }
.soon-cloud.c1 { top: 14%; left: -220px; animation-duration: 64s; }
.soon-cloud.c2 { top: 30%; left: -220px; transform: scale(.7); animation-duration: 82s; animation-delay: -30s; }
.soon-cloud.c3 { top: 8%; left: -220px; transform: scale(.55); animation-duration: 96s; animation-delay: -62s; opacity: .8; }
.soon-cloud.c4 { top: 46%; left: -220px; transform: scale(.85); animation-duration: 74s; animation-delay: -12s; }
@keyframes soon-drift { to { translate: calc(100vw + 460px) 0; } }
.soon-bird { position: absolute; width: 18px; height: 8px; border: 3px solid #1f3358; border-color: #1f3358 transparent transparent; border-radius: 50% 50% 0 0;
  animation: soon-fly 30s linear infinite; opacity: .7; }
.soon-bird::after { content: ''; position: absolute; left: 12px; top: -3px; width: 18px; height: 8px; border: inherit; border-radius: inherit; }
.soon-bird.b1 { top: 20%; left: -40px; }
.soon-bird.b2 { top: 24%; left: -80px; animation-delay: -1.2s; transform: scale(.8); }
@keyframes soon-fly { 0% { translate: 0 0; } 50% { translate: 55vw -30px; } 100% { translate: calc(100vw + 120px) 10px; } }
.soon-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34vh; min-height: 180px; }
.soon-hills .h1 { fill: #9fdc7f; }
.soon-hills .h2 { fill: #7cc95e; }
.soon-hills .h3 { fill: #5fb34a; }

/* ---------------------------------------------------------------- the content */
.soon-inner { position: relative; z-index: 1; width: 100%; max-width: 640px; text-align: center; }
.soon-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; }
.soon-mark { width: clamp(96px, 22vw, 132px); height: auto; filter: drop-shadow(0 8px 0 rgba(13, 47, 107, .25)); animation: soon-bob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes soon-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.soon-word { margin: 0; font-weight: 700; font-size: clamp(2.4rem, 8vw, 3.8rem); line-height: 1; color: var(--white); letter-spacing: -.01em;
  -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; text-shadow: 0 5px 0 var(--navy); }
.soon-word span { color: var(--yellow); }
.soon-title { margin: 18px 0 8px; font-size: clamp(2rem, 6vw, 3rem); color: var(--navy); }
.soon-lead { font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: var(--text); max-width: 520px; margin: 0 auto 26px; }

.soon-card { background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow), var(--lift);
  padding: clamp(18px, 4vw, 28px); text-align: left; }
.soon-card.shake { animation: soon-shake .45s; }
@keyframes soon-shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
.soon-card.yay { animation: soon-yay .6s var(--ease-bounce); }
@keyframes soon-yay { 50% { transform: scale(1.04); } }
.soon-label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 12px; font-size: 1.08rem; }
.soon-row { display: flex; gap: 12px; flex-wrap: wrap; }
.soon-input { flex: 1 1 220px; min-width: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.soon-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.soon-go { flex: 0 0 auto; }
.soon-msg { margin: 12px 0 0; font-weight: 600; color: var(--red); }
.soon-msg.ok { color: var(--green2); }
.soon-foot { margin-top: 22px; color: var(--navy); font-weight: 500; }

@media (max-width: 480px) {
  .soon-go { flex: 1 1 100%; }
  .soon-sun { width: 84px; height: 84px; right: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .soon-cloud, .soon-bird, .soon-mark, .soon-sun { animation: none; }
}
