@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --pink:       #F43F7E;
    --pink-dim:   #E11D6A;
    --text:       #0d0d0d;
    --text-2:     #525252;
    --text-3:     #9ca3af;
    --line:       rgba(0,0,0,0.06);
    --line-2:     rgba(0,0,0,0.12);
    --bg:         #ffffff;
    --raised:     #f5f5f7;
    --card:       #ffffff;
    --card-2:     #f9f9fb;
    --brown-deep: #0a0a0a;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── PAGE LOADER ─────────────────── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: all;
}
.page-loader.loader-hide {
    opacity: 0;
    pointer-events: none;
}
.page-loader-img {
    width: 180px;
    height: auto;
    animation: loaderBob 0.8s ease-in-out infinite alternate;
}
@keyframes loaderBob {
    from { transform: translateY(0px) scale(1); }
    to   { transform: translateY(-8px) scale(1.04); }
}

/* ── EARN BANNER ─────────────────── */
.earn-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: opacity .15s;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 99;
}
.earn-banner:hover { opacity: .88; }
.earn-banner strong { color: var(--pink); }
.earn-banner-text { white-space: nowrap; }
@media (max-width: 560px) {
    .earn-banner { font-size: 11.5px; padding: 7px 12px; top: 62px; }
}

/* ── NAV ─────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.1rem, 4vw, 2rem);
    height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.nav-inner > .nav-logo  { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav-inner > .nav-right { justify-self: end; display: flex; align-items: center; }

.nav-logo { height: 72px; width: auto; display: block; opacity: 0.92; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.6; }

.nav-links { display: flex; gap: 0; align-items: center; }

.nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.38rem 0.8rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--text); background: var(--raised); }

.nav-links a:last-child { margin-left: 0; }

.nav-links a:last-child:hover { background: var(--raised); }

.nav-earn-link { color: var(--pink) !important; font-weight: 600 !important; }
.nav-earn-link:hover { background: rgba(244,63,126,0.1) !important; color: var(--pink) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none;
    cursor: pointer; padding: 8px;
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block; width: 20px; height: 1.5px;
    background: var(--text-2); border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ── Nav right group ─────────────── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 62px;
    left: 0.5rem; right: 0.5rem;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 20px;
    padding: 0.6rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    animation: menuDrop 0.2s ease;
    z-index: 200;
}

.nav-links.open a {
    padding: 1.2rem 1.5rem; font-size: 1.1rem;
    border-radius: 13px; text-align: center;
    border: none; margin: 0;
    color: var(--text-2); background: none;
    font-weight: 500; letter-spacing: -0.01em;
}

.nav-links.open a:last-child { border: none; background: none; margin: 0; color: var(--text-2); }
.nav-links.open a:hover { color: var(--text); background: var(--raised); }

/* ── Nav user area ───────────────── */
.nav-user {
    display: flex;
    align-items: center;
    margin-left: 0.4rem;
}

/* Logged-in pill */
.nav-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    padding: 0.28rem 0.6rem 0.28rem 0.28rem;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.nav-profile:hover {
    border-color: var(--pink);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    padding: 0 0.1rem 0 0.15rem;
    white-space: nowrap;
}

.nav-topup-btn {
    background: var(--pink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* Login button */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    color: var(--text) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 0.38rem 0.8rem !important;
    border-radius: 6px !important;
    border: 1px solid var(--line-2) !important;
    text-decoration: none;
    transition: color 0.15s, background 0.15s !important;
    white-space: nowrap;
    margin-left: 0.3rem;
}
.nav-login-btn:hover { background: var(--card-2) !important; border-color: var(--line-2) !important; }
.nav-login-btn svg { flex-shrink: 0; }

/* ── HERO ────────────────────────── */
.hero {
    padding: calc(clamp(5rem, 12vw, 9rem) + 38px) clamp(1.1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fdf2f7 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}


.hero-kicker {
    font-size: clamp(0.62rem, 1.8vw, 0.7rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pink);
    display: block;
    margin-bottom: clamp(1.2rem, 3vw, 1.6rem);
    animation: fadeUp 0.5s ease both;
}

.hero-title {
    font-size: clamp(3.2rem, 11vw, 5.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: clamp(1.4rem, 3vw, 1.8rem);
    animation: fadeUp 0.55s 0.05s ease both;
}

.hero-title em { font-style: normal; color: var(--pink); }


.hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-2);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto clamp(2.4rem, 5vw, 3.2rem);
    animation: fadeUp 0.55s 0.1s ease both;
}

.hero-actions {
    display: flex; gap: 1.2rem;
    justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.55s 0.15s ease both;
}

.hero-figure {
    position: absolute;
    right: clamp(8%, 18vw, 22%);
    bottom: 0;
    height: 190px;
    width: auto;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    animation: fadeUp 0.65s 0.2s ease both;
}

/* ── BUTTONS ─────────────────────── */
.cta-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    text-decoration: none;
    background: var(--pink);
    color: #fff;
    font-size: 0.95rem; font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent;
    border: 2px solid var(--pink);
    box-shadow: 0 4px 16px rgba(244,63,126,0.2);
}

.cta-btn:hover {
    background: #E11D6A;
    border-color: #E11D6A;
    box-shadow: 0 8px 24px rgba(244,63,126,0.3);
    transform: translateY(-2px);
}
.cta-btn:active { transform: scale(0.98); }

.cta-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem; font-weight: 600;
    padding: 0.85rem 1.6rem;
    border: 2px solid var(--line-2);
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.cta-link:hover {
    color: var(--pink);
    border-color: var(--pink);
    background: rgba(244,63,126,0.05);
}

/* ── CAROUSEL ────────────────────── */
.carousel-wrap {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--raised);
}

.carousel-fade {
    position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}

