:root {
  --bg: #07020f;
  --panel: rgba(16, 11, 31, 0.82);
  --panel-strong: rgba(23, 13, 42, 0.94);
  --text: #fffaf7;
  --muted: #c9bee4;
  --lime: #b7ff37;
  --cyan: #16e6ff;
  --pink: #ff3ff2;
  --yellow: #ffe45f;
  --purple: #8c45ff;
  --danger: #ff4b79;
  --shadow-lime: 0 0 22px rgba(183, 255, 55, 0.46);
  --shadow-pink: 0 0 24px rgba(255, 63, 242, 0.42);
  --radius: 24px;
  --tap: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 63, 242, 0.2), transparent 34%),
    radial-gradient(circle at 20% 90%, rgba(22, 230, 255, 0.18), transparent 38%),
    var(--bg);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #07020f, #1b0636 30%, #071e35 62%, #220518);
  background-size: 260% 260%;
  animation: bgShift 12s ease-in-out infinite alternate;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  animation: gridDrift 18s linear infinite;
}

.gradient-orbit {
  position: absolute;
  width: 56vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.36;
  mix-blend-mode: screen;
}

.orbit-one {
  left: -26vmax;
  top: 6vh;
  background: conic-gradient(from 90deg, var(--pink), var(--lime), var(--cyan), var(--pink));
  animation: floatOrbit 10s ease-in-out infinite;
}

.orbit-two {
  right: -28vmax;
  bottom: -8vh;
  background: conic-gradient(from 220deg, var(--purple), var(--yellow), var(--cyan), var(--purple));
  animation: floatOrbit 13s ease-in-out infinite reverse;
}

.aura-field,
.sixty-seven-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 16px var(--color);
  opacity: 0;
  animation: particleFloat var(--duration) linear forwards;
}

.floating-67 {
  position: absolute;
  color: var(--color);
  font-size: var(--size);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 18px currentColor;
  opacity: 0;
  transform: rotate(var(--rotate));
  animation: numberFloat var(--duration) ease-out forwards;
}

.app-shell {
  width: min(100%, 460px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
}

.screen {
  width: 100%;
  min-height: calc(100svh - 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  animation: screenIn 420ms var(--tap) both;
}

.screen.leaving {
  animation: screenOut 240ms ease both;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.mini-brand {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: var(--shadow-lime);
}

.ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 13px;
  min-height: 42px;
  cursor: pointer;
  transition: transform 180ms var(--tap), background 180ms, box-shadow 180ms;
}

.card,
.share-card,
.wheel-stage {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(155deg, rgba(20, 14, 43, 0.92), rgba(11, 7, 25, 0.72));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38), inset 0 0 34px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.hero {
  text-align: center;
  gap: 18px;
}

.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;
}

.logo-wrap {
  position: relative;
  padding-top: 12px;
}

.logo-art {
  display: block;
  width: min(100%, 390px);
  margin: 0 auto;
  border-radius: 28px;
  filter: drop-shadow(0 0 20px rgba(183, 255, 55, 0.45)) drop-shadow(0 0 30px rgba(255, 63, 242, 0.35));
  transform-origin: 50% 80%;
  animation: artLogoPop 720ms var(--tap) both, artFloat 2.8s ease-in-out infinite;
}

.logo {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.2rem, 18vw, 5.6rem);
  font-weight: 1000;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.36),
    5px 0 0 rgba(255, 63, 242, 0.8),
    -5px 0 0 rgba(22, 230, 255, 0.68),
    0 0 40px rgba(183, 255, 55, 0.28);
  animation: logoDrop 720ms var(--tap) both, glitchPulse 2.8s steps(2, end) infinite;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #10051d;
  background: var(--lime);
  box-shadow: var(--shadow-lime);
  font-weight: 950;
  transform: rotate(-2deg);
  animation: badgePop 620ms 220ms var(--tap) both;
}

