:root {
  --bg: #061018;
  --bg-2: #0a1826;
  --panel: #102033;
  --panel-2: #152a42;
  --line: rgba(226, 184, 74, 0.22);
  --gold: #e2b84a;
  --gold-2: #f3d27a;
  --gold-deep: #b8892a;
  --mint: #3dd68c;
  --up: #3dd68c;
  --down: #ff6b5b;
  --text: #eef3f8;
  --muted: #8fa3b8;
  --danger: #ff6b5b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

#app {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 0 auto;
  min-height: 100dvh;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 50% -8%, rgba(61, 214, 140, 0.12), transparent 55%),
    radial-gradient(800px 400px at 100% 30%, rgba(31, 79, 120, 0.35), transparent 50%),
    linear-gradient(180deg, #0a1826 0%, #061018 50%, #040b12 100%);
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 10s ease-in-out infinite alternate;
}

.ambient__glow--a {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 18%;
  background: rgba(61, 214, 140, 0.16);
}

.ambient__glow--b {
  width: 320px;
  height: 320px;
  right: -100px;
  top: 42%;
  background: rgba(226, 184, 74, 0.12);
  animation-delay: -4s;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(143, 163, 184, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 184, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
}

.candle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -24px, 0) scale(1.08); }
}

.screen {
  display: none;
  min-height: 100dvh;
  padding: calc(12px + var(--safe-top)) 16px calc(28px + var(--safe-bottom));
  animation: rise 0.45s ease both;
}

.screen.is-active {
  display: flex;
  flex-direction: column;
}

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

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

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 72%;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(16, 32, 51, 0.85);
  border: 1px solid rgba(61, 214, 140, 0.22);
  font-size: 1rem;
  line-height: 1;
}

.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.fx-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #3a2a08;
  background: radial-gradient(circle at 30% 30%, #fff1b0, var(--gold) 45%, var(--gold-deep));
  animation: fxFly 1s ease-out forwards;
}

@keyframes fxFly {
  0% { transform: translate(0, 0) scale(0.6) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(160deg); opacity: 0; }
}

.session-bar {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(16, 32, 51, 0.92);
  border: 1px solid rgba(61, 214, 140, 0.18);
  animation: rise 0.5s ease both;
}

.session-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.session-bar__meta span {
  color: var(--muted);
}

.session-bar__meta strong {
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.session-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.session-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4fd1a5, var(--gold-2));
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(125, 206, 160, 0.35);
}

.session-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.btn--pulse {
  animation: ctaPulse 1.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(226, 184, 74, 0.28); }
  50% { transform: scale(1.03); box-shadow: 0 16px 36px rgba(226, 184, 74, 0.45); }
}

.balance-stage.is-shake {
  animation: shake 0.45s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.mission {
  animation: rise 0.35s ease both;
}

.reward-coins {
  position: relative;
  height: 20px;
  margin-bottom: 4px;
}

.reward-coins span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #3a2a08;
  background: radial-gradient(circle at 30% 30%, #fff1b0, var(--gold));
  animation: rewardCoin 0.9s ease-out forwards;
  animation-delay: calc(var(--i) * 0.05s);
}

@keyframes rewardCoin {
  from { transform: translate(0, 10px) scale(0.4); opacity: 0; }
  to { transform: translate(calc((var(--i) - 3.5) * 18px), -28px) scale(1); opacity: 0; }
}

.screen--register {
  gap: 14px;
}

.register-bonus-banner {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  line-height: 1.25;
  color: #062214;
  background: linear-gradient(90deg, #7dffb5, var(--gold-2));
  border-radius: 14px;
  animation: ctaPulse 1.8s ease-in-out infinite;
}

.reg-card {
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(160deg, #17314a, #102033 60%, #0d2236);
  border: 1px solid rgba(226, 184, 74, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: rise 0.4s ease both;
}

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

.reg-card__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.reg-card__profit {
  text-align: right;
}

.reg-card__profit small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.reg-card__profit strong {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.reg-form {
  display: grid;
  gap: 12px;
}

.reg-field {
  display: grid;
  gap: 6px;
}

.reg-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.reg-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #102033;
  font: inherit;
  font-weight: 600;
  outline: none;
}

.reg-field input::placeholder {
  color: #8fa3b8;
  font-weight: 500;
}

.reg-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 184, 74, 0.2);
}

.reg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.reg-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--mint);
  flex: 0 0 auto;
}

