      :root {
        --bg: #07080b;
        --card: #0f121a;
        --muted: #9aa4b2;
        --text: #e8edf5;
        --line: rgba(255, 255, 255, 0.08);
        --accent: #f7931a; /* BTC orange */
        --good: #2ee59d;
        --bad: #ff4d6d;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
          Helvetica, Arial;
        color: var(--text);
        background: radial-gradient(
            1200px 600px at 20% 0%,
            rgba(247, 147, 26, 0.18),
            transparent 60%
          ),
          radial-gradient(
            900px 500px at 90% 20%,
            rgba(46, 229, 157, 0.12),
            transparent 55%
          ),
          var(--bg);
      }
      a {
        color: inherit;
      }
      .wrap {
        max-width: 1120px;
        margin: 0 auto;
        padding: 28px 18px 60px;
      }
      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 18px;
      }
      .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        letter-spacing: 0.3px;
      }
      .dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: var(--accent);
        box-shadow: 0 0 18px rgba(247, 147, 26, 0.6);
      }
      .pill {
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.03);
        padding: 8px 12px;
        border-radius: 999px;
        color: var(--muted);
        font-size: 13px;
      }
      .hero {
        border: 1px solid var(--line);
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.04),
          rgba(255, 255, 255, 0.02)
        );
        border-radius: 18px;
        padding: 22px;
        display: grid;
        grid-template-columns: 1.25fr 0.75fr;
        gap: 18px;
      }
      @media (max-width: 900px) {
        .hero {
          grid-template-columns: 1fr;
        }
      }
      h1 {
        margin: 0 0 10px;
        font-size: 38px;
        line-height: 1.08;
      }
      .sub {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.5;
        max-width: 58ch;
      }
      .fightline {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
      }
      .chip {
        padding: 8px 10px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.25);
        font-size: 13px;
        color: var(--muted);
      }
      .count {
        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.35);
        border-radius: 14px;
        padding: 16px;
        display: grid;
        gap: 10px;
      }
      .count strong {
        font-size: 14px;
        color: var(--muted);
        font-weight: 700;
      }
      .timer {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }
      .tbox {
        min-width: 86px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        padding: 10px 12px;
      }
      .tbox .num {
        font-size: 24px;
        font-weight: 900;
      }
      .tbox .lab {
        font-size: 12px;
        color: var(--muted);
      }
      .grid {
        margin-top: 18px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      @media (max-width: 900px) {
        .grid {
          grid-template-columns: 1fr;
        }
      }
      .card {
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.03);
        border-radius: 16px;
        padding: 16px;
      }
      .card h2 {
        margin: 0 0 6px;
        font-size: 18px;
      }
      .muted {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
      }
      .ctaRow {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 12px;
      }
      .btn {
        cursor: pointer;
        border: 1px solid rgba(247, 147, 26, 0.35);
        background: linear-gradient(
          180deg,
          rgba(247, 147, 26, 0.18),
          rgba(247, 147, 26, 0.1)
        );
        color: var(--text);
        padding: 11px 12px;
        border-radius: 12px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: 0.15s transform ease, 0.15s background ease;
        user-select: none;
      }
      .btn:hover {
        transform: translateY(-1px);
      }
      .btn.secondary {
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.02);
        font-weight: 700;
        color: var(--muted);
      }
      .tag {
        font-size: 12px;
        color: var(--muted);
      }
      .form {
        margin-top: 14px;
        display: grid;
        gap: 10px;
      }
      label {
        font-size: 12px;
        color: var(--muted);
        font-weight: 700;
      }
      input,
      select,
      textarea {
        width: 100%;
        padding: 11px 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.35);
        color: var(--text);
        outline: none;
      }
      textarea {
        min-height: 90px;
        resize: vertical;
      }
      .paybox {
        margin-top: 12px;
        border: 1px dashed rgba(247, 147, 26, 0.35);
        border-radius: 14px;
        padding: 12px;
        display: grid;
        gap: 10px;
        background: rgba(247, 147, 26, 0.06);
      }
      .row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
      }
      .addr {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
          "Liberation Mono", monospace;
        font-size: 13px;
        word-break: break-all;
        padding: 10px 10px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.35);
      }
      .mini {
        font-size: 12px;
        color: var(--muted);
      }
      .qr {
        width: 140px;
        height: 140px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #0a0c11;
      }
      .hr {
        height: 1px;
        background: var(--line);
        margin: 16px 0;
      }
      .rules {
        margin-top: 18px;
        display: grid;
        gap: 10px;
      }
      .warn {
        border: 1px solid rgba(255, 77, 109, 0.35);
        background: rgba(255, 77, 109, 0.08);
        padding: 12px;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.92);
      }
      .ok {
        border: 1px solid rgba(46, 229, 157, 0.35);
        background: rgba(46, 229, 157, 0.08);
        padding: 12px;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.92);
      }
      .foot {
        margin-top: 18px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      .cardHead {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 6px;
      }

      .odd {
        font-size: 12px;
        color: var(--muted);
        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.25);
        padding: 6px 10px;
        border-radius: 999px;
        white-space: nowrap;
      }

      .tiers {
        margin-top: 12px;
        display: grid;
        gap: 10px;
      }

      .tierOption {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;

        border: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.25);
        padding: 10px 12px;
        border-radius: 12px;

        cursor: pointer;
        user-select: none;
      }

      .tierLeft {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }

      .tierCheck {
        width: 18px;
        height: 18px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
      }

      .tierOption input {
        display: none;
      }

      .tierOption input:checked + .tierCheck {
        border-color: rgba(247, 147, 26, 0.55);
        background: rgba(247, 147, 26, 0.14);
        box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
      }

      .tierOption input:checked + .tierCheck::after {
        content: "✓";
        font-weight: 900;
        color: var(--accent);
        transform: translateY(-1px);
      }

      .tierText {
        font-weight: 800;
        white-space: nowrap;
      }

      .tierBtc {
        color: var(--muted);
        font-size: 12px;
        white-space: nowrap;
      }

      .gainsBox {
        margin-top: 12px;
        border: 1px dashed rgba(46, 229, 157, 0.35);
        background: rgba(46, 229, 157, 0.06);
        border-radius: 14px;
        padding: 12px;
        display: none;
        gap: 8px;
      }

      .gainsBox.show {
        display: grid;
      }

      .gainsLine {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
      }

      .gainsTitle {
        font-size: 12px;
        color: var(--muted);
        font-weight: 800;
      }

      .gainsValue {
        font-weight: 900;
      }

      .btn-confirm {
        border: 1px solid rgba(46, 229, 157, 0.6);
        background: linear-gradient(
          180deg,
          rgba(46, 229, 157, 0.25),
          rgba(46, 229, 157, 0.15)
        );
        color: #eafff6;
      }

      .btn-confirm:hover {
        transform: translateY(-1px);
      }

      .status-awaiting {
        color: #ffd166;
        font-weight: 800;
      }


      