.art-scene {
  position: relative;
  width: min(100%, 390px);
  min-height: 210px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 72%, rgba(183, 255, 55, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 63, 242, 0.16), rgba(22, 230, 255, 0.1));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36), inset 0 0 32px rgba(255, 255, 255, 0.055);
  isolation: isolate;
  animation: artSceneIn 560ms var(--tap) both;
}

.art-scene::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 0deg, transparent, rgba(183, 255, 55, 0.18), transparent, rgba(255, 63, 242, 0.18), transparent);
  animation: artSpin 7s linear infinite;
  z-index: -1;
}

.art-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.18) 44%, transparent 54% 100%);
  transform: translateX(-120%);
  animation: artShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.art-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.04);
  animation: mascotGroove 1.2s ease-in-out infinite;
}

.art-mini {
  min-height: 180px;
}

.art-mini img {
  object-position: center;
  transform: scale(1.08);
}

.art-quiz {
  width: min(100%, 330px);
  min-height: 150px;
  margin-bottom: 14px;
  border-radius: 22px;
}

.art-quiz img {
  object-position: center 48%;
  transform: scale(1.16);
}

.art-result,
.art-mystic {
  min-height: 250px;
  box-shadow: 0 20px 70px rgba(183, 255, 55, 0.18), 0 0 36px rgba(255, 63, 242, 0.22);
}

.art-mystic {
  animation: artSceneIn 560ms var(--tap) both, mysticPoster 1.4s ease-in-out infinite;
}

.art-wheel {
  width: min(100%, 310px);
  min-height: 134px;
  margin-bottom: -4px;
  border-radius: 22px;
}

.art-wheel img {
  transform: scale(1.18);
}

.art-token {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 32px;
  padding: 5px 10px;
  border: 3px solid #21092d;
  border-radius: 999px;
  color: #13051f;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(183, 255, 55, 0.55);
  font-size: 0.86rem;
  font-weight: 1000;
  text-transform: uppercase;
  animation: tokenBounce 1.4s ease-in-out infinite;
}

.token-one {
  left: 16px;
  top: 18px;
  background: var(--yellow);
}

.token-two {
  right: 14px;
  top: 34px;
}

.token-three {
  right: 22px;
  bottom: 18px;
  background: var(--cyan);
  animation-delay: 220ms;
}

.toon-scene {
  position: relative;
  width: min(100%, 360px);
  min-height: 172px;
  margin: 0 auto;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 80%, rgba(183, 255, 55, 0.26), transparent 38%),
    linear-gradient(135deg, rgba(255, 63, 242, 0.13), rgba(22, 230, 255, 0.11));
  box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.045), 0 18px 50px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.toon-scene::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 16px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42), transparent 70%);
  animation: shadowBounce 700ms ease-in-out infinite;
}

.toon-dance {
  animation: sceneEntrance 660ms 160ms var(--tap) both, sceneGlow 2.6s ease-in-out infinite;
}

.toon-mini {
  min-height: 134px;
  margin-block: 2px;
}

.toon-quiz {
  width: 142px;
  min-height: 118px;
  margin: 0 auto 14px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.toon-result {
  min-height: 212px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 228, 95, 0.26), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(255, 63, 242, 0.22), transparent 40%),
    linear-gradient(135deg, rgba(22, 230, 255, 0.14), rgba(183, 255, 55, 0.11));
}

.toon-mystic {
  min-height: 222px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.34), transparent 20%),
    conic-gradient(from 0deg, rgba(183, 255, 55, 0.22), rgba(255, 63, 242, 0.2), rgba(22, 230, 255, 0.2), rgba(183, 255, 55, 0.22));
  animation: mysticScene 1.3s ease-in-out infinite;
}

.toon-wheel {
  width: 124px;
  min-height: 92px;
  margin-bottom: -8px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.toon-farmer {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 86px;
  height: 126px;
  transform-origin: 50% 100%;
  transform: translateX(-50%);
  animation: farmerDance 720ms ease-in-out infinite;
  z-index: 2;
}

.farmer-main {
  margin-left: -34px;
}

.farmer-buddy {
  width: 74px;
  height: 108px;
  bottom: 24px;
  margin-left: 50px;
  transform: translateX(-50%) scale(0.82);
  animation: farmerDance 780ms 160ms ease-in-out infinite reverse;
  opacity: 0.98;
}

.toon-mini .farmer-main,
.toon-quiz .farmer-main,
.toon-wheel .farmer-main {
  margin-left: 0;
}

.toon-mini .farmer-buddy,
.toon-quiz .farmer-buddy,
.toon-wheel .farmer-buddy {
  display: none;
}

.toon-quiz .toon-farmer {
  bottom: 8px;
  transform: translateX(-50%) scale(0.72);
  animation: farmerRun 520ms ease-in-out infinite;
}

.toon-wheel .toon-farmer {
  bottom: 0;
  transform: translateX(-50%) scale(0.62);
  animation: farmerDJ 640ms ease-in-out infinite;
}

.toon-result .farmer-main,
.toon-mystic .farmer-main {
  animation: farmerVictory 520ms ease-in-out infinite;
}

.toon-result .farmer-buddy,
.toon-mystic .farmer-buddy {
  animation: farmerVictory 620ms 180ms ease-in-out infinite reverse;
}

.toon-head {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  border: 4px solid #2a103d;
  border-radius: 48% 52% 44% 56%;
  background: #ffd59a;
  box-shadow: inset -8px -8px 0 rgba(203, 118, 75, 0.24), 0 0 22px rgba(255, 228, 95, 0.24);
  animation: headBob 700ms ease-in-out infinite;
  z-index: 4;
}

.toon-head.alt {
  background: #9ff3ff;
  border-radius: 54% 46% 58% 42%;
  box-shadow: inset -8px -8px 0 rgba(28, 122, 160, 0.24), 0 0 22px rgba(22, 230, 255, 0.26);
}

.toon-hair {
  position: absolute;
  top: -9px;
  width: 30px;
  height: 22px;
  border-radius: 999px 999px 8px 8px;
  background: #181020;
}

.hair-left {
  left: 2px;
  transform: rotate(-20deg);
}

.hair-right {
  right: 2px;
  transform: rotate(22deg);
}

.toon-eye {
  position: absolute;
  top: 27px;
  width: 8px;
  height: 11px;
  border-radius: 50%;
  background: #17081f;
  animation: blink 3.8s infinite;
}

.eye-left {
  left: 17px;
}

.eye-right {
  right: 17px;
}

.toon-mouth {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 18px;
  height: 9px;
  border-bottom: 4px solid #17081f;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.toon-body {
  position: absolute;
  left: 50%;
  top: 55px;
  width: 62px;
  height: 58px;
  transform: translateX(-50%);
  border: 4px solid #2a103d;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: inset -8px -10px 0 rgba(0, 0, 0, 0.16), 0 0 24px rgba(255, 63, 242, 0.26);
  z-index: 3;
}

.toon-body.alt {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
}

.toon-shirt-mark {
  position: absolute;
  inset: 12px 8px auto;
  color: #10051d;
  font-size: 1.05rem;
  font-weight: 1000;
}

.toon-arm,
.toon-leg {
  position: absolute;
  border: 4px solid #2a103d;
  background: #ffd59a;
  box-shadow: inset -5px -5px 0 rgba(203, 118, 75, 0.18);
}

.toon-arm {
  top: 7px;
  width: 19px;
  height: 52px;
  border-radius: 999px;
  transform-origin: 50% 8px;
  z-index: -1;
}

.arm-left {
  left: -16px;
  transform: rotate(32deg);
  animation: leftArmWave 520ms ease-in-out infinite;
}

.arm-right {
  right: -16px;
  transform: rotate(-40deg);
  animation: rightArmWave 520ms ease-in-out infinite;
}

.farmer-buddy .arm-left {
  animation-delay: 160ms;
}

.farmer-buddy .arm-right {
  animation-delay: 160ms;
}

.toon-leg {
  bottom: -33px;
  width: 21px;
  height: 45px;
  border-radius: 999px;
  transform-origin: 50% 5px;
}

.leg-left {
  left: 8px;
  transform: rotate(16deg);
  animation: leftLegKick 620ms ease-in-out infinite;
}

.leg-right {
  right: 8px;
  transform: rotate(-16deg);
  animation: rightLegKick 620ms ease-in-out infinite;
}

.farmer-buddy .leg-left,
.farmer-buddy .leg-right {
  animation-delay: 140ms;
}

.toon-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0 50%, 38% 35%);
  background: var(--yellow);
  filter: drop-shadow(0 0 10px var(--yellow));
  z-index: 6;
  animation: sparklePop 900ms ease-in-out infinite;
}

.spark-one {
  left: 0;
  top: 18px;
}

.spark-two {
  right: -5px;
  top: 42px;
  background: var(--cyan);
  filter: drop-shadow(0 0 10px var(--cyan));
  animation-delay: 220ms;
}

.aura-ring {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 170px;
  aspect-ratio: 1;
  border: 3px dashed rgba(183, 255, 55, 0.55);
  border-radius: 50%;
  transform: translateX(-50%) rotate(0deg);
  filter: drop-shadow(0 0 12px rgba(183, 255, 55, 0.44));
  animation: auraSpin 4s linear infinite;
  z-index: 1;
}

.ring-two {
  width: 122px;
  border-color: rgba(22, 230, 255, 0.48);
  animation-duration: 3s;
  animation-direction: reverse;
}

.toon-coin {
  position: absolute;
  z-index: 5;
  min-width: 38px;
  min-height: 26px;
  display: grid;
  place-items: center;
  border: 3px solid #2a103d;
  border-radius: 999px;
  color: #13051f;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 228, 95, 0.42);
  font-size: 0.78rem;
  font-weight: 1000;
  animation: coinFarm 1.5s ease-in-out infinite;
}

.coin-one {
  left: 34px;
  top: 30px;
}

.coin-two {
  right: 28px;
  top: 48px;
  background: var(--lime);
  animation-delay: 240ms;
}

.coin-three {
  left: 50%;
  top: 10px;
  background: var(--cyan);
  animation-delay: 460ms;
}

.toon-quiz .coin-two,
.toon-quiz .coin-three,
.toon-wheel .coin-two,
.toon-wheel .coin-three {
  display: none;
}

.headline {
  margin: 0;
  font-size: clamp(1.38rem, 7vw, 2rem);
  font-weight: 950;
  line-height: 1.04;
}

.subtext {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-copy {
  padding: 0 4px;
  animation: fadeUp 620ms 180ms both;
}

.actions {
  display: grid;
  gap: 12px;
  width: 100%;
}

.btn {
  position: relative;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  overflow: hidden;
  font-weight: 950;
  letter-spacing: 0;
  transition: transform 160ms var(--tap), filter 160ms, box-shadow 160ms;
}

.btn::after,
.option-btn::after {
  content: "";
  position: absolute;
  inset: auto auto 0 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, 50%) scale(0);
  opacity: 0;
}

.btn:active,
.ghost-link:active,
.option-btn:active {
  transform: scale(0.96);
}

.btn.clicked::after,
.option-btn.clicked::after {
  animation: tapWave 520ms ease-out;
}

.btn-primary {
  color: #12041d;
  background: linear-gradient(135deg, var(--lime), var(--yellow) 48%, #fff48e);
  box-shadow: var(--shadow-lime), 0 18px 46px rgba(183, 255, 55, 0.22);
  animation: pulseButton 1.8s ease-in-out infinite;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(140, 69, 255, 0.92), rgba(255, 63, 242, 0.88));
  box-shadow: var(--shadow-pink);
}

