/* Same Brain: soft neon brainwaves. Pink and cyan blobs drifting together. */
:root {
  --bg: #120d2e; --bg2: #1b1442; --card: rgba(36, 26, 82, 0.88); --card2: #2f2470; --line: #5a49b8;
  --text: #f8f4ff; --muted: #b8b0e6; --accent: #7ef0ff; --yellow: #ffe066; --red: #ff6b9a; --green: #7bffb0;
  --grad: linear-gradient(135deg, #ff7ad9, #7ef0ff);
  --font-head: 'Baloo 2', var(--font-body); --font-body: 'Baloo 2', Inter, system-ui, sans-serif; --head-weight: 800;
  --radius: 28px;
}
body { background: radial-gradient(800px 600px at 20% 20%, #ff7ad933, transparent 70%), radial-gradient(800px 600px at 80% 80%, #3fd0ff33, transparent 70%), #120d2e fixed; }
.btn { color: #1a0f3a; font-weight: 800; border-radius: 999px; box-shadow: 0 6px 24px rgba(255, 122, 217, 0.35); }
.hero { background: linear-gradient(90deg, #ff7ad9, #7ef0ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px #ff7ad966); }
.big-code { background: linear-gradient(90deg, #ff7ad9, #7ef0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pop { animation: squish 0.7s cubic-bezier(.3, 1.7, .5, 1) both; }
@keyframes squish { 0% { transform: scale(0.3, 0.3); opacity: 0; } 50% { transform: scale(1.15, 0.9); opacity: 1; } 75% { transform: scale(0.95, 1.05); } 100% { transform: none; } }

.sb-tv { display: flex; flex-direction: column; gap: 1em; flex: 1; align-items: stretch; }
.sb-prompt { align-self: center; text-align: center; padding: 0.6em 2em; border-radius: 40px; background: linear-gradient(135deg, #3a2390, #1f4f8f); border: 3px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 3px #ff7ad9aa, 0 0 50px #7ef0ff44; }
.sb-prompt span { display: block; font-size: 1.4em; }
.sb-prompt b { display: block; font-family: var(--font-head); font-size: 4.6em; line-height: 1.05; background: linear-gradient(90deg, #ffd1f2, #c8f9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-prompt.small b { font-size: 2.6em; } .sb-prompt.small span { font-size: 1em; }
.sb-prompt.phone { font-size: 0.6rem; padding: 14px 18px; } .sb-prompt.phone span { font-size: 1.8em; }
.sb-waves { position: relative; height: 120px; display: flex; justify-content: center; align-items: center; }
.sb-waves i { position: absolute; width: 80px; height: 80px; border-radius: 50%; border: 3px solid #7ef0ff; animation: ripple 2.4s ease-out infinite; }
.sb-waves i:nth-child(2) { animation-delay: 0.8s; border-color: #ff7ad9; } .sb-waves i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.sb-groups { display: flex; flex-wrap: wrap; gap: 0.8em; justify-content: center; align-items: center; }
.sb-group { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 0.5em 1.4em; text-align: center; font-size: calc(1.2em + var(--size, 0.5) * 1.4em); animation: squish 0.6s both; }
.sb-group.top { background: linear-gradient(135deg, #ff7ad955, #7ef0ff55); border-color: #ffe066; box-shadow: 0 0 40px #ff7ad977; }
.sb-group.solo { opacity: 0.7; font-size: 1.2em; }
.sb-word { font-family: var(--font-head); font-weight: 800; }
.sb-who { display: flex; gap: 0.15em; justify-content: center; font-size: 0.6em; }
.sb-n { position: absolute; top: -0.5em; right: -0.4em; background: #ffe066; color: #1a0f3a; border-radius: 999px; padding: 0 0.4em; font-size: 0.6em; }
.sb-result { align-self: center; font-family: var(--font-head); font-size: 3em; font-weight: 800; opacity: 0; animation: squish 0.6s both; }
.sb-result span { color: var(--green); }
.sb-result.perfect { background: linear-gradient(90deg, #ff7ad9, #ffe066, #7ef0ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 4em; }
.sb-brain { font-size: 7em; text-align: center; animation: squish 0.8s both, think 3s ease-in-out 1s infinite; }
@keyframes think { 50% { transform: scale(1.08) rotate(4deg); filter: drop-shadow(0 0 30px #ff7ad9); } }
.sb-hist { columns: 2; column-gap: 2em; font-size: 1.15em; max-width: 1200px; margin: 0 auto; }
.sb-hist div { break-inside: avoid; margin-bottom: 0.3em; }

/* Background: two families of blobs drifting and pulsing in sync. */
.scene .blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.3; animation: drift ease-in-out infinite alternate; }
.scene .blob.p { background: #ff7ad9; } .scene .blob.c { background: #3fd0ff; }
@keyframes drift { from { transform: translate(-6vw, -4vh) scale(0.9); } to { transform: translate(6vw, 5vh) scale(1.15); } }
.scene .pulse { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; margin: -15vmin; border-radius: 50%; border: 2px solid #ffffff22; animation: ripple 6s linear infinite; }
.scene.small .blob { opacity: 0.3; }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } }
