﻿/* =========================================================
       NAMESPACE: ffspot-
       Spot Claimed Modal Styles
       Matches fyrelanding.css / notification-modal.css tokens
       ========================================================= */

#ffspot-modalRoot {
    --ffspot-pink: #FF2F86;
    --ffspot-pink2: #E0187C;
    --ffspot-pink-soft: #ff7ab8;
    --ffspot-bg: #1a1922;
    --ffspot-border: rgba(255, 255, 255, 0.08);
    --ffspot-muted: rgba(255, 255, 255, 0.55);
    --ffspot-dim: rgba(255, 255, 255, 0.38);
}

/* ── Bubble particle layer (same animation as discover.aspx hero) ── */
#ffspot-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ffspot-particle {
    position: absolute;
    border-radius: 50%;
    animation: ffspot-floatUp linear infinite;
}

@keyframes ffspot-floatUp {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(var(--ffspot-drift)); opacity: 0; }
}

#ffspot-modalRoot,
#ffspot-modalRoot *,
#ffspot-modalRoot *::before,
#ffspot-modalRoot *::after {
    box-sizing: border-box;
}

#ffspot-modalRoot {
    all: initial;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

    #ffspot-modalRoot * {
        font-family: inherit !important;
    }

    #ffspot-modalRoot.ffspot-isOpen,
    #ffspot-modalRoot[aria-hidden='false'] {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

#ffspot-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 10, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#ffspot-dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(380px, calc(100% - 32px));
    max-width: 100%;
    border-radius: 16px;
    padding: 28px 24px 22px;
    text-align: center;
    background: #1a1922;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #ff2f86;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58);
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    animation: ffspotModalIn 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ffspotModalIn {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#ffspot-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

#ffspot-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 5px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #ffd3ea;
    white-space: nowrap;
    max-width: 100%;
}

#ffspot-badgeLogo {
    height: 32px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

#ffspot-closeX {
    display: none !important;
}

#ffspot-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

#ffspot-grid #ffspot-heroTitle {
    margin: 0;
    font-weight: 950;
    line-height: 1.05;
    font-size: clamp(32px, 4vw, 46px);
    color: #fff;
    text-shadow: 0 0 40px rgba(255,44,150,0.35);
}

#ffspot-grid #ffspot-heroSub {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.45;
    font-size: clamp(17px, 1.8vw, 26px);
    font-weight: 600;
}

    #ffspot-heroSub strong {
        color: #ff2c96;
        font-weight: 900;
    }

#ffspot-heroTrust1,
#ffspot-heroTrust2 {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.3;
    font-size: 15px;
}

#ffspot-statBox {
    width: 140px;
    height: 118px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,44,150,0.25);
    box-shadow: 0 0 0 1px rgba(255,44,150,0.10) inset;
    text-align: center;
    padding: 10px;
    max-width: 100%;
    flex-shrink: 0;
}

#ffspot-statNum {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 28px;
    line-height: 1.15;
    color: #1a0010;
    -webkit-text-stroke: 2px #ffffff;
    paint-order: stroke fill;
    text-shadow: 0 0 2px #ffffff, 0 0 6px rgba(255,102,196,0.5), 0 0 12px rgba(255,20,147,0.3), 0 0 20px rgba(255,20,147,0.15);
    margin: 0;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    white-space: pre-line;
}

#ffspot-statNum::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #ff1493;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 6px #ff1493, 0 0 12px #ff1493, 0 0 24px rgba(255,20,147,0.5);
    filter: blur(4px);
    opacity: 0.85;
    pointer-events: none;
}

#ffspot-statLabel {
    margin: 4px 0 0;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255,255,255,0.90);
    line-height: 1.2;
    text-align: center;
}

/* ── Grid: both cards stretch to equal height ── */
#ffspot-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 12px;
    margin-top: 0;
    align-items: stretch;
}

/* ── Both cards: flex column so content can fill height ── */
#ffspot-cardNext,
#ffspot-cardAction {
    border-radius: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

#ffspot-cardAction {
    background: radial-gradient(500px 280px at 30% 0%, rgba(255,44,150,0.18), transparent 60%), linear-gradient(180deg, rgba(80,73,155,0.16), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,44,150,0.18);
    box-shadow: 0 0 0 1px rgba(255,44,150,0.10) inset;
}

#ffspot-nextTitle {
    margin: 0 0 10px;
    font-weight: 950;
    font-size: 17px;
    color: rgba(255,255,255,0.92);
}

/* ── Steps fill remaining left-card height ── */
#ffspot-stepsWrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ffspot-stepItem {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    border-radius: 12px;
    padding: 12px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.10);
    flex: 1;
}

.ffspot-stepNum {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 15px;
    color: #fff;
    background: rgba(255,44,150,0.22);
    border: 1px solid rgba(255,44,150,0.35);
    flex: 0 0 auto;
}

.ffspot-stepText {
    margin: 0;
    color: rgba(255,255,255,0.90);
    font-weight: 800;
    line-height: 1.3;
    font-size: 16px;
}