.btn-tertiary {
  background: linear-gradient(135deg, rgba(22, 230, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(22, 230, 255, 0.35);
}

.btn:disabled {
  cursor: wait;
  filter: saturate(0.75);
  opacity: 0.76;
}

.small-link {
  border: 0;
  background: transparent;
  color: var(--yellow);
  padding: 10px;
  cursor: pointer;
  font-weight: 850;
  text-shadow: 0 0 16px rgba(255, 228, 95, 0.5);
}

.card {
  border-radius: var(--radius);
  padding: 20px;
  animation: cardPop 480ms 80ms both;
}

.stack {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 1000;
  line-height: 0.95;
  text-shadow: 0 0 28px rgba(255, 63, 242, 0.32);
}

.body-copy {
  color: var(--muted);
  line-height: 1.48;
  margin: 0;
}

.nick-input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03);
}

.quiz-head {
  display: grid;
  gap: 10px;
}

.stat-row,
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.075);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  color: var(--lime);
}

.progress-track,
.aura-track {
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
}

.progress-fill,
.aura-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--lime), var(--cyan));
  box-shadow: 0 0 20px rgba(183, 255, 55, 0.5);
  transition: width 420ms var(--tap);
}

.question-card {
  min-height: 190px;
  display: grid;
  justify-items: center;
  align-content: center;
}

.question-text {
  margin: 0;
  font-size: clamp(1.52rem, 8vw, 2.15rem);
  font-weight: 1000;
  line-height: 1.05;
}

.options {
  display: grid;
  gap: 10px;
}

.option-btn {
  position: relative;
  width: 100%;
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  animation: optionIn 360ms var(--tap) forwards;
}

.option-btn strong {
  display: block;
  color: var(--yellow);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.option-btn.selected {
  border-color: rgba(183, 255, 55, 0.8);
  box-shadow: var(--shadow-lime);
  transform: scale(0.98);
}

.floating-score {
  position: fixed;
  left: 50%;
  top: 48%;
  z-index: 20;
  padding: 9px 13px;
  border-radius: 999px;
  color: #13051f;
  background: var(--lime);
  box-shadow: var(--shadow-lime);
  font-weight: 1000;
  pointer-events: none;
  transform: translate(-50%, 0);
  animation: scoreRise 950ms ease-out forwards;
}

.floating-score.soft-warning {
  color: #16081f;
  background: var(--yellow);
  box-shadow: 0 0 22px rgba(255, 228, 95, 0.5);
}

.result-hero {
  text-align: center;
}

.score-big {
  margin: 8px 0 0;
  color: var(--lime);
  font-size: clamp(4rem, 20vw, 6rem);
  font-weight: 1000;
  line-height: 0.88;
  text-shadow: var(--shadow-lime), 0 0 46px rgba(22, 230, 255, 0.24);
}

.level-pill {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #12041d;
  background: var(--yellow);
  font-weight: 950;
  box-shadow: 0 0 24px rgba(255, 228, 95, 0.38);
}

.share-card {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
  transform-origin: 50% 80%;
  animation: shareCardWiggle 4s ease-in-out infinite;
}

.share-spotlight {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(183, 255, 55, 0.3);
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(183, 255, 55, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 55, 0.12), rgba(22, 230, 255, 0.08));
  box-shadow: var(--shadow-lime), inset 0 0 24px rgba(255, 255, 255, 0.04);
  animation: cardPop 480ms 160ms both;
}

.share-spotlight p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
}

.share-card::before {
  content: "67";
  position: absolute;
  right: -8px;
  top: -22px;
  color: rgba(183, 255, 55, 0.14);
  font-size: 7.5rem;
  font-weight: 1000;
}

.share-card h3,
.share-card p {
  position: relative;
  margin: 0;
}

.share-card h3 {
  font-size: 1.45rem;
  color: var(--lime);
}

.share-score {
  position: relative;
  margin: 12px 0;
  color: var(--text);
  font-size: 2.6rem;
  font-weight: 1000;
}