.carousel-fade-l { left: 0; background: linear-gradient(to right, var(--raised), transparent); }
.carousel-fade-r { right: 0; background: linear-gradient(to left, var(--raised), transparent); }

.carousel-track {
    display: flex; gap: 0.5rem;
    animation: scroll 40s linear infinite;
    width: max-content;
    padding: 0.75rem 0;
    align-items: center;
}

/* single-row: dissolve the pair wrapper */
.cp { display: contents; }

.ci {
    width: 72px; height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-2);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.ci-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-ph { background: var(--card-2); }

/* ── TESTIMONIALS ────────────────── */
.tm-section {
    padding-top: clamp(3.5rem, 8vw, 6rem);
    border-top: 1px solid var(--line);
}

.tm-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: clamp(1.1rem, 4vw, 2rem);
    padding-right: clamp(1.1rem, 4vw, 2rem);
}

.tm-heading {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.06;
}

.tm-subheading {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-2);
    line-height: 1.65;
}

.tm-scroll-wrap {
    position: relative; overflow: hidden;
    padding-top: 4rem;
}

@media (max-width: 860px) {
    .tm-scroll-wrap { padding-top: 0; }
}

.tm-fade-l {
    position: absolute; top: 0; bottom: 0; left: 0; width: 100px; z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, var(--bg), transparent);
}
.tm-fade-r {
    position: absolute; top: 0; bottom: 0; right: 0; width: 100px; z-index: 2;
    pointer-events: none;
    background: linear-gradient(to left, var(--bg), transparent);
}

.tm-track {
    display: flex; gap: 14px;
    animation: scroll 38s linear infinite;
    width: max-content;
    padding: 0 0 clamp(3.5rem, 8vw, 6rem);
    align-items: center;
}

.tm-track:hover { animation-play-state: paused; }

.tm-item {
    width: clamp(210px, 26vw, 280px);
    height: clamp(210px, 26vw, 280px);
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line-2);
    flex-shrink: 0; cursor: zoom-in;
    transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
    background: var(--raised);
}

.tm-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 36px rgba(0,0,0,.1);
}

.tm-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    pointer-events: none;
}

/* ── Lightbox ── */
#tmLightbox {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.86);
    align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}

#tmLightbox.open { display: flex; }

.tm-lb-img {
    max-width: min(88vw, 860px);
    max-height: 86vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,.45);
    animation: tmFadeIn .16s ease;
    display: block;
}

@keyframes tmFadeIn {
    from { opacity: 0; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1); }
}

.tm-lb-close {
    position: absolute; top: 18px; right: 22px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: none;
    color: #fff; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s; z-index: 1;
}
.tm-lb-close:hover { background: rgba(255,255,255,.22); }

.tm-lb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: none;
    color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s; z-index: 1;
}
.tm-lb-arrow:hover { background: rgba(255,255,255,.22); }
.tm-lb-prev { left: 18px; }
.tm-lb-next { right: 18px; }

.tm-lb-counter {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    font-size: 11px; color: rgba(255,255,255,.45); font-weight: 700;
    letter-spacing: .08em; white-space: nowrap;
}

@media (max-width: 600px) {
    .tm-lb-arrow { width: 38px; height: 38px; font-size: 20px; }
    .tm-lb-prev { left: 8px; }
    .tm-lb-next { right: 8px; }
}

/* ── SCROLL REVEAL ───────────────── */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed { opacity: 1; transform: none; }

/* ── DEMO ────────────────────────── */
.demo-section {
    padding: clamp(3rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2rem);
    max-width: 1120px;
    margin: 0 auto;
}

.demo-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1rem;
}

.demo-window {
    background: var(--card-2);
    border-radius: clamp(10px, 2vw, 16px);
    overflow: hidden;
    border: 1px solid var(--line-2);
    box-shadow: 0 24px 80px rgba(0,0,0,0.08);
}

.demo-chrome {
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    height: 5px;
}

.demo-body {
    padding: clamp(1rem, 3vw, 1.75rem);
    display: flex; flex-direction: column; gap: 0.9rem;
    min-height: 320px;
    background: var(--card-2);
}

.demo-tabs {
    display: flex; gap: 0.25rem;
    background: var(--raised);
    border-radius: 7px; padding: 0.2rem;
    width: fit-content;
    border: 1px solid var(--line);
}

.demo-tab {
    display: flex; align-items: center; gap: 0.38rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem; font-weight: 500;
    color: var(--text-3);
    background: none; border: none;
    padding: 0.4rem 0.85rem;
    border-radius: 5px; cursor: default;
}

.demo-tab.active { background: var(--card-2); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.demo-dropzone {
    flex: 1;
    border: 1.5px dashed var(--line-2);
    border-radius: 10px;
    position: relative; min-height: 320px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--raised);
    transition: border-color 0.3s, background 0.3s;
}

.demo-video-demo {
    min-height: 280px;
}

@media (min-width: 861px) {
    .demo-video-demo { min-height: 380px; }
}

/* Cat perched on demo window corner */
.demo-window {
    position: relative;
}
.demo-perch-cat {
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 110px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px rgba(255,100,160,0.22));
    z-index: 5;
    transition: transform 0.35s ease;
}
.demo-perch-cat:hover { transform: translateY(-5px) scale(1.04); }

/* ── Video flow diagram ──────────── */
.vflow {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
}

.vflow-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
    text-align: center;
    margin-bottom: 1.5rem;
}

.vflow-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
}

.vflow-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.vflow-or {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-3);
    padding: 0 0.1rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.vflow-input-card {
    background: var(--card-2);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    padding: 0.85rem 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.vflow-input-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: var(--raised);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    margin-bottom: 0.15rem;
    flex-shrink: 0;
}

