/* TISO.studio: bright, colourful, playful. Builds on the shared theme. */
:root {
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", -apple-system, "Segoe UI", sans-serif;
  --ink: #23202e; --ink-2: #3a3548; --muted: #6a6478; --line: #efe7f3; --line-2: #e2d6ea;
  --pink: #ff3d7f; --sun: #ffb300; --mint: #00c2a8; --blue: #3d5afe; --grape: #8e24aa; --tang: #ff6d00;
  --radius: 22px; --radius-l: 32px;
}
body { background: #fff7fb; color: var(--ink); }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: .98; }
.eyebrow { color: var(--pink); }
.dot { color: var(--pink); }
.rainbow { background: linear-gradient(90deg, var(--pink), var(--sun), var(--mint), var(--blue), var(--grape)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }

.btn { border-radius: 16px; font-weight: 700; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 0 var(--pink); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 0 var(--pink); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--pink); }
.btn-secondary { background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: #fff3c4; }
.nav { background: rgba(255,247,251,.85); }

.tiso-hero { padding: 72px 0 40px; overflow: hidden; }
.blobs { position: absolute; inset: 0; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: drift 16s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 380px; height: 380px; background: var(--pink); top: -120px; left: -80px; }
.blobs i:nth-child(2) { width: 320px; height: 320px; background: var(--sun); top: 60px; right: 10%; animation-delay: -4s; }
.blobs i:nth-child(3) { width: 300px; height: 300px; background: var(--mint); bottom: -140px; left: 30%; animation-delay: -8s; }
.blobs i:nth-child(4) { width: 260px; height: 260px; background: var(--blue); bottom: -60px; right: -60px; animation-delay: -12s; opacity: .3; }
.tiso-hero .wrap { position: relative; z-index: 1; }

/* Claw machine */
.claw-stage { position: relative; height: 480px; border-radius: var(--radius-l); background: linear-gradient(180deg, #ffffffcc, #fff0f7cc); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.claw-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--ink); }
.claw { position: absolute; left: 50%; top: -60px; width: 110px; margin-left: -55px; animation: claw 7s ease-in-out infinite; z-index: 3; }
.finger { transform-box: fill-box; }
.finger.l { transform-origin: top right; animation: grip-l 7s ease-in-out infinite; }
.finger.r { transform-origin: top left; animation: grip-r 7s ease-in-out infinite; }
.prize { position: absolute; left: 50%; width: 130px; margin-left: -65px; bottom: 70px; border-radius: 18px; animation: prize 7s ease-in-out infinite; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.12)); }
.pile { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0; }
.pile img { width: 120px; border-radius: 18px; margin: 0 -10px; transform: rotate(-6deg) translateY(30px); opacity: .95; }
.pile img:nth-child(2) { transform: rotate(5deg) translateY(44px); }
.pile img:nth-child(3) { transform: rotate(-2deg) translateY(36px); }
.smoke { position: absolute; left: 50%; top: 90px; width: 0; height: 0; z-index: 4; }
.smoke i { position: absolute; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: #fff; filter: blur(6px); opacity: 0; animation: smoke 7s ease-out infinite; }
.smoke i:nth-child(1) { --x: -60px; --y: -30px; background: #ffe0ec; }
.smoke i:nth-child(2) { --x: 60px; --y: -20px; background: #fff3c4; }
.smoke i:nth-child(3) { --x: -30px; --y: 40px; background: #d8fff8; }
.smoke i:nth-child(4) { --x: 40px; --y: 40px; background: #e2e7ff; }
.smoke i:nth-child(5) { --x: 0; --y: -50px; background: #fff; }
@keyframes claw { 0%, 8% { transform: translateY(0); } 30%, 42% { transform: translateY(230px); } 66%, 100% { transform: translateY(0); } }
@keyframes grip-l { 0%, 30% { transform: rotate(18deg); } 40%, 70% { transform: rotate(-8deg); } 80%, 100% { transform: rotate(18deg); } }
@keyframes grip-r { 0%, 30% { transform: rotate(-18deg); } 40%, 70% { transform: rotate(8deg); } 80%, 100% { transform: rotate(-18deg); } }
@keyframes prize { 0%, 42% { transform: translateY(0) scale(1); opacity: 1; } 66% { transform: translateY(-230px) scale(1); opacity: 1; } 72% { transform: translateY(-230px) scale(1.15); opacity: 0; } 73%, 92% { transform: translateY(0) scale(.6); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes smoke { 0%, 66% { opacity: 0; transform: translate(0,0) scale(.3); } 72% { opacity: .95; } 90%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .claw, .finger, .prize, .smoke i, .rainbow, .gallery-track, .blobs i { animation: none !important; } .smoke { display: none; } }
@media (max-width: 980px) { .claw-stage { height: 400px; } }

/* Gallery strip */
.gallery-strip { overflow: hidden; }
.gallery-track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.gallery-track img { width: 200px; height: 200px; border-radius: 24px; border: 3px solid var(--ink); }

/* Steps */
.steps-fun { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-fun li { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 6px 6px 0 var(--ink); }
.steps-fun b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c); color: #fff; font-size: 22px; }
.steps-fun h4 { margin-top: 18px; font-size: 20px; }
.steps-fun p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .steps-fun { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-fun { grid-template-columns: 1fr; } }

.tint-fun { background: #fff0c9; }
.card.fun { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--c, var(--ink)); border-radius: var(--radius); }
.card.fun:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--c, var(--ink)); }
.card.fun > img, .card.fun .particles, .card.fun .swatches { width: 100%; aspect-ratio: 1; border-radius: 16px; }
.card.fun > img, .card.fun .particles { display: block; }
.card.fun .swatches { display: grid; }
.particles { background: #14112a; overflow: hidden; }
.particles canvas { width: 100%; height: 100%; display: block; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; padding: 12px; background: #fff7fb; }
.swatches i { border-radius: 12px; background: var(--s); }
.iisa-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.iisa-grid i { aspect-ratio: 1; border-radius: 14px; border: 2px solid var(--ink); }
.note { color: var(--muted); font-size: 14px; margin-top: 32px; }
.form input, .form textarea { border: 2px solid var(--line-2); border-radius: 14px; }
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.footer { background: var(--ink); }
.footer .brand { color: #fff; }