.share-burst {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #13051f;
  background: var(--lime);
  border: 4px solid rgba(42, 16, 61, 0.85);
  box-shadow: var(--shadow-lime);
  font-size: 1.28rem;
  font-weight: 1000;
  animation: burstBounce 780ms ease-in-out infinite;
}

.send-card {
  position: relative;
  overflow: hidden;
}

.send-card::after {
  content: "FARME SUA AURA TAMBEM";
  position: absolute;
  right: -18px;
  bottom: 12px;
  max-width: 190px;
  color: rgba(22, 230, 255, 0.13);
  font-size: 1.65rem;
  font-weight: 1000;
  line-height: 0.9;
  transform: rotate(-8deg);
  pointer-events: none;
}

.share-title {
  position: relative;
  margin: 0;
  font-size: clamp(1.45rem, 7vw, 2rem);
  line-height: 1.02;
  font-weight: 1000;
}

.share-link-box {
  position: relative;
  border: 1px dashed rgba(183, 255, 55, 0.48);
  border-radius: 16px;
  padding: 12px;
  color: var(--lime);
  background: rgba(183, 255, 55, 0.08);
  box-shadow: inset 0 0 18px rgba(183, 255, 55, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.wheel-stage {
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  place-items: center;
  gap: 16px;
}

.wheel-how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.wheel-how span,
.wheel-prizes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(183, 255, 55, 0.28);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--lime);
  background: rgba(183, 255, 55, 0.08);
  box-shadow: inset 0 0 14px rgba(183, 255, 55, 0.06);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
}

.wheel-prizes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.wheel-prizes::-webkit-scrollbar {
  display: none;
}

.wheel-prizes span {
  flex: 0 0 auto;
  gap: 6px;
  color: #14051f;
  background: linear-gradient(135deg, var(--lime), var(--yellow));
  border-color: transparent;
}

.wheel-prizes b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--text);
  background: #21092d;
  font-size: 0.74rem;
}

.wheel-pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 24px solid var(--yellow);
  filter: drop-shadow(0 0 12px rgba(255, 228, 95, 0.75));
  z-index: 1;
}

.wheel {
  position: relative;
  width: min(76vw, 320px);
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: conic-gradient(
    var(--pink) 0 45deg,
    var(--lime) 45deg 90deg,
    var(--cyan) 90deg 135deg,
    var(--yellow) 135deg 180deg,
    var(--purple) 180deg 225deg,
    #ff6d3f 225deg 270deg,
    #38ff9f 270deg 315deg,
    #5e7cff 315deg 360deg
  );
  box-shadow: 0 0 34px rgba(255, 63, 242, 0.3), inset 0 0 0 10px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  transition: transform 3.2s cubic-bezier(.14, .78, .12, 1);
  overflow: hidden;
}

.wheel::after {
  content: "67";
  position: relative;
  z-index: 3;
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #12041d;
  background: var(--text);
  font-size: 2rem;
  font-weight: 1000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.46);
}

.wheel-symbols {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
}

.wheel-symbols span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: -21px;
  border: 3px solid rgba(32, 10, 45, 0.85);
  border-radius: 50%;
  color: #16051f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.46);
  font-size: 1.05rem;
  font-weight: 1000;
  transform: rotate(var(--angle)) translateY(-105px) rotate(calc(-1 * var(--angle)));
}

.wheel-symbols span.is-selected {
  color: #13051f;
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 228, 95, 0.9), 0 0 34px rgba(183, 255, 55, 0.42);
  animation: selectedWheelSymbol 720ms ease-in-out infinite;
}

.wheel.spinning {
  filter: saturate(1.25) brightness(1.12);
}

.wheel-result-card {
  width: 100%;
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  background: linear-gradient(155deg, rgba(255, 63, 242, 0.12), rgba(22, 230, 255, 0.1));
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.04);
}