.vflow-input-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.vflow-input-hint {
    font-size: 0.68rem;
    color: var(--text-3);
}

.vflow-icon-mp4 {
    flex-direction: column;
    gap: 1px;
}

.vflow-mp4-label {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--pink);
    line-height: 1;
}

.vflow-arrow-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-3);
    padding: 0.3rem 0;
}

.vflow-frame-card {
    background: var(--card-2);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.vflow-frame-label {
    font-size: 0.67rem;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
}

.vflow-frame-single {
    width: 100%;
}

.vflow-thumb {
    background: linear-gradient(160deg, var(--raised) 0%, var(--card-2) 55%, var(--raised) 100%);
    border: 1px solid var(--line);
    border-radius: 4px;
    aspect-ratio: 16 / 10;
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

.vflow-frame-single .vflow-thumb {
    min-height: 120px;
}

.vflow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    position: absolute;
    inset: 0;
}

.vflow-thumb.vflow-thumb-sel {
    border: 5px solid var(--pink);
    background: linear-gradient(160deg, rgba(244,63,126,0.18) 0%, rgba(244,63,126,0.1) 100%);
}

.vflow-frame-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    width: 100%;
}

.vflow-frame-note {
    font-size: 0.66rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vflow-note-auto {
    color: var(--pink);
}

/* Merge connector: three down-lines converge to one */
.vflow-merge {
    position: relative;
    height: 44px;
    margin: 0.5rem 0 0;
}

.vflow-merge::before {
    content: '';
    position: absolute;
    left: calc(100% / 6);
    right: calc(100% / 6);
    top: 0;
    height: 1px;
    background: var(--line-2);
}

.vflow-merge::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--line-2);
    transform: translateX(-50%);
}

.vflow-bottom {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.vflow-step-card {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.vflow-step-card strong {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    display: block;
    line-height: 1.2;
}

.vflow-step-card span {
    font-size: 0.68rem;
    color: var(--text-3);
    display: block;
    margin-top: 0.1rem;
}

.vflow-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--raised);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    flex-shrink: 0;
}

.vflow-step-result {
    border-color: rgba(244,63,126,0.4);
    background: rgba(244,63,126,0.05);
}

.vflow-step-result strong { color: var(--pink); }

.vflow-step-arrow {
    display: flex;
    justify-content: center;
    padding: 0.3rem 0;
    color: var(--text-3);
}

@media (max-width: 560px) {
    .demo-video-demo { padding: 1.25rem 1rem; }
    .vflow-grid { flex-direction: column; gap: 0; }
    .vflow-or { justify-content: center; padding: 0.35rem 0; }
    .vflow-merge { display: none; }
    .vflow-bottom { max-width: 100%; margin-top: 1.25rem; }
}

.demo-dropzone.dragging-over {
    border-color: var(--pink);
    background: rgba(244,63,126,0.04);
}

.demo-drop-idle {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    opacity: 1; transition: opacity 0.3s; pointer-events: none;
}

.demo-drop-idle.hidden { opacity: 0; }

.drop-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--card-2);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); margin-bottom: 0.1rem;
}

.drop-text { font-size: 0.83rem; color: var(--text-2); }
.drop-text span { color: var(--pink); text-decoration: underline; }
.drop-hint { font-size: 0.68rem; color: var(--text-3); }

.demo-cursor {
    position: absolute; top: 50%; left: 50%;
    width: 20px; height: 24px;
    pointer-events: none; opacity: 0; z-index: 20;
    transform: translate(185px, 88px);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
}

.demo-cursor.animate { animation: cursorDrag 1.15s cubic-bezier(0.34, 1.1, 0.64, 1) forwards; }

.demo-drag-photo {
    position: absolute;
    width: 100px; height: 100px; border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0,0,0,0.7);
    border: 1.5px solid rgba(255,255,255,0.14);
    opacity: 0;
    transform: translate(180px, 90px) rotate(6deg) scale(0.9);
    pointer-events: none; z-index: 10;
}

.demo-drag-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-drag-photo.animate { animation: dragIn 1.1s cubic-bezier(0.34, 1.2, 0.64, 1) forwards; }

.demo-processing {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}

.demo-processing.visible { opacity: 1; }

.proc-thumb {
    position: relative; width: 145px; height: 182px;
    border-radius: 10px; overflow: hidden;
}

.proc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.4); }

.proc-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 0.85rem; gap: 0.42rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
}

.proc-bar-wrap {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden;
}

.proc-bar {
    height: 100%; width: 0%;
    background: var(--pink); border-radius: 99px;
    transition: width 0.2s linear;
}

.proc-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

.proc-thumb::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(244,63,126,0.9), transparent);
    animation: scanLine 1.4s ease-in-out infinite; opacity: 0;
}

.demo-processing.visible .proc-thumb::after { opacity: 1; }

.demo-result {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.9rem; opacity: 0; pointer-events: none;
    transition: opacity 0.5s;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}

.demo-result.visible { opacity: 1; pointer-events: auto; }

.result-photos { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 0.85rem); }

.result-photo {
    position: relative; border-radius: 9px; overflow: hidden;
    border: 1px solid var(--line-2); flex-shrink: 0;
}

.result-before  { width: clamp(90px, 14vw, 122px); height: clamp(112px, 17.5vw, 153px); }
.result-after   { width: clamp(90px, 14vw, 122px); height: clamp(112px, 17.5vw, 153px); clip-path: inset(0 100% 0 0); }
.result-after.revealed { animation: wipeReveal 1s cubic-bezier(0.77, 0, 0.18, 1) forwards; }
.result-after::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
    transform: translateX(-100%); pointer-events: none;
}
.result-after.revealed::after { animation: photoShimmer 0.6s 1s ease-out forwards; }

