/* =========================================================
   NTH ISLE — Design System
   ========================================================= */

/* ----- Tokens ----- */
:root {
    /* Палитра */
    --bg-0:         #07090a;
    --bg-1:         #0b0f10;
    --bg-2:         #11161a;
    --bg-3:         #161c1f;
    --bg-card:      #131a1c;
    --bg-elev:      #1a2226;
    --bg-elev-2:    #222b30;

    --border:       #232c30;
    --border-2:     #2e383d;
    --border-hi:    #3a464c;

    --text:         #eef3f0;
    --text-2:       #b6c3bd;
    --text-muted:   #7a8a83;
    --text-soft:    #94a39c;

    --accent:       #5ed26d;
    --accent-2:     #41a64f;
    --accent-3:     #2e7d3a;
    --accent-glow:  0 0 60px rgba(94, 210, 109, 0.25);

    --danger:       #ef5a5a;
    --danger-soft:  rgba(239, 90, 90, 0.12);
    --warn:         #f0a040;
    --warn-soft:    rgba(240, 160, 64, 0.12);
    --info:         #5aaaff;
    --info-soft:    rgba(90, 170, 255, 0.12);
    --success:      #5ed26d;
    --success-soft: rgba(94, 210, 109, 0.12);

    /* Размеры */
    --radius-xs:    6px;
    --radius-sm:    10px;
    --radius:       14px;
    --radius-lg:    20px;
    --radius-xl:    28px;
    --radius-full:  9999px;

    /* Тени */
    --shadow-1:     0 2px 8px rgba(0,0,0,.35);
    --shadow-2:     0 8px 24px rgba(0,0,0,.45);
    --shadow-3:     0 20px 60px rgba(0,0,0,.55);
    --shadow-glow:  0 8px 40px rgba(94, 210, 109, 0.15);

    /* Анимации */
    --t-fast:       .12s ease;
    --t:            .2s ease;
    --t-slow:       .35s cubic-bezier(.2,.7,.2,1);

    /* Размеры лейаута */
    --header-h:     72px;
    --container:    1280px;
    --container-sm: 960px;
    --container-xs: 680px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: 'cv11', 'ss01';
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(94,210,109,.06), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(65,166,79,.05), transparent 60%),
        var(--bg-0);
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .4em;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
small { font-size: .85em; color: var(--text-muted); }
code, kbd {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    background: var(--bg-elev);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-size: .9em;
    border: 1px solid var(--border);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--t-fast);
}
a:hover { color: #88e090; }

.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }
.accent { color: var(--accent); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ----- Container ----- */
.container    { max-width: var(--container);    margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: var(--container-xs); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
    height: var(--header-h);
    background: rgba(11, 15, 16, 0.7);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.logo:hover { color: var(--text); }
.logo-mark {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    border-radius: var(--radius-sm);
    color: #0c0f0d;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}
.logo-text { line-height: 1; }
.logo-text small { display: block; font-size: .6rem; color: var(--accent); letter-spacing: .3em; font-weight: 600; margin-top: 3px; }

.main-nav {
    display: flex;
    gap: 4px;
    margin-left: 18px;
    flex: 1;
}
.main-nav a {
    color: var(--text-soft);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background var(--t-fast);
    font-size: .95rem;
    position: relative;
}
.main-nav a:hover { color: var(--text); background: var(--bg-elev); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::before {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text);
    transition: border-color var(--t-fast), background var(--t-fast);
    font-size: .9rem;
}
.user-chip:hover { color: var(--text); border-color: var(--accent-2); background: var(--bg-elev); }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.user-chip .balance {
    color: var(--accent);
    font-weight: 600;
    padding-left: 10px;
    margin-left: 4px;
    border-left: 1px solid var(--border-2);
    font-size: .9rem;
    white-space: nowrap;
}

/* Burger */
.burger-btn {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
}
.burger-btn:hover { border-color: var(--accent-2); }

@media (max-width: 980px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; gap: 4px;
        background: rgba(11, 15, 16, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        margin: 0;
        z-index: 99;
    }
    .main-nav.open a { padding: 12px 14px; }
    .burger-btn { display: inline-flex; }
}

@media (max-width: 560px) {
    .user-chip .balance { display: none; }
    .user-chip span:not(.balance) { display: none; }
    .user-chip { padding: 5px; }
    .logo-text span:last-of-type { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    --btn-bg: var(--bg-elev);
    --btn-border: var(--border);
    --btn-color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--btn-color);
    font-weight: 600;
    font-size: .94rem;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-primary {
    --btn-bg: linear-gradient(180deg, var(--accent), var(--accent-2));
    --btn-border: transparent;
    --btn-color: #07140a;
}
.btn-primary:hover { box-shadow: var(--shadow-glow); color: #07140a; }

.btn-ghost {
    --btn-bg: transparent;
    --btn-border: var(--border-2);
    --btn-color: var(--text);
}
.btn-ghost:hover { --btn-border: var(--accent-2); --btn-bg: var(--bg-card); color: var(--text); }

.btn-danger {
    --btn-bg: linear-gradient(180deg, #f06f6f, var(--danger));
    --btn-border: transparent;
    --btn-color: #fff;
}
.btn-danger:hover { color: #fff; box-shadow: 0 8px 32px rgba(239,90,90,.3); }

.btn-warn {
    --btn-bg: linear-gradient(180deg, #f4b162, var(--warn));
    --btn-border: transparent;
    --btn-color: #1a1206;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; aspect-ratio: 1; }

/* ============================================================
   Cards & Surfaces
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--t), transform var(--t);
}
.card-hover:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.card-padded { padding: 28px; }
.card-flush  { padding: 0; overflow: hidden; }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}
.card-header h3 { margin: 0; }

/* Re-style legacy "feature-card" used in earlier pages */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color var(--t), transform var(--t);
}
.feature-card:hover { border-color: var(--border-hi); }
.feature-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, rgba(94,210,109,.18), rgba(94,210,109,.06));
    color: var(--accent);
    border-radius: var(--radius);
    font-size: 1.1rem;
    margin-bottom: 14px;
    border: 1px solid rgba(94,210,109,.2);
}

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin: 16px 0;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}
.alert-success { background: var(--success-soft); border-color: rgba(94,210,109,.4); color: #b8e8be; }
.alert-success::before { content: "\f058"; color: var(--accent); }
.alert-error   { background: var(--danger-soft);  border-color: rgba(239,90,90,.4); color: #f0b5b5; }
.alert-error::before   { content: "\f06a"; color: var(--danger); }
.alert-warn    { background: var(--warn-soft);    border-color: rgba(240,160,64,.4); color: #f0d29c; }
.alert-warn::before    { content: "\f071"; color: var(--warn); }
.alert-info    { background: var(--info-soft);    border-color: rgba(90,170,255,.4); color: #bcdcff; }
.alert-info::before    { content: "\f05a"; color: var(--info); }

/* ============================================================
   Forms
   ============================================================ */
.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-soft);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
}
.form-field .field-hint { color: var(--text-muted); font-size: .8rem; margin-top: 6px; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-field input[type="search"],
.form-field input[type="url"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-elev);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
    font-size: .95rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(94,210,109,.12);
    background: var(--bg-elev-2);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:disabled { opacity: .6; cursor: not-allowed; }

textarea { resize: vertical; min-height: 120px; }

input[type="checkbox"], input[type="radio"] {
    width: 18px; height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Input-grouped */
.input-group {
    display: flex;
    align-items: center;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(94,210,109,.12); }
.input-group input { background: transparent; border: none; padding: 11px 0; flex: 1; outline: none; }
.input-group .input-icon { color: var(--text-muted); margin-right: 10px; }

/* Form card */
.form-card {
    max-width: 460px; margin: 50px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-3);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent));
}
.form-card h1 { font-size: 1.6rem; margin: 0 0 8px; text-align: center; }
.form-card .form-sub { text-align: center; color: var(--text-muted); margin: 0 0 24px; font-size: .9rem; }

.form-divider {
    text-align: center;
    color: var(--text-muted);
    margin: 24px 0 20px;
    position: relative;
    font-size: .85em;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%; width: calc(50% - 36px); height: 1px;
    background: var(--border);
}
.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }

.oauth-buttons { display: grid; gap: 10px; }
.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: filter var(--t-fast), transform var(--t-fast);
    font-size: .95rem;
}
.oauth-btn:hover { filter: brightness(1.1); color: #fff; transform: translateY(-1px); }
.oauth-btn:active { transform: translateY(0); }

/* ============================================================
   Pills, badges, role badges
   ============================================================ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: .78em;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid transparent;
    white-space: nowrap;
}
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-size: .78em;
    font-weight: 600;
    border: 1px solid transparent;
}

/* ============================================================
   Tables
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
    background: var(--bg-elev);
    color: var(--text-soft);
    font-weight: 600;
    font-size: .82em;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}
.data-table tbody tr { transition: background var(--t-fast); }
.data-table tbody tr:hover { background: rgba(255,255,255,.02); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   Hero (главная)
   ============================================================ */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(94,210,109,.15), transparent 60%);
    pointer-events: none;
    filter: blur(40px);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(94,210,109,.3);
    background: rgba(94,210,109,.06);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 20px;
}
.hero-eyebrow .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: .7; }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    margin: 0 0 16px;
    background: linear-gradient(180deg, #fff 0%, #d6e2dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h1 .accent-text {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    color: var(--text-2);
    max-width: 56ch;
    margin: 0 0 32px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 480px;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.hero-stats .stat-label {
    color: var(--text-muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-art {
    position: relative;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
}
.hero-art-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(94,210,109,.2), transparent 65%);
    filter: blur(40px);
}
.hero-art svg { width: 100%; max-width: 460px; filter: drop-shadow(0 20px 60px rgba(0,0,0,.6)); position: relative; z-index: 2; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-art { aspect-ratio: 4/3; max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin: 0 0 8px; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* CTA block */
.cta-block {
    background:
        radial-gradient(800px 400px at 80% 50%, rgba(94,210,109,.18), transparent 70%),
        var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-block h2 { margin-bottom: 12px; }
.cta-block .cta-actions { margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
    margin-top: 80px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col .logo { margin-bottom: 14px; }
.footer-col h4 {
    color: var(--text);
    margin: 0 0 14px;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    padding: 5px 0;
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text); }
.footer-col p { color: var(--text-soft); margin: 0; line-height: 1.7; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 800px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; }
}

/* ============================================================
   Utility
   ============================================================ */
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.divider { height: 1px; background: var(--border); margin: 16px 0; border: none; }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* Selection */
::selection { background: rgba(94,210,109,.35); color: #fff; }

/* Loading dots */
.dots-loading::after {
    content: '';
    display: inline-block;
    animation: dots 1.4s infinite;
}
@keyframes dots {
    0%, 20%   { content: '.'; }
    40%       { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Skeleton */
.skel {
    background: linear-gradient(90deg, var(--bg-elev) 0%, var(--bg-elev-2) 50%, var(--bg-elev) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Fade-in */
.fade-in { animation: fadeIn .4s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