.wheel-result-card h2 {
  margin: 0;
  color: var(--lime);
  font-size: clamp(1.45rem, 8vw, 2rem);
  line-height: 1.02;
  font-weight: 1000;
  text-shadow: var(--shadow-lime);
}

.wheel-result-symbol {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border: 4px solid rgba(32, 10, 45, 0.9);
  border-radius: 50%;
  color: #16051f;
  background: linear-gradient(135deg, var(--lime), var(--yellow));
  box-shadow: var(--shadow-lime);
  font-size: 1.35rem;
  font-weight: 1000;
  animation: burstBounce 900ms ease-in-out infinite;
}

.wheel-result-card p:last-child {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 750;
}

.wheel-result-card.impact {
  animation: impactPop 520ms var(--tap);
}

@media (min-width: 390px) {
  .wheel-how {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-blocks {
  display: grid;
  gap: 10px;
}

.info-block {
  border-left: 4px solid var(--lime);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 850;
}

.toast-zone {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  width: min(calc(100% - 28px), 430px);
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(16, 8, 32, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  animation: toastIn 240ms var(--tap), toastOut 260ms ease 2.1s forwards;
}

.confetti {
  position: fixed;
  top: -12px;
  z-index: 30;
  width: 9px;
  height: 16px;
  border-radius: 3px;
  background: var(--color);
  animation: confettiFall var(--duration) linear forwards;
  pointer-events: none;
}

@media (min-width: 700px) {
  .app-shell {
    padding-block: 28px;
  }

  .screen {
    min-height: calc(100vh - 56px);
  }
}

@media (max-width: 380px) {
  .app-shell {
    padding-inline: 12px;
  }

  .btn,
  .option-btn {
    border-radius: 16px;
  }

  .card {
    padding: 17px;
  }

  .stat-row,
  .result-grid {
    gap: 8px;
  }

  .stat {
    padding: 11px;
  }

  .stat strong {
    font-size: 1.04rem;
  }
}

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

@keyframes bgShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(34px); }
}

@keyframes floatOrbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(16vw, 8vh, 0) rotate(120deg) scale(1.08); }
}

@keyframes particleFloat {
  0% { transform: translate3d(0, 18px, 0) scale(0.4); opacity: 0; }
  16% { opacity: 0.9; }
  100% { transform: translate3d(var(--drift), -110vh, 0) scale(1.2); opacity: 0; }
}

@keyframes numberFloat {
  0% { transform: translate3d(0, 24px, 0) rotate(var(--rotate)) scale(0.8); opacity: 0; }
  12% { opacity: 0.78; }
  100% { transform: translate3d(var(--drift), -52vh, 0) rotate(calc(var(--rotate) + 28deg)) scale(1.15); opacity: 0; }
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes screenOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.98); filter: blur(8px); }
}

@keyframes logoDrop {
  from { opacity: 0; transform: translateY(-28px) scale(0.88); }
  70% { transform: translateY(4px) scale(1.04); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glitchPulse {
  0%, 88%, 100% { filter: none; }
  90% { filter: hue-rotate(110deg); transform: skewX(1deg); }
  92% { transform: skewX(-2deg); }
}

@keyframes badgePop {
  from { opacity: 0; transform: rotate(-8deg) scale(0.7); }
  to { opacity: 1; transform: rotate(-2deg) scale(1); }
}

@keyframes artLogoPop {
  from { opacity: 0; transform: translateY(-18px) scale(0.9) rotate(-2deg); }
  70% { transform: translateY(2px) scale(1.04) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes artFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-6px) rotate(0.8deg); }
}

@keyframes artSceneIn {
  from { opacity: 0; transform: translateY(16px) scale(0.94); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes artSpin {
  to { transform: rotate(360deg); }
}

@keyframes artShine {
  0%, 52%, 100% { transform: translateX(-125%); }
  68% { transform: translateX(125%); }
}

@keyframes mascotGroove {
  0%, 100% { transform: scale(1.05) translateY(0) rotate(-0.4deg); }
  50% { transform: scale(1.08) translateY(-5px) rotate(0.5deg); }
}

@keyframes mysticPoster {
  0%, 100% { filter: saturate(1.05) brightness(1); }
  50% { filter: saturate(1.32) brightness(1.13); }
}

@keyframes tokenBounce {
  0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); }
  50% { transform: translateY(-10px) rotate(7deg) scale(1.08); }
}

@keyframes selectedWheelSymbol {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.24); }
}

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