.result-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.result-badge {
    position: absolute; bottom: 5px; left: 5px;
    font-size: 0.56rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.75);
    padding: 0.15rem 0.38rem; border-radius: 3px; backdrop-filter: blur(4px);
}

.badge-pink { background: rgba(244,63,126,0.85); color: #fff; }
.result-arrow { color: var(--text-3); flex-shrink: 0; }

.result-actions { display: flex; gap: 0.45rem; }

.result-btn {
    display: inline-flex; align-items: center; gap: 0.32rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem; font-weight: 600;
    padding: 0.46rem 0.95rem; border-radius: 6px; border: none;
    background: var(--pink); color: #fff;
    cursor: default; white-space: nowrap;
}

.result-btn-ghost { background: var(--raised); color: var(--text-2); border: 1px solid var(--line-2); font-weight: 400; }

/* ── STEPS SECTION ───────────────── */
.steps-section {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2rem);
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.steps-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    flex-wrap: wrap;
}

.steps-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--text);
}

/* numbered list */
.steps-list {
    border-top: 1px solid var(--line);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.step-row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: clamp(1.1rem, 2.5vw, 1.5rem) 0;
    border-bottom: 1px solid var(--line);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--card-2);
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.step-body { display: flex; flex-direction: column; gap: 0.28rem; }

.step-body strong {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.step-body p {
    font-size: clamp(0.83rem, 2vw, 0.9rem);
    color: var(--text-2);
    line-height: 1.6;
    max-width: 520px;
}

.step-body em { font-style: normal; color: var(--pink); font-weight: 500; }

/* ── DISCORD WINDOW ──────────────── */
.dc-window {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    height: 400px;
    background: #313338;
    font-size: 0.87rem;
    width: 100%;
}

.dc-servers {
    width: 58px; background: #1e1f22;
    display: flex; flex-direction: column;
    align-items: center; padding: 0.7rem 0;
    gap: 0.5rem; flex-shrink: 0;
}

.dc-server-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: #313338;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0; cursor: default;
}

