/* =========================================================================
   Cyber Threat Intelligence — Auth Stylesheet · ULTRA TIP 2026
   Përdoret në: auth/login.php, cookies.html, privatesia.html
   Paletë: #06080f bg · #0f1420 surface · #ef4444 primary · #f59e0b accent · #3b82f6 blue
   Inspirim: Mandiant Advantage + Recorded Future + Palantir Gotham
   ========================================================================= */

:root {
    --bg: #06080f;
    --bg-2: #080b14;
    --surface: #0f1420;
    --surface-2: #151c2c;
    --surface-3: #1b2338;
    --border: #20293a;
    --border-strong: #2a3550;
    --border-subtle: #161d2b;

    --primary: #ef4444;
    --primary-2: #dc2626;
    --primary-soft: rgba(239, 68, 68, 0.12);
    --accent: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --blue: #3b82f6;
    --blue-soft: rgba(59, 130, 246, 0.12);
    --success: #22c55e;

    --text: #eef2ff;
    --text-2: #c7d1e4;
    --text-muted: #8290aa;
    --text-faint: #596278;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;

    --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
    --shadow-glow-red: 0 0 60px rgba(239, 68, 68, 0.18);
    --shadow-glow-amber: 0 0 60px rgba(245, 158, 11, 0.14);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; }

body.tip-body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

/* -----------------------------------------------------------------------------
   BACKGROUND LAYERS
   ----------------------------------------------------------------------------- */
.tip-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(1200px 800px at 12% 18%, rgba(239, 68, 68, 0.10), transparent 55%),
        radial-gradient(1000px 700px at 88% 82%, rgba(245, 158, 11, 0.08), transparent 55%),
        radial-gradient(800px 600px at 70% 20%, rgba(59, 130, 246, 0.06), transparent 55%),
        linear-gradient(180deg, #04060b 0%, #06080f 55%, #04060b 100%);
}
.tip-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(130, 144, 170, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 144, 170, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 85%);
}
.tip-vignette {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}

/* -----------------------------------------------------------------------------
   CLASSIFIED TOP STRIP + TICKER
   ----------------------------------------------------------------------------- */
.tip-strip {
    position: fixed; top: 0; left: 0; right: 0; z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 32px;
    background: rgba(6, 8, 15, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
}
.tip-strip-tag {
    padding: 0 14px;
    height: 100%;
    display: flex; align-items: center; gap: 8px;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    font-weight: 700;
}
.tip-strip-tag::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.9);
    animation: tip-blink 1.8s ease-in-out infinite;
}
.tip-strip-ticker {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tip-strip-track {
    display: inline-flex;
    gap: 48px;
    white-space: nowrap;
    /* Track is two identical halves → translateX(-50%) loops seamlessly. */
    animation: tip-ticker 60s linear infinite;
    padding-left: 24px;
    color: var(--text-muted);
    will-change: transform;
}
.tip-strip-track span { display: inline-block; }
.tip-strip-track span b { color: var(--accent); margin-right: 8px; font-weight: 700; }
.tip-strip-track span em { color: var(--primary); font-style: normal; margin-left: 8px; font-weight: 600; }
.tip-strip-meta {
    padding: 0 14px;
    color: var(--text-faint);
    border-left: 1px solid var(--border);
    height: 100%;
    display: flex; align-items: center;
}
@keyframes tip-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tip-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* -----------------------------------------------------------------------------
   SHELL (grid)
   ----------------------------------------------------------------------------- */
.tip-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .tip-shell { grid-template-columns: 1.1fr 0.9fr; }
}

/* -----------------------------------------------------------------------------
   LEFT — BRAND + GLOBE + STATS
   ----------------------------------------------------------------------------- */
.tip-left {
    position: relative;
    padding: var(--space-6) var(--space-5) var(--space-7);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid var(--border-subtle);
    overflow: hidden;
}
@media (min-width: 1024px) {
    .tip-left { display: flex; padding: var(--space-7) var(--space-7) var(--space-6); }
}

.tip-brand {
    display: flex; align-items: center; gap: 14px;
}
.tip-brand-mark {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(245,158,11,0.2));
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 10px 30px rgba(239, 68, 68, 0.28);
}
.tip-brand-mark svg { width: 24px; height: 24px; }
.tip-brand-text .tip-brand-title {
    font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}
.tip-brand-text .tip-brand-sub {
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase;
    margin-top: 2px;
}

.tip-kicker {
    margin-top: var(--space-6);
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--primary);
    padding: 6px 12px;
    background: var(--primary-soft);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 999px;
    width: fit-content;
}
.tip-kicker-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: tip-blink 2s ease-in-out infinite;
}

.tip-hero {
    margin: var(--space-5) 0 var(--space-3);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--text);
}
.tip-hero em {
    font-style: normal;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tip-lede {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 0 var(--space-5);
}

/* GLOBE */
.tip-globe-frame {
    position: relative;
    width: min(520px, 80%);
    aspect-ratio: 1/1;
    margin: var(--space-3) auto var(--space-5);
    filter: drop-shadow(0 30px 80px rgba(239, 68, 68, 0.15));
}
.tip-globe { width: 100%; height: 100%; }

/* Rotating-globe wireframe.
   Instead of rotating an oval group (which wobbles), each longitude meridian
   sweeps its horizontal radius rx 0→150→0 on a staggered phase. The combined
   sweep reads as smooth, true sphere rotation and never looks like a spinning
   oval. Animating rx (an SVG geometry attr) is supported in all evergreen
   browsers; if unsupported it gracefully falls back to a static wireframe. */
.tip-meridian {
    animation: tip-meridian-sweep 12s ease-in-out infinite;
}
.tip-m1 { animation-delay: 0s; }
.tip-m2 { animation-delay: -4s; }
.tip-m3 { animation-delay: -8s; }
@keyframes tip-meridian-sweep {
    0%   { rx: 4px;   stroke-opacity: 0.10; }
    50%  { rx: 150px; stroke-opacity: 0.45; }
    100% { rx: 4px;   stroke-opacity: 0.10; }
}

/* pulse markers (radar ping) */
.tip-pulse {
    transform-box: fill-box;      /* makes transform-origin reliable on SVG shapes */
    transform-origin: center;
    animation: tip-pulse 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
    will-change: transform, opacity;
}
.tip-pulse-red    { fill: #ef4444; }
.tip-pulse-amber  { fill: #f59e0b; }
.tip-pulse-blue   { fill: #3b82f6; }
/* static core dot — keeps a steady glowing marker under each radar ping
   (single non-animated drop-shadow → cheap, no per-frame filter recompute) */
.tip-core { filter: drop-shadow(0 0 4px currentColor); }
.tip-core.tip-pulse-red   { color: #ef4444; }
.tip-core.tip-pulse-amber { color: #f59e0b; }
.tip-core.tip-pulse-blue  { color: #3b82f6; }
.tip-d1 { animation-delay: 0.4s; } .tip-d2 { animation-delay: 0.8s; }
.tip-d3 { animation-delay: 1.2s; } .tip-d4 { animation-delay: 1.6s; }
.tip-d5 { animation-delay: 2.0s; } .tip-d6 { animation-delay: 2.4s; }
@keyframes tip-pulse {
    0%   { transform: scale(0.6); opacity: 0; }
    12%  { opacity: 0.9; }
    100% { transform: scale(3.6); opacity: 0; }
}

/* STATS */
.tip-stats {
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0 var(--space-5);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    max-width: 620px;
}
.tip-stat {
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(21, 28, 44, 0.6), rgba(15, 20, 32, 0.8));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.tip-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.8;
}
.tip-stat-num {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.tip-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.tip-foot {
    margin-top: auto;
    padding-top: var(--space-5);
    display: flex; gap: 14px; flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}
.tip-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.tip-dot-ok { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }

/* -----------------------------------------------------------------------------
   RIGHT — FORM CARD (glassmorphism + gradient border)
   ----------------------------------------------------------------------------- */
.tip-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6) var(--space-4);
    min-height: calc(100vh - 32px);
    position: relative;
}
@media (min-width: 768px) { .tip-right { padding: var(--space-7) var(--space-6); } }

.tip-card {
    width: 100%;
    max-width: 460px;
    position: relative;
    padding: var(--space-6);
    background:
        linear-gradient(180deg, rgba(21, 28, 44, 0.72), rgba(15, 20, 32, 0.86));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--shadow-card), var(--shadow-glow-red);
}
.tip-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(239,68,68,0.6), rgba(245,158,11,0.4) 45%, transparent 70%);
    padding: 1px;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}
@media (min-width: 768px) { .tip-card { padding: var(--space-7); } }

/* mobile brand strip inside card */
.tip-card-mobile-brand {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 1024px) { .tip-card-mobile-brand { display: none; } }
.tip-card-mobile-brand .tip-brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.tip-card-mobile-brand .tip-brand-mark svg { width: 20px; height: 20px; }
.tip-card-mobile-brand strong { font-size: 14px; color: var(--text); display: block; }
.tip-card-mobile-brand span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }

.tip-card-head { margin-bottom: var(--space-5); }
.tip-card-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}
.tip-card-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}
.tip-card-head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.tip-card-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

/* banner (2FA / info) */
.tip-banner {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fcd34d;
    font-size: 13px;
}
.tip-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.tip-banner strong { display: block; color: #fde68a; font-weight: 600; margin-bottom: 2px; }
.tip-banner span { display: block; color: var(--text-muted); font-size: 12.5px; }

/* alert */
.tip-alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
    font-size: 13px;
    line-height: 1.5;
}
.tip-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--primary); }

/* FORM */
.tip-form { margin-top: var(--space-2); }
.tip-field { margin-bottom: var(--space-4); }
.tip-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tip-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.tip-input-ic {
    position: absolute;
    left: 14px;
    width: 18px; height: 18px;
    color: var(--text-faint);
    pointer-events: none;
    transition: color 0.2s;
}
.tip-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: rgba(6, 8, 15, 0.6);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.tip-input::placeholder { color: var(--text-faint); }
.tip-input:hover { border-color: #394768; }
.tip-input:focus {
    border-color: var(--primary);
    background: rgba(6, 8, 15, 0.85);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), 0 0 20px rgba(239, 68, 68, 0.12);
}
.tip-input:focus + button .ic-eye,
.tip-input:focus + button .ic-eye-off { color: var(--primary); }
.tip-input-wrap:focus-within .tip-input-ic { color: var(--primary); }

.tip-pw-toggle {
    position: absolute;
    right: 6px;
    background: transparent;
    border: none;
    color: var(--text-faint);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: color 0.15s, background 0.15s;
}
.tip-pw-toggle:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.tip-pw-toggle svg { width: 18px; height: 18px; }

/* BUTTON */
.tip-btn {
    width: 100%;
    padding: 14px 18px;
    margin-top: var(--space-2);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.8);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    position: relative;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.18);
}
.tip-btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.tip-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(239, 68, 68, 0.45),
                inset 0 1px 0 rgba(255,255,255,0.22);
}
.tip-btn:hover svg { transform: translateX(3px); }
.tip-btn:active { transform: translateY(0); }

/* CARD FOOT */
.tip-card-foot {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-faint);
    letter-spacing: 0.08em;
}
.tip-chips {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.tip-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(21, 28, 44, 0.7);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tip-chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.tip-chip-dot-red   { background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.tip-chip-dot-amber { background: var(--accent);  box-shadow: 0 0 6px var(--accent); }
.tip-chip-dot-blue  { background: var(--blue);    box-shadow: 0 0 6px var(--blue); }

.tip-card-foot-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap;
}
.tip-card-foot-row a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: color 0.15s, border-color 0.15s;
}
.tip-card-foot-row a:hover { color: var(--text); border-bottom-color: var(--text-muted); }
.tip-sep { color: var(--text-faint); margin: 0 6px; }

/* FOCUS VISIBLE (accessibility) */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
input:focus-visible, button:focus-visible { outline: none; }
.tip-input:focus-visible { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25), 0 0 0 1px var(--primary); }

/* MOBILE POLISH */
@media (max-width: 767px) {
    .tip-strip-meta { display: none; }
    .tip-strip-tag { font-size: 9.5px; padding: 0 10px; }
    .tip-right { padding: var(--space-5) var(--space-4); }
    .tip-stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   POLICY PAGES (cookies / privatesia) — same dark theme
   ========================================================================== */
.tip-policy-body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: var(--space-6) var(--space-4);
    position: relative;
    overflow-x: hidden;
}
.tip-policy-shell {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}
@media (min-width: 768px) { .tip-policy-body { padding: var(--space-7) var(--space-6); } }