@keyframes pulseButton {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(-2px); filter: brightness(1.08); }
}

@keyframes tapWave {
  0% { opacity: 0.6; transform: translate(-50%, 50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, 50%) scale(18); }
}

@keyframes cardPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes optionIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scoreRise {
  to { opacity: 0; transform: translate(-50%, -86px) scale(1.12); }
}

@keyframes impactPop {
  0% { transform: scale(0.86); filter: brightness(1.7); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

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

@keyframes toastOut {
  to { opacity: 0; transform: translateY(12px); }
}

@keyframes confettiFall {
  to { transform: translate3d(var(--drift), 110vh, 0) rotate(760deg); opacity: 0; }
}

@keyframes sceneEntrance {
  from { opacity: 0; transform: translateY(18px) scale(0.9) rotate(-1deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes sceneGlow {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.18) brightness(1.08); }
}

@keyframes mysticScene {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(28deg) brightness(1.18); }
}

@keyframes shadowBounce {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(0.78); opacity: 0.42; }
}

@keyframes farmerDance {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-4deg) scale(1); }
  50% { transform: translateX(-50%) translateY(-10px) rotate(5deg) scale(1.03); }
}

@keyframes farmerRun {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-8deg) scale(0.72); }
  50% { transform: translateX(-50%) translateY(-8px) rotate(8deg) scale(0.72); }
}

@keyframes farmerDJ {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-12deg) scale(0.62); }
  50% { transform: translateX(-50%) translateY(-7px) rotate(12deg) scale(0.62); }
}

@keyframes farmerVictory {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-6deg) scale(1.04); }
  50% { transform: translateX(-50%) translateY(-14px) rotate(7deg) scale(1.08); }
}

@keyframes headBob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0); }
  50% { transform: translateX(-50%) translateY(-3px) rotate(3deg); }
}

@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

@keyframes leftArmWave {
  0%, 100% { transform: rotate(118deg) translateY(-2px); }
  25% { transform: rotate(64deg) translateY(1px); }
  50% { transform: rotate(18deg) translateY(5px); }
  75% { transform: rotate(72deg) translateY(0); }
}

@keyframes rightArmWave {
  0%, 100% { transform: rotate(-18deg) translateY(5px); }
  25% { transform: rotate(-72deg) translateY(0); }
  50% { transform: rotate(-120deg) translateY(-2px); }
  75% { transform: rotate(-64deg) translateY(1px); }
}

@keyframes leftLegKick {
  0%, 100% { transform: rotate(-12deg) translateY(3px); }
  50% { transform: rotate(24deg) translateY(-2px); }
}

@keyframes rightLegKick {
  0%, 100% { transform: rotate(-24deg) translateY(-2px); }
  50% { transform: rotate(12deg) translateY(3px); }
}

@keyframes sparklePop {
  0%, 100% { opacity: 0.35; transform: scale(0.76) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(45deg); }
}

@keyframes auraSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes coinFarm {
  0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
  50% { transform: translateY(-18px) rotate(8deg) scale(1.08); }
}

@keyframes shareCardWiggle {
  0%, 92%, 100% { transform: rotate(0); }
  94% { transform: rotate(1.4deg); }
  96% { transform: rotate(-1.1deg); }
  98% { transform: rotate(0.6deg); }
}

@keyframes burstBounce {
  0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
  50% { transform: translateY(-8px) rotate(7deg) scale(1.08); }
}