.reg-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 91, 0.12);
  border: 1px solid rgba(255, 107, 91, 0.35);
  color: #ffc2bb;
  font-size: 0.85rem;
}

.reg-card__foot {
  margin-top: 14px;
  text-align: center;
}

.reg-card__foot p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.reg-direct-link {
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.modal--register-pop {
  place-items: center;
  padding: 12px;
}

.modal--register-pop .modal__backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.modal__panel--regpop {
  position: relative;
  overflow: hidden;
  width: min(420px, 100%);
  text-align: center;
  padding-top: 22px;
  border: 1px solid rgba(61, 214, 140, 0.35);
  animation: popIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.regpop-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(61, 214, 140, 0.22), transparent 65%);
  pointer-events: none;
}

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

.modal__panel--regpop h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 6vw, 2rem);
  color: var(--gold-2);
}

.regpop-steps {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  text-align: left;
}

.regpop-steps li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-size: 0.9rem;
}

.regpop-steps li::before {
  counter-increment: step;
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.15);
}

.screen--guide {
  gap: 12px;
  padding-bottom: calc(36px + var(--safe-bottom));
}

.guide-hero h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.guide-hero p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.guide-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.guide-nav::-webkit-scrollbar {
  display: none;
}

.guide-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(16, 32, 51, 0.9);
  border: 1px solid rgba(61, 214, 140, 0.18);
}

.guide-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(16, 32, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  scroll-margin-top: 16px;
}

.guide-card__visual {
  border-radius: 14px;
  overflow: hidden;
  background: #0c1a2b;
  border: 1px solid rgba(61, 214, 140, 0.12);
}

.guide-card__visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.guide-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.guide-card__body ol,
.guide-card__body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.guide-card__body li + li {
  margin-top: 6px;
}

.guide-card__body ul ul {
  margin-top: 6px;
}

.guide-bullets {
  margin-bottom: 14px !important;
}

.guide-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(226, 184, 74, 0.08);
  border: 1px solid rgba(226, 184, 74, 0.2);
  color: var(--gold-2);
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .guide-card {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

.screen--stories {
  gap: 14px;
  padding-bottom: calc(36px + var(--safe-bottom));
}

.stories-hero h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.stories-hero p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.stories-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stories-stats div {
  padding: 12px 8px;
  border-radius: 14px;
  text-align: center;
  background: rgba(16, 32, 51, 0.92);
  border: 1px solid rgba(61, 214, 140, 0.14);
}

.stories-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  margin-bottom: 4px;
}

.stories-stats strong {
  color: var(--gold-2);
  font-size: 0.95rem;
  font-weight: 800;
}

.story-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(16, 32, 51, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: rise 0.4s ease both;
}

.story-card--featured {
  border-color: rgba(226, 184, 74, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.story-card__gadget {
  border-radius: 14px;
  overflow: hidden;
  background: #0c1a2b;
  border: 1px solid rgba(61, 214, 140, 0.12);
}

.story-card__gadget svg {
  display: block;
  width: 100%;
  height: auto;
}

.story-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.story-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--c, #1f4f78);
  flex: 0 0 auto;
}

.story-card__meta strong {
  display: block;
  font-size: 0.98rem;
}

.story-card__meta small {
  color: var(--muted);
  font-size: 0.75rem;
}

.story-amount {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.3rem);
  color: var(--up);
  letter-spacing: 0.03em;
  line-height: 1;
}

.story-quote {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.story-tags li {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mint);
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.18);
}

.stories-cta {
  margin-top: 6px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(16, 32, 51, 0.95);
  border: 1px solid rgba(226, 184, 74, 0.22);
}