.tip-policy-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: var(--space-5);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.tip-policy-nav-brand { display: flex; align-items: center; gap: 10px; }
.tip-policy-nav-brand .tip-brand-mark { width: 32px; height: 32px; border-radius: 8px; }
.tip-policy-nav-brand .tip-brand-mark svg { width: 18px; height: 18px; }
.tip-policy-nav-brand strong { color: var(--text); font-size: 13px; font-weight: 600; }

.tip-policy-back {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(21, 28, 44, 0.5);
    backdrop-filter: blur(6px);
    transition: all 0.15s;
}
.tip-policy-back:hover {
    color: var(--text);
    border-color: var(--primary);
    background: var(--primary-soft);
}
.tip-policy-back svg { width: 14px; height: 14px; }

.tip-policy-card {
    background: linear-gradient(180deg, rgba(21, 28, 44, 0.7), rgba(15, 20, 32, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.tip-policy-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
@media (min-width: 768px) { .tip-policy-card { padding: var(--space-7); } }

.tip-policy-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 10px;
    background: var(--primary-soft);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-3);
}
.tip-policy-kicker::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 8px var(--primary);
}
.tip-policy-card h1 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.tip-policy-card .tip-policy-sub {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: 0.04em;
}
.tip-policy-card h2 {
    margin: var(--space-6) 0 var(--space-3);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex; align-items: baseline; gap: 10px;
}
.tip-policy-card h2::before {
    content: attr(data-n);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    min-width: 28px;
}
.tip-policy-card h3 {
    margin: var(--space-4) 0 var(--space-2);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.tip-policy-card p,
.tip-policy-card li {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 10px;
}
.tip-policy-card ul { margin-left: var(--space-5); margin-bottom: var(--space-4); }
.tip-policy-card a { color: #93c5fd; text-decoration: none; border-bottom: 1px dotted rgba(147, 197, 253, 0.4); }
.tip-policy-card a:hover { color: #bfdbfe; border-bottom-color: #bfdbfe; }
.tip-policy-card strong { color: var(--text); }

.tip-policy-notice {
    background: var(--blue-soft);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-left: 3px solid var(--blue);
    padding: var(--space-4);
    margin: var(--space-4) 0;
    border-radius: var(--radius-md);
    color: var(--text-2);
    font-size: 14px;
}
.tip-policy-notice strong { color: #93c5fd; }

.tip-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-3) 0 var(--space-4);
    font-size: 13px;
    background: rgba(6, 8, 15, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.tip-policy-table th, .tip-policy-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.tip-policy-table th {
    background: var(--surface-2);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
.tip-policy-table td { color: var(--text-2); }
.tip-policy-table code {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 12px;
    background: rgba(245, 158, 11, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}
@media (max-width: 640px) {
    .tip-policy-table { display: block; overflow-x: auto; }
}

.tip-policy-foot {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-faint);
    letter-spacing: 0.08em;
}

/* ==========================================================================
   COOKIE CONSENT FLOATING (classified style)
   ========================================================================== */
.cab-wrap {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    font-family: var(--font-sans);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.cab-wrap.cab-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cab-icon-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(15, 20, 32, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.cab-icon-btn:hover {
    background: var(--surface);
    color: var(--text);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.25);
}
.cab-icon-btn svg { width: 20px; height: 20px; }
.cab-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    max-width: 320px;
    background: rgba(15, 20, 32, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transform-origin: bottom left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.cab-wrap.cab-open .cab-pop {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.cab-pop-title {
    color: var(--text);
    font-weight: 700;
    font-size: 10.5px;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.cab-pop-text { margin-bottom: 12px; color: var(--text-muted); }
.cab-pop-text a { color: #93c5fd; text-decoration: none; }
.cab-pop-text a:hover { text-decoration: underline; }
.cab-pop-sep { color: var(--text-faint); margin: 0 4px; }
.cab-pop-btn {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}
.cab-pop-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    /* Freeze the globe into a clean static wireframe */
    .tip-meridian { animation: none !important; rx: 90px; stroke-opacity: 0.3 !important; }
    /* Hide the radial ping, keep only the steady core dots */
    .tip-pulse { animation: none !important; opacity: 0 !important; }
    .tip-core { opacity: 1 !important; }
    /* Stop the ticker scroll */
    .tip-strip-track { animation: none !important; }
}