/* ===== Corner Fighters ===== */
.corner-fighter {
    position: fixed;
    bottom: -20px;
    width: 200px;
    max-width: 18vw;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
    filter: saturate(0.95) brightness(0.9);
  }
  
  /* Left fighter */
  .corner-fighter.left {
    left: -10px;
  }
  
  /* Right fighter */
  .corner-fighter.right {
    right: 0;
  }
  
  /* Hide on mobile */
  @media (max-width: 900px) {
    .corner-fighter {
      display: none;
    }
  }
  
  /* ===== Primary CTA buttons (Blue) ===== */
.btn,
.btn.primary,
.btn.cta {
  background: linear-gradient(
    180deg,
    #4558ff,
    #2f3fd6
  ) !important;
  border: 1px solid rgba(69, 88, 255, 0.6) !important;
  color: #ffffff !important;
}

.btn:hover {
  filter: brightness(1.1);
}

/* Remove gold leftovers if any */
.btn.gold,
.btn.orange {
  background: linear-gradient(
    180deg,
    #4558ff,
    #2f3fd6
  ) !important;
  border-color: rgba(69, 88, 255, 0.6) !important;
}





/* ===== Apple-style Toast ===== */
.toast{
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: rgba(20, 22, 28, 0.72);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity .22s ease, transform .22s ease;
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  
  .toast.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  
  .toast-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #4558FF;
    box-shadow: 0 0 16px rgba(69,88,255,0.65);
  }
  
  .toast.error .toast-dot{
    background: #ff4d6d;
    box-shadow: 0 0 16px rgba(255,77,109,0.55);
  }
  
  