.stories-cta__lead {
  margin: 10px 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .story-card {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .topbar-right .btn--sm {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .stories-stats strong {
    font-size: 0.85rem;
  }
}

.wait-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 16px;
}

.wait-stats div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wait-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.wait-stats strong {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.topbar--transparent {
  margin-bottom: 8px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: #1a1204;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 8px 24px rgba(226, 184, 74, 0.28);
}

.brand-mark--sm {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  border-radius: 10px;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-inline strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.85);
  border: 1px solid rgba(61, 214, 140, 0.28);
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 600;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.brand-stack small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(125, 206, 160, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 206, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(125, 206, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 206, 160, 0); }
}

.hero {
  position: relative;
  z-index: 2;
  padding-top: 8vh;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 8px;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.2rem, 18vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff6d6 10%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 40px rgba(226, 184, 74, 0.18);
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes brandIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); filter: blur(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.hero__lead {
  margin: 16px auto 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hero__cta {
  margin-top: 28px;
}

.hero__hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  flex: 1;
  min-height: 180px;
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-chart {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: rgba(10, 24, 38, 0.72);
  border: 1px solid rgba(61, 214, 140, 0.18);
  backdrop-filter: blur(8px);
}

.hero-chart__pair {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.candle-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  overflow: hidden;
}

.mini-candle {
  flex: 1;
  min-width: 6px;
  border-radius: 3px 3px 0 0;
  animation: candleIn 0.45s ease both;
}

.mini-candle.is-up {
  background: linear-gradient(180deg, #7dffb5, var(--up));
  box-shadow: 0 0 12px rgba(61, 214, 140, 0.25);
}

.mini-candle.is-down {
  background: linear-gradient(180deg, #ff9a8f, var(--down));
  box-shadow: 0 0 12px rgba(255, 107, 91, 0.2);
}

@keyframes candleIn {
  from { transform: scaleY(0.2); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.hero-shine {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 240px;
  height: 160px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 214, 140, 0.28), transparent 65%);
  filter: blur(8px);
  animation: breathe 3.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(0.92); opacity: 0.55; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 0.9; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold {
  color: #1a1204;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 40%, var(--gold-deep));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 12px 28px rgba(226, 184, 74, 0.28);
}

.btn--gold:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  color: var(--gold-2);
  border: 1px solid var(--line);
  background: rgba(16, 40, 30, 0.65);
}

.btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
  border-radius: 11px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.balance-stage {
  padding: 22px 18px 18px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(61, 214, 140, 0.1), transparent 42%),
    linear-gradient(160deg, #152a42, #102033 55%, #0c1a2b);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  animation: balancePulse 4s ease-in-out infinite;
}

@keyframes balancePulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 18px 50px rgba(226, 184, 74, 0.14); }
}

.balance-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.balance-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.balance-currency {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}

.balance-value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff8df;
}

.balance-value.is-bump {
  animation: bump 0.35s ease;
}

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); color: var(--gold-2); }
  100% { transform: scale(1); }
}

.progress-wrap {
  margin-top: 16px;
  text-align: left;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7dcea0, var(--gold-2));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.balance-note {
  margin: 12px 0 0;
  color: var(--mint);
  font-size: 0.88rem;
  font-weight: 600;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.action-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(21, 42, 66, 0.95), rgba(16, 32, 51, 0.92));
  border: 1px solid rgba(61, 214, 140, 0.12);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.action-card:hover {
  border-color: rgba(226, 184, 74, 0.35);
}

.action-card:active {
  transform: scale(0.985);
}

.action-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(226, 184, 74, 0.1);
}

.action-card__icon svg {
  width: 28px;
  height: 28px;
}

.action-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-card__body strong {
  font-size: 1.02rem;
}

.action-card__body small {
  color: var(--muted);
}

.action-card__badge {
  min-width: 42px;
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a1204;
  background: var(--gold);
}

.action-card__badge--soft {
  background: rgba(125, 206, 160, 0.2);
  color: var(--mint);
}

