/* ArenaLaunchTour — deliberately louder than onboarding-tour.css: a full announcement
 * card, a dark stage, a pulsing ring and big step cards. Sits above the small page tours. */

.alt-root {
    position: fixed;
    inset: 0;
    z-index: 13000;
    pointer-events: none;
    font-family: inherit;
}

.alt-blocker {
    position: fixed;
    pointer-events: auto;
    background: transparent;
}

.alt-root.is-centered .alt-blocker:first-child {
    background: rgba(7, 13, 32, 0.72);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.alt-root.is-centered .alt-ring {
    display: none;
}

.alt-ring {
    position: fixed;
    pointer-events: none;
    border: 3px solid #ffd166;
    border-radius: 22px;
    box-shadow:
        0 0 0 9999px rgba(7, 13, 32, 0.66),
        0 0 0 6px rgba(255, 209, 102, 0.28),
        0 0 42px rgba(255, 209, 102, 0.55);
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}

.alt-ring.is-action {
    border-color: #38bdf8;
    animation: alt-pulse 1.25s ease-in-out infinite;
}

@keyframes alt-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 9999px rgba(7, 13, 32, 0.66),
            0 0 0 4px rgba(56, 189, 248, 0.35),
            0 0 30px rgba(56, 189, 248, 0.55);
    }
    50% {
        box-shadow:
            0 0 0 9999px rgba(7, 13, 32, 0.66),
            0 0 0 12px rgba(56, 189, 248, 0.12),
            0 0 60px rgba(56, 189, 248, 0.85);
    }
}

/* ---------- cards ---------- */

.alt-card {
    position: fixed;
    pointer-events: auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    color: #0b1220;
    box-shadow: 0 40px 110px rgba(2, 8, 28, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.alt-root.is-centered .alt-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alt-step {
    width: min(440px, calc(100vw - 28px));
    transition: top 0.2s ease, left 0.2s ease;
}

.alt-step-bar {
    height: 7px;
    background: #e2e8f5;
}

.alt-step-bar span {
    display: block;
    height: 100%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transition: width 0.3s ease;
}

.alt-step-inner {
    padding: 22px 24px 20px;
}

.alt-step-kicker {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alt-step-kicker span:last-child {
    color: #64748b;
    letter-spacing: 0.02em;
}

.alt-step h3 {
    margin: 0;
    color: #0b1220;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.alt-step-body {
    margin: 12px 0 0;
    color: #1f2a3d;
    font-size: 16px;
    line-height: 1.55;
}

.alt-step-body strong {
    color: #0b1220;
    font-weight: 800;
}

.alt-must,
.alt-note {
    display: block;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
}

.alt-must {
    border: 2px solid #f59e0b;
    background: #fff7e0;
    color: #7a3e00;
}

.alt-step-body > .alt-must:last-child,
.alt-note {
    margin: 12px 0 0;
}

.alt-note {
    border: 2px solid #93c5fd;
    background: #eff6ff;
    color: #12367d;
    font-weight: 700;
}

.alt-step-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #0b1f4d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.alt-step-hint-dot {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #38bdf8;
    animation: alt-blink 1s ease-in-out infinite;
}

@keyframes alt-blink {
    50% { opacity: 0.25; transform: scale(0.7); }
}

.alt-link {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: #1d4ed8;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    text-decoration: underline;
}

.alt-button-wide {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    font-size: 17px;
}

.alt-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.alt-step-actions-right {
    display: inline-flex;
    gap: 8px;
}

.alt-button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #d5dcea;
    border-radius: 999px;
    background: #ffffff;
    color: #0b1220;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.alt-button:hover:not([disabled]),
.alt-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.alt-button[disabled] {
    cursor: not-allowed;
    opacity: 0.4;
}

.alt-button-primary {
    border-color: transparent;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(29, 78, 216, 0.38);
}

.alt-button-ghost {
    border-color: transparent;
    background: transparent;
    color: #64748b;
}

/* ---------- the announcement ---------- */

.alt-announce {
    width: min(680px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    animation: alt-pop 0.42s cubic-bezier(0.2, 1.2, 0.3, 1);
}

@keyframes alt-pop {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.92); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.alt-announce-hero {
    padding: 38px 40px 32px;
    background:
        radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.55), transparent 46%),
        radial-gradient(circle at 6% 100%, rgba(255, 209, 102, 0.28), transparent 42%),
        linear-gradient(135deg, #0b1f4d 0%, #1d4ed8 100%);
    color: #ffffff;
}

.alt-announce-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffd166;
    color: #4a2b00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.alt-announce-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.alt-announce-hero p {
    margin: 16px 0 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.5;
}

.alt-announce-hero p strong {
    color: #ffd166;
}

.alt-announce-body {
    padding: 26px 40px 32px;
}

.alt-announce-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #1f2a3d;
    font-size: 16.5px;
    line-height: 1.4;
}

.alt-announce-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.alt-announce-list .alt-num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0ebff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 900;
}

.alt-announce-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.alt-button-xl {
    flex: 1;
    min-height: 60px;
    font-size: 19px;
}

@media (max-width: 700px) {
    .alt-announce-hero { padding: 28px 22px 24px; }
    .alt-announce-body { padding: 20px 22px 24px; }
    .alt-announce-hero p { font-size: 16px; }
    .alt-announce-actions { flex-direction: column-reverse; align-items: stretch; }
    .alt-step-inner { padding: 18px 18px 16px; }
    .alt-step h3 { font-size: 21px; }
    .alt-step-body, .alt-must, .alt-note { font-size: 15px; }
    .alt-button { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .alt-ring, .alt-ring.is-action, .alt-step-hint-dot, .alt-announce { animation: none; }
    .alt-ring, .alt-step { transition: none; }
}