.dc-server-icon img { width: 100%; height: 100%; object-fit: cover; }
.dc-server-active { border-radius: 12px; box-shadow: 0 0 0 2px var(--pink); }
.dc-server-divider { width: 22px; height: 1px; background: #3a3a40; }
.dc-server-add { background: #313338; color: #23a55a; }

.dc-channels {
    width: 200px; background: #2b2d31;
    display: flex; flex-direction: column;
    overflow-y: auto; flex-shrink: 0;
}

.dc-server-name {
    padding: 0 0.85rem; height: 46px;
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 600; font-size: 0.86rem; color: #f2f3f5;
    border-bottom: 1px solid rgba(0,0,0,0.2); flex-shrink: 0; cursor: default;
}

.dc-server-name svg { color: #b5bac1; }
.dc-channel-group { padding: 0.75rem 0.45rem 0.15rem; }

.dc-group-label {
    display: block; font-size: 0.63rem; font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: #80848e; padding: 0 0.42rem; margin-bottom: 0.18rem;
}

.dc-channel {
    display: flex; align-items: center; gap: 0.42rem;
    padding: 0.26rem 0.42rem; border-radius: 5px;
    color: #80848e; font-size: 0.82rem;
    cursor: default; user-select: none;
    transition: background 0.1s, color 0.1s;
}

.dc-channel svg { flex-shrink: 0; opacity: 0.55; }
.dc-channel:hover { background: rgba(255,255,255,0.05); color: #dbdee1; }
.dc-channel-active { background: rgba(255,255,255,0.1); color: #f2f3f5; }
.dc-channel-active svg { opacity: 1; }

.dc-chat {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    overflow: hidden; background: #313338;
}

.dc-chat-header {
    height: 46px; flex-shrink: 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 0.42rem;
    padding: 0 0.85rem;
    font-weight: 600; color: #f2f3f5;
}

.dc-chat-header svg { color: #80848e; }

.dc-messages {
    flex: 1; overflow-y: auto;
    padding: 0.85rem 0.85rem 0.4rem;
    display: flex; flex-direction: column; gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.07) transparent;
}

.dc-msg { display: flex; gap: 0.65rem; align-items: flex-start; }

.dc-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: #5865f2;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.75rem; color: #fff; flex-shrink: 0;
}

.dc-avatar-bot { background: var(--pink); padding: 0; overflow: hidden; }
.dc-avatar-user { background: #5a5a72; padding: 0; overflow: hidden; }
.dc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.dc-msg-body { flex: 1; min-width: 0; }

.dc-msg-meta {
    display: flex; align-items: center; gap: 0.3rem;
    margin-bottom: 0.15rem; flex-wrap: wrap;
}

.dc-uname { font-weight: 600; font-size: 0.82rem; color: #f2f3f5; }
.dc-uname-bot { color: var(--pink); }

.dc-bot-tag {
    font-size: 0.54rem; font-weight: 700;
    background: #5865f2; color: #fff;
    padding: 0.07rem 0.28rem; border-radius: 3px;
    letter-spacing: 0.03em;
}

.dc-time { font-size: 0.65rem; color: #80848e; }
.dc-msg-body p { color: #dbdee1; line-height: 1.5; font-size: 0.82rem; }
.dc-msg-body strong { color: #f2f3f5; font-weight: 600; }

.dc-mention { background: rgba(88,101,242,0.18); color: #c9cdfb; border-radius: 3px; padding: 0.03rem 0.24rem; font-weight: 500; }
.dc-link { color: #00aff4; text-decoration: underline; cursor: default; }

.dc-embed {
    display: flex; margin-top: 0.45rem;
    border-radius: 5px; overflow: hidden;
    background: #2b2d31; max-width: 300px;
}

.dc-embed-bar { width: 3px; background: var(--pink); flex-shrink: 0; }
.dc-embed-body { padding: 0.55rem 0.7rem; }
.dc-embed-title { font-weight: 700; font-size: 0.82rem; color: #f2f3f5; margin-bottom: 0.25rem; }
.dc-embed-text { font-size: 0.76rem; color: #b5bac1; line-height: 1.5; }

.dc-embed-text code {
    background: rgba(255,255,255,0.07); border-radius: 3px;
    padding: 0.07rem 0.26rem;
    font-family: 'SF Mono', monospace; font-size: 0.72rem; color: #ddd;
}

.dc-input { padding: 0 0.75rem 0.75rem; flex-shrink: 0; }

.dc-input-box {
    background: #383a40; border-radius: 7px;
    padding: 0.58rem 0.8rem;
    display: flex; align-items: center; justify-content: space-between;
}

.dc-input-ph { font-size: 0.82rem; color: #6d6f78; }

/* ── PRICING ─────────────────────── */
.pricing-section {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2rem);
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    scroll-margin-top: 80px;
}

.pricing-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pricing-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.06;
}

.pricing-sub {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-2); line-height: 1.65;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 4rem;
}

.plan {
    background: var(--card-2);
    padding: clamp(1.4rem, 3vw, 2rem);
    display: flex; flex-direction: column; gap: 1.4rem;
    position: relative;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    transition: background 0.2s;
}

.plan::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--line-2);
    border-radius: 14px 14px 0 0;
}

/* featured plan — deep brown */
.plan-cat-img {
    position: absolute;
    top: -72px;
    right: -8px;
    width: 110px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 6px 16px rgba(255,100,160,0.25));
    z-index: 2;
}

.plan-hero {
    background: #0a0a0a;
    color: var(--bg);
    border-color: transparent;
    transform: scale(1.03);
    z-index: 1;
    overflow: visible;
    box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 2px rgba(244,63,126,0.5);
}

.plan-hero::before {
    background: linear-gradient(90deg, var(--pink), #E11D6A);
    height: 4px;
    border-radius: 0;
}

.plan-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C0195A, var(--pink));
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem 0.28rem;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 4px 14px rgba(244,63,126,0.55);
    white-space: nowrap;
}

.plan-head { display: flex; flex-direction: column; gap: 0.8rem; }

.plan-name {
    font-size: 0.8rem; font-weight: 600;
    color: var(--text-2); text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex; align-items: center; gap: 0.6rem;
}

.plan-hero .plan-name { color: rgba(255,255,255,0.45); }

.plan-tag {
    font-size: 0.6rem; font-weight: 700;
    background: rgba(244,63,126,0.2);
    color: var(--pink);
    border: 1px solid rgba(244,63,126,0.35);
    padding: 0.18rem 0.5rem; border-radius: 4px;
    letter-spacing: 0.06em; text-transform: uppercase;
}

.plan-price { display: flex; align-items: baseline; gap: 0.5rem; }

.plan-amt {
    font-size: clamp(2.4rem, 5vw, 3rem);
    font-weight: 700; letter-spacing: -0.04em;
    color: var(--text); line-height: 1;
}

.plan-hero .plan-amt { color: #fff; }

.plan-was {
    font-size: 0.95rem; color: var(--text-3);
    text-decoration: line-through; font-weight: 400;
}

.plan-hero .plan-was {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.35);
    text-decoration: line-through;
}

.plan-save {
    display: none;
}

.plan-hero .plan-save,
.plan-save-alt {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--pink);
    background: rgba(244,63,126,0.1);
    border: 1px solid rgba(244,63,126,0.25);
    padding: 0.22rem 0.6rem;
    border-radius: 5px;
    margin-top: -0.3rem;
}

.plan-hero .plan-save {
    background: rgba(244,63,126,0.15);
    border-color: rgba(244,63,126,0.3);
}

.plan-credits {
    font-size: 0.79rem; color: var(--text-2);
    margin-top: -0.8rem;
}

.plan-tokens {
    font-size: 0.79rem; color: var(--text-2);
    margin-top: -0.8rem;
}

.plan-hero .plan-credits,
.plan-hero .plan-tokens { color: rgba(255,255,255,0.45); }

.plan-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.5rem;
    flex: 1;
}

.plan-list li {
    font-size: 0.84rem; color: var(--text-2);
    display: flex; align-items: center; gap: 0.5rem; line-height: 1.4;
}

.plan-hero .plan-list li { color: rgba(255,255,255,0.6); }

.plan-list li::before {
    content: '';
    width: 14px; height: 14px; border-radius: 50%;
    flex-shrink: 0;
    background: rgba(244,63,126,0.12);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23F43F7E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 9px; background-repeat: no-repeat; background-position: center;
}

.plan-hero .plan-list li::before {
    background-color: rgba(244,63,126,0.25);
}

.plan-list-usage {
    font-size: 0.72rem !important;
    color: var(--text-3) !important;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.plan-list-usage::before { display: none !important; }

.plan-hero .plan-list-usage {
    color: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.08);
}


.plan-cta {
    display: block; text-align: center; text-decoration: none;
    font-size: 0.86rem; font-weight: 600;
    padding: 0.72rem 1rem; border-radius: 7px;
    transition: all 0.18s; letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent;
}

.plan-cta-primary { background: var(--pink); color: #fff; }
.plan-cta-primary:hover { background: #E11D6A; box-shadow: 0 0 0 3px rgba(244,63,126,0.2); }

.plan-cta-ghost {
    border: 1px solid var(--line-2);
    color: var(--text-2); background: transparent;
}

.plan-cta-ghost:hover { border-color: rgba(0,0,0,0.18); color: var(--text); background: var(--raised); }

.plan-hero .plan-cta-ghost {
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.6); background: transparent;
}

.plan-hero .plan-cta-ghost:hover { background: rgba(255,255,255,0.07); }

/* ── FOOTER ──────────────────────── */
.footer {
    border-top: 1px solid var(--line);
    padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.1rem, 4vw, 2rem);
    background: var(--raised);
}

.footer-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}

.footer-left { display: flex; align-items: center; gap: 0.8rem; }
.footer-logo { height: 30px; width: auto; opacity: 0.3; }
.footer-copy { font-size: 0.77rem; color: var(--text-3); }

.footer-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem;
}

.footer-nav { display: flex; gap: 0; flex-wrap: wrap; justify-content: flex-end; }

.footer-nav a {
    text-decoration: none; color: var(--text-3);
    font-size: 0.81rem; padding: 0.3rem 0.65rem;
    border-radius: 5px; transition: color 0.15s, background 0.15s;
}

.footer-nav a:hover { color: var(--text-2); background: var(--card-2); }

.footer-legal {
    display: flex; gap: 0; flex-wrap: wrap; justify-content: flex-end;
}

.footer-legal a {
    text-decoration: none; color: var(--text-3);
    font-size: 0.75rem; padding: 0.2rem 0.55rem;
    border-radius: 5px; transition: color 0.15s, background 0.15s;
}

.footer-legal a:hover { color: var(--text-2); background: var(--card-2); }

/* ── COOKIE ──────────────────────── */
.cookie {
    position: fixed; bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    display: none; align-items: center;
    gap: 1.3rem; white-space: nowrap;
    max-width: calc(100vw - 1.5rem);
}

.cookie.show { display: none !important; animation: cookieUp 0.3s ease; }
.cookie p { font-size: 0.83rem; color: var(--text-2); }
.cookie-link { color: var(--pink); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.4rem; flex-shrink: 0; }

.cookie-btns button {
    font-family: 'Inter', sans-serif;
    font-size: 0.81rem; font-weight: 500;
    padding: 0.42rem 0.9rem; border-radius: 6px;
    cursor: pointer; border: 1px solid var(--line-2);
    background: var(--raised); color: var(--text-2);
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.cookie-btns button:hover { background: var(--card-2); color: var(--text); }
.cookie-btns .cookie-agree { background: var(--pink); color: #fff; border-color: var(--pink); }
.cookie-btns .cookie-agree:hover { background: #E11D6A; }

/* ── KEYFRAMES ───────────────────── */
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes menuDrop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes dragIn {
    0%   { opacity: 0; transform: translate(180px, 90px) rotate(6deg) scale(0.9); }
    15%  { opacity: 1; }
    100% { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); }
}

@keyframes cursorDrag {
    0%   { opacity: 0; transform: translate(185px, 88px); }
    10%  { opacity: 1; transform: translate(185px, 88px); }
    95%  { opacity: 1; transform: translate(-2px,-2px); }
    100% { opacity: 0; transform: translate(-2px,-2px); }
}

@keyframes scanLine {
    0%   { top: 0%; }
    100% { top: 100%; }
}

@keyframes wipeReveal {
    0%   { clip-path: inset(0 100% 0 0); filter: brightness(1.5); }
    20%  { filter: brightness(1.05); }
    100% { clip-path: inset(0 0% 0 0); filter: brightness(1); }
}

@keyframes photoShimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(120%); }
}

@keyframes cookieUp {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── TABLET ──────────────────────── */
@media (max-width: 860px) {
    .pricing-grid { grid-template-columns: 1fr; padding-top: 0; }
    .plan-hero { transform: none; }
    .pricing-section { padding-top: 1.5rem; }
}

/* ── MOBILE ──────────────────────── */
@media (max-width: 640px) {
    /* Nav */
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-inner { height: 62px; grid-template-columns: auto 1fr; }
    .nav-inner > .nav-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
    .nav-logo { height: 58px; }
    .nav-links.open { top: 62px; }
    .nav-user-name { display: none; }
    .nav-profile > div { display: none; }
    .nav-profile { gap: 0.35rem; }
    .nav-user { margin-left: 0; margin-right: 0; }

    /* Carousel */
    .ci { width: 56px; height: 56px; border-radius: 8px; }

    /* Hero */
    .hero-actions { gap: 0.6rem; }
    .hero-figure { height: 160px; right: 0; }

    /* Demo */
    .demo-body { min-height: 250px; }
    .demo-dropzone { min-height: 230px; }
    .proc-thumb { width: 115px; height: 145px; }

    /* Steps */
    .steps-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .step-row { grid-template-columns: 36px 1fr; gap: 1rem; }

    /* Discord window */
    .dc-window { height: 340px; }
    .dc-servers { display: none; }
    .dc-channels { width: 108px; }
    .dc-group-label { font-size: 0.58rem; }
    .dc-channel { font-size: 0.71rem; padding: 0.22rem 0.34rem; gap: 0.3rem; }
    .dc-embed { max-width: 100%; }
    .dc-avatar { width: 28px; height: 28px; font-size: 0.7rem; }
    .dc-msg { gap: 0.48rem; }
    .dc-msg-body p { font-size: 0.76rem; }
    .dc-messages { padding: 0.7rem 0.7rem 0.35rem; gap: 0.7rem; }


    /* Footer */
    .footer-inner { flex-direction: column; gap: 0.85rem; text-align: center; }
    .footer-left { flex-direction: column; gap: 0.3rem; }
    .footer-right { align-items: center; }
    .footer-nav { justify-content: center; }
    .footer-legal { justify-content: center; }

    /* Cookie */
    .cookie {
        flex-direction: column; align-items: flex-start;
        gap: 0.6rem; white-space: normal; border-radius: 10px;
    }
    .cookie-btns { width: 100%; }
    .cookie-btns button { flex: 1; }
}

/* ── BLOG SECTION (homepage) ─────────── */
.blog-section {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2rem);
    max-width: 1120px;
    margin: 0 auto;
}

.blog-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.blog-section-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.blog-section-all {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pink);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.blog-section-all:hover { opacity: 0.75; }

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--card-2);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 1.6rem 1.75rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.blog-card:hover {
    border-color: rgba(244, 63, 126, 0.3);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-card-cat {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pink);
}

.blog-card-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-3);
    opacity: 0.5;
    flex-shrink: 0;
}

