@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap");

:root {
  --wheel-green: #39ff14;
  --wheel-green-deep: #1fbf0a;
  --wheel-gold: #f5c542;
  --wheel-panel: rgba(42, 16, 72, 0.55);
  --wheel-text: #ffffff;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0a0414;
  color: var(--wheel-text);
  font-family: "Montserrat", system-ui, sans-serif;
}

.fw {
  position: relative;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(120, 40, 200, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(60, 20, 120, 0.4), transparent 55%),
    linear-gradient(180deg, #1a0a2e 0%, #0a0414 55%, #12061f 100%);
}

.fw__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 52px,
    rgba(255, 255, 255, 0.015) 52px,
    rgba(255, 255, 255, 0.015) 54px
  );
}

.fw__coin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a0, #d4a017 55%, #8a6a10);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.5);
  animation: fw-float 6s ease-in-out infinite;
  opacity: 0.8;
  z-index: 0;
}

.fw__coin--1 { top: 14%; left: 6%; }
.fw__coin--2 { top: 20%; right: 8%; width: 16px; height: 16px; animation-delay: -1.5s; }
.fw__coin--3 { bottom: 22%; left: 10%; width: 28px; height: 28px; animation-delay: -3s; }
.fw__coin--4 { top: 48%; right: 5%; width: 14px; height: 14px; animation-delay: -2.2s; }

@keyframes fw-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(16deg); }
}

.fw__shell {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: clamp(8px, 1.5dvh, 16px) clamp(12px, 3vw, 20px) clamp(10px, 2dvh, 18px);
}

/* Header: REGISTER top-right, headline centered below */
.fw__top {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(4px, 1dvh, 10px);
}

.fw__headline {
  margin: 0;
  padding-top: 2px;
  text-align: center;
  line-height: 0;
}

.fw__headline-img {
  display: block;
  width: min(92vw, 420px);
  height: auto;
  margin: 0 auto;
}

/* Stage: wheel + overlapping Zeus + side prizes */
.fw__stage {
  flex: 0 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.fw__wheel-wrap {
  position: relative;
  z-index: 1;
  width: min(58dvh, 88vw, 380px);
  aspect-ratio: 1;
  flex-shrink: 0;
}

.fw__spins {
  position: absolute;
  top: 6%;
  right: -2%;
  z-index: 4;
  background: rgba(20, 8, 40, 0.92);
  border: 2px solid var(--wheel-gold);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: clamp(0.65rem, 1.5dvh, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.fw__spins strong {
  color: var(--wheel-green);
  font-size: 1.15em;
  margin-right: 2px;
}

.fw__pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--wheel-green);
  transform: translateX(-50%);
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.7));
}

.fw__wheel {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transition: transform 4.2s cubic-bezier(0.12, 0.75, 0.12, 1);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  user-select: none;
  will-change: transform;
}

.fw__wheel svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fw__wheel.is-spinning {
  pointer-events: none;
}

.fw__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 14%, 72px);
  height: clamp(56px, 14%, 72px);
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 3px solid #f5c542;
  cursor: pointer;
  appearance: none;
  background: radial-gradient(circle at 35% 30%, #7cff55, #39ff14 45%, #1fbf0a 100%);
  color: #0a3d05;
  font: inherit;
  font-weight: 900;
  font-size: clamp(0.62rem, 1.9vw, 0.78rem);
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  box-shadow:
    0 0 0 4px rgba(26, 8, 48, 0.9),
    0 0 18px rgba(57, 255, 20, 0.55),
    inset 0 2px 6px rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.fw__hub:hover:not(:disabled) {
  filter: brightness(1.08);
}

.fw__hub:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fw__lower {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(0, 1.4fr) minmax(72px, 1fr);
  align-items: end;
  gap: 6px;
  width: min(100%, 420px);
  margin-top: clamp(-18%, -12dvh, -48px);
  padding: 0 4px;
  pointer-events: none;
}

.fw__lower .fw__prize-box,
.fw__lower .fw__hero {
  pointer-events: auto;
}

.fw__hero {
  width: 100%;
  max-height: min(34dvh, 260px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 20px rgba(80, 180, 255, 0.35));
  animation: fw-hero-glow 3.5s ease-in-out infinite;
  justify-self: center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.75) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.75) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
}

@keyframes fw-hero-glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(80, 180, 255, 0.28)); }
  50% { filter: drop-shadow(0 0 28px rgba(80, 200, 255, 0.5)); }
}

.fw__prize-box {
  position: relative;
  min-height: clamp(70px, 12dvh, 100px);
  padding: 8px 6px;
  border: 2px solid var(--wheel-gold);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(60, 20, 100, 0.95), rgba(20, 8, 40, 0.98));
  box-shadow: 0 0 14px rgba(245, 197, 66, 0.22), inset 0 0 16px rgba(245, 197, 66, 0.06);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(1.15rem, 2.8dvh, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--wheel-gold);
  text-transform: uppercase;
  align-self: center;
  overflow: visible;
}

.fw__prize-box.is-empty {
  font-size: 1.5rem;
  color: rgba(245, 197, 66, 0.55);
}