.section-head {
  margin: 22px 0 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mission {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 32, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mission.is-done {
  opacity: 0.55;
}

.mission__title {
  margin: 0;
  font-weight: 700;
}

.mission__desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  grid-column: 1 / -1;
}

.mission__reward {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.mission__btn {
  grid-column: 1 / -1;
  min-height: 40px;
  border-radius: 12px;
  font-weight: 700;
  color: #062214;
  background: var(--mint);
}

.mission__btn:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.ticker {
  display: grid;
  gap: 8px;
}

.ticker-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(10, 24, 38, 0.92);
  border: 1px solid rgba(61, 214, 140, 0.1);
  font-size: 0.88rem;
  animation: slideIn 0.4s ease both;
}

.ticker-item strong {
  color: var(--gold-2);
}

.ticker-item strong.up {
  color: var(--up);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.sticky-cta {
  position: sticky;
  bottom: calc(10px + var(--safe-bottom));
  margin-top: 22px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(6, 16, 24, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.sticky-cta__sub {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 12px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92dvh, 760px);
  overflow: auto;
  padding: 22px 18px calc(18px + var(--safe-bottom));
  border-radius: 22px 22px 18px 18px;
  background:
    linear-gradient(180deg, rgba(61, 214, 140, 0.08), transparent 28%),
    linear-gradient(180deg, #152a42, #0c1a2b);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: sheetUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.modal__panel h2 {
  margin: 0 36px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.modal__lead {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.4;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.modal__meta {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.wheel-wrap {
  position: relative;
  width: min(320px, 100%);
  margin: 0 auto 18px;
}

.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--gold-2);
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

#wheel-canvas {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(226, 184, 74, 0.18), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.tap-arena {
  display: grid;
  place-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.tap-coin {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #3a2a08;
  background: radial-gradient(circle at 30% 28%, #fff4c2, var(--gold) 42%, var(--gold-deep));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 8px rgba(184, 137, 42, 0.35);
  transition: transform 0.08s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.tap-coin.is-hit {
  transform: scale(0.92);
}

.tap-coin.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.tap-coin--buy {
  color: #04180f;
  background: radial-gradient(circle at 30% 28%, #b6ffd4, var(--up) 45%, #1a6b4a);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 8px rgba(10, 80, 50, 0.28);
}

.tap-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tap-stats div {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.tap-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.tap-stats strong {
  font-size: 1rem;
}

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

.quiz-option {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-option.is-correct {
  border-color: rgba(125, 206, 160, 0.6);
  background: rgba(125, 206, 160, 0.15);
}

.quiz-option.is-wrong {
  border-color: rgba(255, 107, 91, 0.55);
  background: rgba(255, 107, 91, 0.12);
}

.modal__panel--reward {
  text-align: center;
}

.reward-burst {
  width: 84px;
  height: 84px;
  margin: 8px auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2, var(--gold) 50%, transparent 70%);
  animation: breathe 1.8s ease-in-out infinite;
}

.reward-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-2);
  letter-spacing: 0.03em;
}

.modal__panel--withdraw {
  text-align: left;
}

.withdraw-kicker {
  margin: 0 0 4px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.withdraw-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}

.withdraw-balance span {
  color: var(--muted);
  font-size: 0.85rem;
}

.withdraw-balance strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-2);
  letter-spacing: 0.03em;
}

.withdraw-points {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.withdraw-points li + li {
  margin-top: 6px;
}

.withdraw-points strong {
  color: var(--text);
}

.urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 91, 0.1);
  border: 1px solid rgba(255, 107, 91, 0.25);
  color: #ffc2bb;
  font-size: 0.88rem;
}

.urgency__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex: 0 0 auto;
  animation: pulse 1.4s infinite;
}

.fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  opacity: 0.9;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  z-index: 60;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 24px));
  padding: 12px 16px;
  border-radius: 14px;
  background: #163528;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 600;
  animation: toastIn 0.25s ease;
}

.toast[hidden] {
  display: none;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (min-width: 720px) {
  .modal {
    place-items: center;
  }

  .modal__panel {
    border-radius: 22px;
  }

  #app {
    width: min(560px, 100%);
  }

  .hero__brand {
    font-size: 5.6rem;
  }

  .candle-row {
    height: 130px;
  }
}

@media (max-width: 380px) {
  .screen {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero__brand {
    font-size: 3.6rem;
  }

  .balance-value {
    font-size: 2.4rem;
  }

  .action-card {
    grid-template-columns: 40px 1fr auto;
    padding: 12px;
  }

  .reg-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .reg-card__profit {
    text-align: left;
  }

  .tap-coin {
    width: 124px;
    height: 124px;
  }
}

@media (max-height: 700px) {
  .hero {
    padding-top: 4vh;
  }

  .hero-visual {
    min-height: 140px;
  }

  .modal__panel--regpop {
    max-height: 98dvh;
  }

}

@media (min-width: 900px) {
  .screen--hero,
  .screen--game,
  .screen--register {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