.blog-card-date,
.blog-card-time {
    font-size: 0.75rem;
    color: var(--text-3);
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.blog-card-desc {
    font-size: 0.86rem;
    line-height: 1.68;
    color: var(--text-2);
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pink);
    margin-top: 0.2rem;
}

@media (max-width: 640px) {
    .blog-section-title { font-size: 1.8rem; }
    .blog-cards { grid-template-columns: 1fr; }
}

/* ── FAQ SECTION ─────────────────────── */
.faq-section {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2rem);
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.faq-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
    flex-wrap: wrap;
}

.faq-section-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--text);
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.3rem) 0;
    font-size: clamp(0.93rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-3);
    transition: transform 0.25s ease;
}

details[open] .faq-chevron { transform: rotate(180deg); }

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.faq-a p {
    padding-bottom: clamp(0.9rem, 2vw, 1.2rem);
    font-size: clamp(0.86rem, 2vw, 0.92rem);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 680px;
}

/* ── PAYMENT MODAL ───────────────────────────────────────────────────────────── */

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pay-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 12, 6, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 500;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.pay-overlay.open {
    display: flex;
}

.pay-modal {
    background: var(--card);
    border-radius: 18px;
    border: 1px solid var(--line-2);
    padding: 1.75rem;
    width: min(440px, calc(100vw - 2rem));
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    animation: slideUp 0.28s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.pay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.pay-header-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}