.fw__prize-box.is-filled {
  font-size: clamp(1.25rem, 3.2dvh, 1.65rem);
  animation: fw-glow 0.6s ease;
}

.fw__prize-box.is-celebrating {
  animation: fw-celebrate-box 0.9s cubic-bezier(0.22, 1.35, 0.36, 1);
  z-index: 6;
}

.fw__celebrate {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 7;
}

.fw__celebrate-bit {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: 0 0 8px currentColor;
  animation: fw-celebrate-bit 1.1s ease-out forwards;
  opacity: 0;
}

.fw__celebrate-bit:nth-child(odd) {
  width: 6px;
  height: 12px;
  border-radius: 999px;
}

.fw__celebrate-bit:nth-child(3n) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fw.is-celebrating::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  background:
    radial-gradient(circle at 50% 55%, rgba(57, 255, 20, 0.22), transparent 42%),
    radial-gradient(circle at 30% 40%, rgba(245, 197, 66, 0.16), transparent 35%),
    radial-gradient(circle at 70% 45%, rgba(255, 107, 214, 0.12), transparent 32%);
  animation: fw-celebrate-flash 1.1s ease-out forwards;
}

@keyframes fw-glow {
  from { transform: scale(0.96); }
  50% { transform: scale(1.05); box-shadow: 0 0 24px rgba(57, 255, 20, 0.45); }
  to { transform: scale(1); }
}

@keyframes fw-celebrate-box {
  0% { transform: scale(0.86); box-shadow: 0 0 0 rgba(57, 255, 20, 0); }
  35% { transform: scale(1.14); box-shadow: 0 0 34px rgba(57, 255, 20, 0.65), 0 0 18px rgba(245, 197, 66, 0.5); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); box-shadow: 0 0 18px rgba(245, 197, 66, 0.35), inset 0 0 16px rgba(245, 197, 66, 0.08); }
}

@keyframes fw-celebrate-bit {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.35) rotate(var(--rot));
  }
}

@keyframes fw-celebrate-flash {
  0% { opacity: 0; }
  18% { opacity: 1; }
  100% { opacity: 0; }
}

.fw__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-top: 4px;
  padding: 0 4px;
  position: relative;
  z-index: 3;
}

.fw__spin {
  appearance: none;
  border: 2px solid rgba(245, 197, 66, 0.65);
  cursor: pointer;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #5cff3a, var(--wheel-green-deep));
  color: #fff;
  font: inherit;
  font-weight: 900;
  font-size: clamp(0.85rem, 2dvh, 1.05rem);
  letter-spacing: 0.04em;
  padding: clamp(12px, 1.8dvh, 16px) 16px;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.45);
  text-transform: uppercase;
}

.fw__spin:hover:not(:disabled) {
  filter: brightness(1.06);
}

.fw__spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fw__error {
  margin: 0;
  color: #fda4af;
  font-size: 0.75rem;
  text-align: center;
}

.fw__error.hidden {
  display: none;
}

/* Wider screens: same composition, slightly roomier */
@media (min-width: 900px) {
  .fw__shell {
    width: min(640px, 100%);
  }

  .fw__wheel-wrap {
    width: min(52dvh, 420px);
  }

  .fw__hero {
    max-height: min(36dvh, 300px);
  }

  .fw__lower {
    width: min(100%, 480px);
  }
}

@media (max-height: 700px) {
  .fw__wheel-wrap {
    width: min(48dvh, 78vw);
  }

  .fw__hero {
    max-height: min(28dvh, 200px);
  }

  .fw__prize-box {
    min-height: 58px;
  }

  .fw__lower {
    margin-top: clamp(-14%, -8dvh, -32px);
  }
}

.fw__claim {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  background: rgba(6, 2, 14, 0.72);
  backdrop-filter: blur(8px);
  animation: fw-claim-in 0.35s ease-out;
  overflow: hidden;
}

.fw__claim.hidden {
  display: none;
}

.fw__claim-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.fw__claim-confetti-bit {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  border-radius: var(--r);
  background: var(--c);
  opacity: 0;
  animation: fw-claim-confetti var(--dur) linear var(--delay) forwards;
  box-shadow: 0 0 8px color-mix(in srgb, var(--c) 55%, transparent);
}

.fw__claim-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  padding: 22px 18px 18px;
  border: 2px solid rgba(245, 197, 66, 0.55);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(57, 255, 20, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(52, 18, 92, 0.98), rgba(14, 6, 28, 0.98));
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.18), 0 18px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: fw-claim-panel-pop 0.55s cubic-bezier(0.22, 1.35, 0.36, 1);
}

.fw__claim-kicker {
  margin: 0 0 4px;
  color: var(--wheel-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.45);
}

