/* ==========================================================================
   LntshaR — main stylesheet
   ========================================================================== */

:root {
    --brand: #1A97A0;
    --brand-dark: #0d6d77;
    --brand-deep: #064b55;
    --brand-soft: #e6f6f7;
    --ink: #0f1b23;
    --body: #33454f;
    --muted: #6b7c86;
    --line: #e3eaee;
    --bg: #f5f8fa;
    --card: #ffffff;
    --success: #12805c;
    --success-soft: #e5f7ef;
    --warn: #a76500;
    --warn-soft: #fff4df;
    --danger: #b42318;
    --danger-soft: #fdeceb;
    --info: #0b6f9c;
    --info-soft: #e6f3fb;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 40px -24px rgba(9, 47, 58, .35);
    --shadow-lg: 0 40px 80px -40px rgba(6, 45, 55, .45);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
hr, .hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(26, 151, 160, .45); outline-offset: 2px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.center-actions { justify-content: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.block { display: block; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .9em; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 22px; }
.mt-4 { margin-top: 40px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- buttons */

.btn {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    --btn-border: var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 650;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    text-align: center;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
    --btn-bg: linear-gradient(135deg, #1A97A0, #0b7681);
    --btn-fg: #fff;
    --btn-border: transparent;
    box-shadow: 0 12px 24px -14px rgba(13, 109, 119, .9);
}
.btn-primary:hover { box-shadow: 0 18px 30px -16px rgba(13, 109, 119, .95); }

.btn-success {
    --btn-bg: linear-gradient(135deg, #16a34a, #0f7d3d);
    --btn-fg: #fff;
    --btn-border: transparent;
}

.btn-outline { --btn-bg: #fff; --btn-fg: var(--brand-dark); --btn-border: #bfe0e3; }
.btn-outline:hover { --btn-bg: var(--brand-soft); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--body); --btn-border: transparent; }
.btn-ghost:hover { --btn-bg: #eef4f6; }

.btn-light { --btn-bg: #fff; --btn-fg: var(--brand-deep); --btn-border: transparent; box-shadow: var(--shadow); }

.btn-danger-ghost { --btn-bg: transparent; --btn-fg: var(--danger); --btn-border: #f3cdc9; }
.btn-danger-ghost:hover { --btn-bg: var(--danger-soft); }

.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- badges */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    background: #eef2f4;
    color: #4d6069;
    white-space: nowrap;
}
.badge-success, .badge-active, .badge-approved, .badge-paid { background: var(--success-soft); color: var(--success); }
.badge-warn, .badge-pending, .badge-paused { background: var(--warn-soft); color: var(--warn); }
.badge-danger, .badge-rejected, .badge-suspended, .badge-cancelled { background: var(--danger-soft); color: var(--danger); }
.badge-info, .badge-completed { background: var(--info-soft); color: var(--info); }
.badge-default, .badge-deleted { background: #eef2f4; color: #5b6b74; }
.badge-soft { background: rgba(26, 151, 160, .12); color: var(--brand-dark); }

/* ---------------------------------------------------------------- topbar */

.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(227, 234, 238, .8);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(140deg, #1A97A0, #0b6470);
    color: #fff;
    font-size: .8rem;
    letter-spacing: .02em;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.brand-text { font-size: 1.12rem; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.nav-link { padding: 8px 12px; border-radius: 10px; color: #42545e; font-weight: 600; font-size: .92rem; }
.nav-link:hover { background: #eff5f6; color: var(--ink); }
.nav-link.is-active { color: var(--brand-dark); background: var(--brand-soft); }

.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.inline-form { display: inline-flex; margin: 0; }

.credit-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: .85rem;
    border: 1px solid #c9e8ea;
}
.credit-pill strong { font-size: .95rem; }
.credit-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(26, 151, 160, .18); }

.avatar {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(140deg, #103f47, #1A97A0);
    color: #fff; font-weight: 700;
}
.avatar-sm { width: 30px; height: 30px; font-size: .8rem; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------------------------------------------------------- alerts */

.flash-wrap { padding-top: 18px; }
.alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    margin-bottom: 12px;
    font-size: .93rem;
}
.alert a { font-weight: 700; }
.alert-success { background: var(--success-soft); border-color: #c4ead9; color: #0d664a; }
.alert-error { background: var(--danger-soft); border-color: #f4cdc9; color: #8f1d13; }
.alert-info { background: var(--info-soft); border-color: #c6e4f4; color: #0a5a7e; }
.alert-warn { background: var(--warn-soft); border-color: #f2ddb6; color: #7c4c00; }
.alert-close { margin-inline-start: auto; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; color: inherit; cursor: pointer; opacity: .6; }
.alert-close:hover { opacity: 1; }

/* ---------------------------------------------------------------- hero */

.hero {
    position: relative;
    overflow: hidden;
    color: #eaf7f8;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(38, 190, 199, .38), transparent 60%),
        radial-gradient(700px 500px at 0% 110%, rgba(12, 120, 132, .5), transparent 65%),
        linear-gradient(150deg, #04222a 0%, #083b45 45%, #0a5a66 100%);
    padding: 72px 0 0;
}
.hero-glow {
    position: absolute; inset: auto -10% -40% 40%;
    height: 420px;
    background: radial-gradient(closest-side, rgba(45, 212, 191, .3), transparent);
    filter: blur(30px);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.hero-copy h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.05; margin-bottom: .35em; }
.hero-copy .lead { color: rgba(228, 246, 248, .82); font-size: 1.07rem; max-width: 34em; }
.grad { background: linear-gradient(100deg, #6ee7e0, #a5f3ec 55%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: var(--brand-dark); margin: 0 0 12px; }
.hero .eyebrow { color: #7fe3e2; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero .btn-outline { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #eaf7f8; --btn-border: rgba(255, 255, 255, .28); }
.hero .btn-outline:hover { --btn-bg: rgba(255, 255, 255, .14); }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.hero-stats span { font-size: .8rem; color: rgba(226, 244, 246, .72); text-transform: uppercase; letter-spacing: .08em; }

.hero-panel { position: relative; }
.hero-card {
    background: rgba(255, 255, 255, .97);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    transform: rotate(-1.2deg);
}
.hero-card-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: .92rem; }
.hero-card-head .badge { margin-inline-start: auto; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .16); }
.mini-task { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #f0f4f6; }
.mini-icon { width: 40px; height: 40px; border-radius: 12px; background: #f1f6f7; display: grid; place-items: center; font-size: 1.1rem; }
.mini-body { display: flex; flex-direction: column; line-height: 1.25; }
.mini-body strong { font-size: .9rem; }
.mini-body small { color: var(--muted); font-size: .78rem; }
.reward-pill { margin-inline-start: auto; background: var(--success-soft); color: var(--success); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: .82rem; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.credit-amount { font-size: 1.35rem; color: var(--brand-deep); }
.credit-amount span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: .82rem;
    box-shadow: var(--shadow);
    color: var(--ink);
    font-weight: 600;
}
.float-a { right: -18px; top: 22%; animation: float 6s ease-in-out infinite; }
.float-a strong { color: var(--success); }
.float-b { left: -26px; bottom: 12%; animation: float 7s ease-in-out infinite reverse; color: var(--brand-dark); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.ticker { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(2, 24, 30, .5); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; color: rgba(226, 244, 246, .8); font-size: .85rem; white-space: nowrap; }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */

.section { padding: 84px 0; }
.section-tight { padding: 44px 0 64px; }
.section-tint { background: #fff; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 42em; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; }
.display { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 1px 2px rgba(15, 42, 51, .04);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-head h2, .card-head h3 { margin: 0; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }

.link-arrow { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.tiny-link { display: inline-block; font-size: .78rem; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiny-link:hover { color: var(--brand); }

/* ---------------------------------------------------------------- networks */

.network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.network-card {
    display: flex; flex-direction: column; gap: 2px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.network-card:hover { border-color: #9fd7db; transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.network-card small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.network-emoji { font-size: 1.3rem; line-height: 1; }
.network-emoji.lg { font-size: 1.7rem; }
.network-emoji.xl { font-size: 2.4rem; }

/* ---------------------------------------------------------------- split / models */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-form { grid-template-columns: 1.3fr .7fr; align-items: start; }
.model-card h3 { display: flex; align-items: center; gap: 10px; }
.model-card.good { border-top: 4px solid #2bb673; }
.model-card.bad { border-top: 4px solid #e35d4f; }
.cross { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; color: #fff; background: #e35d4f; }
.tick-list, .cross-list { list-style: none; display: grid; gap: 10px; }
.tick-list li, .cross-list li { position: relative; padding-inline-start: 26px; color: var(--body); }
.tick-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #14a06a; font-weight: 800; }
.cross-list li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #d24b3d; font-weight: 800; }

/* ---------------------------------------------------------------- features */

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); font-size: 1.3rem; margin-bottom: 14px; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------------------------------------------------------------- ads */

.ads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ad-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); display: block; }
.ad-card:hover { color: var(--ink); border-color: #9fd7db; }
.ad-card img { width: 100%; height: 150px; object-fit: cover; }
.ad-label { position: absolute; top: 10px; left: 10px; background: rgba(6, 30, 36, .7); color: #fff; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.ad-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ad-body small { color: var(--muted); }
.ad-pixel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- plans */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(15, 42, 51, .04);
}
.plan.is-popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-6px); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #1A97A0, #0b7681); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-size: 2.1rem; color: var(--ink); letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-size: .85rem; }
.plan-credits { margin: 0; font-weight: 700; color: var(--brand-dark); }
.plan-credits .bonus { background: var(--success-soft); color: var(--success); font-size: .75rem; padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; }
.plan-list { list-style: none; display: grid; gap: 8px; margin: 8px 0 16px; }
.plan-list li { position: relative; padding-inline-start: 22px; font-size: .9rem; color: var(--body); }
.plan-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------------------------------------------------------------- quotes / faq */

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quote { margin: 0; }
.quote blockquote { margin: 12px 0 16px; color: var(--ink); font-size: .97rem; }
.quote figcaption { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.quote figcaption small { color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: .9rem; }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* ---------------------------------------------------------------- cta */

.cta-band { background: linear-gradient(120deg, #0a5a66, #1A97A0 60%, #25b3a4); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .2em; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: #041b21; color: #a9c3c8; padding: 64px 0 20px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 16px; font-size: .9rem; color: #8aa8ae; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: #e6f4f5; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: #a9c3c8; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-networks { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.lang-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lang-chip { font-size: .76rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #cfe4e7; }
.lang-chip:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.lang-chip.is-active { background: rgba(26, 151, 160, .28); border-color: rgba(90, 220, 225, .5); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 20px; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- forms */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > label { font-weight: 650; font-size: .88rem; color: var(--ink); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="search"], select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5e0e5;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .94rem;
    transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 151, 160, .12); }
input[disabled] { background: #f4f7f8; color: var(--muted); }
.help { color: var(--muted); font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sticky-actions { position: sticky; bottom: 12px; background: rgba(245, 248, 250, .92); backdrop-filter: blur(8px); padding: 12px; border-radius: 14px; }
.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    height: auto;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--body);
    cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--brand);
    cursor: pointer;
}
.check span { flex: 1 1 auto; min-width: 0; }
.check a { color: var(--brand-dark); text-decoration: underline; }
.radio-list { display: grid; gap: 8px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid #d5e0e5; border-radius: 12px; cursor: pointer; font-size: .92rem; }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio input { accent-color: var(--brand); }

/* ---------------------------------------------------------------- auth */

.auth-page { padding: 64px 0 90px; background: radial-gradient(900px 500px at 90% 0, #e7f6f7, transparent 60%), var(--bg); }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.auth-copy h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.auth-copy .lead { max-width: 34em; }
.auth-copy .tick-list { margin-top: 24px; }
.auth-copy .tick-list li { color: var(--body); }
.auth-card { padding: 32px; }
.auth-card h2 { margin-top: 0; }
.auth-alt { text-align: center; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.mini-proof { display: flex; align-items: center; gap: 10px; margin-top: 26px; }

/* ------------------------------------------------------------- social auth */

.social-login { margin-top: 22px; }
.social-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 14px; color: var(--muted);
    font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.social-divider::before, .social-divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.social-buttons { display: grid; gap: 10px; }
.social-btn { justify-content: center; gap: 10px; font-weight: 600; }
.social-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.social-btn:hover { background: #fff; border-color: var(--brand); color: var(--brand-dark); }
.social-google:hover { border-color: #4285F4; }
.social-facebook:hover { border-color: #1877F2; }
.social-note { margin: 12px 0 0; font-size: .76rem; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- dashboard */

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.balance-chip { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--brand-dark); box-shadow: 0 1px 2px rgba(15, 42, 51, .04); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: grid; gap: 2px; }
.stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat-value { font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.stat-foot { font-size: .78rem; color: var(--muted); }
.stat-link { font-size: .8rem; font-weight: 700; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; }

.task-list { list-style: none; display: grid; }
.task-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef3f5; }
.task-row:last-child { border-bottom: 0; padding-bottom: 0; }
.task-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.task-main strong { font-size: .93rem; color: var(--ink); }
.task-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-row .btn { margin-inline-start: 4px; }

.progress { height: 7px; background: #edf2f4; border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #1A97A0, #2fc0b3); border-radius: 999px; }

.referral-card { background: linear-gradient(150deg, #f0fafb, #ffffff); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-size: .82rem; }

.ledger { list-style: none; display: grid; }
.ledger li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #eef3f5; }
.ledger li:last-child { border-bottom: 0; }
.ledger strong { font-size: .88rem; font-weight: 650; color: var(--ink); display: block; }
.amount { font-weight: 800; white-space: nowrap; }
.plus, .amount.plus { color: var(--success); }
.minus, .amount.minus { color: var(--danger); }

.quick-links { display: grid; gap: 4px; }
.quick-links a { padding: 7px 0; font-size: .9rem; font-weight: 600; border-bottom: 1px solid #eef3f5; }
.quick-links a:last-child { border-bottom: 0; }

.empty { text-align: center; padding: 36px 20px; }
.empty p { margin: 0 0 16px; color: var(--muted); }
.empty h3 { margin-bottom: .4em; }

/* ---------------------------------------------------------------- tables */

.table-card { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: start; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #f7fafb; padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 15px 18px; border-bottom: 1px solid #eef3f5; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td, .table.compact th { padding: 10px 12px; }
.table .right { text-align: right; }
.table a { font-weight: 600; }
.table strong { color: var(--ink); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }

.pager { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 26px 0 0; }
.pager-info { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------- exchange */

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--body); }
.chip:hover { border-color: #a9d9dd; color: var(--brand-dark); }
.chip.is-active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.task-card { display: flex; flex-direction: column; gap: 8px; }
.task-card h3 { margin: 0; font-size: 1rem; }
.task-card p { margin: 0; }
.task-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.task-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.task-card .btn { margin-top: auto; }

.back-link { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.back-link:hover { color: var(--brand); }

.task-detail { padding: 30px; }
.task-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.task-detail-id { display: flex; gap: 16px; align-items: flex-start; }
.task-detail-id h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.task-detail-id .eyebrow { margin-bottom: 4px; }
.task-reward { text-align: center; background: var(--brand-soft); border-radius: 14px; padding: 12px 18px; min-width: 110px; }
.task-reward span, .task-reward small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark); }
.task-reward strong { font-size: 1.7rem; color: var(--brand-deep); line-height: 1.1; }

.steps { margin: 22px 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--body); }
.steps li::marker { color: var(--brand); font-weight: 700; }

.task-target { background: #f6fafb; border: 1px dashed #b8dde0; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; display: grid; gap: 4px; }
.lock-note { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.target-url { font-size: .9rem; word-break: break-all; }

.timer { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 10px; color: var(--muted); font-size: .9rem; }
.timer-ring { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #d9e6e9; border-top-color: var(--brand); animation: spin 1s linear infinite; }
.timer.is-done .timer-ring { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.task-confirm { margin-top: 8px; }

.notice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; }
.notice strong { color: var(--ink); }
.notice .link-arrow { margin-inline-start: auto; }

.balance-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, #073b45, #0d7683 70%, #1A97A0); color: #fff; border-radius: 22px; padding: 32px; }
.balance-banner .eyebrow { color: #8fe7e4; }
.balance-banner .muted { color: rgba(230, 248, 249, .75); }
.balance-value { display: block; font-size: 2.6rem; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.balance-value span { font-size: .95rem; font-weight: 600; color: rgba(230, 248, 249, .8); }

.checkout-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: start; }
.order-summary { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef3f5; font-size: .9rem; }
.summary-total { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 8px; font-size: 1.1rem; }
.summary-total strong { color: var(--ink); }
.instruction-box { background: #f6fafb; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .88rem; white-space: pre-wrap; }

.details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .88rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; color: var(--ink); text-align: end; }

/* ---------------------------------------------------------------- prose */

.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.prose { margin-top: 24px; font-size: 1rem; color: var(--body); }
.prose h2 { margin-top: 1.4em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-inline-start: 20px; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------------------------------------------------------------- admin */

.admin-body { background: #f2f6f8; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: linear-gradient(180deg, #04222a, #072f38); color: #b9d2d6; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-nav { display: grid; gap: 2px; }
.admin-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #b9d2d6; font-size: .89rem; font-weight: 600; border: 0; background: transparent; width: 100%; text-align: start; cursor: pointer; }
.admin-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-link.is-active { background: rgba(26, 151, 160, .28); color: #fff; }
.admin-icon { width: 20px; text-align: center; opacity: .85; }
.admin-side-foot { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.admin-side-foot form { margin: 0; }
.as-button { font-family: inherit; }

.admin-main { min-width: 0; padding: 26px 30px 60px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-topbar h1 { margin: 0; font-size: 1.5rem; }
.admin-topbar .eyebrow { margin-bottom: 2px; }
.admin-content { display: grid; gap: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.admin-stats .stat-card { padding: 16px 18px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.admin-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-span { grid-column: 1 / -1; }
.admin-content > .card, .admin-content > form > .card { padding: 22px; }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.toolbar input[type="search"] { max-width: 300px; }
.toolbar select { max-width: 190px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { padding: 9px 14px; font-size: .87rem; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--brand-dark); }
.tab.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); }

.message header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.message.unread { border-left: 4px solid var(--brand); }
.message p { margin: 0 0 8px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-panel { max-width: 480px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; order: 2; margin-inline-start: auto; }
    .nav {
        position: absolute; inset-inline: 0; top: 72px;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; padding: 12px 20px 18px;
        display: none; gap: 2px;
        box-shadow: 0 24px 40px -30px rgba(9, 47, 58, .4);
    }
    .nav.is-open { display: flex; }
    .nav-actions { margin-inline-start: 0; order: 3; display: none; }
    .nav-actions.is-open { display: flex; }
    .topbar-inner { position: relative; gap: 10px; }
    .nav-link { padding: 10px 8px; }

    .auth-grid { grid-template-columns: 1fr; gap: 30px; }
    .auth-copy { order: 2; }
    .dash-grid, .checkout-grid, .split, .split-form { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
    .admin-side .brand { margin-inline-end: 6px; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 2px; }
    .admin-link { width: auto; padding: 7px 10px; }
    .admin-link .admin-icon { display: none; }
    .admin-side-foot { margin: 0 0 0 auto; border: 0; padding: 0; display: flex; }
    .admin-main { padding: 18px 16px 50px; }
}

@media (max-width: 700px) {
    .section { padding: 60px 0; }
    .section-tight { padding: 30px 0 48px; }
    .form-grid, .form-grid.three { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; }
    .hero-card { transform: none; }
    .float-card { display: none; }
    .plans { grid-template-columns: 1fr; }
    .plan.is-popular { transform: none; }
    .admin-grid, .admin-grid.two { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .task-detail { padding: 20px; }
    .task-detail-head { flex-direction: column; }
    .task-reward { width: 100%; }
    .columns-2 { grid-template-columns: 1fr; }
    .split-form { gap: 16px; }
    .balance-banner { padding: 24px; }
    .table th, .table td { padding: 12px; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Homepage clone sections (nav locale, promo, dark networks, dashboard mock)
   ========================================================================== */

.nav-locale {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 10px;
    background: #f1f5f6;
}
.locale-chip {
    padding: 4px 7px;
    border-radius: 7px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--muted);
}
.locale-chip:hover { color: var(--brand-dark); background: #fff; }
.locale-chip.is-active { color: var(--brand-dark); background: #fff; box-shadow: 0 1px 3px rgba(9, 47, 58, .12); }
.hide-sm { display: inline-flex; }

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: #34d399;
    vertical-align: middle;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
  }
  .hero-stats strong .online-dot { width: 8px; height: 8px; }

.promo-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px 28px;
    margin-bottom: 22px;
    border-radius: var(--radius);
    border: 1px dashed #c9e8ea;
    background: linear-gradient(120deg, #f1fbfb, #ffffff 60%, #f7fdfd);
}
.promo-card > div { flex: 1; min-width: 0; }
.promo-card h3 { margin-bottom: 4px; }
.promo-card p { margin: 0 0 4px; color: var(--muted); font-size: .92rem; }
.promo-icon {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 1.5rem;
}

.section-dark {
    background:
        radial-gradient(700px 380px at 50% -10%, rgba(26, 151, 160, .35), transparent 65%),
        #08242b;
    color: #d8eef0;
    border-block: 0;
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #6ee7e0; }
.section-dark .muted { color: rgba(216, 238, 240, .66); }
.section-dark .network-card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
    backdrop-filter: blur(4px);
}
.section-dark .network-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(110, 231, 224, .45); color: #fff; }
.section-dark .network-card small { color: rgba(216, 238, 240, .6); }
.section-dark .network-emoji { background: rgba(255, 255, 255, .08); }

.narrow-head { max-width: 720px; margin-inline: auto; }
.feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid-3 .feature { padding: 30px; }
.feature-grid-3 .feature-icon { width: 56px; height: 56px; border-radius: 50%; font-size: 1.4rem; margin-bottom: 18px; }
.bg-blue { background: #e3effd; }
.bg-green { background: #e3f7ec; }
.bg-purple { background: #f0e8fd; }

.trust-split { align-items: center; gap: 48px; }
.trust-split .tick-list { margin: 18px 0 24px; }
.trust-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 26px;
    border-radius: 26px;
    background:
        radial-gradient(360px 220px at 50% 0, rgba(26, 151, 160, .16), transparent 70%),
        #fff;
    border: 1px solid #d9ecee;
    box-shadow: var(--shadow);
}
.trust-node { text-align: center; }
.trust-node strong { display: block; margin-top: 8px; color: var(--ink); font-size: .92rem; }
.trust-node small { color: var(--muted); font-size: .78rem; }
.avatar-lg { width: 62px; height: 62px; margin-inline: auto; font-size: 1.2rem; }
.avatar-lg.alt { background: linear-gradient(140deg, #0a5a66, #25b3a4); }
.trust-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--brand-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; min-width: 90px; }
.trust-arrow-line { position: relative; width: 100%; height: 2px; background: linear-gradient(90deg, #9fd7db, var(--brand), #9fd7db); border-radius: 2px; }
.trust-arrow-line::after { content: ""; position: absolute; inset-inline-end: -2px; top: -4px; border: 5px solid transparent; border-inline-start-color: var(--brand); }
.trust-chip {
    position: absolute;
    top: 14px;
    inset-inline-end: 16px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---------------------------------------------------------------- gifts */
.admin-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gift-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.gift-art {
    display: grid;
    place-items: center;
    height: 124px;
    font-size: 2.8rem;
    background:
        radial-gradient(220px 120px at 30% 0, rgba(255, 255, 255, .7), transparent 70%),
        linear-gradient(135deg, #e8f8f7, #c9ecee);
    border-bottom: 1px solid var(--line);
}
.gift-art img { width: 100%; height: 100%; object-fit: cover; }
.gift-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.gift-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gift-top h3 { margin: 0; font-size: 1.05rem; }
.gift-credits {
    flex: none;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e7f8ef;
    color: #157a4b;
    font-weight: 800;
    font-size: .82rem;
    white-space: nowrap;
}
.gift-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.gift-card.is-claimed { opacity: .72; }
.gift-card .btn-block { margin-top: auto; }
@media (max-width: 1100px) {
    .admin-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .admin-grid.four { grid-template-columns: 1fr; }
}

.dash-mock {
    border-radius: 22px;
    border: 1px solid #d9e6ea;
    background: linear-gradient(160deg, #ffffff, #f3fafb);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    overflow: hidden;
}
.dash-mock-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dash-mock-head strong { color: var(--ink); font-size: .92rem; }
.dash-mock-head .badge { margin-inline-start: auto; }
.dash-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
.dash-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.dash-mock-stats div { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.dash-mock-stats small { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.dash-mock-stats strong { color: var(--ink); font-size: 1.15rem; }
.dash-mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.dash-mock-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #35bcc4, #0d6d77); opacity: .85; }
.dash-mock-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px 0; font-size: .82rem; color: var(--muted); }
.dash-mock-row strong { color: var(--success); }

.footer-mail { margin: -4px 0 12px; font-size: .86rem; }
.footer-mail a { color: #9fe6e7; }

@media (max-width: 900px) {
    .nav-locale { display: none; }
    .feature-grid-3 { grid-template-columns: 1fr; }
    .trust-split { grid-template-columns: 1fr; }
    .promo-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
    .hide-sm { display: none; }
    .dash-mock-stats { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Earn queue (KingdomLikes-style 8 slots)
   ========================================================================== */

.earn-banner-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.earn-streak { display: flex; align-items: center; gap: 10px; }
.earn-streak strong { display: block; color: #fff; font-size: 1.05rem; }
.earn-streak .muted { color: rgba(230, 248, 249, .75); }
.earn-streak-flame { font-size: 1.7rem; line-height: 1; }

.earn-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 22px 0 14px; }
.earn-meters { display: flex; gap: 8px; flex-wrap: wrap; }
.earn-meter { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.earn-meter strong { color: var(--ink); }
.earn-meter.is-full { border-color: #f3c7a8; background: #fff7f0; color: #a65b16; }
.earn-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.earn-toolbar-actions select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .84rem; }
.earn-filters { margin-bottom: 18px; }
.earn-filters .chip { cursor: pointer; font-family: inherit; }

.earn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.earn-slot { display: flex; flex-direction: column; gap: 7px; min-height: 196px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(9, 47, 58, .04); transition: border-color .15s ease, box-shadow .15s ease; }
.earn-slot.is-open { border-color: #9fd7db; box-shadow: 0 10px 26px -22px rgba(9, 47, 58, .5); }
.earn-slot.is-credited { border-color: #a7e0bd; background: #f5fdf8; }
.earn-slot.is-boosted { box-shadow: inset 0 3px 0 #f0b429; }
.earn-slot.is-empty { align-items: center; justify-content: center; border-style: dashed; background: #f8fbfc; box-shadow: none; }
.earn-slot-empty { color: #b7c6cb; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.earn-slot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.earn-badges { display: inline-flex; gap: 4px; }
.earn-slot-title { margin: 0; font-size: .96rem; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.earn-slot-meta { margin: 0; font-size: .76rem; color: var(--muted); }
.earn-slot-stats { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.earn-reward { font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); }
.earn-reward small { font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.earn-time { font-size: .76rem; font-weight: 700; color: var(--muted); }
.earn-slot-progress .progress { margin-bottom: 0; }
.earn-slot-status { margin: 0; font-size: .76rem; color: var(--muted); min-height: 1.2em; }
.earn-slot-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.earn-slot-actions .btn { flex: 1; min-width: 90px; }

@media (max-width: 700px) {
    .earn-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .earn-banner-actions { width: 100%; }
    .earn-banner-actions .btn { width: 100%; }
}

/* VIP membership */
.vip-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 22px; margin-bottom: 24px; }
.vip-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vip-plan { position: relative; text-align: center; padding: 30px 22px; }
.vip-plan.is-best { border-color: var(--brand); box-shadow: 0 18px 40px rgba(26, 151, 160, .16); }
.vip-badge { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.vip-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 12px 0 6px; }
.vip-price strong { font-size: 2rem; color: var(--brand-deep); }
.vip-price span { color: var(--muted); font-size: .85rem; }

/* Leaderboard */
.leaderboard-you { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; background: var(--brand-soft); border-color: #bfe0e3; }
.leaderboard-you strong { font-size: 1.4rem; color: var(--brand-deep); }
.leaderboard-pos { font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.leaderboard-user { display: inline-flex; align-items: center; gap: 8px; }
.leaderboard-table tr.is-me { background: var(--brand-soft); }
.badge-vip { background: #f7dc7a; color: #5a4300; }
@media (max-width: 900px) {
    .vip-grid, .vip-plans { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
 |  Auto-hits surf exchange
 * ---------------------------------------------------------------------- */
.surf-head-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.surf-stat { display: flex; flex-direction: column; }
.surf-stat strong { font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); }
.surf-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }

.surf-daily { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; margin-bottom: 22px; flex-wrap: wrap; }
.surf-daily-copy { display: flex; flex-direction: column; gap: 2px; }
.surf-daily-copy strong { font-size: 1.05rem; }

.surf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.surf-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.surf-card-top { display: flex; align-items: center; gap: 12px; }
.surf-card-title { min-width: 0; flex: 1; }
.surf-card-title h3 { margin: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.surf-card-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.surf-favicon {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, #1A97A0, #2fc0b3); color: #fff; font-weight: 800; font-size: 1.05rem;
    flex: 0 0 auto;
}
.surf-reward { font-weight: 800; color: var(--brand-dark); background: #e8f8f7; border-radius: 999px; padding: 4px 10px; font-size: .85rem; }
.surf-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.surf-card .btn { margin-top: auto; }

.surf-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.surf-form { padding: 24px; display: grid; gap: 16px; }
.surf-side { padding: 24px; }
.surf-steps { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 12px; }
.surf-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.surf-steps li span {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: #e8f8f7; color: var(--brand-dark); font-weight: 800; font-size: .8rem; flex: 0 0 auto;
}
.surf-cost { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: #f4fbfa; border: 1px dashed var(--brand); }
.surf-cost strong { font-size: 1.35rem; color: var(--brand-dark); }

.surf-view-section { padding-top: 26px; }
.surf-view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.surf-view-head h1 { margin: 0; font-size: 1.7rem; }
.surf-view-timer { text-align: right; }
.surf-view-timer strong { display: block; font-size: 2.2rem; line-height: 1; color: var(--brand-dark); letter-spacing: -.03em; }
.surf-view-timer span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.surf-progress { margin: 16px 0 18px; height: 9px; }
.surf-frame-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.surf-frame { width: 100%; height: 62vh; min-height: 380px; border: 0; display: block; background: #f7fafb; }
.surf-frame-note { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.surf-mobile-card { display: none; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 16px; }
.surf-mobile-card > div { display: grid; gap: 4px; }
.surf-mobile-icon { font-size: 2rem; line-height: 1; }
.surf-view-section.is-mobile .surf-mobile-card { display: grid; }
.surf-view-section.is-mobile:not(.show-frame) .surf-frame-wrap { display: none; }
.surf-view-section.is-mobile.show-frame .surf-mobile-card { display: grid; }
.surf-view-section.is-mobile.show-frame .surf-frame { height: 68vh; min-height: 320px; }
.surf-check { margin-top: 20px; padding: 24px; }
.surf-check.is-ready { border-color: var(--brand); box-shadow: 0 18px 40px -24px rgba(26,151,160,.5); }
.surf-check h3 { margin: 0 0 4px; }
.surf-question { font-size: 1.9rem; font-weight: 800; letter-spacing: .04em; margin: 14px 0; color: var(--ink); }
.surf-check-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.surf-check-row input { max-width: 180px; font-size: 1.1rem; }

@media (max-width: 900px) {
    .surf-layout { grid-template-columns: 1fr; }
    .surf-frame { height: 55vh; }
}

/* -------------------------------------------------------------------------
 |  Homepage: crypto bar, news ticker, gift drops and ad slots
 * ---------------------------------------------------------------------- */
.crypto-bar { background: #04222a; color: #d9f5f6; border-bottom: 1px solid rgba(127, 227, 226, .18); }
.crypto-bar-inner { display: flex; align-items: center; gap: 18px; padding: 9px 0; overflow: hidden; }
.crypto-label {
    display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #7fe3e2;
}
.crypto-track { display: flex; gap: 30px; width: max-content; animation: ticker 42s linear infinite; }
.crypto-bar:hover .crypto-track { animation-play-state: paused; }
.crypto-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .82rem; }
.crypto-item strong { color: #fff; letter-spacing: .04em; }
.crypto-price { color: rgba(217, 245, 246, .82); }
.crypto-change { font-weight: 700; font-size: .76rem; }
.crypto-change.up { color: #34d399; }
.crypto-change.down { color: #f87171; }
.crypto-link { margin-inline-start: auto; flex: 0 0 auto; color: #7fe3e2; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.crypto-link:hover { color: #fff; }

.news-bar { background: #eefafa; border-bottom: 1px solid var(--line); }
.news-bar-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; overflow: hidden; }
.news-label { flex: 0 0 auto; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-dark); }
.news-track { display: flex; gap: 28px; width: max-content; animation: ticker 60s linear infinite; }
.news-bar:hover .news-track { animation-play-state: paused; }
.news-item { white-space: nowrap; font-size: .84rem; color: var(--body); }
.news-item::before { content: "•"; color: var(--brand); margin-inline-end: 10px; }

.hero-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(2, 24, 30, .35)); animation: float 9s ease-in-out infinite; }
.hero-panel { display: flex; align-items: center; justify-content: center; min-height: 340px; }
.hero-live-pill {
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--brand-dark); font-size: .74rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 12px 30px -16px rgba(2, 24, 30, .6);
}
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.hero-trust span { font-size: .8rem; color: rgba(226, 244, 246, .78); font-weight: 600; }

.gift-drop-card {
    display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); gap: 26px; align-items: center;
    background: linear-gradient(130deg, #ffffff, #f0fbfa 70%, #e9f8f7);
    border: 1px solid var(--line); border-radius: 26px; padding: 30px 34px;
    box-shadow: 0 30px 70px -50px rgba(4, 34, 42, .55);
}
.gift-drop-art img { width: 100%; max-width: 320px; height: auto; display: block; margin-inline: auto; }
.gift-drop-body h2 { margin-top: 0; }
.gift-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 20px 0 22px; }
.gift-mini {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.gift-mini:hover { border-color: #9fd7db; transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.gift-mini-icon { font-size: 1.5rem; line-height: 1; }
.gift-mini-copy { display: flex; flex-direction: column; min-width: 0; }
.gift-mini-copy strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-mini-copy small { color: var(--muted); font-size: .76rem; }

.gift-live-strip {
    display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.gift-live-label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-dark); }
.gift-live-track { display: flex; gap: 26px; width: max-content; animation: ticker 46s linear infinite; }
.gift-live-strip:hover .gift-live-track { animation-play-state: paused; }
.gift-live-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .82rem; color: var(--body); }
.gift-live-item strong { color: var(--ink); }

.ad-zone { display: grid; gap: 16px; margin: 22px 0; }
.ad-zone-top, .ad-zone-bottom { margin: 0; padding: 14px 0; }
.ad-zone-top { background: #f7fbfb; border-bottom: 1px solid var(--line); }
.ad-zone-bottom { background: #f7fbfb; border-top: 1px solid var(--line); }
.ad-zone-top .container, .ad-zone-bottom .container { display: block; }
.ad-zone-inline { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ad-zone-sidebar { max-width: 340px; }
.ad-zone-floating {
    position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 60; margin: 0;
    width: min(300px, calc(100vw - 36px)); max-height: 55vh; overflow: auto;
    filter: drop-shadow(0 18px 40px rgba(2, 24, 30, .28));
}
.ad-zone-floating .ad-card img { height: 110px; }
.ad-zone-floating .ad-label { position: static; display: inline-block; margin: 8px 0 0 8px; }
.ad-code { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; overflow: hidden; }
.ad-code ins { display: block; }

@media (max-width: 860px) {
    .crypto-link { display: none; }
    .gift-drop-card { grid-template-columns: 1fr; padding: 24px; }
    .gift-drop-art img { max-width: 220px; }
    .gift-live-strip { flex-direction: column; align-items: flex-start; }
    .hero-panel { min-height: 280px; }
    .ad-zone-floating { display: none; }
}

/* -------------------------------------------------------------------------
 |  Scroll reveal, animated counters and the extra homepage sections
 * ---------------------------------------------------------------------- */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

.hero-scroll {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 44px; margin-top: 28px; border: 1px solid rgba(127, 227, 226, .4);
    border-radius: 999px; position: relative;
}
.hero-scroll span { width: 5px; height: 9px; border-radius: 999px; background: #7fe3e2; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot {
    0%, 100% { transform: translateY(-6px); opacity: .35; }
    50%      { transform: translateY(7px); opacity: 1; }
}

.how-steps { background: linear-gradient(180deg, #fff, #f4fcfb); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 34px; }
.step-card {
    position: relative; padding: 28px 24px 24px; border-radius: 22px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 24px 50px -44px rgba(4, 34, 42, .5);
    overflow: hidden;
}
.step-card::after {
    content: ""; position: absolute; inset-inline-end: -40px; inset-block-start: -40px;
    width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 151, 160, .12), transparent 70%);
}
.step-number {
    position: absolute; inset-inline-end: 20px; inset-block-start: 16px;
    font-size: 2.4rem; font-weight: 800; color: rgba(26, 151, 160, .12); letter-spacing: -.04em;
}
.step-icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; font-size: 1.3rem; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.live-activity { background: linear-gradient(120deg, #04222a, #07343d 60%, #0b4650); color: #e9fbfb; }
.live-activity h2 { color: #fff; }
.live-activity .muted { color: rgba(226, 244, 246, .72); }
.live-activity .eyebrow { color: #7fe3e2; }
.activity-split { align-items: center; }
.activity-card {
    border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(127, 227, 226, .22);
    padding: 18px 20px; backdrop-filter: blur(8px);
}
.activity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(127, 227, 226, .18); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #7fe3e2; }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .9rem; color: rgba(233, 251, 251, .9); }
.activity-list li:last-child { border-bottom: 0; }
.activity-pulse { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: pulse-ring 2.2s infinite; }
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .45); }
    70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* -------------------------------------------------------------------------
 |  Feature flags (Admin → Features)
 * ---------------------------------------------------------------------- */
.flag-group { margin-bottom: 26px; }
.flag-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark); }
.flag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.flag-card {
    display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px;
    border: 1px solid var(--line); background: #fff;
}
.flag-card .flag-copy { flex: 1 1 auto; min-width: 0; }
.flag-card strong { display: block; font-size: .95rem; }
.flag-card small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.5; }
.flag-card .badge { margin-top: 8px; }
.flag-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.flag-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.flag-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5d8; transition: background .2s ease; cursor: pointer; }
.flag-switch span::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 2px 6px rgba(2, 24, 30, .25); }
.flag-switch input:checked + span { background: var(--brand); }
.flag-switch input:checked + span::after { transform: translateX(20px); }
[dir="rtl"] .flag-switch input:checked + span::after { transform: translateX(-20px); }
.flag-switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.adsense-builder { background: #f3fbfb; border: 1px dashed #9fd7db; border-radius: 14px; padding: 14px; }
.adsense-builder .form-grid { margin-top: 10px; }

/* -------------------------------------------------------------------------
 |  Setup & downloads, checklists
 * ---------------------------------------------------------------------- */
.download-list { display: grid; gap: 8px; }
.download-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.download-body { min-width: 0; }
.download-body strong { display: block; font-size: .94rem; }
.download-row .btn { flex: 0 0 auto; }
.link-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.link-list li { padding-bottom: 12px; border-bottom: 1px solid #eef3f5; }
.link-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.link-list a { font-weight: 700; }
.checklist { margin: 14px 0 0; padding-inline-start: 20px; display: grid; gap: 9px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.checklist strong { color: var(--ink); }
.quick-links .btn { justify-content: flex-start; }

@media (max-width: 640px) {
    .download-row { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
 |  Campaign platform picker, captcha and small admin inputs
 * ---------------------------------------------------------------------- */
.platform-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.platform-card {
    border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.platform-card.is-selected { border-color: var(--brand); box-shadow: 0 12px 30px -24px rgba(26, 151, 160, .55); }
.platform-head {
    display: flex; align-items: center; gap: 10px; padding: 13px 15px; cursor: pointer;
    font-weight: 700; font-size: .92rem; background: #f7fbfb; border-bottom: 1px solid var(--line);
}
.platform-head input { width: 17px; height: 17px; accent-color: var(--brand); flex: 0 0 auto; }
.platform-icon { font-size: 1.15rem; line-height: 1; }
.platform-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-body { padding: 14px 15px 16px; display: grid; gap: 12px; }
.platform-body .field { margin: 0; }
.platform-body .field label { font-size: .8rem; }

.captcha-field { padding-top: 2px; }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-question {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    border-radius: 10px; background: #eefafa; border: 1px dashed var(--brand);
    font-weight: 800; letter-spacing: .04em; color: var(--brand-dark); white-space: nowrap;
}
.captcha-row input { max-width: 120px; }
.captcha-check { margin-top: 10px; }

.input-sm { width: 100%; max-width: 120px; min-height: 36px; padding: 6px 8px; font-size: .88rem; }

/* -------------------------------------------------------------------------
 |  Social links, country flags and Auto-hits checkpoints
 * ---------------------------------------------------------------------- */
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-link {
    display: inline-grid; place-items: center; width: 36px; height: 36px;
    border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18);
    color: #d8ecef; background: rgba(255, 255, 255, .04);
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.social-link:hover { color: #fff; border-color: rgba(90, 220, 225, .55); background: rgba(26, 151, 160, .28); transform: translateY(-1px); }
.social-link svg { width: 17px; height: 17px; display: block; }
/* -------------------------------------------------------------------------
 |  LntshaR themes, Auto-hits home section and marketing assets
 * ---------------------------------------------------------------------- */

.brand-logo {
    width: 38px; height: 38px; border-radius: 11px;
    object-fit: cover; background: #04222a;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 6px 14px -8px rgba(2,24,30,.7);
}

.theme-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.theme-swatch {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 11px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--card);
    font-size: .74rem; font-weight: 700; color: var(--body);
}
.theme-swatch i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--swatch), var(--swatch-accent)); }
.theme-swatch.is-active { border-color: var(--swatch); box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch) 18%, transparent); }
.brand-preview {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 14px; padding: 14px; border: 1px solid var(--line);
    border-radius: 14px; background: var(--bg);
}
.brand-preview img { width: min(260px, 100%); height: auto; border-radius: 10px; }
.social-preview {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: 12px; background: var(--bg);
}
.social-preview .social-row { margin: 0; }
.marketing-assets { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
.marketing-asset {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    flex-direction: column; padding: 16px; border-radius: 14px;
    border: 1px solid var(--line); background: var(--bg); color: var(--body);
    text-align: center; font-size: .78rem; font-weight: 700;
}
.marketing-asset:hover { border-color: var(--brand); color: var(--brand-dark); }
.marketing-asset img { width: 100%; height: auto; border-radius: 10px; }
.marketing-asset .marketing-icon { width: 120px; height: 120px; }
@media (max-width: 700px) { .marketing-assets { grid-template-columns: 1fr; } }

/* Auto-hits home section */
.auto-hits-section { background: linear-gradient(180deg, var(--bg), #fff 70%); }
.auto-hits-split { align-items: center; gap: 46px; }
.auto-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 26px 0 22px; }
.auto-stat-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.auto-stat-grid strong { display: block; font-size: 1.3rem; color: var(--brand-dark); letter-spacing: -.02em; }
.auto-stat-grid span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.auto-steps { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; }
.auto-steps li { display: flex; align-items: center; gap: 10px; color: var(--body); font-weight: 600; }
.auto-steps li span {
    display: inline-grid; place-items: center; flex: 0 0 auto;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand-dark);
    font-size: .7rem; font-weight: 800;
}
.auto-hits-panel {
    position: relative; overflow: hidden;
    padding: 26px; border-radius: 24px;
    color: #eaf7f8;
    background:
        radial-gradient(500px 280px at 90% -10%, rgba(52, 211, 153, .28), transparent 65%),
        radial-gradient(420px 300px at 0% 110%, rgba(34, 211, 238, .25), transparent 70%),
        linear-gradient(155deg, #06242c, #0a4650 60%, #075c65);
    box-shadow: var(--shadow-lg);
}
.auto-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; }
.auto-panel-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.auto-panel-label { margin: 20px 0 10px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(214, 244, 246, .68); }
.auto-tier-list { display: grid; gap: 9px; }
.auto-tier {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 13px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.auto-tier-icon { font-size: 1.15rem; }
.auto-tier-copy { display: grid; gap: 1px; flex: 1 1 auto; min-width: 0; }
.auto-tier-copy strong { color: #fff; font-size: .92rem; }
.auto-tier-copy small { color: rgba(214, 244, 246, .68); font-size: .76rem; }
.auto-tier-reward { color: #7fe3e2; font-weight: 800; white-space: nowrap; }
.auto-checkpoints { margin-top: 18px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.12); }
.checkpoint-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.checkpoint-chip {
    display: inline-flex; align-items: baseline; gap: 5px;
    padding: 6px 10px; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    font-size: .76rem; color: rgba(234, 247, 248, .86);
}
.checkpoint-chip strong { color: #fff; }
.checkpoint-chip em { color: #7fe3e2; font-style: normal; font-weight: 800; }
.auto-hits-panel .muted { color: rgba(214, 244, 246, .68); }
.auto-panel-cta { margin-top: 18px; }
.auto-panel-cta:hover { color: var(--brand-deep); }

/* Banner media kit */
.banner-kit { margin-top: 34px; padding-top: 26px; border-top: 1px dashed var(--line); }
.banner-kit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.banner-kit-head h3 { margin: 0 0 4px; }
.banner-kit-head p { margin: 0; }
.banner-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.banner-card {
    display: block; overflow: hidden; border-radius: 14px;
    border: 1px solid var(--line); background: var(--card);
    transition: transform .18s ease, box-shadow .18s ease;
}
.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.banner-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.banner-card span { display: block; padding: 9px 12px; font-size: .78rem; font-weight: 700; color: var(--ink); }

/* Community / social band */
.community-band { background: linear-gradient(120deg, var(--brand-soft), #fff 70%); border-block: 1px solid var(--line); }
.social-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.social-band > div:first-child { max-width: 42em; }
.social-band h2 { margin-bottom: 6px; }
.social-row-lg { margin: 0; gap: 10px; }
.community-band .social-link,
.social-card .social-link,
.social-preview .social-link {
    width: 44px; height: 44px; border-radius: 12px;
    border-color: var(--line); color: var(--brand-dark); background: var(--card);
}
.social-row-lg .social-link { width: 54px; height: 54px; }
.community-band .social-link svg,
.social-card .social-link svg,
.social-preview .social-link svg { width: 21px; height: 21px; }
.community-band .social-link:hover,
.social-card .social-link:hover,
.social-preview .social-link:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.social-card .social-row { margin-top: 10px; }

/* Theme palettes live in assets/themes/<key>.css and are loaded by the layout. */

/* Mobile Auto-hits fallback */
.surf-mobile-card { display: none; }
.surf-view-section.is-mobile .surf-mobile-card { display: grid; }
.surf-view-section.is-mobile:not(.show-frame) .surf-frame-wrap { display: none; }
.surf-view-section.is-mobile .surf-frame { height: 64vh; min-height: 300px; }
@media (max-width: 900px) {
    /* Works even when JavaScript has not run yet: phones get the external
       "open in a new tab" card instead of a blank blocked frame. */
    .surf-mobile-card { display: grid; }
    .surf-view-section:not(.show-frame) .surf-frame-wrap { display: none; }
    .auto-hits-split { grid-template-columns: 1fr; }
    .auto-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .banner-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .social-band { align-items: flex-start; }
}
@media (max-width: 560px) {
    .banner-strip { grid-template-columns: 1fr; }
    .auto-hits-panel { padding: 20px; border-radius: 18px; }
    .brand-preview { align-items: flex-start; }
}


.flag {
    display: inline-block; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.05em; line-height: 1; vertical-align: -0.06em;
}
.user-name { display: inline-flex; align-items: center; gap: 6px; }
.user-name .flag { margin-inline-end: 1px; }
.country-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); }
.country-hint strong { color: var(--brand-dark); font-weight: 700; }

.surf-check-panel { max-width: 640px; margin: 0 auto; }
.surf-check-panel .checkpoint-reward {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; margin: 18px 0; border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 151, 160, .12), rgba(37, 179, 164, .06));
    border: 1px solid rgba(26, 151, 160, .25);
}
.surf-check-panel .checkpoint-reward strong { font-size: 1.6rem; color: var(--brand-dark); }
.surf-auto-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; }

@media (max-width: 640px) {
    .platform-picker { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-scroll span, .activity-pulse, .hero-art { animation: none; }
}