.pay-close {
    width: 28px;
    height: 28px;
    background: var(--raised);
    border: 1px solid var(--line-2);
    color: var(--text-2);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.pay-close:hover {
    background: var(--card-2);
    color: var(--text);
}

.pay-plans {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
}

.pay-plan {
    flex: 1;
    padding: 0.5rem 0.25rem;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--text-2);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pay-plan span {
    font-size: 0.72rem;
    color: var(--text-3);
}

.pay-plan.active {
    background: var(--brown-deep);
    color: var(--bg);
    border-color: transparent;
}

.pay-plan.active span {
    color: rgba(250, 246, 241, 0.55);
}

.pay-subtitle {
    font-size: 0.75rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.pay-coins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.pay-coin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: var(--raised);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pay-coin img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.pay-coin span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
}

.pay-coin-price {
    font-size: 0.62rem !important;
    font-weight: 500 !important;
    color: var(--text-3) !important;
    letter-spacing: 0.01em;
}

.pay-coin:hover {
    background: var(--card-2);
    border-color: var(--pink);
}

/* ── Email input ─────────────────────────────── */
.pay-email-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid var(--line-2);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.pay-email-input:focus {
    outline: none;
    border-color: var(--pink);
    background: var(--card-2);
}

.pay-email-input::placeholder {
    color: var(--text-3);
}

.pay-email-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-step-hidden {
    display: none;
}

.pay-qr-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    padding: 8px;
}

.pay-qr {
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s;
}

.pay-loading {
    position: absolute;
    inset: 0;
    background: var(--raised);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.pay-loading.hidden {
    display: none;
}

.pay-spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--line-2);
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.pay-amount-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pay-crypto-amount {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.pay-usd-amount {
    font-size: 0.85rem;
    color: var(--text-3);
}

.pay-addr-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--raised);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.75rem;
}

.pay-addr {
    flex: 1;
    font-size: 0.72rem;
    font-family: 'SF Mono', monospace;
    color: var(--text-2);
    word-break: break-all;
    line-height: 1.5;
}

.pay-copy {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.pay-copy:hover {
    color: var(--pink);
}

.pay-back-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pay-back {
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 0.78rem;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 0;
    transition: color 0.15s;
}

.pay-back:hover {
    color: var(--text);
}

.pay-network {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink);
}

.pay-note {
    font-size: 0.72rem;
    color: var(--text-3);
    line-height: 1.6;
    text-align: center;
}

.pay-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.2s;
}

.pay-powered:hover { opacity: 1; }

.pay-powered span {
    font-size: 0.68rem;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

.pay-powered img {
    height: 16px;
    width: auto;
    display: block;
}

.pay-fee-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-2);
    line-height: 1.6;
}
.pay-fee-notice strong {
    color: var(--text-1);
}
.pay-fee-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #f5a623;
}
.pay-status-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}
.pay-status-spin {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    animation: spin 1.2s linear infinite;
}
.pay-new-order {
    background: none;
    border: none;
    color: #e53935;
    text-decoration: none;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}
.pay-new-order:hover { opacity: 0.75; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

.pay-card-wrap {
    margin-top: 1.2rem;
}

.pay-card-divider {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.pay-card-divider::before,
.pay-card-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-2);
}