.fw__claim-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3.5dvh, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fw__claim-prizes {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fw__claim-prizes li {
  padding: 12px 10px;
  border: 1px solid rgba(245, 197, 66, 0.45);
  border-radius: 12px;
  background: rgba(20, 8, 40, 0.85);
  color: var(--wheel-gold);
  font-size: clamp(1.15rem, 2.8dvh, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 18px rgba(245, 197, 66, 0.08);
}

.fw__claim-label {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.fw__claim-phone {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid rgba(245, 197, 66, 0.4);
  border-radius: 12px;
  background: rgba(8, 3, 18, 0.9);
  overflow: hidden;
}

.fw__claim-phone:focus-within {
  border-color: var(--wheel-green);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.18);
}

.fw__claim-prefix {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-right: 1px solid rgba(245, 197, 66, 0.28);
  background: rgba(245, 197, 66, 0.08);
  color: #ffe9a0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  user-select: none;
}

.fw__claim-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.fw__claim-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 0;
  padding: 14px 14px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  outline: none;
}

.fw__claim-input:focus {
  border-color: transparent;
  box-shadow: none;
}

.fw__claim-error {
  margin: 0 0 10px;
  color: #ff8f8f;
  font-size: 0.82rem;
  font-weight: 700;
}

.fw__claim-btn {
  appearance: none;
  width: 100%;
  border: 2px solid rgba(245, 197, 66, 0.65);
  border-radius: 999px;
  cursor: pointer;
  padding: 14px 16px;
  background: linear-gradient(180deg, #5cff3a, var(--wheel-green-deep));
  color: #fff;
  font: inherit;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.4);
}

.fw__claim-btn:hover:not(:disabled) {
  filter: brightness(1.06);
}

.fw__claim-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

@keyframes fw-claim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fw-claim-panel-pop {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes fw-claim-confetti {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 110vh, 0) rotate(var(--spin));
  }
}

/* === capture form (from arbol) === */
.fw--capture .fw__shell {
  justify-content: center;
  align-items: center;
  gap: 0;
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.fw--capture .fw__stage {
  flex: 1;
  width: min(100%, 400px);
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  min-height: 0;
  padding: 0 14px;
}

.fw__center {
  position: relative;
  z-index: 5;
  width: 100%;
  display: grid;
  gap: 0.65rem;
}

.fw__carousel {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.28);
  background: rgba(8, 3, 18, 0.55);
  aspect-ratio: 16 / 7;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.fw__carousel.hidden {
  display: none;
}

.fw__carousel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fw__carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.fw__carousel-dots button {
  appearance: none;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.fw__carousel-dots button[aria-current="true"] {
  background: var(--wheel-green);
  width: 16px;
}

.fw__capture {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 auto;
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 66, 0.35);
  background:
    linear-gradient(180deg, rgba(52, 18, 92, 0.92), rgba(22, 8, 42, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.fw__hero-wrap {
  position: relative;
  z-index: 2;
  width: min(58%, 220px);
  margin: -0.35rem auto 0;
  pointer-events: none;
}

.fw--capture .fw__hero {
  display: block;
  width: 100%;
  max-height: min(28dvh, 220px);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 20px rgba(80, 180, 255, 0.35));
  animation: fw-hero-glow 3.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.75) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.75) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
}

.fw__capture-title {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fw__capture-title span {
  color: var(--wheel-green);
}

.fw__capture-form {
  display: grid;
  gap: 0.7rem;
}

.fw__capture-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.fw__capture-form input {
  width: 100%;
  border: 1px solid rgba(245, 197, 66, 0.28);
  border-radius: 12px;
  background: rgba(8, 3, 18, 0.72);
  color: #fff;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
}

.fw__capture-form input:focus {
  outline: 2px solid rgba(57, 255, 20, 0.45);
  outline-offset: 1px;
}

.fw__capture-phone {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  border: 1px solid rgba(245, 197, 66, 0.28);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 3, 18, 0.72);
}

.fw__capture-phone input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.fw__capture-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.75rem;
  border-right: 1px solid rgba(245, 197, 66, 0.22);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.fw__capture-flag {
  font-size: 1rem;
}

.fw__capture-error {
  margin: 0;
  color: #fda4af;
  font-size: 0.78rem;
  text-align: center;
}

.fw__capture-cta {
  appearance: none;
  border: 2px solid rgba(245, 197, 66, 0.65);
  cursor: pointer;
  width: 100%;
  background: linear-gradient(180deg, #5cff3a, var(--wheel-green-deep));
  color: #fff;
  font: inherit;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.45);
  text-transform: uppercase;
}

.fw__capture-cta:hover:not(:disabled) {
  filter: brightness(1.06);
}

.fw__capture-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fw__confirm {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  background: rgba(6, 2, 14, 0.72);
  backdrop-filter: blur(8px);
}

.fw__confirm.hidden {
  display: none;
}

.fw__confirm-panel {
  width: min(100%, 360px);
  padding: 1.1rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 66, 0.4);
  background: linear-gradient(180deg, rgba(52, 18, 92, 0.96), rgba(18, 6, 36, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.65rem;
}

.fw__confirm-panel h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.25;
}

.fw__confirm-panel p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.fw__confirm-facts {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.fw__confirm-facts div {
  display: grid;
  gap: 0.1rem;
}

.fw__confirm-facts dt {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.fw__confirm-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.fw__confirm-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem;
}

.fw__confirm-back:hover {
  color: #fff;
}