.ffspot-stepHint {
    margin: 3px 0 0;
    color: rgba(255,255,255,0.70);
    line-height: 1.3;
    font-size: 15px;
    font-weight: 700;
}

#ffspot-actionTitle {
    margin: 0 0 5px;
    font-weight: 950;
    font-size: 17px;
    color: rgba(255,255,255,0.92);
}

#ffspot-actionSub {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

    #ffspot-actionSub strong {
        color: #ff2c96;
        font-weight: 900;
    }

/* ── Push buttons to bottom of right card ── */
#ffspot-actions {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding-top: 12px;
}

/* ── Buttons ── */
.ffspot-btn {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-weight: 950;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

    .ffspot-btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.10);
        border-color: rgba(255,255,255,0.22);
    }

#ffspot-primaryBtn.ffspot-btn {
    border-color: rgba(255,44,150,0.40);
    background: linear-gradient(180deg, rgba(255,44,150,0.96), rgba(230,28,128,0.96));
    box-shadow: 0 10px 30px rgba(255,44,150,0.25);
}

    #ffspot-primaryBtn.ffspot-btn:hover {
        background: linear-gradient(180deg, rgba(255,44,150,1), rgba(230,28,128,1));
    }

.ffspot-btnSub {
    display: block;
    font-size: 1em;
    font-weight: 700;
    opacity: 0.8;
    margin-top: 1px;
    letter-spacing: 0.01em;
}

#ffspot-secondaryBtn.ffspot-btn {
    background: rgba(0,0,0,0.18);
    border-color: rgba(255,255,255,0.12);
    font-weight: 850;
}

#ffspot-reserve {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 700px) {
    #ffspot-grid {
        grid-template-columns: 1fr;
    }

    #ffspot-hero {
        grid-template-columns: 1fr;
    }

    #ffspot-statBox {
        display: none;
    }

    .ffspot-stepItem {
        flex: unset;
    }

    #ffspot-actions {
        margin-top: 10px;
        padding-top: 0;
    }
}

/* ── Spot Claimed modal: compact card ── */

#ffspot-dialog #ffspot-heroTitle {
    margin: 0 0 10px;
    padding: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: unset;
}

#ffspot-dialog .ffspot-accent {
    background: linear-gradient(90deg, #ff3b30 0%, #e8408a 42%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#ffspot-dialog #ffspot-heroSub,
#ffspot-dialog .ffspot-subhead {
    margin: 0 0 16px;
    padding: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    max-width: none;
    text-align: center;
}

#ffspot-dialog .ffspot-subhead strong {
    color: #fff;
    font-weight: 700;
}

#ffspot-dialog .ffspot-lockpath {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

#ffspot-dialog .ffspot-lockpath > li {
    min-width: 0;
    display: flex;
}

#ffspot-dialog .ffspot-lockstep {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    font: inherit;
    color: inherit;
}

#ffspot-dialog .ffspot-lockstep--done {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.42);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.12) inset;
}

#ffspot-dialog .ffspot-lockstep--now {
    background: rgba(255, 47, 134, 0.08);
    border-color: rgba(255, 47, 134, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 47, 134, 0.10) inset;
}

#ffspot-dialog .ffspot-lockmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

#ffspot-dialog .ffspot-lockstep--done .ffspot-lockmark {
    background: #2ecc71;
    color: #06210f;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.45);
}

#ffspot-dialog .ffspot-lockstep--now .ffspot-lockmark {
    background: #FF2F86;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 47, 134, 0.55);
    animation: ffspotHoldPulse 1.4s ease-in-out infinite;
}

@keyframes ffspotHoldPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.92); }
}

#ffspot-dialog .ffspot-lockcopy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

#ffspot-dialog .ffspot-lockcopy strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

#ffspot-dialog .ffspot-lockcopy span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ffspot-dialog .ffspot-lockstep--done .ffspot-lockcopy span {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

#ffspot-dialog .ffspot-lockstep--now .ffspot-lockcopy span {
    color: #ff7ab8;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    #ffspot-dialog .ffspot-lockstep--now .ffspot-lockmark {
        animation: none;
    }
}

#ffspot-dialog .ffspot-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#ffspot-dialog #ffspot-primaryBtn {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF2F86 0%, #c0255e 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 47, 134, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#ffspot-dialog #ffspot-primaryBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 47, 134, 0.38);
    filter: brightness(1.04);
}

#ffspot-dialog #ffspot-secondaryBtn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

#ffspot-dialog #ffspot-secondaryBtn:hover {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 520px) {
    #ffspot-dialog {
        padding: 24px 20px 20px;
    }

    #ffspot-dialog #ffspot-heroTitle {
        font-size: 23px;
    }

    #ffspot-dialog .ffspot-lockstep {
        padding: 9px 8px;
        gap: 6px;
    }

    #ffspot-dialog .ffspot-lockmark {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    #ffspot-dialog .ffspot-lockcopy strong {
        font-size: 11px;
    }
}