.pay-card-divider span {
    font-size: 0.68rem;
    color: var(--text-3);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pay-card-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.pay-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 0.75rem;
    border-radius: 9px;
    border: 1px solid var(--line-2);
    background: var(--raised);
    color: var(--text-2);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pay-card-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.pay-card-btn:hover {
    background: var(--card-2);
    border-color: var(--pink);
    color: var(--text);
}

@media (max-width: 480px) {
    .pay-modal { padding: 1.25rem; }
    .pay-coins { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
    .pay-coin { padding: 0.65rem 0.35rem; }
}

/* ── Discord step ───────────────────────────────── */
.pay-discord-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0 0.5rem;
    text-align: center;
}

.pay-discord-logo {
    width: 56px;
    height: 56px;
    background: rgba(88,101,242,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865f2;
    margin-bottom: 0.25rem;
}

.pay-discord-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.pay-discord-msg {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 0.25rem;
}

.pay-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #5865f2;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    transition: opacity 0.15s;
    margin-top: 0.25rem;
}

.pay-discord-btn:hover { opacity: 0.88; }

/* ── Discord user bar ───────────────────────────── */
.pay-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: var(--raised);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.pay-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.pay-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.pay-user-logout {
    font-size: 0.75rem;
    color: var(--text-3);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s;
}

/* ── Timer ───────────────────────────────────────── */
.pay-timer-wrap {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem;
}
.pay-timer-bar {
  flex: 1; height: 3px; background: var(--line-2); border-radius: 99px; overflow: hidden;
}
.pay-timer-fill {
  height: 100%; width: 100%; background: var(--pink); border-radius: 99px;
  transition: width 1s linear, background 1s;
}
.pay-timer-label {
  font-size: 0.72rem; font-weight: 700; color: var(--text-2);
  font-variant-numeric: tabular-nums; min-width: 2.8rem; text-align: right;
}

/* ── Copy amount button ──────────────────────────── */
.pay-copy-amount {
  background: none; border: none; cursor: pointer; padding: 0.1rem 0.3rem;
  color: var(--text-3); display: inline-flex; align-items: center;
  transition: color 0.15s;
}
.pay-copy-amount:hover { color: var(--pink); }

/* ── Success screen ──────────────────────────────── */
.pay-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem; padding: 0 0.5rem 1rem; text-align: center;
}

/* ── Cat scene ── */
.pay-cat-scene {
  position: relative;
  width: 110px; height: 150px;
  margin: 0 auto -0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Coins burst */
.pay-coins-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.pay-coin-fly {
  position: absolute;
  top: 50%; left: 50%;
  font-size: 1.1rem;
  opacity: 0;
  animation: coinFly 0.9s ease-out forwards;
  animation-delay: var(--delay);
}
@keyframes coinFly {
  0%   { transform: translate(-50%,-50%) rotate(0deg) translateY(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) rotate(var(--d)) translateY(-65px); opacity: 0; }
}

/* Cat container */
.pay-cat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
  animation: catBounce 0.6s ease-out forwards;
}
@keyframes catBounce {
  0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(4deg); opacity: 1; }
  80%  { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Cat image */
.pay-cat-img {
  width: 88px;
  height: auto;
  display: block;
  animation: catBob 2.2s 0.8s ease-in-out infinite alternate;
}
@keyframes catBob {
  from { transform: translateY(0px); }
  to   { transform: translateY(-5px); }
}

/* Money bag */
.pay-cat-bag {
  font-size: 1.6rem;
  margin-top: -2px;
  animation: bagSwing 1.2s 0.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
@keyframes bagSwing {
  from { transform: rotate(-12deg) translateX(-2px); }
  to   { transform: rotate(12deg) translateX(2px); }
}

/* Error — image wrap with X overlay */
.pay-cat-img-wrap {
  position: relative;
  display: inline-block;
}
.pay-cat-x-eyes {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  pointer-events: none;
}
.pay-cat-x {
  font-size: 1.15rem;
  font-weight: 900;
  color: #e53935;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 8px rgba(255,255,255,0.6);
  line-height: 1;
}
.pay-success-error { padding-top: 0; }
.pay-cat-scene-error { height: 120px; margin-bottom: -0.2rem; }
.pay-cat-error {
  animation: catBounce 0.6s ease-out forwards;
}
.pay-cat-error .pay-cat-img {
  animation: catShake 1.4s 0.7s ease-in-out infinite;
}
@keyframes catShake {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20%       { transform: rotate(-6deg) translateY(-2px); }
  50%       { transform: rotate(6deg) translateY(-2px); }
  80%       { transform: rotate(-4deg) translateY(0); }
}

.pay-success-link {
  color: var(--pink);
  text-decoration: underline;
  font-weight: 600;
}
.pay-success-link:hover { opacity: 0.75; }
.pay-success-title {
  font-size: 1.1rem; font-weight: 700; color: var(--text); margin-top: -0.15rem;
}
.pay-success-sub {
  font-size: 0.82rem; color: var(--text-2); max-width: 260px; line-height: 1.5; margin-top: -0.1rem;
}
.pay-success-txwrap {
  width: 100%; background: var(--raised); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 0.6rem 0.8rem; text-align: left;
}
.pay-success-txlabel {
  font-size: 0.62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-3); display: block; margin-bottom: 0.3rem;
}
.pay-success-txrow {
  display: flex; align-items: center; gap: 0.5rem;
}
.pay-success-txid {
  font-size: 0.7rem; color: var(--text-2); word-break: break-all; flex: 1;
  font-family: monospace;
}
.pay-success-close {
  margin-top: 0.25rem; background: var(--pink); color: #fff; border: none;
  border-radius: 7px; padding: 0.65rem 2rem; font-size: 0.86rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s; width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pay-success-close:hover { background: #E11D6A; }

.pay-user-logout:hover { color: var(--text-2); }

/* ── Toast ─────────────────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(1rem);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0.55rem 1.1rem; font-size: 0.82rem; color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18); pointer-events: none;
  opacity: 0; transition: opacity 0.18s, transform 0.18s; z-index: 9999;
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
#toast.toast-show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
#toast svg { flex-shrink: 0; color: var(--pink); }
