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

html {
    scroll-behavior: smooth;
}


    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }


body {
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--wiki_auth_bg-dark);
            margin: 0;
            padding: 0;
            color: var(--wiki_auth_text-main);
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            overflow-x: hidden;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
                    background-color: var(--bg-dark);
        color: var(--text-main);
        font-family: 'Outfit', sans-serif;
        margin: 0;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        background-color: var(--bg-dark);
        color: var(--text-light);
        font-family: 'Outfit', sans-serif;
        margin: 0;
        overflow-x: hidden;
        margin: 0; padding: 0;
            font-family: 'Outfit', system-ui, sans-serif;
            background-color: var(--nw-bg);
            color: #f8fafc;
            min-height: 100vh;
            overflow-x: hidden;
            /* СЕТКА КАК НА СТРАНИЦЕ ПРЕДЛОЖЕНИЙ */
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            margin: 0; padding: 0;
            font-family: 'Outfit', sans-serif;
            background-color: var(--nw-bg);
            color: #f8fafc;
            min-height: 100vh;
            overflow-x: hidden;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            margin: 0;
        font-family: var(--font-main);
        background: var(--bg-dark);
        color: var(--text-main);
        min-height: 100vh;
                    background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: 'Space Grotesk', sans-serif;
            margin: 0;
            overflow-x: hidden;
            min-height: 100vh;
}

/* =========================================================
   WIKI VARIABLES
========================================================= */

:root {
    --wiki-primary: #5865f2;
    --wiki-primary-dark: #4752c4;
    --wiki-primary-hover: #4752c4;

    --wiki-secondary: #8b5cf6;
    --wiki-accent: #06b6d4;

    --wiki-bg: #f5f6fa;
    --wiki-white: #ffffff;
    --wiki-card: #ffffff;

    --wiki-text: #1f2330;
    --wiki-muted: #777c8d;
    --wiki-text-light: #656977;

    --wiki-border: rgba(23, 25, 37, .08);

    --wiki-green: #16a34a;
    --wiki-gold: #f59e0b;

    --wiki-like: #e63956;
    --wiki-like-bg: rgba(230, 57, 86, .08);

    --wiki-shadow:
        0 10px 40px rgba(31, 35, 70, .07);

    --wiki-shadow-hover:
        0 22px 55px rgba(72, 80, 170, .16);

    --wiki-radius: 22px;
    --wiki_auth_bg-dark: #020617;
            --wiki_auth_glass-bg: rgba(15, 23, 42, 0.65);
            --wiki_auth_glass-border: rgba(255, 255, 255, 0.1);
            --wiki_auth_primary: #8b5cf6;
            --wiki_auth_primary-hover: #7c3aed;
            --wiki_auth_gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #ec4899 100%);
            --wiki_auth_text-main: #f8fafc;
            --wiki_auth_text-muted: #94a3b8;
            --wiki_auth_input-bg: rgba(255, 255, 255, 0.04);
            --wiki_auth_shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
                    --bg-dark: #020617;
        --bg-card: rgba(15, 23, 42, 0.6);
        --glass-border: rgba(255, 255, 255, 0.08);
        --primary-gradient: linear-gradient(135deg, #8b5cf6, #3b82f6, #ec4899);
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --success: #10b981;
        --danger: #ef4444;
                --av_rp_bg_dark: #0f172a; /* Темный фон для бара */
        --av_rp_glass: rgba(15, 23, 42, 0.85); /* Прозрачность */
        --av_rp_border: rgba(255, 255, 255, 0.1);
        --av_rp_text_main: #f8fafc;
        --av_rp_text_muted: #94a3b8;
        --av_rp_primary: #8b5cf6; /* Фиолетовый акцент как в форме */
        --av_rp_primary_glow: rgba(139, 92, 246, 0.3);
        --av_rp_danger: #ef4444;
        --av_rp_hover: rgba(255, 255, 255, 0.05);
                    --newforile_wiki-cyan: #00f0ff;
            --newforile_wiki-magenta: #ff00aa;
            --newforile_wiki-violet: #8b5cf6;
            --newforile_wiki-lime: #c4ff3d;
            --newforile_wiki-bg-0: #0a0613;
            --newforile_wiki-bg-1: #120a24;
            --newforile_wiki-bg-2: #1a0f33;
            --newforile_wiki-glass: rgba(18, 10, 36, 0.55);
            --newforile_wiki-glass-border: rgba(0, 240, 255, 0.15);
            --newforile_wiki-text: #e9e7ff;
            --newforile_wiki-text-dim: #8a86b8;
            --newforile_wiki-success: #10ffaa;
            --newforile_wiki-danger: #ff3d7f;
            --newforile_wiki-warning: #ffb547;
            --newforile_wiki-radius-lg: 24px;
            --newforile_wiki-radius-md: 16px;
            --newforile_wiki-radius-sm: 10px;
            --nwl-primary: #6366f1; /* Indigo */
            --nwl-secondary: #d946ef; /* Fuchsia */
            --nwl-accent: #0ea5e9; /* Sky Blue */
            
            --nwl-bg-dark: #020204;
            --nwl-card-bg: rgba(20, 20, 25, 0.4);
            --nwl-border: rgba(255, 255, 255, 0.08);
            --nwl-glow: rgba(99, 102, 241, 0.15);
            
            --nwl-text: #ffffff;
            --nwl-muted: #94a3b8;
            
            --status-pending: #fbbf24;
            --status-implemented: #4ade80;
            --status-rejected: #f87171;
            --status-awaiting: #c084fc;
                        
            --font-main: 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            
            --global-bg-deep: #050507;     
            --btn-gradient: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
            --btn-glow: rgba(124, 58, 237, 0.4);
            
            --bg-dark: #020617;
            --text-light: #f8fafc;
            --text-muted: #94a3b8;   
             --nw-primary: #6366f1;
            --nw-accent: #ec4899;
            --nw-bg: #020617;
            --nw-surface: rgba(15, 23, 42, 0.6);
            --nw-border: rgba(255, 255, 255, 0.08);
            --nw-glass: rgba(255, 255, 255, 0.03);
            --nw-muted: #94a3b8; 
            --nw-primary: #6366f1;
            --nw-accent: #ec4899;
            --nw-bg: #020617;
            --nw-surface: rgba(15, 23, 42, 0.6);
            --nw-border: rgba(255, 255, 255, 0.08);
            --nw-glass: rgba(255, 255, 255, 0.03);
            --nw-muted: #94a3b8;
            
            /* Цвета статусов */
            --status-pending: #f59e0b;
            --status-implemented: #10b981;
            --status-rejected: #ef4444;
            --status-awaiting: #6366f1;
            --status-in-progress: #3b82f6;
            --status-postponed: #64748b; 
            --bg-dark: #09090b;
        --bg-darker: #050507;
        --surface: rgba(255, 255, 255, 0.03);
        --surface-hover: rgba(255, 255, 255, 0.06);
        --border: rgba(255, 255, 255, 0.08);
        --primary: #6366f1;
        --primary-glow: rgba(99, 102, 241, 0.4);
        --accent: #ec4899;
        --bot-color: #06b6d4; /* Цвет бота (Cyan) */
        --operator-color: #f59e0b; /* Цвет кнопки оператора */
        --text-main: #f4f4f5;
        --text-dim: #a1a1aa;
        --radius-lg: 24px;
        --radius-md: 16px;
        --radius-sm: 8px;
        --font-main: 'Inter', sans-serif;
        --font-mono: 'JetBrains Mono', monospace;
        --bg-dark: #09090b;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-highlight: rgba(255, 255, 255, 0.15);
            --accent-primary: #6366f1; /* Indigo */
            --accent-glow: rgba(99, 102, 241, 0.4);
            --accent-secondary: #ec4899; /* Pink */
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --success: #10b981;
            --danger: #ef4444;
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 8px;   
            --primary: #8b5cf6;
            --primary-dark: #6d28d9;
            --bg-dark: #0f172a;
            --text-light: #f8fafc;
            --text-muted: #94a3b8;
            --btn-gradient: linear-gradient(90deg, #8b5cf6, #6d28d9);
            --success-color: #10b981;
            --danger-color: #ef4444;
            --danger-dark: #dc2626;
            --warning-color: #f59e0b;    
                /* Core Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    
    /* Accent Colors */
    --accent-primary: #7c3aed;
    --accent-secondary: #ec4899;
    --accent-tertiary: #06b6d4;
    --accent-glow: rgba(124, 58, 237, 0.5);
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    /* Spacing */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
}


/* =========================================================
   WIKI MAIN PAGE
========================================================= */

.wiki-page {
    position: relative;
    min-height: calc(100vh - 100px);

    padding: 70px 0 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 0%,
            rgba(88, 101, 242, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(139, 92, 246, .11),
            transparent 30%
        ),
        var(--wiki-bg);

    color: var(--wiki-text);
}

.wiki-page::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: 250px;
    right: -250px;

    border-radius: 50%;

    background: rgba(88, 101, 242, .07);

    filter: blur(100px);

    pointer-events: none;
}

.wiki-page::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: 0;
    left: -250px;

    border-radius: 50%;

    background: rgba(139, 92, 246, .06);

    filter: blur(100px);

    pointer-events: none;
}


/* =========================================================
   WIKI HEADER
========================================================= */

.wiki-header {
    position: relative;
    z-index: 1;

    margin-bottom: 42px;
}

.wiki-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;
    padding: 7px 12px;

    border: 1px solid rgba(88, 101, 242, .12);
    border-radius: 999px;

    background: rgba(88, 101, 242, .07);

    color: var(--wiki-primary);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.wiki-label::before {
    content: "";

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--wiki-primary);

    box-shadow:
        0 0 0 5px rgba(88, 101, 242, .10);
}

.wiki-title {
    margin: 0;

    color: var(--wiki-text);

    font-size: clamp(40px, 6vw, 68px);
    font-weight: 950;

    line-height: .95;
    letter-spacing: -3px;
}

.wiki-title span {
    display: block;

    margin-top: 10px;

    font-weight: 300;

    letter-spacing: -2px;

    background:
        linear-gradient(
            90deg,
            var(--wiki-primary),
            var(--wiki-secondary),
            var(--wiki-accent)
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wiki-description {
    max-width: 720px;

    margin-top: 22px;

    color: var(--wiki-muted);

    font-size: 15px;
    line-height: 1.75;
}

.wiki-decoration {
    width: 70px;
    height: 5px;

    margin-top: 25px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--wiki-primary),
            var(--wiki-secondary)
        );
}


/* =========================================================
   WIKI LAYOUT
========================================================= */

.wiki-layout {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        275px
        minmax(0, 1fr);

    gap: 25px;

    align-items: start;
}


/* =========================================================
   WIKI SIDEBAR
========================================================= */

.wiki-sidebar {
    position: sticky;
    top: 25px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--wiki-radius);

    background: rgba(255, 255, 255, .78);

    box-shadow: var(--wiki-shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wiki-sidebar-head {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 8px 10px 17px;

    color: var(--wiki-text);

    font-size: 14px;
    font-weight: 850;
}

.wiki-sidebar-head-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--wiki-primary),
            var(--wiki-secondary)
        );

    color: #fff;

    font-size: 14px;

    box-shadow:
        0 7px 18px rgba(88, 101, 242, .25);
}

.wiki-category {
    margin-bottom: 4px;
}

.wiki-category-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 12px;

    border-radius: 13px;

    color: #5d6272;

    text-decoration: none;

    font-size: 13px;
    font-weight: 650;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;

    cursor: pointer;
}

.wiki-category-link:hover {
    color: var(--wiki-primary);

    background: rgba(88, 101, 242, .07);

    transform: translateX(3px);
}

.wiki-category-link.active {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--wiki-primary),
            var(--wiki-secondary)
        );

    box-shadow:
        0 9px 23px rgba(88, 101, 242, .24);
}

.wiki-category-count {
    min-width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0 7px;

    border-radius: 8px;

    background: rgba(0, 0, 0, .05);

    color: #858a98;

    font-size: 10px;
    font-weight: 850;
}

.wiki-category-link.active .wiki-category-count {
    color: #fff;
    background: rgba(255, 255, 255, .18);
}


/* =========================================================
   WIKI CONTENT
========================================================= */

.wiki-content {
    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--wiki-radius);

    background: rgba(255, 255, 255, .82);

    box-shadow: var(--wiki-shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wiki-category-header {
    position: relative;

    margin-bottom: 28px;
    padding-bottom: 25px;

    border-bottom:
        1px solid var(--wiki-border);
}

.wiki-category-header::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 80px;
    height: 2px;

    background: var(--wiki-primary);
}

.wiki-category-header-title {
    margin: 0 0 8px;

    color: var(--wiki-text);

    font-size: 30px;
    font-weight: 900;

    letter-spacing: -.9px;
}

.wiki-category-header-description {
    max-width: 750px;

    color: var(--wiki-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   WIKI ARTICLE CARDS
========================================================= */

.wiki-articles-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.wiki-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 22px;

    overflow: hidden;

    border: 1px solid var(--wiki-border);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .95),
            rgba(249, 250, 253, .9)
        );

    color: var(--wiki-text);

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(20, 25, 50, .035);

    transition:
        transform .28s cubic-bezier(.2, .8, .2, 1),
        box-shadow .28s ease,
        border-color .28s ease;
}

.wiki-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(88, 101, 242, .18),
            transparent 70%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.wiki-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(88, 101, 242, .22);

    box-shadow:
        var(--wiki-shadow-hover);
}

.wiki-card:hover::before {
    opacity: 1;
}

.wiki-card-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.wiki-card-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(88, 101, 242, .11),
            rgba(139, 92, 246, .12)
        );

    color: var(--wiki-primary);

    font-size: 18px;
    font-weight: 900;

    transition: .25s ease;
}

.wiki-card:hover .wiki-card-icon {
    color: #fff;

    transform:
        rotate(-5deg)
        scale(1.07);

    background:
        linear-gradient(
            135deg,
            var(--wiki-primary),
            var(--wiki-secondary)
        );

    box-shadow:
        0 9px 22px rgba(88, 101, 242, .25);
}

.wiki-card-arrow {
    color: #b0b4bf;

    font-size: 20px;

    transition: .25s ease;
}

.wiki-card:hover .wiki-card-arrow {
    color: var(--wiki-primary);

    transform: translateX(4px);
}

.wiki-card-title {
    position: relative;
    z-index: 1;

    margin-bottom: 10px;

    color: var(--wiki-text);

    font-size: 18px;
    font-weight: 850;

    line-height: 1.35;
}

.wiki-card-category {
    width: fit-content;

    margin-bottom: 12px;
    padding: 5px 9px;

    border-radius: 7px;

    background:
        rgba(88, 101, 242, .07);

    color: var(--wiki-primary);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.wiki-card-description {
    position: relative;
    z-index: 1;

    margin-bottom: 8px;

    color: #686d7b;

    font-size: 13px;
    line-height: 1.6;
}

.wiki-card-text {
    position: relative;
    z-index: 1;

    flex: 1;

    color: #999eaa;

    font-size: 12px;
    line-height: 1.6;
}



    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;
    padding-top: 14px;

    border-top:
        1px solid rgba(20, 25, 45, .06);

    color: var(--wiki-primary);

    font-size: 11px;
    font-weight: 850;
}

.wiki-card.hidden {
    display: none;
}


/* =========================================================
   WIKI EMPTY STATE
========================================================= */

.wiki-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 380px;

    text-align: center;
}

.wiki-empty-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(88, 101, 242, .10),
            rgba(139, 92, 246, .12)
        );

    font-size: 30px;
}

.wiki-empty-title {
    margin-bottom: 8px;

    color: var(--wiki-text);

    font-size: 23px;
    font-weight: 850;
}

.wiki-empty-description {
    max-width: 430px;

    color: var(--wiki-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   WIKI ANIMATIONS
========================================================= */

@keyframes wikiFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wiki-card:not(.hidden) {
    animation:
        wikiFadeIn .4s ease forwards;
}


/* =========================================================
   WIKI RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .wiki-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wiki-sidebar {
        position: sticky;
        top: 10px;
        z-index: 10;

        display: flex;
        align-items: center;

        padding: 10px 15px;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        background:
            rgba(255, 255, 255, .95);

        border-radius: 16px;

        box-shadow:
            0 4px 20px rgba(20, 25, 50, .05);

        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .wiki-sidebar::-webkit-scrollbar {
        display: none;
    }

    .wiki-sidebar-head {
        display: none;
    }

    .wiki-category {
        display: inline-flex;

        flex-shrink: 0;

        margin-right: 8px;
        margin-bottom: 0;
    }

    .wiki-category:last-child {
        margin-right: 0;
    }

    .wiki-category-link {
        white-space: nowrap;

        padding: 10px 16px;

        border: 1px solid transparent;
        border-radius: 12px;

        background:
            rgba(240, 242, 245, .5);
    }

    .wiki-category-link:hover {
        transform: translateY(-2px);

        background:
            rgba(88, 101, 242, .1);
    }

    .wiki-category-link.active {
        transform: none;

        background:
            var(--wiki-primary);

        color: #fff;

        box-shadow:
            0 4px 12px rgba(88, 101, 242, .3);
    }

    .wiki-category-link.active:hover {
        background:
            var(--wiki-primary-dark);
    }
}


@media (max-width: 700px) {

    .wiki-articles-grid {
        grid-template-columns: 1fr;
    }

    .wiki-content {
        padding: 22px;
    }
}


@media (max-width: 576px) {

    .wiki-page {
        padding: 25px 0 50px;
    }

    .wiki-header {
        margin-bottom: 30px;
    }

    .wiki-title {
        font-size: 32px;
        letter-spacing: -1.5px;
    }

    .wiki-description {
        font-size: 13px;
    }

    .wiki-sidebar {
        margin: 0 -15px;

        width: calc(100% + 30px);

        top: 0;

        border-right: none;
        border-left: none;

        border-radius: 0;
    }

    .wiki-content {
        padding: 18px;

        border-radius: 17px;
    }

    .wiki-category-header-title {
        font-size: 22px;
    }

    .wiki-card {
        min-height: 200px;

        padding: 18px;
    }
}


/* =========================================================
   WIKI ARTICLE / INFO
========================================================= */

.info_wiki-page {
    width: 100%;
    max-width: 1100px;

    margin: 45px auto 70px;

    padding: 0 20px;

    color: var(--wiki-text);
}

.info_wiki-article-container {
    width: 100%;

    overflow: hidden;

    background: var(--wiki-card);

    border:
        1px solid rgba(0, 0, 0, .04);

    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(31, 35, 48, .08),
        0 4px 15px rgba(31, 35, 48, .03);
}

.info_wiki-top-line {
    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #5865f2 0%,
            #7289da 35%,
            #8b5cf6 65%,
            #5865f2 100%
        );
}

.info_wiki-content {
    padding: 45px 55px 50px;
}


/* =========================================================
   ARTICLE BREADCRUMBS
========================================================= */

.info_wiki-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;

    color: var(--wiki-text-light);

    font-size: 14px;
    line-height: 1.5;
}

.info_wiki-breadcrumbs a {
    color: var(--wiki-primary);

    text-decoration: none;

    font-weight: 700;

    transition: .2s ease;
}

.info_wiki-breadcrumbs a:hover {
    color: var(--wiki-primary-hover);
}

.info_wiki-breadcrumb-separator {
    color: #b7bac5;

    font-size: 18px;
}

.info_wiki-breadcrumb-current {
    max-width: 450px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #858894;
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.info_wiki-article-header {
    margin-bottom: 35px;
    padding-bottom: 30px;

    border-bottom:
        1px solid var(--wiki-border);
}

.info_wiki-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 16px;

    padding: 7px 13px;

    border-radius: 50px;

    background:
        rgba(88, 101, 242, .09);

    color: var(--wiki-primary);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.info_wiki-article-title {
    margin: 0 0 15px;

    color: var(--wiki-text);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.12;

    font-weight: 850;

    letter-spacing: -1.2px;

    overflow-wrap: anywhere;
}

.info_wiki-article-description {
    max-width: 850px;

    margin: 0;

    color: var(--wiki-text-light);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   ARTICLE META
========================================================= */

.info_wiki-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 25px;
}

.info_wiki-authors {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-width: 0;

    flex: 1;
}

.info_wiki-author {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;

    color: var(--wiki-text-light);

    font-size: 14px;
}

.info_wiki-author-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        rgba(88, 101, 242, .10);

    color: var(--wiki-primary);

    font-size: 16px;
}

.info_wiki-editor-icon {
    background:
        rgba(22, 163, 74, .10);

    color: var(--wiki-green);
}

.info_wiki-author-info {
    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 0;
}

.info_wiki-author-label {
    color: #9699a5;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .4px;
}

.info_wiki-author-name {
    color: var(--wiki-text);

    font-size: 14px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.info_wiki-author-date {
    margin-top: 2px;

    color: #9699a5;

    font-size: 11px;
}


/* =========================================================
   ROLE BADGES
========================================================= */

.info_wiki-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-top: 3px;
    padding: 4px 8px;

    border-radius: 6px;

    background: #f1f2f6;

    color: #707381;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;
}

.info_wiki-role-badge-author {
    background:
        rgba(88, 101, 242, .08);

    color: var(--wiki-primary);
}

.info_wiki-role-badge-editor {
    background:
        rgba(22, 163, 74, .08);

    color: var(--wiki-green);
}


/* =========================================================
   CURRENT USER PANEL
========================================================= */

.info_wiki-user-panel {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 46px;

    padding: 8px 13px;

    border:
        1px solid var(--wiki-border);

    border-radius: 12px;

    background: #fafbfc;

    color: var(--wiki-text-light);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.info_wiki-user-panel-icon {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background:
        rgba(88, 101, 242, .10);

    color: var(--wiki-primary);

    font-size: 14px;
}

.info_wiki-user-panel-content {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.info_wiki-user-panel-label {
    color: #9699a5;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.info_wiki-user-panel-role {
    color: var(--wiki-primary);

    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   ARTICLE EDIT BUTTON
========================================================= */

.info_wiki-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 10px 18px;

    border:
        1px solid rgba(88, 101, 242, .18);

    border-radius: 12px;

    background:
        rgba(88, 101, 242, .08);

    color: var(--wiki-primary);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.info_wiki-edit-button:hover {
    background: var(--wiki-primary);

    border-color: var(--wiki-primary);

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(88, 101, 242, .20);
}


/* =========================================================
   ARTICLE FULL TEXT
========================================================= */

.info_wiki-full-text {
    width: 100%;

    color: #393c47;

    font-size: 17px;
    line-height: 1.85;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.info_wiki-full-text h1,
.info_wiki-full-text h2,
.info_wiki-full-text h3,
.info_wiki-full-text h4 {
    color: var(--wiki-text);

    line-height: 1.3;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.info_wiki-full-text h1 {
    margin: 42px 0 20px;

    font-size: 31px;
}

.info_wiki-full-text h2 {
    position: relative;

    margin: 40px 0 20px;

    padding-left: 16px;

    font-size: 25px;
}

.info_wiki-full-text h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;
    bottom: 4px;

    width: 4px;

    border-radius: 5px;

    background: var(--wiki-primary);
}

.info_wiki-full-text h3 {
    margin: 30px 0 15px;

    font-size: 21px;
}

.info_wiki-full-text p {
    margin: 0 0 18px;
}

.info_wiki-full-text a {
    color: var(--wiki-primary);

    font-weight: 600;

    text-decoration: none;
}

.info_wiki-full-text a:hover {
    text-decoration: underline;
}

.info_wiki-full-text ul,
.info_wiki-full-text ol {
    margin: 18px 0 24px;

    padding-left: 30px;
}

.info_wiki-full-text li {
    margin-bottom: 9px;
}


/* =========================================================
   ARTICLE BLOCKQUOTE
========================================================= */

.info_wiki-full-text blockquote {
    margin: 25px 0;

    padding: 18px 22px;

    border-left:
        4px solid var(--wiki-primary);

    border-radius:
        0 12px 12px 0;

    background: #f7f8fc;

    color: #686b78;
}


/* =========================================================
   ARTICLE IMAGES
========================================================= */

.info_wiki-full-text img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 28px auto;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
}


/* =========================================================
   ARTICLE TABLES
========================================================= */

.info_wiki-full-text table {
    display: block;

    width: 100%;

    margin: 25px 0;

    overflow-x: auto;

    border-collapse: collapse;

    -webkit-overflow-scrolling: touch;
}

.info_wiki-full-text th,
.info_wiki-full-text td {
    padding: 12px 15px;

    border:
        1px solid var(--wiki-border);

    text-align: left;

    white-space: nowrap;
}

.info_wiki-full-text th {
    background: #f6f7fb;

    color: var(--wiki-text);

    font-weight: 700;
}


/* =========================================================
   ARTICLE CODE
========================================================= */

.info_wiki-full-text code {
    padding: 3px 7px;

    border-radius: 6px;

    background: #f0f1f5;

    color: #d14;

    font-size: 14px;
}

.info_wiki-full-text pre {
    max-width: 100%;

    overflow-x: auto;

    margin: 25px 0;
    padding: 20px;

    border-radius: 14px;

    background: #191b25;

    color: #f5f5f7;

    line-height: 1.6;

    -webkit-overflow-scrolling: touch;
}

.info_wiki-full-text pre code {
    padding: 0;

    background: transparent;

    color: inherit;
}


/* =========================================================
   ARTICLE LIKES
========================================================= */

.info_wiki-likes-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 40px;
    padding: 20px 22px;

    border:
        1px solid var(--wiki-border);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #fafbff,
            #ffffff
        );
}

.info_wiki-like-left {
    display: flex;
    flex-direction: column;

    gap: 7px;

    min-width: 0;
}

.info_wiki-like-form {
    margin: 0;
}

.info_wiki-like-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 10px 18px;

    border:
        1px solid #e5e7ef;

    border-radius: 13px;

    background: #fff;

    color: #555967;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: .2s ease;
}

.info_wiki-like-button:hover {
    border-color:
        rgba(230, 57, 86, .35);

    background: #fff5f7;

    color: var(--wiki-like);

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(230, 57, 86, .12);
}

.info_wiki-like-button.liked {
    border-color:
        rgba(230, 57, 86, .25);

    background:
        var(--wiki-like-bg);

    color: var(--wiki-like);
}

.info_wiki-like-heart {
    font-size: 20px;

    line-height: 1;

    transition:
        transform .2s ease;
}

.info_wiki-like-button:hover
.info_wiki-like-heart {
    transform: scale(1.15);
}

.info_wiki-like-count {
    min-width: 22px;

    text-align: center;
}

.info_wiki-like-login {
    color: #9295a0;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   WHO LIKED
========================================================= */

.info_wiki-like-users {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 7px;

    min-width: 0;
    max-width: 650px;
}

.info_wiki-like-users-label {
    margin-right: 3px;

    color: #9295a0;

    font-size: 12px;
    font-weight: 700;
}

.info_wiki-like-user {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border-radius: 9px;

    background: #f4f5f9;

    color: #555866;

    font-size: 12px;
    font-weight: 700;

    transition: .2s ease;
}

.info_wiki-like-user:hover {
    background:
        rgba(88, 101, 242, .09);

    color: var(--wiki-primary);
}

.info_wiki-like-user-icon {
    font-size: 12px;
}

.info_wiki-no-likes {
    color: #a0a2ad;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   ARTICLE NAVIGATION
========================================================= */

.info_wiki-nav-buttons {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 55px;
    padding-top: 30px;

    border-top:
        1px solid var(--wiki-border);
}

.info_wiki-btn {
    display: flex;
    align-items: center;

    min-width: 0;
    min-height: 65px;

    padding: 12px 18px;

    border:
        1px solid var(--wiki-border);

    border-radius: 15px;

    background: #fafbfc;

    color: #363945;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.info_wiki-btn:first-child {
    justify-content: flex-start;
}

.info_wiki-btn:last-child {
    justify-content: flex-end;

    text-align: right;
}

.info_wiki-btn:hover {
    transform: translateY(-2px);

    background: var(--wiki-primary);

    border-color: var(--wiki-primary);

    color: #fff;

    box-shadow:
        0 10px 25px rgba(88, 101, 242, .23);
}

.info_wiki-btn-arrow {
    flex-shrink: 0;

    margin: 0 10px;

    font-size: 22px;
    line-height: 1;
}

.info_wiki-btn-title {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 3px;
}

.info_wiki-btn-label {
    font-size: 10px;
    font-weight: 700;

    opacity: .55;

    text-transform: uppercase;
    letter-spacing: .6px;
}

.info_wiki-btn-name {
    display: block;

    max-width: 300px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   INFO WIKI USERS MODAL
========================================================= */

.info_wiki-users-trigger {
    cursor: pointer;

    transition: opacity .2s ease;
}

.info_wiki-users-trigger:hover {
    opacity: .8;

    text-decoration: underline;
}

.info_wiki-modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, .5);

    opacity: 0;

    transition:
        opacity .3s ease;
}

.info_wiki-modal-overlay.active {
    display: flex;

    opacity: 1;
}

.info_wiki-modal-content {
    position: relative;

    width: 90%;
    max-width: 400px;

    max-height: 80vh;

    overflow-y: auto;

    padding: 20px;

    border-radius: 8px;

    background: #fff;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .2);

    transform:
        translateY(-20px);

    transition:
        transform .3s ease;
}

.info_wiki-modal-overlay.active
.info_wiki-modal-content {
    transform: translateY(0);
}

.info_wiki-modal-close {
    position: absolute;

    top: 10px;
    right: 15px;

    color: #666;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;
}

.info_wiki-modal-close:hover {
    color: #000;
}

.info_wiki-modal-title {
    margin: 0 0 15px;

    padding-bottom: 10px;

    border-bottom:
        1px solid #eee;

    font-size: 18px;
}

.info_wiki-modal-list {
    list-style: none;

    margin: 0;
    padding: 0;
}

.info_wiki-modal-list-item {
    display: flex;
    align-items: center;

    padding: 8px 0;

    border-bottom:
        1px solid #f0f0f0;
}

.info_wiki-modal-list-item:last-child {
    border-bottom: none;
}


/* =========================================================
   INFO WIKI RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .info_wiki-page {
        max-width: 100%;

        margin: 30px auto 50px;
    }

    .info_wiki-content {
        padding: 35px;
    }

    .info_wiki-article-title {
        font-size: 36px;
    }

    .info_wiki-full-text {
        font-size: 16px;
    }

    .info_wiki-like-users {
        max-width: 100%;
    }
}


@media (max-width: 650px) {

    .info_wiki-page {
        margin: 0;

        padding: 0;
    }

    .info_wiki-article-container {
        border-radius: 0;

        border-right: 0;
        border-left: 0;

        box-shadow: none;
    }

    .info_wiki-top-line {
        height: 4px;
    }

    .info_wiki-content {
        padding: 24px 18px 30px;
    }

    .info_wiki-breadcrumbs {
        gap: 6px;

        margin-bottom: 23px;

        font-size: 12px;
    }

    .info_wiki-breadcrumb-separator {
        font-size: 15px;
    }

    .info_wiki-breadcrumb-current {
        max-width: 180px;
    }

    .info_wiki-category-badge {
        margin-bottom: 13px;

        padding: 6px 10px;

        font-size: 10px;
    }

    .info_wiki-article-title {
        margin-bottom: 12px;

        font-size: 28px;

        letter-spacing: -.7px;
    }

    .info_wiki-article-description {
        font-size: 14px;

        line-height: 1.65;
    }

    .info_wiki-article-header {
        margin-bottom: 27px;

        padding-bottom: 24px;
    }

    .info_wiki-article-meta {
        align-items: stretch;

        flex-direction: column;
    }

    .info_wiki-authors {
        width: 100%;
    }

    .info_wiki-author {
        align-items: flex-start;
    }

    .info_wiki-user-panel {
        width: 100%;

        justify-content: space-between;
    }

    .info_wiki-edit-button {
        width: 100%;
    }

    .info_wiki-full-text {
        font-size: 15px;

        line-height: 1.75;
    }

    .info_wiki-full-text h1 {
        margin-top: 32px;

        font-size: 25px;
    }

    .info_wiki-full-text h2 {
        margin-top: 32px;

        padding-left: 13px;

        font-size: 21px;
    }

    .info_wiki-full-text h2::before {
        width: 3px;
    }

    .info_wiki-full-text h3 {
        margin-top: 25px;

        font-size: 18px;
    }

    .info_wiki-full-text p {
        margin-bottom: 15px;
    }

    .info_wiki-full-text ul,
    .info_wiki-full-text ol {
        padding-left: 22px;
    }

    .info_wiki-full-text blockquote {
        margin: 20px 0;

        padding: 14px 16px;
    }

    .info_wiki-full-text img {
        width: 100%;
        max-width: 100%;

        margin: 20px auto;

        border-radius: 11px;
    }

    .info_wiki-full-text table {
        font-size: 13px;
    }

    .info_wiki-full-text th,
    .info_wiki-full-text td {
        padding: 9px 11px;
    }

    .info_wiki-full-text pre {
        margin-right: -2px;
        margin-left: -2px;

        padding: 15px;

        border-radius: 10px;

        font-size: 12px;
    }

    /* LIKES */

    .info_wiki-likes-section {
        align-items: stretch;

        flex-direction: column;

        gap: 15px;

        margin-top: 30px;

        padding: 16px;
    }

    .info_wiki-like-left {
        width: 100%;
    }

    .info_wiki-like-form {
        width: 100%;
    }

    .info_wiki-like-button {
        width: 100%;

        min-height: 50px;
    }

    .info_wiki-like-users {
        justify-content: flex-start;

        max-width: 100%;
    }

    .info_wiki-like-users-label {
        width: 100%;

        margin-bottom: 2px;
    }

    .info_wiki-like-user {
        font-size: 11px;
    }

    /* NAVIGATION */

    .info_wiki-nav-buttons {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 38px;

        padding-top: 22px;
    }

    .info_wiki-btn,
    .info_wiki-btn:last-child {
        justify-content: flex-start;

        min-height: 58px;

        text-align: left;
    }

    .info_wiki-btn:last-child {
        flex-direction: row;
    }

    .info_wiki-btn-name {
        max-width: 230px;
    }

    .info_wiki-btn-arrow {
        margin: 0 8px 0 0;
    }
}


@media (max-width: 380px) {

    .info_wiki-content {
        padding: 20px 14px 25px;
    }

    .info_wiki-article-title {
        font-size: 25px;
    }

    .info_wiki-full-text {
        font-size: 14px;
    }

    .info_wiki-full-text h2 {
        font-size: 19px;
    }

    .info_wiki-btn-name {
        max-width: 190px;
    }

    .info_wiki-like-button {
        font-size: 13px;
    }
}


/* =========================================================
   PROFILE VARIABLES
========================================================= */

.profile-page {
    --profile-bg: #f8fafc;

    --profile-surface:
        rgba(255, 255, 255, .85);

    --profile-surface-hover:
        rgba(255, 255, 255, .95);

    --profile-text: #0f172a;
    --profile-text-secondary: #64748b;
    --profile-text-tertiary: #94a3b8;
    --profile-text-inverse: #fff;

    --profile-primary: #6366f1;
    --profile-secondary: #8b5cf6;
    --profile-tertiary: #ec4899;

    --profile-gradient:
        linear-gradient(
            135deg,
            #6366f1,
            #8b5cf6,
            #ec4899
        );

    --profile-success: #10b981;
    --profile-success-bg: #d1fae5;

    --profile-warning: #f59e0b;
    --profile-warning-bg: #fef3c7;

    --profile-error: #ef4444;
    --profile-error-bg: #fee2e2;

    --profile-border:
        rgba(148, 163, 184, .2);

    --profile-border-hover:
        rgba(99, 102, 241, .4);

    --profile-shadow-sm:
        0 2px 8px rgba(0, 0, 0, .04);

    --profile-shadow-md:
        0 8px 30px rgba(0, 0, 0, .08);

    --profile-shadow-lg:
        0 20px 60px rgba(99, 102, 241, .15);

    --profile-shadow-glow:
        0 0 40px rgba(99, 102, 241, .25);

    --profile-radius-sm: 12px;
    --profile-radius-md: 20px;
    --profile-radius-lg: 28px;
    --profile-radius-xl: 36px;
    --profile-radius-full: 9999px;

    --profile-transition-fast:
        150ms cubic-bezier(.4, 0, .2, 1);

    --profile-transition-normal:
        250ms cubic-bezier(.4, 0, .2, 1);

    --profile-transition-slow:
        400ms cubic-bezier(.4, 0, .2, 1);
}


/* =========================================================
   PROFILE PAGE
========================================================= */

.profile-page {
    position: relative;

    min-height: 100vh;

    overflow-x: hidden;

    background: var(--profile-bg);

    color: var(--profile-text);

    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   PROFILE BACKGROUND
========================================================= */

.profile-page .bg-animation {
    position: fixed;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    pointer-events: none;

    background:
        var(--profile-bg);
}

.profile-page .bg-circle {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    opacity: .5;

    animation:
        profileFloat 25s infinite ease-in-out;
}

.profile-page .bg-circle:nth-child(1) {
    width: 600px;
    height: 600px;

    top: -200px;
    right: -150px;

    background:
        radial-gradient(
            circle,
            rgba(99, 102, 241, .25),
            transparent 70%
        );

    animation-delay: 0s;
}

.profile-page .bg-circle:nth-child(2) {
    width: 450px;
    height: 450px;

    bottom: -100px;
    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(236, 72, 153, .2),
            transparent 70%
        );

    animation-delay: -12s;
}

.profile-page .bg-circle:nth-child(3) {
    width: 300px;
    height: 300px;

    top: 40%;
    left: 30%;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, .2),
            transparent 70%
        );

    animation-delay: -5s;
}

@keyframes profileFloat {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    25% {
        transform:
            translate(20px, -30px)
            scale(1.02);
    }

    50% {
        transform:
            translate(-15px, 20px)
            scale(.98);
    }

    75% {
        transform:
            translate(10px, 10px)
            scale(1.01);
    }
}


/* =========================================================
   PROFILE CONTAINER
========================================================= */

.profile-page .profile-container {
    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    padding: 40px 24px 80px;

    position: relative;

    z-index: 1;
}


/* =========================================================
   PROFILE BACK LINK
========================================================= */

.profile-page .back-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    margin-bottom: 36px;

    color:
        var(--profile-text-secondary);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    background:
        var(--profile-surface);

    border:
        1px solid var(--profile-border);

    border-radius:
        var(--profile-radius-sm);

    backdrop-filter: blur(12px);

    transition:
        all var(--profile-transition-normal);
}

.profile-page .back-link:hover {
    color:
        var(--profile-primary);

    border-color:
        var(--profile-border-hover);

    background:
        var(--profile-surface-hover);

    transform:
        translateX(-4px);

    box-shadow:
        var(--profile-shadow-sm);
}

.profile-page .back-link svg {
    width: 18px;
    height: 18px;

    stroke-width: 2.5;
}


/* =========================================================
   PROFILE CARD
========================================================= */

.profile-page .profile-card {
    overflow: hidden;

    background:
        var(--profile-surface);

    border:
        1px solid rgba(255, 255, 255, .7);

    border-radius:
        var(--profile-radius-xl);

    box-shadow:
        var(--profile-shadow-md);

    backdrop-filter:
        blur(24px);

    -webkit-backdrop-filter:
        blur(24px);

    transition:
        transform var(--profile-transition-normal),
        box-shadow var(--profile-transition-normal);
}

.profile-page .profile-card:hover {
    box-shadow:
        var(--profile-shadow-lg);
}


/* =========================================================
   PROFILE HEADER
========================================================= */

.profile-page .profile-header {
    display: flex;
    align-items: center;

    gap: 32px;

    padding: 48px 48px 0;
}

.profile-page .avatar-wrapper {
    position: relative;

    flex-shrink: 0;
}

.profile-page .avatar {
    position: relative;

    width: 130px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        5px solid #fff;

    border-radius:
        var(--profile-radius-lg);

    background:
        var(--profile-gradient);

    box-shadow:
        0 12px 40px rgba(99, 102, 241, .35);

    transition:
        transform var(--profile-transition-normal);
}

.profile-page .avatar:hover {
    transform:
        scale(1.03);
}

.profile-page .avatar::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            45deg,
            transparent 30%,
            rgba(255, 255, 255, .25) 50%,
            transparent 70%
        );

    animation:
        profileShine 3s infinite;
}

@keyframes profileShine {

    0% {
        transform:
            translateX(-100%)
            rotate(45deg);
    }

    100% {
        transform:
            translateX(100%)
            rotate(45deg);
    }
}

.profile-page .avatar svg {
    width: 64px;
    height: 64px;

    position: relative;

    z-index: 1;

    color: #fff;

    stroke-width: 1.5;
}


/* =========================================================
   PROFILE STATUS
========================================================= */

.profile-page .status-indicator {
    position: absolute;

    right: 10px;
    bottom: 10px;

    width: 20px;
    height: 20px;

    border:
        4px solid #fff;

    border-radius:
        var(--profile-radius-full);

    background:
        var(--profile-success);

    box-shadow:
        0 0 0 3px rgba(16, 185, 129, .2),
        0 4px 12px rgba(16, 185, 129, .3);

    animation:
        profilePulseDot 2s infinite;
}

@keyframes profilePulseDot {

    0%,
    100% {
        box-shadow:
            0 0 0 3px rgba(16, 185, 129, .2),
            0 4px 12px rgba(16, 185, 129, .3);
    }

    50% {
        box-shadow:
            0 0 0 6px rgba(16, 185, 129, 0),
            0 4px 12px rgba(16, 185, 129, .5);
    }
}


/* =========================================================
   PROFILE USER INFO
========================================================= */

.profile-page .user-info {
    flex: 1;

    min-width: 0;
}

.profile-page .user-info h1 {
    margin: 0 0 10px;

    color:
        var(--profile-text);

    font-size: 34px;
    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -.025em;
}

.profile-page .role-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 14px;

    padding: 5px 14px;

    border-radius:
        var(--profile-radius-full);

    background:
        rgba(99, 102, 241, .12);

    color:
        var(--profile-primary);

    font-size: 13px;
    font-weight: 700;
}

.profile-page .verification-status {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 8px;

    padding: 10px 16px;

    border:
        1px solid transparent;

    border-radius:
        var(--profile-radius-sm);

    font-size: 13px;
    font-weight: 600;
}

.profile-page .verification-status.verified {
    background:
        var(--profile-success-bg);

    border-color:
        rgba(16, 185, 129, .25);

    color:
        var(--profile-success);
}

.profile-page .verification-status.unverified {
    background:
        var(--profile-warning-bg);

    border-color:
        rgba(245, 158, 11, .25);

    color:
        var(--profile-warning);
}

.profile-page .verification-status svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* =========================================================
   PROFILE INFO GRID
========================================================= */

.profile-page .info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 1px;

    margin: 40px 48px;

    overflow: hidden;

    background:
        var(--profile-border);

    border:
        1px solid rgba(255, 255, 255, .8);

    border-radius:
        var(--profile-radius-md);
}

.profile-page .info-item {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 22px 24px;

    background: #fff;

    transition:
        background var(--profile-transition-fast);
}

.profile-page .info-item:hover {
    background: #fafbfc;
}

.profile-page .info-item label {
    color:
        var(--profile-text-tertiary);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.profile-page .info-item div {
    color:
        var(--profile-text);

    font-size: 15px;
    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   PROFILE BUTTONS
========================================================= */

.profile-page .actions-bar {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    padding: 0 48px 48px;
}

.profile-page .btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    overflow: hidden;

    padding: 14px 26px;

    border: none;

    border-radius:
        var(--profile-radius-sm);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        all var(--profile-transition-normal);
}

.profile-page .btn::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .3),
            transparent
        );

    transform:
        translateX(-100%);

    transition:
        transform .5s;
}

.profile-page .btn:hover::after {
    transform:
        translateX(100%);
}

.profile-page .btn:disabled {
    opacity: .6;

    cursor: not-allowed;

    transform: none !important;
}

.profile-page .btn-primary {
    background:
        var(--profile-gradient);

    color:
        var(--profile-text-inverse);

    box-shadow:
        0 8px 24px rgba(99, 102, 241, .35);
}

.profile-page .btn-primary:hover:not(:disabled) {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 35px rgba(99, 102, 241, .5);
}

.profile-page .btn-secondary {
    background: #fff;

    border:
        1px solid var(--profile-border);

    color:
        var(--profile-text);

    box-shadow:
        var(--profile-shadow-sm);
}

.profile-page .btn-secondary:hover:not(:disabled) {
    border-color:
        var(--profile-primary);

    color:
        var(--profile-primary);

    transform:
        translateY(-1px);

    box-shadow:
        var(--profile-shadow-md);
}

.profile-page .btn-danger {
    margin-left: auto;

    background: #fef2f2;

    border:
        1px solid rgba(239, 68, 68, .25);

    color:
        var(--profile-error);
}

.profile-page .btn-danger:hover:not(:disabled) {
    background: #fee2e2;

    border-color:
        var(--profile-error);

    transform:
        translateY(-1px);
}

.profile-page .btn-warning {
    background: #fffbeb;

    border:
        1px solid rgba(245, 158, 11, .25);

    color:
        var(--profile-warning);
}

.profile-page .btn-warning:hover:not(:disabled) {
    background: #fef3c7;

    border-color:
        var(--profile-warning);

    transform:
        translateY(-1px);
}

.profile-page .btn svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* =========================================================
   PROFILE ALERTS
========================================================= */

.profile-page .alert {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    padding: 14px 18px;

    border-radius:
        var(--profile-radius-sm);

    font-size: 14px;
    font-weight: 500;

    animation:
        profileSlideIn var(--profile-transition-normal);

    backdrop-filter: blur(10px);
}

@keyframes profileSlideIn {

    from {
        opacity: 0;

        transform:
            translateY(-6px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

.profile-page .alert-error {
    background:
        var(--profile-error-bg);

    color:
        var(--profile-error);

    border:
        1px solid rgba(239, 68, 68, .2);
}

.profile-page .alert-success {
    background:
        var(--profile-success-bg);

    color:
        var(--profile-success);

    border:
        1px solid rgba(16, 185, 129, .2);
}

.profile-page .alert svg {
    width: 20px;
    height: 20px;

    flex-shrink: 0;
}


/* =========================================================
   PROFILE MODAL
========================================================= */

.profile-page .modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 1000;

    align-items: center;
    justify-content: center;

    background:
        rgba(248, 250, 252, .85);

    backdrop-filter:
        blur(10px);

    opacity: 0;

    transition:
        opacity var(--profile-transition-normal);
}

.profile-page .modal-overlay.active {
    display: flex;

    opacity: 1;
}

.profile-page .modal-window {
    width: 100%;
    max-width: 520px;

    margin: 16px;

    padding: 32px;

    background:
        rgba(255, 255, 255, .97);

    border:
        1px solid rgba(255, 255, 255, .9);

    border-radius:
        var(--profile-radius-lg);

    box-shadow:
        var(--profile-shadow-lg);

    transform:
        scale(.96)
        translateY(8px);

    transition:
        transform var(--profile-transition-normal);
}

.profile-page .modal-overlay.active
.modal-window {
    transform:
        scale(1)
        translateY(0);
}

.profile-page .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--profile-border);
}

.profile-page .modal-title {
    color:
        var(--profile-text);

    font-size: 20px;
    font-weight: 800;
}

.profile-page .close-btn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius:
        var(--profile-radius-sm);

    background: #f1f5f9;

    color:
        var(--profile-text-secondary);

    cursor: pointer;

    transition:
        all var(--profile-transition-fast);
}

.profile-page .close-btn:hover {
    background: #e2e8f0;

    color:
        var(--profile-text);

    transform:
        rotate(90deg);
}

.profile-page .close-btn svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   PROFILE EDIT TABS
========================================================= */

.profile-page .edit-tabs {
    display: flex;

    gap: 4px;

    margin-bottom: 24px;
    padding: 4px;

    background: #f1f5f9;

    border-radius:
        var(--profile-radius-sm);
}

.profile-page .edit-tab {
    flex: 1;

    padding: 11px 14px;

    text-align: center;

    border: none;

    border-radius:
        calc(var(--profile-radius-sm) - 4px);

    background: transparent;

    color:
        var(--profile-text-secondary);

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        all var(--profile-transition-fast);
}

.profile-page .edit-tab.active {
    background: #fff;

    color:
        var(--profile-primary);

    box-shadow:
        var(--profile-shadow-sm);
}

.profile-page .field-container {
    display: none;

    animation:
        profileFadeIn var(--profile-transition-normal);
}

.profile-page .field-container.active {
    display: block;
}

@keyframes profileFadeIn {

    from {
        opacity: 0;

        transform:
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   PROFILE FORM
========================================================= */

.profile-page .form-group {
    margin-bottom: 18px;
}

.profile-page .form-label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--profile-text);

    font-size: 13px;
    font-weight: 600;
}

.profile-page .form-input {
    width: 100%;

    padding: 14px 16px;

    border:
        1px solid var(--profile-border);

    border-radius:
        var(--profile-radius-sm);

    background:
        #f8fafc;

    color:
        var(--profile-text);

    font-family: inherit;

    font-size: 14px;

    transition:
        all var(--profile-transition-fast);
}

.profile-page .form-input:focus {
    outline: none;

    border-color:
        var(--profile-primary);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, .12);
}

.profile-page .form-input::placeholder {
    color:
        var(--profile-text-tertiary);
}

.profile-page .modal-footer {
    display: flex;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 28px;
    padding-top: 24px;

    border-top:
        1px solid var(--profile-border);
}


/* =========================================================
   PROFILE VERIFICATION
========================================================= */

.profile-page .verification-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 16px;

    border-radius: 50%;

    background:
        var(--profile-gradient);

    box-shadow:
        var(--profile-shadow-glow);

    animation:
        profilePulse 2s infinite;
}

@keyframes profilePulse {

    0%,
    100% {
        transform: scale(1);

        box-shadow:
            var(--profile-shadow-glow);
    }

    50% {
        transform: scale(1.05);

        box-shadow:
            0 0 60px rgba(99, 102, 241, .4);
    }
}

.profile-page .verification-icon svg {
    width: 36px;
    height: 36px;

    color: #fff;

    stroke-width: 2;
}

.profile-page .verification-info {
    margin-bottom: 24px;

    text-align: center;

    color:
        var(--profile-text-secondary);

    font-size: 14px;

    line-height: 1.6;
}

.profile-page .verification-info strong {
    color:
        var(--profile-text);
}

.profile-page .verification-message {
    display: none;

    margin-bottom: 16px;

    padding: 12px 16px;

    border-radius:
        var(--profile-radius-sm);

    font-size: 13px;

    text-align: center;

    animation:
        profileSlideIn var(--profile-transition-normal);
}

.profile-page .verification-message.error {
    display: block;

    background:
        var(--profile-error-bg);

    color:
        var(--profile-error);

    border:
        1px solid rgba(239, 68, 68, .2);
}

.profile-page .verification-message.success {
    display: block;

    background:
        var(--profile-success-bg);

    color:
        var(--profile-success);

    border:
        1px solid rgba(16, 185, 129, .2);
}


/* =========================================================
   PROFILE CODE INPUT
========================================================= */

.profile-page .code-input-wrapper {
    display: flex;
    justify-content: center;

    gap: 10px;

    margin: 20px 0;
}

.profile-page .code-digit {
    width: 52px;
    height: 64px;

    padding: 0;

    text-align: center;

    border:
        2px solid var(--profile-border);

    border-radius:
        var(--profile-radius-sm);

    background:
        #f8fafc;

    color:
        var(--profile-text);

    font-family: inherit;

    font-size: 24px;
    font-weight: 700;

    transition:
        all var(--profile-transition-fast);
}

.profile-page .code-digit:focus {
    outline: none;

    border-color:
        var(--profile-primary);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, .12);

    transform:
        translateY(-2px);
}

.profile-page .code-digit.filled {
    border-color:
        var(--profile-primary);

    background:
        rgba(99, 102, 241, .06);

    color:
        var(--profile-primary);
}


/* =========================================================
   PROFILE RESEND
========================================================= */

.profile-page .resend-section {
    margin-top: 16px;

    color:
        var(--profile-text-secondary);

    font-size: 13px;

    text-align: center;
}

.profile-page .resend-link {
    padding: 0;

    border: none;

    background: none;

    color:
        var(--profile-primary);

    font-family: inherit;

    font-size: inherit;
    font-weight: 600;

    cursor: pointer;
}

.profile-page .resend-link:hover:not(:disabled) {
    text-decoration: underline;
}

.profile-page .resend-link:disabled {
    color:
        var(--profile-text-tertiary);

    cursor: not-allowed;
}


/* =========================================================
   PROFILE LOADING
========================================================= */

.profile-page .loading-spinner {
    display: inline-block;

    width: 16px;
    height: 16px;

    margin-right: 8px;

    vertical-align: middle;

    border:
        2px solid rgba(255, 255, 255, .3);

    border-top-color: #fff;

    border-radius: 50%;

    animation:
        profileSpin .7s linear infinite;
}

@keyframes profileSpin {
    to {
        transform:
            rotate(360deg);
    }
}


/* =========================================================
   PROFILE RESPONSIVE — TABLET
========================================================= */

@media (max-width: 768px) {

    .profile-page .profile-container {
        padding:
            24px 16px 60px;
    }

    .profile-page .profile-header {
        flex-direction: column;

        gap: 24px;

        padding:
            36px 24px 0;

        text-align: center;
    }

    .profile-page .user-info h1 {
        font-size: 28px;
    }

    .profile-page .info-grid {
        grid-template-columns: 1fr;

        margin:
            32px 24px;
    }

    .profile-page .actions-bar {
        flex-direction: column;

        padding:
            0 24px 36px;
    }

    .profile-page .btn {
        width: 100%;
    }

    .profile-page .btn-danger {
        margin-left: 0;
    }

    .profile-page .code-digit {
        width: 46px;
        height: 56px;

        font-size: 20px;
    }

    .profile-page .modal-window {
        padding: 24px;
    }
}


/* =========================================================
   PROFILE RESPONSIVE — PHONE
========================================================= */

@media (max-width: 480px) {

    .profile-page .user-info h1 {
        font-size: 24px;
    }

    .profile-page .avatar {
        width: 110px;
        height: 110px;
    }

    .profile-page .info-item {
        padding:
            18px 20px;
    }

    .profile-page .info-item div {
        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .wiki-card:hover {
        transform: none;
    }

    .wiki-category-link:hover {
        transform: none;
    }

    .profile-page .profile-card:hover {
        box-shadow:
            var(--profile-shadow-md);
    }

    .profile-page .avatar:hover {
        transform: none;
    }
}
//=========================newfuter
    /* Основной контейнер */
.wiki_footer {
    position: relative;
    padding: 80px 20px 40px; /* Больше воздуха сверху */
    background: rgba(15, 23, 42, 0.6); /* Темный полупрозрачный фон */
    backdrop-filter: blur(12px); /* Эффект матового стекла */
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 10;
    margin-top: auto;
}

/* Декоративная линия сверху (свечение) */
.wiki_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.2) 20%, 
        rgba(236, 72, 153, 0.4) 50%, 
        rgba(139, 92, 246, 0.2) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 15px 1px rgba(139, 92, 246, 0.1);
    z-index: 2;
}

/* Фоновый градиентный блик (Ambient Light) */
.wiki_footer__glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px; /* Шире для плавности */
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px); /* Дополнительное размытие самого пятна */
}

/* Контейнер контента */
.wiki_footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Центрирование по вертикали */
    position: relative;
    z-index: 1;
}

/* --- Логотип и Бренд --- */
.wiki_footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiki_footer__brand:hover {
    transform: translateY(-2px);
}

.wiki_footer__logo-wrap {
    position: relative;
    width: 44px; /* Чуть крупнее */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wiki_footer__brand:hover .wiki_footer__logo-wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.wiki_footer__logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.wiki_footer__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.wiki_footer__name {
    font-size: 19px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wiki_footer__copy {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.wiki_footer__brand:hover .wiki_footer__copy {
    color: #94a3b8;
}

/* --- Ссылки (Pills) --- */
.wiki_footer__links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Позволяет перенос на ПК если много ссылок */
    justify-content: flex-end;
}

.wiki_footer__link {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Эффект свечения при наведении */
.wiki_footer__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.wiki_footer__link:hover::after {
    transform: translateX(100%);
}

.wiki_footer__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Акцентная ссылка (например, "Поддержать" или "Telegram") */
.wiki_footer__link--accent {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #d8b4fe;
}

.wiki_footer__link--accent:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* --- Адаптивность (Mobile & Tablet) --- */
@media (max-width: 768px) {
    .wiki_footer {
        padding: 50px 20px 30px;
    }
    
    .wiki_footer__container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .wiki_footer__brand {
        flex-direction: column;
        gap: 16px;
    }
    
    .wiki_footer__text {
        align-items: center;
    }

    /* Сетка для ссылок на мобильном - выглядит намного лучше простого списка */
    .wiki_footer__links {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
        gap: 12px;
        width: 100%;
        max-width: 340px;
        justify-items: center;
    }
    
    .wiki_footer__link {
        width: 100%;
        text-align: center;
        padding: 12px 10px; /* Удобнее для пальца */
        background: rgba(255, 255, 255, 0.04);
        font-size: 13px;
    }
    
    /* Если ссылок нечетное количество, последняя растянется на всю ширину */
    .wiki_footer__link:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .wiki_footer__links {
        grid-template-columns: 1fr; /* 1 колонка на совсем узких экранах */
    }
    
    .wiki_footer__link:last-child:nth-child(odd) {
        grid-column: span 1;
    }
}
//==============================авторизация
        
        .wiki_auth_bg-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            pointer-events: none;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
            -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
        }

        .wiki_auth_blob {
            position: fixed;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.25;
            z-index: -1;
            animation: wiki_auth_float 30s infinite alternate ease-in-out;
        }
        .wiki_auth_blob-1 { width: 600px; height: 600px; background: #8b5cf6; top: -150px; left: -150px; }
        .wiki_auth_blob-2 { width: 500px; height: 500px; background: #3b82f6; bottom: -150px; right: -150px; animation-delay: -10s; }
        .wiki_auth_blob-3 { width: 400px; height: 400px; background: #ec4899; top: 40%; left: 50%; opacity: 0.15; animation-delay: -20s; }

        @keyframes wiki_auth_float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(60px, 90px) scale(1.15); }
        }

        /* ============================================
           LAYOUT & НАВИГАЦИЯ
           ============================================ */
        .wiki_auth_layout {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
        }

        .wiki_auth_navbar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 10;
            padding: 20px 40px;
        }

        .wiki_auth_header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 40px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }

        .wiki_auth_back {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--wiki_auth_text-muted);
            transition: all 0.3s ease;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
        }
        .wiki_auth_back:hover { color: #fff; transform: translateX(-4px); }
        .wiki_auth_back svg path { fill: currentColor; }

        .wiki_auth_launcher {
            color: var(--wiki_auth_text-muted);
            font-size: 14px;
        }
        .wiki_auth_launcher a {
            color: var(--wiki_auth_primary);
            text-decoration: none;
            font-weight: 600;
            margin-left: 6px;
            transition: all 0.3s ease;
        }
        .wiki_auth_launcher a:hover {
            color: #ec4899;
            text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
        }

        /* ============================================
           КАРТОЧКА АВТОРИЗАЦИИ (GLASSMORPHISM)
           ============================================ */
        .wiki_auth_container {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .wiki_auth_card {
            width: 100%;
            max-width: 440px;
            background: var(--wiki_auth_glass-bg);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border: 1px solid var(--wiki_auth_glass-border);
            border-radius: 28px;
            padding: 48px 40px;
            box-shadow: var(--wiki_auth_shadow);
            position: relative;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
        }

        .wiki_auth_card:hover {
            transform: translateY(-4px);
            box-shadow: 0 35px 60px -15px rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.3);
        }

        /* Декоративная градиентная линия сверху */
        .wiki_auth_card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 3px;
            background: var(--wiki_auth_gradient);
            border-radius: 0 0 4px 4px;
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
        }

        .wiki_auth_badge {
            width: 72px;
            height: 72px;
            margin: 0 auto 24px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--wiki_auth_glass-border);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
        }
        .wiki_auth_card:hover .wiki_auth_badge { transform: scale(1.05) rotate(-3deg); }

        .wiki_auth_title {
            text-align: center;
            font-size: 30px;
            font-weight: 800;
            color: #fff;
            margin: 0 0 8px;
            letter-spacing: -0.5px;
        }
        .wiki_auth_title span {
            background: var(--wiki_auth_gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .wiki_auth_desc {
            text-align: center;
            color: var(--wiki_auth_text-muted);
            font-size: 15px;
            margin-bottom: 36px;
            line-height: 1.5;
        }

        /* ============================================
           ПОЛЯ ВВОДА
           ============================================ */
        .wiki_auth_inputs {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .wiki_auth_input-wrap {
            position: relative;
        }

        .wiki_auth_input {
            width: 100%;
            background: var(--wiki_auth_input-bg);
            border: 1px solid var(--wiki_auth_glass-border);
            border-radius: 14px;
            padding: 16px 16px 16px 48px;
            font-size: 15px;
            color: #fff;
            outline: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-sizing: border-box;
            font-family: inherit;
        }

        .wiki_auth_input::placeholder { color: #64748b; }

        .wiki_auth_input:focus {
            background: rgba(255, 255, 255, 0.07);
            border-color: var(--wiki_auth_primary);
            box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 0 20px rgba(139, 92, 246, 0.1);
        }

        .wiki_auth_icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            stroke: #94a3b8;
            transition: stroke 0.3s ease;
            pointer-events: none;
        }

        .wiki_auth_input:focus ~ .wiki_auth_icon {
            stroke: var(--wiki_auth_primary);
        }

        /* ============================================
           СООБЩЕНИЯ
           ============================================ */
        .wiki_auth_msg {
            display: none;
            margin-top: 20px;
            padding: 14px 16px;
            border-radius: 12px;
            font-size: 14px;
            text-align: center;
            line-height: 1.4;
            font-weight: 500;
            animation: wiki_auth_fadeIn 0.3s ease;
        }

        @keyframes wiki_auth_fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .wiki_auth_error {
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(239, 68, 68, 0.25);
            color: #fca5a5;
        }

        .wiki_auth_success {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: #6ee7b7;
        }

        /* ============================================
           КНОПКА
           ============================================ */
        .wiki_auth_btn {
            width: 100%;
            background: var(--wiki_auth_gradient);
            background-size: 200% 200%;
            color: #fff;
            border: none;
            border-radius: 14px;
            padding: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
            position: relative;
            overflow: hidden;
            margin-top: 28px;
            font-family: inherit;
            letter-spacing: 0.3px;
        }

        .wiki_auth_btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.6);
            background-position: right center;
        }

        .wiki_auth_btn:active:not(:disabled) {
            transform: translateY(1px);
        }

        .wiki_auth_btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            filter: grayscale(0.4);
        }

        /* ============================================
           ССЫЛКИ
           ============================================ */
        .wiki_auth_links {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .wiki_auth_link {
            color: var(--wiki_auth_text-muted);
            font-size: 14px;
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
            font-weight: 500;
        }

        .wiki_auth_link:hover { color: #fff; }

        .wiki_auth_link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--wiki_auth_gradient);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .wiki_auth_link:hover::after { width: 100%; }

        .wiki_auth_home {
            display: block;
            margin-top: 36px;
            text-align: center;
            color: var(--wiki_auth_text-muted);
            font-size: 13px;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }
        .wiki_auth_home:hover { color: #fff; }

        /* ============================================
           АДАПТИВНОСТЬ
           ============================================ */
        @media (max-width: 600px) {
            .wiki_auth_header {
                padding: 20px;
                flex-direction: column;
                gap: 16px;
                align-items: flex-start;
            }
            .wiki_auth_launcher {
                order: -1;
                width: 100%;
                text-align: center;
                background: rgba(255, 255, 255, 0.05);
                padding: 12px;
                border-radius: 12px;
                border: 1px solid var(--wiki_auth_glass-border);
            }
            .wiki_auth_card {
                padding: 36px 24px;
                border-radius: 24px;
            }
            .wiki_auth_links {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }
//=================================главная
       /* МОДАЛЬНОЕ ОКНО */
        .new_av_rp_modal_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
        .new_av_rp_modal_overlay.open { opacity: 1; visibility: visible; }
        .new_av_rp_modal_content { background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; width: 90%; max-width: 480px; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset; transform: scale(0.95) translateY(20px); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); overflow: hidden; max-height: 90vh; overflow-y: auto; }
        .new_av_rp_modal_overlay.open .new_av_rp_modal_content { transform: scale(1) translateY(0); }
        .modal-close-btn { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.05); border: none; color: #94a3b8; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: 0.2s; z-index: 2; }
        .modal-close-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

        .modal-state { display: none; animation: fadeIn 0.4s ease forwards; }
        .modal-state.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .modal-header-content { text-align: center; margin-bottom: 25px; }
        .modal-icon-pulse { width: 64px; height: 64px; margin: 0 auto 15px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05)); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #a78bfa; box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }
        .modal-icon-pulse svg { width: 32px; height: 32px; }
        .modal-header-content h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 8px; }
        .modal-header-content p { font-size: 14px; color: #94a3b8; margin: 0; }

        .features-mini-list { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
        .feature-mini { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #cbd5e1; background: rgba(255, 255, 255, 0.03); padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.05); }
        .feature-mini svg { width: 14px; height: 14px; color: #10b981; flex-shrink: 0; }

        .download-button-main { width: 100%; background: var(--btn-gradient); color: white; border: none; padding: 16px; border-radius: 16px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3); }
        .download-button-main:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(109, 40, 217, 0.5); }
        .download-button-main svg { stroke-width: 2.5; }

        .progress-container { margin-top: 20px; }
        .progress-bar-bg { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; position: relative; }
        .progress-bar-fill { height: 100%; background: linear-gradient(90deg, #8b5cf6, #ec4899); width: 0%; border-radius: 10px; transition: width 0.2s linear; box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
        .progress-text { text-align: right; font-size: 12px; color: #94a3b8; margin-top: 8px; font-variant-numeric: tabular-nums; }

        .modal-icon-check { width: 80px; height: 80px; margin: 0 auto 20px; background: rgba(16, 185, 129, 0.1); border: 2px solid var(--success-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--success-color); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .modal-icon-check svg { width: 40px; height: 40px; }

        .action-btn { width: 100%; padding: 14px; border-radius: 12px; border: none; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 16px; }
        .btn-secondary { background: rgba(255,255,255,0.1); color: #fff; transition: 0.2s; }
        .btn-secondary:hover { background: rgba(255,255,255,0.15); }

        @keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
        @keyframes spin { 100% { transform: rotate(360deg); } }
        @keyframes scanPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
        @keyframes dangerPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); } 50% { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
        @keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
        
        .spin-animation { animation: spin 2s linear infinite; }
        .scan-animation { animation: scanPulse 1.5s infinite ease-in-out; }
        .danger-animation { animation: dangerPulse 1.2s infinite ease-in-out; }
        .shake-animation { animation: shake 0.5s ease-in-out; }

        /* СОСТОЯНИЕ: ВИРУС ОБНАРУЖЕН */
        .modal-icon-danger { width: 80px; height: 80px; margin: 0 auto 20px; background: rgba(239, 68, 68, 0.1); border: 2px solid var(--danger-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--danger-color); box-shadow: 0 0 30px rgba(239, 68, 68, 0.3); }
        .modal-icon-danger svg { width: 40px; height: 40px; }
        .threat-list { background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 14px; padding: 16px; margin: 20px 0; }
        .threat-list-title { font-size: 13px; font-weight: 600; color: var(--danger-color); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
        .threat-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(0, 0, 0, 0.25); border-radius: 10px; margin-bottom: 8px; font-size: 13px; border-left: 3px solid var(--danger-color); }
        .threat-item:last-child { margin-bottom: 0; }
        .threat-item svg { width: 16px; height: 16px; color: var(--danger-color); flex-shrink: 0; }
        .threat-name { font-weight: 600; color: #fff; }
        .threat-type { font-size: 11px; color: var(--warning-color); margin-left: auto; font-weight: 500; }
        .danger-warning-text { font-size: 13px; color: #cbd5e1; line-height: 1.5; text-align: center; margin: 15px 0 20px; }
        .btn-danger { width: 100%; padding: 14px; border-radius: 12px; border: none; background: linear-gradient(90deg, #ef4444, #dc2626); color: #fff; font-weight: 600; font-family: 'Outfit', sans-serif; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3); margin-bottom: 10px; }
        .btn-danger:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5); }
        .btn-cancel { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: transparent; color: #94a3b8; font-weight: 500; font-family: 'Outfit', sans-serif; font-size: 15px; cursor: pointer; transition: 0.2s; }
        .btn-cancel:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

        @media (max-width: 480px) {
            .new_av_rp_modal_content { padding: 30px 20px; }
            .features-mini-list { flex-direction: column; align-items: stretch; }
            .feature-mini { justify-content: center; }
            .modal-icon-danger { width: 64px; height: 64px; }
            .modal-icon-danger svg { width: 32px; height: 32px; }
            .modal-header-content h2 { font-size: 20px; }
        }
        .download-btn-wrapper {
            position: relative;
            display: inline-block;
            margin-top: 10px;
        }

        .new-download-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 16px 32px;
            font-family: 'Outfit', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(90deg, #8b5cf6, #ec4899);
            border-radius: 16px;
            text-decoration: none;
            cursor: pointer;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5), 
                        0 8px 10px -6px rgba(139, 92, 246, 0.1);
            border: none;
            z-index: 1;
        }

        /* Эффект свечения при наведении */
        .new-download-btn::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(90deg, #ec4899, #8b5cf6);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.3s ease;
        }

        .new-download-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 20px 35px -5px rgba(139, 92, 246, 0.6);
        }

        .new-download-btn:hover::before {
            opacity: 1;
        }

        .new-download-btn:active {
            transform: translateY(1px) scale(0.98);
        }

        /* Иконка внутри кнопки */
        .new-download-btn svg {
            width: 24px;
            height: 24px;
            transition: transform 0.3s ease;
        }

        .new-download-btn:hover svg {
            transform: translateY(3px); /* Анимация стрелки вниз */
        }

        /* Блик на кнопке */
        .new-download-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
            opacity: 0;
            transform: scale(0.5);
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: none;
        }

        .new-download-btn:hover::after {
            opacity: 1;
            transform: scale(1);
        }

        /* Адаптив для мобильных */
        @media (max-width: 768px) {
            .download-btn-wrapper {
                width: 100%;
                display: block;
            }
            .new-download-btn {
                width: 100%;
                padding: 18px 24px;
                font-size: 1rem;
            }
        }


        /* =========================================
           КОМПАКТНАЯ КНОПКА СКАЧИВАНИЯ
           ========================================= */
        .download-button-main {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            
            /* Уменьшенные отступы для компактности */
            padding: 14px 32px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            font-family: inherit;
            
            color: white;
            background: var(--btn-gradient);
            border: none;
            border-radius: 12px;
            
            /* Легкое свечение вместо тяжелого 3D */
            box-shadow: 0 4px 20px var(--btn-glow);
            
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            z-index: 1;
        }

        /* Блик при наведении */
        .download-button-main::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }

        .download-button-main:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--btn-glow);
        }

        .download-button-main:hover::before {
            left: 100%;
        }

        .download-button-main:active {
            transform: translateY(1px);
            box-shadow: 0 2px 10px var(--btn-glow);
        }

        .download-button-main svg {
            width: 20px;
            height: 20px;
            stroke-width: 2.5;
        }

        /* =========================================
           МОДАЛЬНОЕ ОКНО
           ========================================= */
        .new_av_rp_modal_overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(2, 6, 23, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 16px;
        }

        .new_av_rp_modal_overlay.open {
            opacity: 1;
            visibility: visible;
        }

        .new_av_rp_modal_content {
            background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 40%),
                        rgba(15, 23, 42, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            width: 100%;
            max-width: 400px;
            padding: 32px 24px;
            position: relative;
            box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
            transform: scale(0.9) translateY(30px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
        }

        .new_av_rp_modal_overlay.open .new_av_rp_modal_content {
            transform: scale(1) translateY(0);
        }

        .modal-close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.03);
            color: #94a3b8;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 10;
        }

        .modal-close-btn:hover {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            transform: rotate(90deg);
        }

        .modal-state {
            display: none;
            flex-direction: column;
            align-items: center;
            text-align: center;
            animation: fadeInState 0.4s ease forwards;
        }

        .modal-state.active {
            display: flex;
        }

        @keyframes fadeInState {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-header-content {
            margin-bottom: 24px;
            width: 100%;
        }

        .modal-header-content h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin: 16px 0 8px;
        }

        .modal-header-content p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin: 0;
        }

        .modal-icon-pulse {
            width: 64px;
            height: 64px;
            margin: 0 auto;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(219, 39, 119, 0.1));
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a78bfa;
            animation: float-icon 3s ease-in-out infinite;
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
        }

        .modal-icon-pulse svg { width: 32px; height: 32px; }

        .modal-icon-spin svg {
            width: 40px;
            height: 40px;
            color: #a78bfa;
            animation: spin 1.5s linear infinite;
        }

        .modal-icon-check {
            width: 64px;
            height: 64px;
            margin: 0 auto;
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #10b981;
        }

        .modal-icon-check svg { width: 32px; height: 32px; }

        @keyframes float-icon {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        .features-mini-list {
            display: flex;
            gap: 10px;
            margin-bottom: 24px;
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }

        .feature-mini {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 500;
            color: #e2e8f0;
            background: rgba(255, 255, 255, 0.03);
            padding: 8px 12px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .feature-mini svg { width: 16px; height: 16px; color: #10b981; }

        .progress-container {
            width: 100%;
            margin-top: 10px;
        }

        .progress-bar-bg {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .progress-bar-fill {
            height: 100%;
            width: 0%;
            background: var(--btn-gradient);
            border-radius: 4px;
            transition: width 0.3s ease;
            position: relative;
            box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
        }

        .progress-text {
            text-align: right;
            font-size: 0.85rem;
            font-weight: 600;
            color: #a78bfa;
            margin-top: 8px;
        }

        .btn-download-apk, .action-btn {
            width: 100%;
            padding: 14px;
            border-radius: 12px;
            border: none;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.2s;
            font-family: 'Outfit', sans-serif;
        }

        .btn-download-apk {
            background: var(--btn-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
        }

        .btn-download-apk:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.12);
            color: white;
        }
        
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 600px) {
            .new_av_rp_modal_content {
                padding: 24px 20px;
                max-width: 90%;
            }
            .download-button-main {
                width: 100%;
                padding: 14px;
                font-size: 0.95rem;
            }
        }
    
/* ============================================
   GLOBAL & BACKGROUND ELEMENTS
   ============================================ */
.global-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.aurora-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #4c1d95, transparent);
    animation: floatBlob 20s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #be185d, transparent);
    animation: floatBlob 25s infinite alternate-reverse;
}

@keyframes floatBlob {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

/* ============================================
   HEADER & HERO STYLES
   ============================================ */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    z-index: 1;
    background: radial-gradient(ellipse at top, #1a1033 0%, #0a0514 50%, #000 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Glow Blobs inside Header */
.header__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 15s ease-in-out infinite;
}

.header__glow--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.header__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d946ef 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

.header__glow--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: 40%;
    right: 20%;
    opacity: 0.3;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid Overlay */
.header__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container & Content */
.header__container {
    max-width: 1000px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge */
.header__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    animation: badgePulse 3s ease-in-out infinite;
}

.header__badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: dotBlink 2s ease-in-out infinite;
}

.header__badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #e9d5ff;
    text-transform: uppercase;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

/* Typography */
.header__name {
    font-size: clamp(48px, 8vw, 110px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 60%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    text-transform: uppercase;
}

.header__accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.header__accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #d946ef, transparent);
    border-radius: 2px;
    animation: accentLine 3s ease-in-out infinite;
}

@keyframes accentLine {
    0%, 100% { transform: scaleX(0.3); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
}

.header__description {
    font-size: clamp(17px, 1.8vw, 22px);
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 45px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
}

.header__highlight {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Actions & Scroll Indicator */
.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 70px;
}

.header__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.header__scroll-indicator:hover { opacity: 1; }

.header__scroll-indicator span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.header__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, #8b5cf6, transparent);
    position: relative;
    overflow: hidden;
}

.header__scroll-line::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    background: #fff;
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% { top: -40px; }
    100% { top: 40px; }
}

/* Animations for Entry */
[data-animate] {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

[data-animate="fade-down"] { animation-name: fadeInDown; }

.header__badge { animation-delay: 0.1s; }
.header__name { animation-delay: 0.25s; }
.header__description { animation-delay: 0.4s; }
.header__actions { animation-delay: 0.55s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PLAY BUTTON COMPONENT
   ============================================ */
.play-btn-wrap {
    display: inline-block;
    padding: 40px;
    perspective: 800px;
}

.play-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 52px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    overflow: visible;
    isolation: isolate;
    background: transparent;
    font-family: inherit;
    outline: none;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.play-btn__border {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: 0;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 0%, #8b5cf6 10%, #d946ef 20%, #ec4899 30%, transparent 40%, transparent 60%, #8b5cf6 70%, #6d28d9 80%, transparent 90%);
    animation: rotateBorder 4s linear infinite;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.play-btn__border::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: #0f0a1e;
}

@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}

.play-btn:hover .play-btn__border { opacity: 1; }

.play-btn__bg {
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    z-index: 1;
    background: linear-gradient(135deg, #1a1035 0%, #0f0a1e 50%, #1a0e2e 100%);
    transition: background 0.4s ease;
}

.play-btn:hover .play-btn__bg {
    background: linear-gradient(135deg, #231548 0%, #1a1035 50%, #261240 100%);
}

.play-btn__content {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.play-btn__text-inner {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transition: letter-spacing 0.4s ease, text-shadow 0.4s ease;
    background: linear-gradient(90deg, #fff 0%, #e9d5ff 40%, #c084fc 50%, #e9d5ff 60%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 200% center; }
    50% { background-position: -200% center; }
}

.play-btn:hover .play-btn__text-inner {
    letter-spacing: 2.5px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

.play-btn__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn__icon {
    width: 16px;
    height: 16px;
    color: #c084fc;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn:hover .play-btn__icon-wrap {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateX(4px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.play-btn:hover .play-btn__icon {
    color: #fff;
    transform: translateX(2px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, #000 0%, #0a0514 50%, #000 100%);
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features-header { text-align: center; margin-bottom: 70px; }

.features-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.features-title span {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: rgba(226, 232, 240, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    position: relative;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 60px -20px rgba(139, 92, 246, 0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(217, 70, 239, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 14px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: #c084fc;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.6;
}

/* ============================================
   SERVERS SECTION
   ============================================ */
.new_av_rp_section {
    position: relative;
    padding: 100px 20px;
    background: radial-gradient(ellipse at center, #1a1033 0%, #0a0514 60%, #000 100%);
    overflow: hidden;
}

.new_av_rp_container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.section-badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e9d5ff;
    text-transform: uppercase;
}

.new_av_rp_title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.new_av_rp_title span {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: rgba(226, 232, 240, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
}

.new_av_rp_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.new_av_rp_card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.new_av_rp_card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.server-banner {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.server-status.online .status-dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.server-status.offline .status-dot { background: #ef4444; }

.server-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
}

.server-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.server-content { padding: 24px; }

.server-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.server-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-rp {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-hot {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.server-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.server-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    flex: 1;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-icon { margin-bottom: 5px; }
.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-progress { margin-top: 15px; }

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    border-radius: 3px;
    transition: width 1s ease;
}

.offline-message {
    text-align: center;
    padding: 20px 0;
    color: #94a3b8;
    font-size: 14px;
}

.offline-message svg {
    width: 32px;
    height: 32px;
    stroke: #ef4444;
    margin-bottom: 10px;
}

/* ============================================
   DOWNLOAD CTA & SOCIALS
   ============================================ */
.how-to-start {
    padding: 80px 20px;
    text-align: center;
    background: #000;
    position: relative;
}

.how-to-start__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.how-to-start__desc {
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.download-button {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.download-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

.new_social_section {
    padding: 60px 20px 100px;
    background: #000;
}

.new_social_items {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.new_social_item {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.new_social_item svg {
    width: 28px;
    height: 28px;
    fill: #94a3b8;
    transition: fill 0.3s;
}

.new_social_item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.new_social_item:hover svg { fill: #fff; }

.new_social_label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.new_social_item:hover .new_social_label {
    opacity: 1;
    bottom: -25px;
}

/* ============================================
   IMPROVED MODAL STYLES
   ============================================ */
.new_av_rp_modal_overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.new_av_rp_modal_overlay.open {
    opacity: 1;
    visibility: visible;
}

.new_av_rp_modal_content {
    width: 90%;
    max-width: 480px;
    background: #13111c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 100px rgba(139, 92, 246, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.new_av_rp_modal_overlay.open .new_av_rp_modal_content {
    transform: scale(1) translateY(0);
}

.new_av_rp_modal_content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: rotate(90deg);
}

.modal-state {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeIn 0.4s ease forwards;
}

.modal-state.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-icon-pulse {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    animation: pulseIcon 3s infinite;
}

.modal-icon-pulse svg {
    width: 40px;
    height: 40px;
    stroke: #c084fc;
}

.modal-icon-pulse.mobile-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.15));
    border-color: rgba(16, 185, 129, 0.4);
}

.modal-icon-pulse.mobile-icon svg { stroke: #10b981; }

.modal-icon-pulse.error-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
}

.modal-icon-pulse.error-icon svg { stroke: #ef4444; }

@keyframes pulseIcon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
}

.modal-header-content h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-header-content h2.error-title { color: #ef4444; }

.modal-header-content p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 25px;
}

.features-mini-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #cbd5e1;
}

.feature-mini svg {
    width: 16px;
    height: 16px;
    stroke: #10b981;
    stroke-width: 3;
    fill: none;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.5);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4);
}

.btn-error:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(239, 68, 68, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

.progress-wrapper { margin-top: 10px; }

.circular-progress {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}

.circular-progress svg {
    width: 100%;
    height: 100%;
}

.circular-progress circle {
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.percentage-text {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.status-text {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding: 0 10px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.step-item.active { opacity: 1; }
.step-item.completed { opacity: 1; }

.step-item.completed .step-indicator {
    background: #10b981;
    border-color: #10b981;
}

.step-item.completed .step-indicator::after {
    content: '✓';
    color: #000;
    font-size: 10px;
    font-weight: bold;
}

.step-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    transition: all 0.3s;
}

.step-item.active .step-indicator {
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6;
}

.step-item.active.mobile-step .step-indicator {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.step-item.completed.mobile-step .step-indicator {
    background: #10b981;
    border-color: #10b981;
}

.step-info { display: flex; flex-direction: column; }

.step-title {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.step-desc {
    font-size: 12px;
    color: #64748b;
}

.success-animation svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.success-animation path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: dashCheck 0.8s ease forwards 0.2s;
}

@keyframes dashCheck {
    to { stroke-dashoffset: 0; }
}

.success-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.success-actions .action-btn { flex: 1; }

/* ============================================
   UTILITIES & RESPONSIVE
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header { padding: 100px 20px 60px; }
    .header__glow--3 { display: none; }
    .header__actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 50px;
    }
    .play-btn-wrap { padding: 25px; }
    .header__scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .new_av_rp_modal_content {
        padding: 30px 20px;
        width: 95%;
    }
    .circular-progress {
        width: 140px;
        height: 140px;
    }
    .percentage-text { font-size: 24px; }
}
//=================================конец главной
.new_av_rp_section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1a1033 0%, #0a0514 50%, #000 100%);
    isolation: isolate;
}

/* ============================================
   GLOW BLOBS
   ============================================ */
.servers__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 20s ease-in-out infinite;
}

.servers__glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.servers__glow--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d946ef 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.1); }
    66%      { transform: translate(-30px, 20px) scale(0.95); }
}

/* ============================================
   GRID
   ============================================ */
.servers__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   CONTAINER
   ============================================ */
.new_av_rp_container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

.section-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

.section-badge-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e9d5ff;
    text-transform: uppercase;
}

.new_av_rp_title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: uppercase;
}

.new_av_rp_title span {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.section-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: rgba(226, 232, 240, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* ============================================
   FILTERS
   ============================================ */
.servers-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
}

.filter-btn .filter-icon {
    font-size: 16px;
}

.filter-btn .filter-count {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(217, 70, 239, 0.2));
    border-color: rgba(139, 92, 246, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5);
}

.filter-btn.active .filter-count {
    background: rgba(139, 92, 246, 0.4);
    color: #fff;
}

/* ============================================
   GRID
   ============================================ */
.new_av_rp_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* ============================================
   CARD BASE
   ============================================ */
.new_av_rp_card {
    background: rgba(15, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.new_av_rp_card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 30px 60px -15px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

.new_av_rp_card.offline {
    opacity: 0.7;
}

.new_av_rp_card.offline:hover {
    opacity: 0.85;
}

/* Градиентная рамка при hover */
.card-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #8b5cf6, #d946ef, #ec4899);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.new_av_rp_card:hover .card-border-glow {
    opacity: 0.5;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0.7; }
}

/* ============================================
   SERVER BANNER
   ============================================ */
.server-banner {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.server-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.04) 10px, rgba(255,255,255,0.04) 20px);
    opacity: 0.6;
}

.server-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(15, 10, 30, 0.8), transparent);
    pointer-events: none;
}

.server-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    color: #fff;
}

.server-icon svg {
    width: 40px;
    height: 40px;
}

.new_av_rp_card:hover .server-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.5);
}

/* ============================================
   SERVER STATUS
   ============================================ */
.server-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.server-status.online {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.server-status.offline {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ============================================
   SERVER POPULARITY
   ============================================ */
.server-popularity {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    color: #1a1033;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
}

.server-popularity svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   SERVER CONTENT
   ============================================ */
.server-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Теги */
.server-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.server-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid transparent;
}

.tag-rp {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.3);
}

.tag-drift {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.3);
}

.tag-pvp {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.tag-hard {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.tag-fun {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.tag-dm {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.tag-new {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

/* Название */
.server-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.server-version {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/* IP */
.server-ip {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.6);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.server-ip:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.server-ip span {
    flex-grow: 1;
}

.copy-ip-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copy-ip-btn svg {
    width: 16px;
    height: 16px;
}

.copy-ip-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    transform: scale(1.1);
}

/* ============================================
   STATS
   ============================================ */
.server-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.stat-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 8px;
    color: #c084fc;
    opacity: 0.7;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(180deg, #fff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 10px;
    color: rgba(226, 232, 240, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============================================
   PROGRESS
   ============================================ */
.server-progress {
    margin-top: auto;
    padding-top: 8px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 11px;
    color: rgba(226, 232, 240, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.progress-value {
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #d946ef, #ec4899);
    border-radius: inherit;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   OFFLINE MESSAGE
   ============================================ */
.offline-message {
    text-align: center;
    padding: 24px 16px;
    color: rgba(226, 232, 240, 0.6);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    background: rgba(107, 114, 128, 0.05);
    border: 1px dashed rgba(107, 114, 128, 0.2);
    border-radius: 12px;
}

.offline-message svg {
    width: 28px;
    height: 28px;
    color: #9ca3af;
    opacity: 0.6;
}

.offline-message span {
    line-height: 1.5;
}

/* ============================================
   CONNECT BUTTON
   ============================================ */
.connect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.connect-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.connect-btn__text,
.connect-btn__icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.connect-btn__icon {
    width: 18px;
    height: 18px;
}

.connect-btn:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.connect-btn:hover::before {
    opacity: 1;
}

.connect-btn:hover .connect-btn__icon {
    transform: translateX(4px);
}

.connect-btn:active {
    transform: translateY(0);
}

/* ============================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="card-up"] {
    transition-delay: calc(var(--card-index, 0) * 0.1s);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .new_av_rp_section {
        padding: 80px 0;
    }
    
    .servers__glow--1 { width: 350px; height: 350px; }
    .servers__glow--2 { width: 300px; height: 300px; }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .servers-filters {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .new_av_rp_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .server-banner { height: 140px; }
    .server-icon { width: 70px; height: 70px; }
    .server-icon svg { width: 34px; height: 34px; }
    .server-name { font-size: 20px; }
}

@media (max-width: 480px) {
    .new_av_rp_section {
        padding: 60px 0;
    }
    
    .new_av_rp_container {
        width: calc(100% - 24px);
    }
    
    .section-badge {
        padding: 6px 14px;
    }
    
    .section-badge-text {
        font-size: 10px;
    }
    
    .server-content {
        padding: 20px;
    }
    
    .stat-value { font-size: 22px; }
    .stat-box { padding: 12px 8px; }
}

/* ============================================
   DESKTOP ≥ 1200px
   ============================================ */
@media (min-width: 1200px) {
    .new_av_rp_section {
        padding: 140px 0;
    }
    
    .new_av_rp_container {
        max-width: 1400px;
    }
    
    .section-header {
        margin-bottom: 70px;
    }
    
    .new_av_rp_title {
        font-size: clamp(42px, 4vw, 64px);
    }
    
    .servers-filters {
        gap: 14px;
        margin-bottom: 60px;
    }
    
    .filter-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .new_av_rp_grid {
        gap: 32px;
    }
    
    .server-banner { height: 180px; }
    .server-icon { width: 90px; height: 90px; }
    .server-icon svg { width: 44px; height: 44px; }
    .server-name { font-size: 24px; }
    .stat-value { font-size: 28px; }
}

/* ============================================
   LARGE DESKTOP ≥ 1920px
   ============================================ */
@media (min-width: 1920px) {
    .new_av_rp_section {
        padding: 160px 0;
    }
    
    .servers__glow--1 { width: 800px; height: 800px; }
    .servers__glow--2 { width: 700px; height: 700px; }
    
    .new_av_rp_container {
        max-width: 1600px;
    }
    
    .section-header {
        margin-bottom: 80px;
    }
    
    .new_av_rp_title {
        font-size: clamp(48px, 3.5vw, 72px);
    }
    
    .new_av_rp_grid {
        gap: 36px;
    }
    
    .server-banner { height: 200px; }
}

/* ============================================
   4K ≥ 3840px
   ============================================ */
@media (min-width: 3840px) {
    .new_av_rp_section {
        padding: 200px 0;
    }
    
    .new_av_rp_container {
        max-width: 2800px;
    }
    
    .servers__glow--1 { width: 1400px; height: 1400px; }
    .servers__glow--2 { width: 1200px; height: 1200px; }
    
    .new_av_rp_title {
        font-size: clamp(60px, 2.5vw, 90px);
    }
    
    .new_av_rp_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .servers__glow,
    .section-badge,
    .section-badge-dot,
    .status-dot::after,
    .card-border-glow,
    .progress-fill::after {
        animation: none !important;
    }
    
    .new_av_rp_card,
    .server-icon,
    .connect-btn,
    .filter-btn {
        transition-duration: 0.01ms !important;
    }
}

    /* =========================================================
       DOWNLOAD SECTION
       ========================================================= */
    .how-to-start {
        position: relative;
        z-index: 2;
        padding: 100px 0;
        text-align: center;
    }

    .how-to-start__title {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #fff;
    }
    
    .how-to-start__desc {
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
        font-size: 18px;
        line-height: 1.6;
    }

    .download-button {
        margin-top: 40px;
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        padding: 18px 40px;
        border-radius: 16px;
        color: white;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }

    .download-button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--primary-gradient);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .download-button:hover::before {
        opacity: 0.2;
    }

    .download-button:hover {
        border-color: #8b5cf6;
        transform: translateY(-4px);
        box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.5);
    }

    /* =========================================================
       SOCIALS SECTION
       ========================================================= */
    .new_social_section {
        padding: 80px 0 120px;
        position: relative;
        z-index: 2;
        overflow: hidden;
    }

    .new_social_items {
        display: flex;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .new_social_item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--glass-border);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none;
    }

    .new_social_item svg {
        width: 32px;
        height: 32px;
        fill: #94a3b8;
        transition: all 0.3s ease;
    }

    .new_social_label {
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: #fff;
        color: #000;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 800;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .new_social_item:hover {
        transform: translateY(-10px) scale(1.1);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .new_social_item:hover .new_social_label {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .new_social_item.tg:hover { border-color: #2AABEE; box-shadow: 0 0 30px rgba(42, 171, 238, 0.5); }
    .new_social_item.tg:hover svg { fill: #2AABEE; }

    .new_social_item.vk:hover { border-color: #0077FF; box-shadow: 0 0 30px rgba(0, 119, 255, 0.5); }
    .new_social_item.vk:hover svg { fill: #0077FF; }

    .new_social_item.yt:hover { border-color: #FF0000; box-shadow: 0 0 30px rgba(255, 0, 0, 0.5); }
    .new_social_item.yt:hover svg { fill: #FF0000; }

    .new_social_item.ds:hover { border-color: #5865F2; box-shadow: 0 0 30px rgba(88, 101, 242, 0.5); }
    .new_social_item.ds:hover svg { fill: #5865F2; }

    /* =========================================================
       MODAL - УЛУЧШЕННЫЙ ДИЗАЙН
       ========================================================= */
     /* ============================================
   OVERLAY
   ============================================ */
.new_av_rp_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    padding: calc(20px + env(safe-area-inset-top))
             calc(20px + env(safe-area-inset-right))
             calc(20px + env(safe-area-inset-bottom))
             calc(20px + env(safe-area-inset-left));
}

.new_av_rp_modal_overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MODAL CONTENT
   ============================================ */
.new_av_rp_modal_content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    max-width: 520px;
    width: 100%;
    max-height: calc(100vh - 40px);
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.new_av_rp_modal_overlay.active .new_av_rp_modal_content {
    transform: scale(1) translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.new_av_rp_modal_header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.new_av_rp_modal_header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
    transform: translateX(-50%);
    filter: blur(60px);
    pointer-events: none;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
}

.new_av_rp_modal_header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.new_av_rp_modal_header p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* ============================================
   CLOSE BUTTON
   ============================================ */
.new_av_rp_close_btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.new_av_rp_close_btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: rotate(90deg) scale(1.1);
}

/* ============================================
   BODY
   ============================================ */
.new_av_rp_modal_body {
    padding: 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

/* ============================================
   SLIDER
   ============================================ */
.new_av_rp_slider_wrapper {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.new_av_rp_slider_track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.new_av_rp_slide {
    min-width: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.slide-step {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.new_av_rp_slide_img_wrap {
    height: 180px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.new_av_rp_slide h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.new_av_rp_slide p {
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SLIDER NAV
   ============================================ */
.new_av_rp_slider_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.new_av_rp_slider_arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    -webkit-tap-highlight-color: transparent;
}

.new_av_rp_slider_arrow:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.new_av_rp_slider_arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.new_av_rp_slider_dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.slider-dot.active {
    background: #8b5cf6;
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* ============================================
   DOWNLOAD BUTTON
   ============================================ */
.new_av_rp_download_btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5);
    -webkit-tap-highlight-color: transparent;
}

.new_av_rp_download_btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.new_av_rp_download_btn:hover::before {
    transform: translateX(100%);
}

.new_av_rp_download_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.7);
}

.new_av_rp_download_btn:active {
    transform: translateY(-1px);
}

/* ============================================
   PROGRESS
   ============================================ */
.new_av_rp_progress_container {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}

.new_av_rp_circle_wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}

.new_av_rp_circle_percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.percentage-value {
    font-size: 36px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.percentage-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ============================================
   STAGES
   ============================================ */
.new_av_rp_stages {
    width: 100%;
    margin-top: 20px;
}

.new_av_rp_stage {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    opacity: 0.4;
    transition: all 0.4s ease;
    border-radius: 12px;
    margin-bottom: 8px;
}

.new_av_rp_stage.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.new_av_rp_stage.completed {
    opacity: 0.8;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.new_av_rp_stage_icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.new_av_rp_stage.active .new_av_rp_stage_icon {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    box-shadow: 0 8px 20px -5px rgba(139, 92, 246, 0.5);
    animation: stagePulse 2s ease-in-out infinite;
}

.new_av_rp_stage.completed .new_av_rp_stage_icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

@keyframes stagePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.new_av_rp_stage_icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.new_av_rp_stage_content {
    flex-grow: 1;
    min-width: 0;
}

.new_av_rp_stage_title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.new_av_rp_stage_desc {
    font-size: 12px;
    color: var(--text-muted);
}

.new_av_rp_stage_check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.new_av_rp_stage.completed .new_av_rp_stage_check {
    opacity: 1;
    background: linear-gradient(135deg, #10b981, #059669);
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    0%   { transform: scale(0); }
    100% { transform: scale(1); }
}

.new_av_rp_stage_check svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

/* ============================================
   CONFETTI
   ============================================ */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #8b5cf6;
    z-index: 999999;
    animation: confettiFall 3s ease-out forwards;
    pointer-events: none;
}

@keyframes confettiFall {
    0%   { transform: translateY(-100vh) rotate(0deg);   opacity: 1; }
    100% { transform: translateY(100vh)  rotate(720deg); opacity: 0; }
}

/* ============================================
   TABLET (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
    .header__name { font-size: 40px; }
    .new_av_rp_grid { grid-template-columns: 1fr; }
    .new_social_items { gap: 15px; }

    .new_av_rp_modal_content {
        border-radius: 24px;
        max-height: calc(100vh - 40px);
    }

    .new_av_rp_modal_header { padding: 24px 20px; }
    .new_av_rp_modal_header::before { width: 200px; height: 200px; }

    .modal-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 12px; }
    .modal-icon svg { width: 28px; height: 28px; }

    .new_av_rp_modal_header h2 { font-size: 22px; margin-bottom: 4px; }
    .new_av_rp_modal_header p { font-size: 13px; margin-top: 4px; }

    .new_av_rp_modal_body { padding: 20px; }

    .new_av_rp_slider_wrapper { border-radius: 16px; margin-bottom: 16px; }
    .new_av_rp_slide { padding: 20px 16px; }
    .slide-step { font-size: 10px; padding: 5px 12px; margin-bottom: 10px; }
    .new_av_rp_slide_img_wrap { height: 120px; border-radius: 12px; margin-bottom: 12px; }
    .new_av_rp_slide h3 { font-size: 17px; margin-bottom: 6px; }
    .new_av_rp_slide p { font-size: 12px; line-height: 1.5; }

    .new_av_rp_slider_nav { margin-bottom: 16px; }
    .new_av_rp_slider_arrow { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
    .slider-dot { width: 8px; height: 8px; }
    .slider-dot.active { width: 24px; }

    .new_av_rp_download_btn { padding: 14px; font-size: 14px; border-radius: 12px; gap: 10px; }

    .new_av_rp_progress_container { padding: 20px 16px; }
    .new_av_rp_circle_wrap { width: 110px; height: 110px; margin-bottom: 20px; }
    .percentage-value { font-size: 28px; }
    .percentage-label { font-size: 10px; margin-top: 3px; }

    .new_av_rp_stages { margin-top: 16px; }
    .new_av_rp_stage { gap: 12px; padding: 12px; margin-bottom: 6px; }
    .new_av_rp_stage_icon { width: 36px; height: 36px; border-radius: 10px; }
    .new_av_rp_stage_icon svg { width: 18px; height: 18px; }
    .new_av_rp_stage_title { font-size: 13px; margin-bottom: 2px; }
    .new_av_rp_stage_desc { font-size: 11px; }
    .new_av_rp_stage_check { width: 24px; height: 24px; }
    .new_av_rp_stage_check svg { width: 14px; height: 14px; }

    .new_av_rp_close_btn { top: 14px; right: 14px; width: 32px; height: 32px; font-size: 20px; }
}

/* ============================================
   MOBILE ≤ 480px — ПО ЦЕНТРУ, ЧУТЬ ВЫШЕ
   ============================================ */
@media (max-width: 480px) {
    .new_av_rp_modal_overlay {
        padding: 12px;
        padding: calc(12px + env(safe-area-inset-top))
                 calc(12px + env(safe-area-inset-right))
                 calc(12px + env(safe-area-inset-bottom))
                 calc(12px + env(safe-area-inset-left));
        align-items: center;
    }

    .new_av_rp_modal_content {
        border-radius: 20px;
        max-height: 85vh; /* было 80vh — немного больше */
        max-width: 100%;
        transform: scale(0.92) translateY(20px);
    }

    .new_av_rp_modal_overlay.active .new_av_rp_modal_content {
        transform: scale(1) translateY(0);
    }

    /* Header — чуть больше */
    .new_av_rp_modal_header {
        padding: 18px 16px 16px;
    }

    .new_av_rp_modal_header::before {
        width: 150px;
        height: 150px;
    }

    .modal-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .modal-icon svg {
        width: 22px;
        height: 22px;
    }

    .new_av_rp_modal_header h2 {
        font-size: 18px;
        letter-spacing: -0.3px;
    }

    .new_av_rp_modal_header p {
        font-size: 12px;
        margin-top: 4px;
        line-height: 1.35;
    }

    /* Body — чуть больше */
    .new_av_rp_modal_body {
        padding: 18px 14px;
    }

    /* Слайды — чуть больше */
    .new_av_rp_slider_wrapper {
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .new_av_rp_slide {
        padding: 14px 12px;
    }

    .slide-step {
        font-size: 9px;
        padding: 4px 10px;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .new_av_rp_slide_img_wrap {
        height: 90px; /* было 75px */
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .new_av_rp_slide h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .new_av_rp_slide p {
        font-size: 11px;
        line-height: 1.4;
    }

    /* Навигация */
    .new_av_rp_slider_nav {
        margin-bottom: 14px;
    }

    .new_av_rp_slider_arrow {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 14px;
    }

    .new_av_rp_slider_dots {
        gap: 6px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 20px;
    }

    /* Кнопка */
    .new_av_rp_download_btn {
        padding: 12px;
        font-size: 13px;
        border-radius: 10px;
        gap: 8px;
    }

    /* Прогресс — чуть больше */
    .new_av_rp_progress_container {
        padding: 14px 12px;
    }

    .new_av_rp_circle_wrap {
        width: 85px; /* было 75px */
        height: 85px;
        margin-bottom: 14px;
    }

    .percentage-value {
        font-size: 22px;
    }

    .percentage-label {
        font-size: 9px;
        margin-top: 3px;
    }

    /* Stages */
    .new_av_rp_stages {
        margin-top: 12px;
    }

    .new_av_rp_stage {
        gap: 10px;
        padding: 8px;
        margin-bottom: 5px;
        border-radius: 8px;
    }

    .new_av_rp_stage_icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .new_av_rp_stage_icon svg {
        width: 15px;
        height: 15px;
    }

    .new_av_rp_stage_title {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .new_av_rp_stage_desc {
        font-size: 10px;
    }

    .new_av_rp_stage_check {
        width: 22px;
        height: 22px;
    }

    .new_av_rp_stage_check svg {
        width: 12px;
        height: 12px;
    }

    /* Close button */
    .new_av_rp_close_btn {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* ============================================
   VERY SMALL MOBILE (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
    .new_av_rp_modal_content {
        max-height: 80vh;
    }

    .new_av_rp_modal_header {
        padding: 14px 12px 12px;
    }

    .modal-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .modal-icon svg {
        width: 19px;
        height: 19px;
    }

    .new_av_rp_modal_header h2 {
        font-size: 16px;
    }

    .new_av_rp_modal_header p {
        font-size: 11px;
    }

    .new_av_rp_modal_body {
        padding: 14px 12px;
    }

    .new_av_rp_slide {
        padding: 12px 10px;
    }

    .new_av_rp_slide_img_wrap {
        height: 75px;
    }

    .new_av_rp_slide h3 {
        font-size: 13px;
    }

    .new_av_rp_slide p {
        font-size: 10px;
    }

    .new_av_rp_circle_wrap {
        width: 75px;
        height: 75px;
        margin-bottom: 12px;
    }

    .percentage-value {
        font-size: 19px;
    }

    .new_av_rp_stage {
        padding: 7px;
        gap: 8px;
    }

    .new_av_rp_stage_icon {
        width: 26px;
        height: 26px;
    }

    .new_av_rp_stage_icon svg {
        width: 13px;
        height: 13px;
    }

    .new_av_rp_stage_title {
        font-size: 11px;
    }

    .new_av_rp_stage_desc {
        font-size: 9px;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .new_av_rp_modal_overlay {
        align-items: center;
        padding: 10px;
    }

    .new_av_rp_modal_content {
        max-height: 92vh;
        border-radius: 18px;
    }

    .new_av_rp_modal_header {
        padding: 14px 18px;
    }

    .modal-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .modal-icon svg {
        width: 19px;
        height: 19px;
    }

    .new_av_rp_modal_header h2 {
        font-size: 17px;
    }

    .new_av_rp_modal_header p {
        font-size: 11px;
    }

    .new_av_rp_slide_img_wrap {
        height: 70px;
    }

    .new_av_rp_circle_wrap {
        width: 75px;
        height: 75px;
        margin-bottom: 12px;
    }

    .new_av_rp_stage {
        padding: 7px;
        gap: 8px;
    }

    .new_av_rp_stage_icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   DESKTOP LARGE (≥ 1200px)
   ============================================ */
@media (min-width: 1200px) {
    .new_av_rp_modal_content { max-width: 560px; }
    .new_av_rp_modal_header { padding: 48px 40px; }
    .new_av_rp_modal_body { padding: 36px; }
    .new_av_rp_slide { padding: 36px; }
    .new_av_rp_slide_img_wrap { height: 200px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .new_av_rp_modal_content,
    .new_av_rp_modal_overlay,
    .new_av_rp_slider_track,
    .new_av_rp_download_btn,
    .new_av_rp_stage,
    .new_av_rp_stage_check,
    .slider-dot,
    .new_av_rp_close_btn,
    .new_av_rp_slider_arrow {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .modal-icon { animation: none; }
    .confetti { display: none; }
}
//========================================навигация

/* =========================================
   VARIABLES & RESET
   ========================================= */
.av_rp_navbar * { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
}

/* =========================================
   MAIN NAVBAR STRUCTURE
   ========================================= */
.av_rp_navbar {
    background: var(--av_rp_glass, rgba(15, 23, 42, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--av_rp_border, rgba(255,255,255,0.08));
    position: sticky; top: 0; z-index: 1000; height: 70px; display: flex; align-items: center;
    transition: all 0.3s ease;
}

.av_rp_container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* Brand */
.av_rp_brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.av_rp_logo_img { height: 36px; width: auto; filter: drop-shadow(0 0 5px rgba(255,255,255,0.1)); }
.av_rp_brand_name { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.1); }

/* Desktop Links */
.av_rp_desktop_links { display: flex; gap: 8px; list-style: none; align-items: center; }
.av_rp_desktop_links > li { position: relative; }

.av_rp_link { 
    text-decoration: none; 
    color: var(--av_rp_text_muted, #94a3b8); 
    font-weight: 500; 
    font-size: 15px; 
    padding: 8px 16px; 
    border-radius: 8px; 
    transition: all 0.3s ease; 
    display: flex; align-items: center; gap: 6px;
}
.av_rp_link:hover { 
    color: #fff; 
    background: var(--av_rp_hover, rgba(255,255,255,0.05)); 
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.av_rp_link.active { 
    color: var(--av_rp_primary, #8b5cf6); 
    background: rgba(139, 92, 246, 0.1); 
}

.av_rp_link .av_rp_submenu_icon {
    font-size: 10px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

/* Desktop Submenu */
.av_rp_submenu {
    display: block; /* Изменено для работы через visibility/opacity */
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    min-width: 220px;
    padding: 8px;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Логика открытия через класс submenu-open (JS) */
.av_rp_desktop_links > li.submenu-open > .av_rp_submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.av_rp_desktop_links > li.submenu-open > a .av_rp_submenu_icon {
    transform: rotate(180deg);
    opacity: 1;
    color: #8b5cf6;
}

.av_rp_submenu_item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
    font-size: 14px;
}
.av_rp_submenu_item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateX(4px);
}
.av_rp_sub_icon { font-size: 18px; width: 24px; text-align: center; opacity: 0.8; }

/* Profile & Actions */
.av_rp_actions { display: flex; align-items: center; gap: 15px; }
.av_rp_profile_wrapper { position: relative; }

.av_rp_profile_btn { 
    display: flex; align-items: center; gap: 10px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 6px 12px 6px 6px; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    color: #fff;
}
.av_rp_profile_btn:hover { 
    background: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.av_rp_avatar_box { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #1e293b; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,0.1); }
.av_rp_avatar_box img { width: 100%; height: 100%; object-fit: cover; }
.av_rp_username { font-size: 14px; font-weight: 600; color: #e2e8f0; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av_rp_chevron { color: #94a3b8; transition: transform 0.3s; }
.av_rp_profile_btn[aria-expanded="true"] .av_rp_chevron { transform: rotate(180deg); color: #8b5cf6; }

/* Profile Dropdown */
.av_rp_dropdown_menu { 
    position: absolute; top: calc(100% + 15px); right: 0; 
    width: 280px; 
    background: rgba(15, 23, 42, 0.98); 
    backdrop-filter: blur(20px);
    border-radius: 16px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.1); 
    opacity: 0; visibility: hidden; 
    transform: translateY(-10px) scale(0.98); 
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); 
    overflow: hidden; z-index: 1002; 
}
.av_rp_dropdown_menu.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.av_rp_dd_header { background: rgba(255, 255, 255, 0.03); padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.av_rp_dd_status { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8b5cf6; font-weight: 700; }
.av_rp_dd_content { padding: 8px; }
.av_rp_dd_item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; border-radius: 10px; transition: background 0.15s; color: inherit; }
.av_rp_dd_item:hover { background: rgba(255, 255, 255, 0.08); }
.av_rp_dd_item .icon { font-size: 18px; width: 24px; text-align: center; }
.av_rp_dd_item .text { display: flex; flex-direction: column; }
.av_rp_dd_item .title { font-size: 14px; font-weight: 600; color: #f1f5f9; }
.av_rp_dd_item .desc { font-size: 12px; color: #94a3b8; }
.av_rp_dd_item.danger:hover { background: rgba(239, 68, 68, 0.1); }
.av_rp_dd_item.danger .title { color: #fca5a5; }
.av_rp_divider { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 6px 0; }
.av_rp_section_label { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; opacity: 0.7; }

/* =========================================
   MOBILE MENU & BURGER (UPDATED)
   ========================================= */
.av_rp_burger { 
    display: none; 
    flex-direction: column; 
    gap: 6px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 8px; 
    z-index: 2001; 
}
.av_rp_burger span { 
    display: block; 
    width: 24px; 
    height: 2px; 
    background: #fff; 
    border-radius: 4px; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 0 4px rgba(255,255,255,0.3); 
}

/* Анимация бургера */
.av_rp_burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.av_rp_burger.active span:nth-child(2) { opacity: 0; }
.av_rp_burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.av_rp_mobile_overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.av_rp_mobile_overlay.active { display: block; opacity: 1; }

.av_rp_mobile_content {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 85%; max-width: 360px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.av_rp_mobile_overlay.active .av_rp_mobile_content { transform: translateX(0); }

.av_rp_mobile_header {
    padding: 24px 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}
.av_rp_close_btn { 
    background: rgba(255,255,255,0.05); 
    border: none; 
    width: 36px; height: 36px; 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; 
    cursor: pointer; 
    font-size: 24px; 
    line-height: 1; 
    transition: all 0.2s; 
}
.av_rp_close_btn:hover { background: rgba(255,255,255,0.1); color: #fff; transform: rotate(90deg); }

.av_rp_mobile_scroll_area { 
    flex: 1; 
    overflow-y: auto; 
    padding: 20px; 
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.av_rp_mobile_scroll_area::-webkit-scrollbar { width: 4px; }
.av_rp_mobile_scroll_area::-webkit-scrollbar-track { background: transparent; }
.av_rp_mobile_scroll_area::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.2); border-radius: 10px; }

.av_rp_mobile_nav_list { display: flex; flex-direction: column; gap: 8px; }

.av_rp_mob_item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.av_rp_mob_item:hover, .av_rp_mob_item:active { 
    background: rgba(255, 255, 255, 0.08); 
    border-color: rgba(255,255,255,0.1);
    transform: translateX(4px);
}
.av_rp_mob_icon { font-size: 20px; width: 28px; text-align: center; color: #94a3b8; }
.av_rp_mob_title { flex: 1; font-weight: 600; font-size: 15px; }
.av_rp_mob_arrow { 
    color: #64748b; 
    font-size: 14px; 
    transition: transform 0.3s ease, color 0.3s ease; 
    padding: 4px;
}

/* Активное состояние родителя (аккордеон) */
.av_rp_mob_item.has-children.expanded {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #fff;
}
.av_rp_mob_item.has-children.expanded .av_rp_mob_icon { color: #8b5cf6; }
.av_rp_mob_item.has-children.expanded .av_rp_mob_arrow { 
    transform: rotate(180deg); 
    color: #8b5cf6; 
}

/* Подменю (Аккордеон) */
.av_rp_mob_submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    overflow: hidden;
}
.av_rp_mob_submenu.active {
    grid-template-rows: 1fr;
    margin-top: 4px;
    margin-bottom: 8px;
}
.av_rp_mob_submenu_inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 12px;
    border-left: 2px solid rgba(255,255,255,0.05);
    margin-left: 24px;
}
.av_rp_mob_subitem {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.2s;
}
.av_rp_mob_subitem:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding-left: 20px;
}
.av_rp_mob_subitem .icon { font-size: 18px; width: 24px; text-align: center; opacity: 0.7; }

@media (max-width: 900px) {
    .av_rp_desktop_links { display: none; }
    .av_rp_burger { display: flex; }
    .av_rp_username { display: none; }
    .av_rp_profile_btn { padding: 4px; background: transparent; border: none; }
    .av_rp_profile_btn:hover { background: transparent; box-shadow: none; }
    .av_rp_avatar_box { border-color: rgba(255,255,255,0.2); }
}

//=================================донат

        /* --- Стили для выбора кассы (Стиль "Ссылки-Плитки") --- */
        .av_donate_payment_methods {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 25px;
            justify-content: space-between;
        }

        .av_donate_method_link {
            flex: 1 1 calc(33.333% - 6px); /* 3 в ряд */
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            user-select: none;
        }

        @media (max-width: 500px) {
            .av_donate_method_link {
                flex: 1 1 calc(50% - 4px); /* 2 в ряд на мобильных */
            }
        }

        .av_donate_method_link:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Активное состояние (выбранная касса) */
        .av_donate_method_link.selected {
            background: rgba(139, 92, 246, 0.1); /* Фиолетовый фон */
            border-color: #8b5cf6;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
        }

        .av_donate_method_content {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 500;
        }

        .av_donate_method_link.selected .av_donate_method_content {
            color: #fff;
        }

        .av_donate_method_icon_img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        /* Галочка внутри выбранной плитки */
        .av_donate_check_mark {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #8b5cf6;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .av_donate_method_link.selected .av_donate_check_mark {
            opacity: 1;
            transform: scale(1);
        }

        .av_donate_check_mark svg {
            width: 10px;
            height: 10px;
            stroke: #fff;
            stroke-width: 3;
        }

        /* Фоновые эффекты (как на главной) */
        .global-bg-grid {
            position: fixed;
            inset: 0;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
            pointer-events: none;
            z-index: 0;
        }

        .aurora-blob {
            position: fixed;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.3;
            z-index: -1;
            animation: floatBlob 25s infinite alternate;
        }
        .blob-1 { width: 600px; height: 600px; background: #8b5cf6; top: -100px; left: -100px; }
        .blob-2 { width: 500px; height: 500px; background: #3b82f6; bottom: -100px; right: -100px; animation-delay: -8s; }
        .blob-3 { width: 400px; height: 400px; background: #ec4899; top: 40%; left: 40%; opacity: 0.2; animation-delay: -15s; }

        @keyframes floatBlob {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, 80px) scale(1.2); }
        }

        .av_donate_page {
            position: relative;
            z-index: 1;
            padding: 40px 0 80px;
        }

        .av_donate_container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ============================================
           HERO СЕКЦИЯ (Glassmorphism)
           ============================================ */
        .av_donate_hero {
            position: relative;
            background: var(--bg-card);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 32px;
            padding: 80px 60px;
            overflow: hidden;
            margin-bottom: 80px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        /* Декоративная линия сверху */
        .av_donate_hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 2px;
            background: var(--primary-gradient);
            box-shadow: 0 0 15px #8b5cf6;
        }

        .av_donate_hero_content {
            position: relative;
            z-index: 2;
            max-width: 640px;
        }

        .av_donate_hero_badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.3);
            padding: 8px 16px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            color: #a78bfa;
            margin-bottom: 24px;
            letter-spacing: 0.3px;
            backdrop-filter: blur(5px);
        }

        .av_donate_hero_title {
            font-size: clamp(36px, 5vw, 56px);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -1.5px;
            margin-bottom: 20px;
            color: #fff;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
        }

        .av_donate_hero_title span {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .av_donate_hero_subtitle {
            font-size: 18px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 520px;
        }

        .av_donate_btn_primary {
            background: var(--primary-gradient);
            color: #fff;
            border: none;
            padding: 18px 36px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .av_donate_btn_primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.7);
        }

        .av_donate_btn_ghost {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: #fff;
            padding: 18px 32px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            backdrop-filter: blur(5px);
        }

        .av_donate_btn_ghost:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(139, 92, 246, 0.5);
            color: #fff;
        }

        .av_donate_hero_stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px;
            max-width: 560px;
        }

        .av_donate_stat_item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            padding: 20px;
            border-radius: 16px;
            backdrop-filter: blur(5px);
        }

        .av_donate_stat_value {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 4px;
            color: #fff;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .av_donate_stat_label {
            font-size: 12px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        /* Плавающая монета (адаптирована под темную тему) */
        .av_donate_floating_coin {
            position: absolute;
            right: 60px;
            top: 50%;
            transform: translateY(-50%);
            width: 280px;
            height: 280px;
            z-index: 2;
            animation: av_donate_float 6s ease-in-out infinite;
            filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.2));
        }

        @keyframes av_donate_float {
            0%, 100% { transform: translateY(-50%) rotate(-5deg); }
            50% { transform: translateY(-60%) rotate(5deg); }
        }

        .av_donate_coin_body {
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 30%, #fcd34d, #d97706);
            border-radius: 50%;
            box-shadow: 
                inset -10px -10px 20px rgba(0, 0, 0, 0.5),
                inset 10px 10px 20px rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 4px solid rgba(255, 255, 255, 0.1);
        }

        .av_donate_coin_body::before {
            content: '$';
            font-size: 120px;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.9);
            font-family: serif;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        /* ============================================
           ПРЕИМУЩЕСТВА & ШАГИ
           ============================================ */
        .av_donate_section_title {
            text-align: center;
            margin-bottom: 60px;
        }

        .av_donate_section_eyebrow {
            display: inline-block;
            font-size: 13px;
            font-weight: 700;
            color: #a78bfa;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 12px;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.2);
            padding: 6px 12px;
            border-radius: 100px;
        }

        .av_donate_section_heading {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 800;
            color: #fff;
            letter-spacing: -1px;
            line-height: 1.2;
        }

        .av_donate_features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 100px;
        }

        .av_donate_feature_card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 36px 32px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .av_donate_feature_card:hover {
            transform: translateY(-8px);
            border-color: rgba(139, 92, 246, 0.4);
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
        }

        .av_donate_feature_icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 20px;
            border: 1px solid var(--glass-border);
        }

        .av_donate_feature_title {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }

        .av_donate_feature_desc {
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-muted);
        }

        .av_donate_steps {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 32px;
            padding: 80px 60px;
            margin-bottom: 80px;
            backdrop-filter: blur(10px);
        }

        .av_donate_step_number {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid #8b5cf6;
            color: #8b5cf6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 800;
            margin: 0 auto 20px;
            transition: all 0.3s;
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
        }

        .av_donate_step:hover .av_donate_step_number {
            background: #8b5cf6;
            color: #fff;
            transform: scale(1.1);
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
        }

        .av_donate_step_title {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }

        .av_donate_step_desc {
            font-size: 14px;
            color: var(--text-muted);
        }

        .av_donate_cta {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 32px;
            padding: 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .av_donate_cta_title {
            font-size: clamp(24px, 3vw, 32px);
            font-weight: 800;
            margin-bottom: 12px;
            color: #fff;
        }

        /* ============================================
           МОДАЛЬНОЕ ОКНО (Dark Glass Style)
           ============================================ */
        .av_donate_modal_overlay {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.85);
            backdrop-filter: blur(12px);
            z-index: 99999;
            display: none;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 20px;
        }

        .av_donate_modal_overlay.av_donate_active {
            display: flex;
            opacity: 1;
        }

        .av_donate_modal {
            background: #0f172a;
            width: 100%;
            max-width: 440px;
            border-radius: 24px;
            padding: 40px;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            transform: translateY(20px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .av_donate_modal_overlay.av_donate_active .av_donate_modal {
            transform: translateY(0);
        }

        .av_donate_close_btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            color: #fff;
        }

        .av_donate_close_btn:hover {
            background: rgba(239, 68, 68, 0.5);
        }

        .av_donate_header {
            text-align: center;
            margin-bottom: 30px;
        }

        .av_donate_title {
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            margin: 15px 0 0;
        }

        /* Кастомный селект */
        .av_donate_select_wrapper {
            position: relative;
            margin-bottom: 20px;
        }

        .av_donate_select_trigger {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px;
            padding: 14px 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.2s;
            color: #fff;
        }

        .av_donate_select_trigger:hover {
            border-color: #8b5cf6;
            background: rgba(139, 92, 246, 0.1);
        }

        .av_donate_select_placeholder {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-muted);
            font-size: 15px;
        }
        
        .av_donate_select_placeholder img {
            border-radius: 4px;
        }

        .av_donate_select_arrow {
            width: 10px;
            height: 10px;
            border-right: 2px solid #94a3b8;
            border-bottom: 2px solid #94a3b8;
            transform: rotate(45deg);
            margin-top: -3px;
            transition: transform 0.3s;
        }

        .av_donate_select_trigger.av_donate_open .av_donate_select_arrow {
            transform: rotate(-135deg);
        }

        .av_donate_select_options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px;
            margin-top: 8px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            z-index: 10;
            display: none;
            max-height: 220px;
            overflow-y: auto;
        }

        .av_donate_select_options::-webkit-scrollbar {
            width: 6px;
        }
        .av_donate_select_options::-webkit-scrollbar-thumb {
            background: #475569;
            border-radius: 3px;
        }

        .av_donate_select_options.av_donate_show {
            display: block;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .av_donate_select_option {
            padding: 12px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background 0.2s;
            color: #cbd5e1;
        }

        .av_donate_select_option:hover {
            background: rgba(139, 92, 246, 0.2);
            color: #fff;
        }

        .av_donate_input_group {
            position: relative;
            margin-bottom: 20px;
        }

        .av_donate_input_element {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px;
            padding: 16px 16px 16px 48px;
            font-size: 16px;
            outline: none;
            transition: all 0.2s;
            box-sizing: border-box;
            color: #fff;
        }

        .av_donate_input_element:focus {
            background: rgba(255, 255, 255, 0.08);
            border-color: #8b5cf6;
            box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
        }

        .av_donate_input_element::placeholder {
            color: #64748b;
        }

        .av_donate_input_icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.5;
            pointer-events: none;
            stroke: #fff;
        }

        .av_donate_submit_btn {
            width: 100%;
            background: var(--primary-gradient);
            color: #fff;
            border: none;
            border-radius: 14px;
            padding: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-top: 10px;
            box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
        }

        .av_donate_submit_btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.6);
        }

        .av_donate_hidden_input { display: none; }
        .av_donate_body_lock { overflow: hidden; }

        /* Адаптив */
        @media (max-width: 900px) {
            .av_donate_hero { padding: 50px 30px; }
            .av_donate_floating_coin {
                position: static;
                transform: none;
                margin: 40px auto 0;
                width: 180px;
                height: 180px;
            }
            .av_donate_coin_body::before { font-size: 80px; }
            .av_donate_hero_stats { grid-template-columns: 1fr; gap: 12px; }
            .av_donate_steps { padding: 50px 30px; }
        }

        @media (max-width: 600px) {
            .av_donate_hero_actions { flex-direction: column; }
            .av_donate_btn_primary, .av_donate_btn_ghost { width: 100%; justify-content: center; }
        }
/* ============================================
   WRAPPER — магнитная зона
   ============================================ */
.play-btn-wrap {
    display: inline-block;
    padding: 40px; /* зона «притяжения» курсора */
    perspective: 800px;
}
 /* =========================================
   CSS ДЛЯ ФУТЕРА И COOKIE BANNER
   ========================================= */

/* --- Футер --- */
/* =========================================
   COSMIC AURORA FOOTER
   ========================================= */
.wiki_footer {
    position: relative;
    padding: 100px 24px 40px;
    background: #05060f;
    overflow: hidden;
    z-index: 10;
    margin-top: auto;
    isolation: isolate;
}

/* === Звёздное небо (3 слоя для параллакса) === */
.wiki_footer__stars,
.wiki_footer__stars::before,
.wiki_footer__stars::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wiki_footer__stars {
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 130px 80px, rgba(167,139,250,0.9), transparent),
        radial-gradient(1px 1px at 160px 120px, #fff, transparent),
        radial-gradient(1px 1px at 200px 50px, rgba(236,72,153,0.7), transparent),
        radial-gradient(1px 1px at 240px 90px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 280px 30px, rgba(139,92,246,0.9), transparent);
    background-size: 300px 150px;
    background-repeat: repeat;
    opacity: 0.6;
    animation: starsMove 120s linear infinite;
}

.wiki_footer__stars::before {
    background-image:
        radial-gradient(1px 1px at 50px 100px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 150px 50px, rgba(196,181,253,0.8), transparent),
        radial-gradient(1px 1px at 250px 120px, #fff, transparent);
    background-size: 400px 200px;
    opacity: 0.4;
    animation: starsMove 80s linear infinite reverse;
}

.wiki_footer__stars::after {
    background-image:
        radial-gradient(2px 2px at 100px 60px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 300px 140px, rgba(139,92,246,0.8), transparent);
    background-size: 500px 250px;
    opacity: 0.5;
    animation: starsTwinkle 4s ease-in-out infinite;
}

@keyframes starsMove {
    from { background-position: 0 0; }
    to   { background-position: 300px 150px; }
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 0.7; }
}

/* === Aurora (северное сияние) === */
.wiki_footer__aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wiki_footer__aurora::before,
.wiki_footer__aurora::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 60%;
    left: -10%;
    filter: blur(80px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.wiki_footer__aurora::before {
    top: -20%;
    background: linear-gradient(
        135deg,
        transparent 20%,
        rgba(139, 92, 246, 0.4) 40%,
        rgba(236, 72, 153, 0.3) 60%,
        transparent 80%
    );
    animation: auroraFlow 15s ease-in-out infinite;
}

.wiki_footer__aurora::after {
    bottom: -30%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(59, 130, 246, 0.3) 40%,
        rgba(139, 92, 246, 0.35) 60%,
        transparent 80%
    );
    animation: auroraFlow 20s ease-in-out infinite reverse;
}

@keyframes auroraFlow {
    0%, 100% { transform: translateX(-10%) rotate(-3deg) scale(1); }
    50%      { transform: translateX(10%) rotate(3deg) scale(1.1); }
}

/* === Верхняя светящаяся линия === */
.wiki_footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #3b82f6 20%,
        #8b5cf6 40%,
        #ec4899 60%,
        #8b5cf6 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: lineFlow 6s linear infinite;
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 40px rgba(236, 72, 153, 0.3);
    z-index: 2;
}

@keyframes lineFlow {
    from { background-position: 0% 0; }
    to   { background-position: 200% 0; }
}

/* === Контейнер === */
.wiki_footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* === Бренд с вращающимся conic-бордером === */
.wiki_footer__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wiki_footer__brand:hover { transform: translateY(-4px); }

.wiki_footer__logo-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
    border-radius: 16px;
    isolation: isolate;
    transition: transform 0.5s ease;
}

/* Вращающийся rainbow-бордер */
.wiki_footer__logo-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        #3b82f6, #8b5cf6, #ec4899, #f59e0b, #10b981, #3b82f6
    );
    animation: rotateBorder 4s linear infinite;
    z-index: -1;
}

/* Внутренний фон, перекрывающий градиент */
.wiki_footer__logo-wrap::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 13px;
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
    z-index: -1;
}

@keyframes rotateBorder {
    to { transform: rotate(360deg); }
}

.wiki_footer__brand:hover .wiki_footer__logo-wrap {
    transform: scale(1.05) rotate(-5deg);
}

.wiki_footer__logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.wiki_footer__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

/* Анимированный градиентный текст */
.wiki_footer__name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #a78bfa 25%,
        #f472b6 50%,
        #a78bfa 75%,
        #fff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    to { background-position: 200% 0; }
}

.wiki_footer__copy {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* === Ссылки — Bento Grid === */
.wiki_footer__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.wiki_footer__link {
    position: relative;
    color: rgba(226, 232, 240, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.2;
    isolation: isolate;
}

/* Glow-эффект при hover */
.wiki_footer__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(139, 92, 246, 0.25) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Стрелка-индикатор */
.wiki_footer__link::after {
    content: '→';
    display: inline-block;
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: #a78bfa;
}

.wiki_footer__link:hover {
    color: #fff;
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 0 30px rgba(139, 92, 246, 0.15);
}

.wiki_footer__link:hover::before { opacity: 1; }
.wiki_footer__link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* === Нижняя строка === */
.wiki_footer__bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.6);
    position: relative;
    z-index: 2;
}

.wiki_footer__socials {
    display: flex;
    gap: 10px;
}

.wiki_footer__social {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wiki_footer__social:hover {
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.wiki_footer__bottom a {
    color: rgba(148, 163, 184, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.wiki_footer__bottom a:hover { color: #fff; }

/* =========================================
   COOKIE BANNER — NEON GLASS
   ========================================= */
.av_cookie_banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 420px;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 26, 0.95),
        rgba(26, 26, 46, 0.9)
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 22px;
    padding: 22px;
    z-index: 100000;
    isolation: isolate;
    
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

/* Вращающийся conic-бордер */
.av_cookie_banner::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--angle, 0deg),
        rgba(139, 92, 246, 0.8),
        rgba(236, 72, 153, 0.6),
        rgba(59, 130, 246, 0.6),
        rgba(139, 92, 246, 0.8)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 6s linear infinite;
    z-index: -1;
}

/* Glow под баннером */
.av_cookie_banner::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle at 50% 100%,
        rgba(139, 92, 246, 0.3) 0%,
        transparent 60%
    );
    filter: blur(30px);
    z-index: -2;
    pointer-events: none;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    to { --angle: 360deg; }
}

/* Fallback для браузеров без @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .av_cookie_banner::before {
        background: linear-gradient(135deg, rgba(139,92,246,0.6), rgba(236,72,153,0.4));
    }
}

.av_cookie_banner.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.av_cookie_banner.hidden { display: none; }

.av_cookie_content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.av_cookie_icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
    animation: cookieFloat 3s ease-in-out infinite;
}

@keyframes cookieFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-4px) rotate(-8deg); }
}

.av_cookie_text strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.av_cookie_text p {
    margin: 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.55;
}

.av_cookie_text a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px dashed rgba(167, 139, 250, 0.4);
    transition: all 0.2s;
}
.av_cookie_text a:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}

.av_cookie_actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.av_cookie_btn {
    padding: 11px 22px;
    border-radius: 12px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.av_cookie_btn.decline {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.av_cookie_btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.av_cookie_btn.accept {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    box-shadow:
        0 6px 20px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.av_cookie_btn.accept::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
.av_cookie_btn.accept:hover::before { left: 100%; }

.av_cookie_btn.accept:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(139, 92, 246, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 768px) {
    .wiki_footer { padding: 70px 20px 30px; }
    .wiki_footer__container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .wiki_footer__brand { flex-direction: column; gap: 16px; }
    .wiki_footer__text { align-items: center; }
    
    .wiki_footer__links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 380px;
        justify-items: stretch;
    }
    
    .wiki_footer__link {
        width: 100%;
        text-align: center;
        padding: 14px 12px;
        font-size: 13px;
        white-space: normal;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .wiki_footer__link::after { display: none; }
    .wiki_footer__link:last-child:nth-child(odd) { grid-column: span 2; }
    
    .wiki_footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .av_cookie_banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

@media (max-width: 360px) {
    .wiki_footer__links { grid-template-columns: 1fr; }
    .wiki_footer__link:last-child:nth-child(odd) { grid-column: span 1; }
}

/* Уважение к пользователям с reduced motion */
@media (prefers-reduced-motion: reduce) {
    .wiki_footer__stars,
    .wiki_footer__stars::before,
    .wiki_footer__stars::after,
    .wiki_footer__aurora::before,
    .wiki_footer__aurora::after,
    .wiki_footer__logo-wrap::before,
    .av_cookie_banner::before,
    .av_cookie_icon {
        animation: none !important;
    }
    .wiki_footer__name { animation: none; }
}

/* Чат-виджет */
#jaklcp-chat-container { z-index: 9999 !important; }
@media (max-width: 768px) {
    #jaklcp-chat-container > div,
    #jaklcp-chat-container iframe {
        bottom: 20px !important;
        right: 15px !important;
        max-width: calc(100vw - 30px) !important;
    }
}
//===============
 /* Зернистый оверлей */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
            opacity: 0.04;
            pointer-events: none;
            z-index: 1000;
            mix-blend-mode: overlay;
        }

        /* Анимированный mesh-gradient фон */
        .newforile_wiki-bg-mesh {
            position: fixed;
            inset: 0;
            z-index: -2;
            overflow: hidden;
        }

        .newforile_wiki-mesh-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.5;
            mix-blend-mode: screen;
            animation: newforile_wiki-drift 25s infinite ease-in-out alternate;
        }

        .newforile_wiki-mesh-blob.a {
            width: 600px; height: 600px;
            background: radial-gradient(circle, var(--newforile_wiki-cyan) 0%, transparent 70%);
            top: -15%; left: -10%;
        }
        .newforile_wiki-mesh-blob.b {
            width: 700px; height: 700px;
            background: radial-gradient(circle, var(--newforile_wiki-magenta) 0%, transparent 70%);
            bottom: -20%; right: -15%;
            animation-delay: -8s;
        }
        .newforile_wiki-mesh-blob.c {
            width: 500px; height: 500px;
            background: radial-gradient(circle, var(--newforile_wiki-violet) 0%, transparent 70%);
            top: 40%; left: 50%;
            animation-delay: -15s;
            opacity: 0.3;
        }

        @keyframes newforile_wiki-drift {
            0%   { transform: translate(0, 0) scale(1); }
            50%  { transform: translate(60px, -40px) scale(1.1); }
            100% { transform: translate(-40px, 60px) scale(0.95); }
        }

        /* Сетка на фоне */
        .newforile_wiki-grid-overlay {
            position: fixed;
            inset: 0;
            z-index: -1;
            background-image: 
                linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
        }

        /* Контейнер страницы */
        .newforile_wiki-page {
            position: relative;
            z-index: 2;
            padding: 130px 20px 80px;
            max-width: 1280px;
            margin: 0 auto;
        }

        /* =========================================
           HERO-СЕКЦИЯ С ПРОФИЛЕМ
           ========================================= */
        .newforile_wiki-hero {
            position: relative;
            background: linear-gradient(135deg, rgba(18, 10, 36, 0.85) 0%, rgba(26, 15, 51, 0.7) 100%);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border: 1px solid var(--newforile_wiki-glass-border);
            border-radius: var(--newforile_wiki-radius-lg);
            padding: 40px;
            margin-bottom: 24px;
            overflow: hidden;
            box-shadow: 
                0 25px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .newforile_wiki-hero::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                var(--newforile_wiki-cyan) 20%, 
                var(--newforile_wiki-magenta) 50%,
                var(--newforile_wiki-violet) 80%, 
                transparent 100%);
            opacity: 0.8;
        }

        .newforile_wiki-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(circle at 10% 10%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(255, 0, 170, 0.08) 0%, transparent 40%);
            pointer-events: none;
        }

        .newforile_wiki-hero-inner {
            display: flex;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
            position: relative;
            z-index: 2;
        }

        /* 3D-аватар */
        .newforile_wiki-avatar-shell {
            position: relative;
            width: 140px;
            height: 140px;
            flex-shrink: 0;
        }

        .newforile_wiki-avatar-ring {
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            background: conic-gradient(
                from 0deg,
                var(--newforile_wiki-cyan),
                var(--newforile_wiki-magenta),
                var(--newforile_wiki-violet),
                var(--newforile_wiki-lime),
                var(--newforile_wiki-cyan)
            );
            animation: newforile_wiki-spin 8s linear infinite;
            filter: blur(2px);
            opacity: 0.9;
        }

        .newforile_wiki-avatar-ring::before {
            content: '';
            position: absolute;
            inset: 4px;
            border-radius: 50%;
            background: var(--newforile_wiki-bg-1);
        }

        @keyframes newforile_wiki-spin {
            to { transform: rotate(360deg); }
        }

        .newforile_wiki-avatar {
            position: relative;
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: 
                radial-gradient(circle at 30% 30%, #3b2d6e 0%, var(--newforile_wiki-bg-2) 70%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 
                inset 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(0, 240, 255, 0.2);
            z-index: 2;
        }

        .newforile_wiki-avatar svg {
            width: 72px;
            height: 72px;
            color: var(--newforile_wiki-cyan);
            filter: drop-shadow(0 0 8px var(--newforile_wiki-cyan));
        }

        .newforile_wiki-status-dot {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--newforile_wiki-success);
            border: 4px solid var(--newforile_wiki-bg-1);
            box-shadow: 0 0 20px var(--newforile_wiki-success);
            z-index: 3;
            animation: newforile_wiki-pulse 2s infinite;
        }

        @keyframes newforile_wiki-pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(16, 255, 170, 0.6); }
            50% { box-shadow: 0 0 0 10px rgba(16, 255, 170, 0); }
        }

        /* Информация */
        .newforile_wiki-info {
            flex: 1;
            min-width: 280px;
        }

        .newforile_wiki-tag-row {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            flex-wrap: wrap;
            align-items: center;
        }

        .newforile_wiki-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            background: rgba(0, 240, 255, 0.08);
            border: 1px solid rgba(0, 240, 255, 0.25);
            border-radius: 100px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            color: var(--newforile_wiki-cyan);
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .newforile_wiki-tag.vip {
            background: rgba(255, 0, 170, 0.08);
            border-color: rgba(255, 0, 170, 0.3);
            color: var(--newforile_wiki-magenta);
        }

        .newforile_wiki-name {
            margin: 0 0 12px;
            font-size: 56px;
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1;
            background: linear-gradient(135deg, #ffffff 0%, #b8a8ff 60%, var(--newforile_wiki-cyan) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
        }

        .newforile_wiki-verify {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: var(--newforile_wiki-radius-sm);
            font-size: 13px;
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
        }

        .newforile_wiki-verify.is-yes {
            background: rgba(16, 255, 170, 0.08);
            border: 1px solid rgba(16, 255, 170, 0.25);
            color: var(--newforile_wiki-success);
        }

        .newforile_wiki-verify.is-no {
            background: rgba(255, 61, 127, 0.08);
            border: 1px solid rgba(255, 61, 127, 0.25);
            color: var(--newforile_wiki-danger);
        }

        .newforile_wiki-verify svg { width: 16px; height: 16px; }

        /* =========================================
           BENTO GRID — СЕТКА СТАТИСТИКИ
           ========================================= */
        .newforile_wiki-bento {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }

        .newforile_wiki-tile {
            position: relative;
            background: var(--newforile_wiki-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--newforile_wiki-glass-border);
            border-radius: var(--newforile_wiki-radius-md);
            padding: 24px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .newforile_wiki-tile:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 240, 255, 0.3);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 240, 255, 0.1);
        }

        .newforile_wiki-tile::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 40px; height: 2px;
            background: var(--newforile_wiki-cyan);
            opacity: 0.6;
        }

        .newforile_wiki-tile-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            color: var(--newforile_wiki-text-dim);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        .newforile_wiki-tile-label .dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: var(--newforile_wiki-cyan);
            box-shadow: 0 0 8px var(--newforile_wiki-cyan);
        }

        .newforile_wiki-tile-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--newforile_wiki-text);
            word-break: break-all;
            font-family: 'JetBrains Mono', monospace;
        }

        .newforile_wiki-tile-value.mono { font-family: 'JetBrains Mono', monospace; }
        .newforile_wiki-tile-value.dim { color: var(--newforile_wiki-text-dim); font-style: italic; font-weight: 400; }

        /* Размеры плиток */
        .newforile_wiki-tile.email    { grid-column: span 5; }
        .newforile_wiki-tile.login    { grid-column: span 4; }
        .newforile_wiki-tile.rank     { grid-column: span 3; }
        .newforile_wiki-tile.level    { grid-column: span 6; }
        .newforile_wiki-tile.badges   { grid-column: span 6; }
        .newforile_wiki-tile.sessions { grid-column: span 12; }

        .newforile_wiki-tile.rank::before { background: var(--newforile_wiki-magenta); }
        .newforile_wiki-tile.rank .dot { background: var(--newforile_wiki-magenta); box-shadow: 0 0 8px var(--newforile_wiki-magenta); }

        .newforile_wiki-tile.level::before { background: var(--newforile_wiki-violet); }
        .newforile_wiki-tile.level .dot { background: var(--newforile_wiki-violet); box-shadow: 0 0 8px var(--newforile_wiki-violet); }

        .newforile_wiki-tile.badges::before { background: var(--newforile_wiki-lime); }
        .newforile_wiki-tile.badges .dot { background: var(--newforile_wiki-lime); box-shadow: 0 0 8px var(--newforile_wiki-lime); }
        
        .newforile_wiki-tile.sessions::before { background: var(--newforile_wiki-warning); }
        .newforile_wiki-tile.sessions .dot { background: var(--newforile_wiki-warning); box-shadow: 0 0 8px var(--newforile_wiki-warning); }

        /* Прогресс уровня */
        .newforile_wiki-progress {
            margin-top: 16px;
            height: 6px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 100px;
            overflow: hidden;
            position: relative;
        }

        .newforile_wiki-progress-fill {
            height: 100%;
            width: 0; 
            background: linear-gradient(90deg, var(--newforile_wiki-violet), var(--newforile_wiki-cyan));
            border-radius: 100px;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
            position: relative;
            animation: newforile_wiki-fill 1.5s ease-out forwards;
        }

        @keyframes newforile_wiki-fill {
            from { width: 0; }
            to { width: var(--progress-width, 0%); }
        }

        .newforile_wiki-progress-meta {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            color: var(--newforile_wiki-text-dim);
        }

        /* Значки достижений */
        .newforile_wiki-badges-list {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        .newforile_wiki-badge {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(196, 255, 61, 0.1), rgba(139, 92, 246, 0.1));
            border: 1px solid rgba(196, 255, 61, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .newforile_wiki-badge:hover {
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 0 20px rgba(196, 255, 61, 0.4);
        }

        .newforile_wiki-badge.locked {
            opacity: 0.3;
            filter: grayscale(1);
        }

        /* =========================================
           СПИСОК СЕССИЙ (ОБНОВЛЕННЫЙ)
           ========================================= */
        .newforile_wiki-session-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 10px;
        }

        /* Контейнер для скрытия/показа истории */
        .newforile_wiki-sessions-wrapper {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        }

        .newforile_wiki-sessions-wrapper.active {
            max-height: 1000px; /* Достаточно большое значение */
            opacity: 1;
            margin-top: 10px;
        }

        /* Кнопка раскрытия истории */
        .newforile_wiki-toggle-history-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            margin-top: 16px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.1);
            border-radius: var(--newforile_wiki-radius-sm);
            color: var(--newforile_wiki-text-dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newforile_wiki-toggle-history-btn:hover {
            background: rgba(0, 240, 255, 0.05);
            border-color: var(--newforile_wiki-cyan);
            color: var(--newforile_wiki-cyan);
        }

        .newforile_wiki-toggle-history-btn svg {
            width: 14px;
            height: 14px;
            transition: transform 0.3s;
        }

        .newforile_wiki-toggle-history-btn.active svg {
            transform: rotate(180deg);
        }

        .newforile_wiki-session-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: var(--newforile_wiki-radius-sm);
            transition: 0.2s;
        }

        .newforile_wiki-session-item:hover {
            border-color: rgba(0, 240, 255, 0.2);
            background: rgba(0, 0, 0, 0.3);
        }

        .newforile_wiki-session-main {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .newforile_wiki-session-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--newforile_wiki-text-dim);
        }
        
        .newforile_wiki-session-icon svg { width: 20px; height: 20px; }

        .newforile_wiki-session-details h4 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            color: var(--newforile_wiki-text);
        }

        .newforile_wiki-session-details p {
            margin: 4px 0 0;
            font-size: 12px;
            color: var(--newforile_wiki-text-dim);
            font-family: 'JetBrains Mono', monospace;
        }

        .newforile_wiki-session-meta {
            text-align: right;
        }

        .newforile_wiki-session-time {
            font-size: 12px;
            color: var(--newforile_wiki-text-dim);
            font-family: 'JetBrains Mono', monospace;
            display: block;
            margin-bottom: 4px;
        }

        .newforile_wiki-session-badge {
            font-size: 10px;
            padding: 2px 8px;
            border-radius: 4px;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .newforile_wiki-session-badge.current {
            background: rgba(16, 255, 170, 0.1);
            color: var(--newforile_wiki-success);
            border: 1px solid rgba(16, 255, 170, 0.2);
        }

        .newforile_wiki-session-badge.old {
            background: rgba(255, 255, 255, 0.05);
            color: var(--newforile_wiki-text-dim);
        }

        /* =========================================
           ДЕЙСТВИЯ
           ========================================= */
        .newforile_wiki-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .newforile_wiki-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 26px;
            border-radius: var(--newforile_wiki-radius-sm);
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            letter-spacing: 0.3px;
        }

        .newforile_wiki-btn svg { width: 18px; height: 18px; }

        .newforile_wiki-btn-primary {
            background: linear-gradient(135deg, var(--newforile_wiki-cyan), var(--newforile_wiki-violet));
            color: #0a0613;
            box-shadow: 
                0 4px 20px rgba(0, 240, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }
        .newforile_wiki-btn-primary::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--newforile_wiki-magenta), var(--newforile_wiki-cyan));
            opacity: 0;
            transition: opacity 0.3s;
        }
        .newforile_wiki-btn-primary:hover::after { opacity: 1; }
        .newforile_wiki-btn-primary > * { position: relative; z-index: 2; }
        .newforile_wiki-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(255, 0, 170, 0.4);
        }

        .newforile_wiki-btn-ghost {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--newforile_wiki-text);
        }
        .newforile_wiki-btn-ghost:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--newforile_wiki-cyan);
            color: var(--newforile_wiki-cyan);
        }

        .newforile_wiki-btn-warning {
            background: rgba(255, 181, 71, 0.08);
            border: 1px solid rgba(255, 181, 71, 0.3);
            color: var(--newforile_wiki-warning);
        }
        .newforile_wiki-btn-warning:hover { 
            background: rgba(255, 181, 71, 0.15);
            box-shadow: 0 0 20px rgba(255, 181, 71, 0.2);
        }

        .newforile_wiki-btn-danger {
            background: rgba(255, 61, 127, 0.08);
            border: 1px solid rgba(255, 61, 127, 0.3);
            color: var(--newforile_wiki-danger);
        }
        .newforile_wiki-btn-danger:hover { 
            background: rgba(255, 61, 127, 0.15);
            box-shadow: 0 0 20px rgba(255, 61, 127, 0.2);
        }

        .newforile_wiki-btn-admin {
            background: linear-gradient(135deg, #ff00aa, #8b5cf6);
            color: white;
            box-shadow: 0 4px 20px rgba(255, 0, 170, 0.3);
        }
        .newforile_wiki-btn-admin:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(255, 0, 170, 0.5);
        }

        /* =========================================
           АЛЕРТЫ
           ========================================= */
        .newforile_wiki-alert {
            padding: 18px 22px;
            border-radius: var(--newforile_wiki-radius-md);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 14px;
            font-weight: 500;
            backdrop-filter: blur(12px);
            border-left: 3px solid;
            animation: newforile_wiki-slideIn 0.4s ease-out;
        }

        @keyframes newforile_wiki-slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to   { opacity: 1; transform: translateX(0); }
        }

        .newforile_wiki-alert svg { width: 22px; height: 22px; flex-shrink: 0; }

        .newforile_wiki-alert-error {
            background: rgba(255, 61, 127, 0.08);
            border-color: var(--newforile_wiki-danger);
            color: #ffb8cf;
        }

        .newforile_wiki-alert-success {
            background: rgba(16, 255, 170, 0.08);
            border-color: var(--newforile_wiki-success);
            color: #a8ffd9;
        }

        /* =========================================
           МОДАЛЬНЫЕ ОКНА
           ========================================= */
        .newforile_wiki-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(10, 6, 19, 0.85);
            backdrop-filter: blur(14px) saturate(150%);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        .newforile_wiki-modal-overlay.active { opacity: 1; visibility: visible; }

        .newforile_wiki-modal-window {
            background: linear-gradient(180deg, #170d2e 0%, #0f0820 100%);
            border: 1px solid var(--newforile_wiki-glass-border);
            border-radius: var(--newforile_wiki-radius-lg);
            width: 100%;
            max-width: 640px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            box-shadow: 
                0 30px 80px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(0, 240, 255, 0.05);
            transform: scale(0.95) translateY(20px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }

        .newforile_wiki-modal-window::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--newforile_wiki-cyan), var(--newforile_wiki-magenta), transparent);
        }

        .newforile_wiki-modal-overlay.active .newforile_wiki-modal-window { transform: scale(1) translateY(0); }

        .newforile_wiki-modal-header {
            padding: 24px 28px;
            border-bottom: 1px solid var(--newforile_wiki-glass-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
        }

        .newforile_wiki-modal-title {
            font-size: 20px;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .newforile_wiki-modal-title .icon {
            width: 32px; height: 32px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--newforile_wiki-cyan), var(--newforile_wiki-violet));
            display: flex; align-items: center; justify-content: center;
            color: #0a0613;
        }

        .newforile_wiki-modal-title .icon svg { width: 18px; height: 18px; }

        .newforile_wiki-close-btn {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: var(--newforile_wiki-text-dim);
            cursor: pointer;
            width: 36px; height: 36px;
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            transition: 0.2s;
        }
        .newforile_wiki-close-btn:hover { 
            background: rgba(255, 61, 127, 0.1); 
            color: var(--newforile_wiki-danger);
            border-color: var(--newforile_wiki-danger);
        }
        .newforile_wiki-close-btn svg { width: 18px; height: 18px; }

        .newforile_wiki-modal-window form {
            padding: 28px;
            overflow-y: auto;
            flex-grow: 1;
        }

        .newforile_wiki-modal-footer {
            padding: 20px 28px;
            border-top: 1px solid var(--newforile_wiki-glass-border);
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            background: rgba(255, 255, 255, 0.02);
        }

        /* Форма */
        .newforile_wiki-form-group { margin-bottom: 22px; }

        .newforile_wiki-label {
            display: block;
            margin-bottom: 10px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            color: var(--newforile_wiki-text-dim);
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .newforile_wiki-input {
            width: 100%;
            padding: 14px 18px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--newforile_wiki-radius-sm);
            color: white;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 15px;
            transition: all 0.25s;
            outline: none;
        }
        .newforile_wiki-input:focus {
            border-color: var(--newforile_wiki-cyan);
            box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1), inset 0 0 0 1px var(--newforile_wiki-cyan);
            background: rgba(0, 0, 0, 0.5);
        }

        /* Вкладки */
        .newforile_wiki-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 28px;
            padding: 6px;
            background: rgba(0, 0, 0, 0.25);
            border-radius: var(--newforile_wiki-radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.04);
            overflow-x: auto;
            scrollbar-width: none;
        }
        .newforile_wiki-tabs::-webkit-scrollbar { display: none; }

        .newforile_wiki-tab {
            background: transparent;
            border: none;
            color: var(--newforile_wiki-text-dim);
            padding: 10px 18px;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 600;
            font-size: 13px;
            transition: all 0.25s;
            white-space: nowrap;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .newforile_wiki-tab:hover { color: white; }
        .newforile_wiki-tab.active {
            background: linear-gradient(135deg, var(--newforile_wiki-cyan), var(--newforile_wiki-violet));
            color: #0a0613;
            box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
        }
        .newforile_wiki-tab svg { width: 14px; height: 14px; }

        .newforile_wiki-field { display: none; animation: newforile_wiki-fadeIn 0.3s ease; }
        .newforile_wiki-field.active { display: block; }
        @keyframes newforile_wiki-fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

        /* Switch */
        .newforile_wiki-switch-container {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 18px 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: var(--newforile_wiki-radius-md);
            border: 1px solid rgba(255, 255, 255, 0.06);
            cursor: pointer;
            transition: 0.2s;
        }
        .newforile_wiki-switch-container:hover { border-color: rgba(0, 240, 255, 0.2); }

        .newforile_wiki-switch {
            appearance: none;
            width: 48px; height: 26px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            position: relative;
            cursor: pointer;
            transition: 0.3s;
            flex-shrink: 0;
        }
        .newforile_wiki-switch::before {
            content: '';
            position: absolute;
            top: 3px; left: 3px;
            width: 20px; height: 20px;
            background: white;
            border-radius: 50%;
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        }
        .newforile_wiki-switch:checked { background: linear-gradient(135deg, var(--newforile_wiki-cyan), var(--newforile_wiki-violet)); }
        .newforile_wiki-switch:checked::before { transform: translateX(22px); }

        .newforile_wiki-switch-label { font-weight: 500; color: white; line-height: 1.4; }

        /* Код верификации */
        .newforile_wiki-verify-hero {
            text-align: center;
            padding: 20px 0 30px;
        }

        .newforile_wiki-verify-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(139, 92, 246, 0.1));
            border: 1px solid rgba(0, 240, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .newforile_wiki-verify-icon::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 1px solid var(--newforile_wiki-cyan);
            opacity: 0.3;
            animation: newforile_wiki-ringPulse 2s infinite;
        }

        @keyframes newforile_wiki-ringPulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50%      { transform: scale(1.15); opacity: 0; }
        }

        .newforile_wiki-verify-icon svg { width: 42px; height: 42px; color: var(--newforile_wiki-cyan); }

        .newforile_wiki-verify-info {
            color: var(--newforile_wiki-text-dim);
            margin-bottom: 24px;
            line-height: 1.6;
            font-size: 14px;
        }

        .newforile_wiki-verify-email {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(0, 240, 255, 0.08);
            border: 1px solid rgba(0, 240, 255, 0.2);
            border-radius: 6px;
            color: var(--newforile_wiki-cyan);
            font-family: 'JetBrains Mono', monospace;
            font-size: 13px;
            font-weight: 500;
        }

        .newforile_wiki-code-row {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin: 20px 0;
        }

        .newforile_wiki-code-digit {
            width: 48px;
            height: 62px;
            background: rgba(0, 0, 0, 0.4);
            border: 1.5px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            color: var(--newforile_wiki-cyan);
            font-family: 'JetBrains Mono', monospace;
            font-size: 26px;
            font-weight: 700;
            text-align: center;
            outline: none;
            transition: all 0.25s;
        }
        .newforile_wiki-code-digit:focus, .newforile_wiki-code-digit.filled {
            border-color: var(--newforile_wiki-cyan);
            box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.2);
            background: rgba(0, 240, 255, 0.05);
        }

        .newforile_wiki-resend {
            text-align: center;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--newforile_wiki-glass-border);
            font-size: 13px;
            color: var(--newforile_wiki-text-dim);
        }

        .newforile_wiki-resend-link {
            background: none;
            border: none;
            color: var(--newforile_wiki-cyan);
            font-family: inherit;
            font-weight: 600;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
            transition: 0.2s;
        }
        .newforile_wiki-resend-link:hover {
            background: rgba(0, 240, 255, 0.1);
            color: white;
        }
        .newforile_wiki-resend-link:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .verification-message { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; font-size: 13px; }
        .verification-message.success { background: rgba(16, 255, 170, 0.08); color: var(--newforile_wiki-success); border: 1px solid rgba(16, 255, 170, 0.2); }
        .verification-message.error { background: rgba(255, 61, 127, 0.08); color: var(--newforile_wiki-danger); border: 1px solid rgba(255, 61, 127, 0.2); }

        /* =========================================
           МОБИЛЬНАЯ АДАПТАЦИЯ
           ========================================= */
        @media (max-width: 900px) {
            .newforile_wiki-bento { grid-template-columns: repeat(6, 1fr); }
            .newforile_wiki-tile.email  { grid-column: span 6; }
            .newforile_wiki-tile.login  { grid-column: span 6; }
            .newforile_wiki-tile.rank   { grid-column: span 3; }
            .newforile_wiki-tile.level  { grid-column: span 6; }
            .newforile_wiki-tile.badges { grid-column: span 6; }
            .newforile_wiki-tile.sessions { grid-column: span 6; }
        }

        @media (max-width: 640px) {
            .newforile_wiki-page { padding: 100px 14px 60px; }
            .newforile_wiki-hero { padding: 24px 20px; }
            .newforile_wiki-hero-inner { gap: 24px; justify-content: center; text-align: center; }
            .newforile_wiki-name { font-size: 36px; }
            .newforile_wiki-tag-row { justify-content: center; }
            .newforile_wiki-bento { grid-template-columns: 1fr; }
            .newforile_wiki-tile.email, .newforile_wiki-tile.login, .newforile_wiki-tile.rank,
            .newforile_wiki-tile.level, .newforile_wiki-tile.badges, .newforile_wiki-tile.sessions { grid-column: span 1; }
            .newforile_wiki-actions { flex-direction: column; }
            .newforile_wiki-btn { width: 100%; }
            .newforile_wiki-modal-window { max-height: 95vh; }
            .newforile_wiki-code-digit { width: 40px; height: 52px; font-size: 20px; }
            .newforile_wiki-code-row { gap: 6px; }
            
            .newforile_wiki-session-item { flex-direction: column; align-items: flex-start; gap: 12px; }
            .newforile_wiki-session-meta { text-align: left; width: 100%; display: flex; justify-content: space-between; align-items: center; }
        }

        /* Кастомный скроллбар */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--newforile_wiki-bg-0); }
        ::-webkit-scrollbar-thumb { 
            background: linear-gradient(var(--newforile_wiki-cyan), var(--newforile_wiki-violet));
            border-radius: 100px;
        }
//====================предложения

        /* --- Background Effects --- */
        .nwl-bg-grid {
            position: fixed; inset: 0; z-index: -2;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
            -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
        }
        
        .nwl-bg-blobs {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: -1; overflow: hidden; pointer-events: none;
        }
        .nwl-blob {
            position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
            animation: nwl-float 20s infinite ease-in-out alternate;
        }
        .nwl-blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--nwl-primary), transparent); top: -10%; left: -10%; }
        .nwl-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--nwl-secondary), transparent); bottom: -10%; right: -5%; animation-delay: -5s; }
        .nwl-blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--nwl-accent), transparent); top: 40%; left: 50%; opacity: 0.2; animation-delay: -10s; }
        
        @keyframes nwl-float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(40px, 40px) scale(1.1); }
        }

        /* --- Typography & Common --- */
        .nwl-gradient-text {
            background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #22d3ee 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nwl-shine 6s linear infinite;
        }
        @keyframes nwl-shine { to { background-position: 200% center; } }

        .nwl-page { position: relative; z-index: 1; padding: 100px 24px 80px; }
        .nwl-container { width: 100%; max-width: 1280px; margin: 0 auto; }

        /* --- Header Section --- */
        .nwl-header { text-align: center; margin-bottom: 60px; position: relative; }
        
        .nwl-label {
            font-size: 11px; text-transform: uppercase; letter-spacing: 3px;
            color: var(--nwl-accent); font-weight: 700; margin-bottom: 16px; display: inline-block;
            padding: 6px 14px; 
            background: rgba(14, 165, 233, 0.1);
            border: 1px solid rgba(14, 165, 233, 0.2); 
            border-radius: 100px;
            box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
        }
        
        .nwl-title {
            font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin: 0 0 20px 0;
            line-height: 1.1; letter-spacing: -0.02em;
        }
        
        .nwl-desc {
            max-width: 550px; margin: 0 auto; color: var(--nwl-muted); 
            font-size: 17px; line-height: 1.6; font-weight: 400;
        }

        /* --- Filters --- */
        .nwl-filters-wrapper {
            display: flex; justify-content: center; margin-top: 32px;
        }
        .nwl-filters {
            display: inline-flex; gap: 6px; 
            background: rgba(10, 10, 15, 0.6);
            padding: 6px; border-radius: 100px; 
            border: 1px solid var(--nwl-border);
            backdrop-filter: blur(12px);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
        }
        .nwl-filter-btn {
            padding: 8px 20px; border-radius: 100px;
            background: transparent; border: none;
            color: var(--nwl-muted); text-decoration: none;
            font-weight: 500; font-size: 14px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer; position: relative; overflow: hidden;
        }
        .nwl-filter-btn:hover { color: white; }
        .nwl-filter-btn.active {
            background: rgba(255, 255, 255, 0.08);
            color: white;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 0 15px rgba(255,255,255,0.05);
        }

        /* --- Layout --- */
        .nwl-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }

        /* --- Sidebar --- */
        .nwl-sidebar {
            background: linear-gradient(160deg, rgba(30, 30, 40, 0.4) 0%, rgba(10, 10, 15, 0.6) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid var(--nwl-border);
            border-radius: 24px;
            padding: 32px;
            position: sticky; top: 100px;
            display: flex; flex-direction: column; align-items: center; text-align: center;
            box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s;
        }
        .nwl-sidebar:hover { transform: translateY(-2px); }
        
        .nwl-sidebar-icon {
            width: 64px; height: 64px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(217, 70, 239, 0.2));
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 20px; color: #fff; font-size: 28px;
            box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
        }
        .nwl-sidebar h3 { margin: 0 0 8px 0; font-size: 20px; color: white; font-weight: 700; }
        .nwl-sidebar p { margin: 0 0 28px 0; font-size: 14px; color: var(--nwl-muted); line-height: 1.5; }

        .nwl-btn-create {
            width: 100%; padding: 16px;
            background: linear-gradient(135deg, var(--nwl-primary), var(--nwl-secondary));
            color: white; border: none; border-radius: 16px;
            font-weight: 700; font-size: 15px;
            cursor: pointer; transition: all 0.3s;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
            position: relative; overflow: hidden;
        }
        .nwl-btn-create::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        .nwl-btn-create:hover::before { left: 100%; }
        .nwl-btn-create:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5); }

        /* --- Modal --- */
        .nwl-modal-overlay {
            position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px); z-index: 2000;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: all 0.3s ease;
        }
        .nwl-modal-overlay.open { opacity: 1; visibility: visible; }
        .nwl-modal {
            background: #13131a; border: 1px solid var(--nwl-border);
            width: 100%; max-width: 500px; border-radius: 24px; padding: 40px;
            position: relative; transform: translateY(20px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        }
        .nwl-modal-overlay.open .nwl-modal { transform: translateY(0) scale(1); }
        .nwl-modal-close {
            position: absolute; top: 20px; right: 20px;
            background: rgba(255,255,255,0.05); border: 1px solid var(--nwl-border);
            width: 32px; height: 32px; border-radius: 50%; color: var(--nwl-muted);
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: 0.2s;
        }
        .nwl-modal-close:hover { background: rgba(255,255,255,0.1); color: white; }
        
        .nwl-form-group { margin-bottom: 20px; }
        .nwl-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--nwl-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
        .nwl-form-input, .nwl-form-select, .nwl-form-textarea {
            width: 100%; padding: 14px 16px; background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--nwl-border); border-radius: 12px; color: white;
            font-family: inherit; font-size: 15px; transition: all 0.3s;
        }
        .nwl-form-input:focus, .nwl-form-select:focus, .nwl-form-textarea:focus { 
            border-color: var(--nwl-primary); 
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
            background: rgba(0, 0, 0, 0.5);
        }
        .nwl-form-textarea { resize: vertical; min-height: 120px; }
        .nwl-btn-submit {
            width: 100%; padding: 16px; background: linear-gradient(135deg, var(--nwl-primary), var(--nwl-secondary));
            color: white; border: none; border-radius: 12px; font-weight: 700; font-size: 16px; cursor: pointer;
            transition: 0.3s;
        }
        .nwl-btn-submit:hover { opacity: 0.9; }
        .nwl-form-msg { margin-top: 16px; padding: 12px; border-radius: 10px; font-size: 14px; text-align: center; display: none; }
        .nwl-form-msg.success { background: rgba(74, 222, 128, 0.1); color: var(--status-implemented); border: 1px solid rgba(74, 222, 128, 0.2); }
        .nwl-form-msg.error { background: rgba(248, 113, 113, 0.1); color: var(--status-rejected); border: 1px solid rgba(248, 113, 113, 0.2); }

        /* --- Content Area --- */
        .nwl-section-header { margin-bottom: 32px; display: flex; align-items: center; gap: 20px; }
        .nwl-section-title { font-size: 22px; font-weight: 700; color: white; margin: 0; display: flex; align-items: center; gap: 10px; }
        .nwl-section-line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, var(--nwl-border), transparent); }

        .nwl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
        
        @keyframes nwl-card-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        
        .nwl-card {
            background: var(--nwl-card-bg); 
            border: 1px solid var(--nwl-border);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px; 
            padding: 24px; 
            text-decoration: none; color: inherit;
            transition: all 0.3s ease; 
            position: relative; overflow: hidden;
            display: flex; flex-direction: column; 
            opacity: 0;
            animation: nwl-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        
        .nwl-card::after {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.04), transparent 40%);
            z-index: 1; opacity: 0; transition: opacity 0.5s; pointer-events: none;
        }
        .nwl-card:hover { 
            border-color: rgba(99, 102, 241, 0.3); 
            transform: translateY(-4px);
            box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5);
        }
        .nwl-card:hover::after { opacity: 1; }

        .nwl-card-content { position: relative; z-index: 2; display: flex; gap: 20px; }
        
        /* Vote Box */
        .nwl-vote-box { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 56px; }
        .nwl-vote-btn {
            width: 48px; height: 48px; border-radius: 14px; 
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--nwl-border); 
            color: var(--nwl-muted); cursor: pointer;
            display: flex; align-items: center; justify-content: center; 
            transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            font-size: 18px;
        }
        .nwl-vote-btn:hover { 
            background: rgba(99, 102, 241, 0.15); 
            color: var(--nwl-primary); 
            border-color: rgba(99, 102, 241, 0.3);
        }
        .nwl-vote-btn.active { 
            background: linear-gradient(135deg, var(--nwl-primary), var(--nwl-secondary)); 
            color: white; border-color: transparent; 
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
            transform: scale(1.05);
        }
        .nwl-vote-count { font-size: 18px; font-weight: 800; color: white; }

        .nwl-card-body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
        .nwl-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        
        .nwl-card-cat { 
            font-size: 10px; color: var(--nwl-accent); text-transform: uppercase; font-weight: 700; 
            padding: 4px 10px; background: rgba(14, 165, 233, 0.1); border-radius: 6px; letter-spacing: 0.5px;
        }
        
        .nwl-status-badge { 
            font-size: 11px; font-weight: 700; text-transform: uppercase; 
            padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px;
        }
        .nwl-status-badge.pending { background: rgba(251, 191, 36, 0.1); color: var(--status-pending); border: 1px solid rgba(251, 191, 36, 0.2); }
        .nwl-status-badge.implemented { background: rgba(74, 222, 128, 0.1); color: var(--status-implemented); border: 1px solid rgba(74, 222, 128, 0.2); }
        .nwl-status-badge.rejected { background: rgba(248, 113, 113, 0.1); color: var(--status-rejected); border: 1px solid rgba(248, 113, 113, 0.2); }
        .nwl-status-badge.awaiting { background: rgba(192, 132, 252, 0.1); color: var(--status-awaiting); border: 1px solid rgba(192, 132, 252, 0.2); }

        .nwl-card-title { font-size: 18px; font-weight: 700; color: white; margin: 0 0 10px 0; line-height: 1.4; }
        .nwl-card-desc { 
            font-size: 14px; color: var(--nwl-muted); line-height: 1.6; 
            margin: 0 0 20px 0; 
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 
        }
        
        .nwl-card-footer { 
            display: flex; justify-content: space-between; align-items: center; 
            padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05); 
            font-size: 13px; color: var(--nwl-muted);
        }

        .nwl-empty { 
            text-align: center; padding: 80px 20px; color: var(--nwl-muted); 
            grid-column: 1 / -1; 
            background: rgba(255,255,255,0.02); border-radius: 20px; 
            border: 1px dashed var(--nwl-border); 
        }
        
        .nwl-toast {
            position: fixed; bottom: 32px; right: 32px; padding: 16px 24px; border-radius: 14px;
            background: rgba(15, 15, 20, 0.95); border: 1px solid var(--nwl-border);
            color: white; font-size: 14px; font-weight: 600; backdrop-filter: blur(20px);
            transform: translateX(150%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 3000;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            display: flex; align-items: center; gap: 10px;
        }
        .nwl-toast.show { transform: translateX(0); }
        .nwl-toast.error { border-color: rgba(248, 113, 113, 0.5); color: var(--status-rejected); }
        .nwl-toast.success { border-color: rgba(74, 222, 128, 0.5); color: var(--status-implemented); }

        @media (max-width: 960px) {
            .nwl-layout { grid-template-columns: 1fr; }
            .nwl-sidebar { position: static; margin-bottom: 30px; flex-direction: row; text-align: left; gap: 20px; padding: 20px; align-items: center; }
            .nwl-sidebar-icon { margin-bottom: 0; width: 50px; height: 50px; font-size: 24px; }
            .nwl-sidebar-text { text-align: left; }
            .nwl-sidebar p { margin-bottom: 0; }
            .nwl-grid { grid-template-columns: 1fr; }
            .nwl-filters { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
        }

//=========================все тикеты 
        body {
            margin: 0;
            padding: 0;
            font-family: var(--font-main);
            background-color: var(--global-bg-deep);
            color: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden; /* Скрываем горизонтальный скролл от анимаций */
        }

        /* =========================================
           2. SCOPED STYLES FOR .wiki_support_auth
           Все классы имеют префикс wsa- или вложены в .wiki_support_auth
           ========================================= */
        
        .wiki_support_auth {
            /* Локальные переменные компонента */
            --wsa-glass-surface: rgba(255, 255, 255, 0.03);
            --wsa-glass-border: rgba(255, 255, 255, 0.06);
            --wsa-glass-highlight: rgba(255, 255, 255, 0.1);
            --wsa-text-primary: #ffffff;
            --wsa-text-secondary: #9ca3af;
            --wsa-accent-blue: #60a5fa;
            --wsa-accent-green: #34d399;
            --wsa-accent-orange: #fbbf24;

            position: relative;
            z-index: 1;
            font-family: var(--font-main);
            color: var(--wsa-text-primary);
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 24px;
            min-height: 100vh;
            box-sizing: border-box;
        }

        /* --- Ambient Background --- */
        .wiki_support_auth .wsa-ambient-bg {
            position: fixed; inset: 0; z-index: -1; overflow: hidden;
            background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #050507 60%);
            pointer-events: none;
        }
        .wiki_support_auth .wsa-orb {
            position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
            animation: wsa-floatOrb 20s infinite ease-in-out alternate;
        }
        .wiki_support_auth .wsa-orb-1 { width: 600px; height: 600px; background: #4f46e5; top: -100px; left: -100px; }
        .wiki_support_auth .wsa-orb-2 { width: 500px; height: 500px; background: #0ea5e9; bottom: -100px; right: -100px; animation-delay: -10s; }
        .wiki_support_auth .wsa-noise {
            position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
            background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
        }
        @keyframes wsa-floatOrb { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 50px); } }

        /* --- Header --- */
        .wiki_support_auth .wsa-top-bar {
            display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px;
        }
        .wiki_support_auth .wsa-brand { display: flex; gap: 16px; align-items: center; }
        .wiki_support_auth .wsa-logo-box {
            width: 48px; height: 48px;
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
            border: 1px solid var(--wsa-glass-border); border-radius: 12px;
            display: flex; align-items: center; justify-content: center; color: #fff;
        }
        .wiki_support_auth .wsa-page-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
        .wiki_support_auth .wsa-page-subtitle { margin: 4px 0 0; color: var(--wsa-text-secondary); font-size: 14px; }

        .wiki_support_auth .wsa-btn-glow {
            display: inline-flex; align-items: center; gap: 8px;
            background: #fff; color: #000; padding: 10px 20px; border-radius: 100px;
            font-weight: 600; font-size: 14px; text-decoration: none;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 0 20px rgba(255,255,255,0.1);
        }
        .wiki_support_auth .wsa-btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,255,255,0.3); }

        /* --- Stats Dashboard --- */
        .wiki_support_auth .wsa-stats {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px; margin-bottom: 48px;
        }
        .wiki_support_auth .wsa-stat-card {
            display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px;
            background: var(--wsa-glass-surface); border: 1px solid var(--wsa-glass-border);
            backdrop-filter: blur(10px); transition: transform 0.2s;
        }
        .wiki_support_auth .wsa-stat-card:hover { transform: translateY(-2px); border-color: var(--wsa-glass-highlight); }
        .wiki_support_auth .wsa-stat-icon {
            width: 40px; height: 40px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
        }
        .wiki_support_auth .wsa-bg-blue { background: rgba(96, 165, 250, 0.15); color: var(--wsa-accent-blue); }
        .wiki_support_auth .wsa-bg-green { background: rgba(52, 211, 153, 0.15); color: var(--wsa-accent-green); }
        .wiki_support_auth .wsa-bg-orange { background: rgba(251, 191, 36, 0.15); color: var(--wsa-accent-orange); }
        .wiki_support_auth .wsa-stat-val { font-size: 24px; font-weight: 700; font-family: var(--font-mono); display: block; }
        .wiki_support_auth .wsa-stat-label { font-size: 12px; color: var(--wsa-text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
        .wiki_support_auth .wsa-text-green { color: var(--wsa-accent-green); }
        .wiki_support_auth .wsa-text-orange { color: var(--wsa-accent-orange); }

        /* --- Grid & Cards --- */
        .wiki_support_auth .wsa-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
        }
        .wiki_support_auth .wsa-glass-card {
            background: linear-gradient(180deg, rgba(30,30,35,0.4) 0%, rgba(20,20,25,0.6) 100%);
            border: 1px solid var(--wsa-glass-border); border-radius: 20px;
            position: relative; overflow: hidden; text-decoration: none; color: inherit;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .wiki_support_auth .wsa-ticket-card .wsa-card-inner {
            padding: 24px; position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
        }
        .wiki_support_auth .wsa-ticket-card:hover {
            border-color: rgba(255,255,255,0.15); transform: translateY(-5px);
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
        }
        .wiki_support_auth .wsa-card-glow {
            position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s;
            background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
        }
        .wiki_support_auth .wsa-ticket-card:hover .wsa-card-glow { opacity: 1; }

        .wiki_support_auth .wsa-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        
        .wiki_support_auth .wsa-status-badge {
            display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 100px;
            background: var(--bg); border: 1px solid var(--b);
            font-size: 11px; font-weight: 600; color: var(--c); text-transform: uppercase; letter-spacing: 0.5px;
        }
        .wiki_support_auth .wsa-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
        .wiki_support_auth .wsa-status-pulse .wsa-dot { animation: wsa-pulse 2s infinite; }
        @keyframes wsa-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

        .wiki_support_auth .wsa-date-badge { font-size: 12px; color: var(--wsa-text-secondary); font-family: var(--font-mono); }
        .wiki_support_auth .wsa-card-heading {
            margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .wiki_support_auth .wsa-card-meta { font-size: 12px; color: var(--wsa-text-secondary); display: flex; align-items: center; gap: 8px; }
        .wiki_support_auth .wsa-ticket-hash { background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); }
        .wiki_support_auth .wsa-divider { opacity: 0.3; }
        .wiki_support_auth .wsa-card-action {
            margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        .wiki_support_auth .wsa-read-more { font-size: 13px; font-weight: 500; color: var(--wsa-text-secondary); transition: color 0.2s; }
        .wiki_support_auth .wsa-ticket-card:hover .wsa-read-more { color: #fff; }
        .wiki_support_auth .wsa-icon-circle {
            width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.05);
            display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s;
        }
        .wiki_support_auth .wsa-ticket-card:hover .wsa-icon-circle { background: #fff; color: #000; transform: translateX(3px); }

        /* --- Pinned Bot Message --- */
        .wiki_support_auth .wsa-pinned-bot {
            margin-bottom: 24px; border-color: rgba(96, 165, 250, 0.3) !important;
            background: linear-gradient(90deg, rgba(96, 165, 250, 0.05) 0%, rgba(30,30,35,0.4) 100%) !important;
        }
        .wiki_support_auth .wsa-bot-inner { padding: 20px; display: flex; align-items: flex-start; gap: 16px; }
        .wiki_support_auth .wsa-bot-avatar {
            width: 40px; height: 40px; background: rgba(96, 165, 250, 0.15); border-radius: 10px;
            display: flex; align-items: center; justify-content: center; color: #60a5fa; flex-shrink: 0;
        }
        .wiki_support_auth .wsa-bot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
        .wiki_support_auth .wsa-bot-title { margin: 0; font-size: 14px; font-weight: 600; color: #60a5fa; text-transform: uppercase; letter-spacing: 0.5px; }
        .wiki_support_auth .wsa-bot-tag { font-size: 11px; color: var(--wsa-text-secondary); background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; }
        .wiki_support_auth .wsa-bot-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--wsa-text-primary); }

        /* --- Empty State --- */
        .wiki_support_auth .wsa-empty { max-width: 500px; margin: 0 auto; padding: 60px 40px; text-align: center; }
        .wiki_support_auth .wsa-empty-icon-wrap { position: relative; width: 80px; height: 80px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
        .wiki_support_auth .wsa-pulse-ring {
            position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
            animation: wsa-breathe 3s infinite ease-in-out;
        }
        .wiki_support_auth .wsa-main-icon { color: var(--wsa-text-secondary); }
        .wiki_support_auth .wsa-empty-title { font-size: 20px; margin-bottom: 8px; }
        .wiki_support_auth .wsa-empty-text { color: var(--wsa-text-secondary); margin-bottom: 24px; font-size: 14px; }
        .wiki_support_auth .wsa-btn-outline {
            display: inline-block; padding: 10px 24px; border: 1px solid var(--wsa-glass-highlight); border-radius: 100px;
            color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s;
        }
        .wiki_support_auth .wsa-btn-outline:hover { background: rgba(255,255,255,0.05); border-color: #fff; }

        /* --- Footer --- */
        .wiki_support_auth .wsa-footer { margin-top: 60px; text-align: center; }
        .wiki_support_auth .wsa-nav-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wsa-text-secondary); text-decoration: none; font-size: 13px; transition: color 0.2s; }
        .wiki_support_auth .wsa-nav-link:hover { color: #fff; }

        /* --- Animations --- */
        .wiki_support_auth .wsa-fade-in-down { animation: wsa-fadeInDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
        .wiki_support_auth .wsa-fade-in-up { animation: wsa-fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
        @keyframes wsa-fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes wsa-fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes wsa-breathe { 0%, 100% { transform: scale(0.9); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0; } }

        /* --- Responsive --- */
        @media (max-width: 768px) {
            .wiki_support_auth .wsa-top-bar { flex-direction: column; gap: 24px; }
            .wiki_support_auth .wsa-stats { grid-template-columns: 1fr; }
            .wiki_support_auth .wsa-grid { grid-template-columns: 1fr; }
        }

//=======================топ

        .ambient-light {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none;
            z-index: -1;
            background: 
                radial-gradient(circle at 15% 50%, rgba(109, 40, 217, 0.15), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.15), transparent 40%);
        }

        .grid-bg {
            position: fixed;
            inset: 0;
            background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                              linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
            opacity: 0.3;
            z-index: -1;
        }

        .forbes { padding: 60px 0 100px; position: relative; z-index: 1; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

        .forbes__header { text-align: center; margin-bottom: 50px; }
        .forbes__logo {
            height: 50px;
            filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255,255,255,0.2));
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .forbes__logo:hover { transform: scale(1.05); }

        /* ============================================
           PREMIUM SEGMENTED SERVER SELECTOR
           ============================================ */
        .server-selector {
            display: flex;
            justify-content: center;
            margin-bottom: 80px;
            position: relative;
        }

        .selector-capsule {
            position: relative;
            display: inline-flex;
            align-items: center;
            padding: 6px;
            background: rgba(15, 15, 20, 0.7);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 18px;
            box-shadow: 
                0 10px 40px -10px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
            max-width: 95%;
        }

        /* Анимированный градиентный бордер */
        .selector-capsule::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 18px;
            padding: 1px;
            background: linear-gradient(135deg, 
                rgba(139, 92, 246, 0.3), 
                rgba(59, 130, 246, 0.3), 
                rgba(139, 92, 246, 0.3));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            opacity: 0.6;
        }

        .selector-track {
            position: relative;
            display: flex;
            gap: 4px;
            padding: 2px;
        }

        /* Анимированный индикатор активного таба */
        .selector-indicator {
            position: absolute;
            top: 2px;
            left: 2px;
            height: calc(100% - 4px);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 14px;
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 
                0 4px 20px rgba(139, 92, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            z-index: 1;
            pointer-events: none;
        }

        /* Свечение под индикатором */
        .selector-indicator::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 16px;
            background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3), transparent 70%);
            filter: blur(8px);
            opacity: 0.6;
            z-index: -1;
        }

        .selector-tab {
            position: relative;
            z-index: 2;
            padding: 10px 22px;
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-radius: 12px;
            transition: color 0.3s ease;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .selector-tab:hover {
            color: #fff;
        }

        .selector-tab.active {
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }

        /* Маленькая точка-индикатор у каждого сервера */
        .tab-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.5;
            transition: all 0.3s ease;
        }

        .selector-tab.active .tab-dot {
            opacity: 1;
            background: #a78bfa;
            box-shadow: 0 0 8px #a78bfa;
        }

        .selector-tab:hover .tab-dot {
            opacity: 0.8;
        }

        /* Счётчик (если захотите добавить) */
        .tab-count {
            font-size: 11px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.06);
            color: var(--text-secondary);
            opacity: 0.7;
        }

        .selector-tab.active .tab-count {
            background: rgba(139, 92, 246, 0.25);
            color: #c4b5fd;
            opacity: 1;
        }

        /* ============================================
           PODIUM
           ============================================ */
        .podium {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 20px;
            margin-bottom: 100px;
        }

        .podium-card {
            background: rgba(20, 20, 25, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-light);
            border-radius: 24px;
            padding: 20px;
            width: 220px;
            text-align: center;
            position: relative;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .podium-card:hover { transform: translateY(-10px); z-index: 10; }

        .rank-1 {
            order: 2;
            width: 260px;
            padding: 40px 20px 30px;
            background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(20, 20, 25, 0.8) 100%);
            border-color: rgba(255, 215, 0, 0.3);
            box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5), 0 0 30px rgba(255, 215, 0, 0.1);
            margin-bottom: 20px;
        }
        .rank-2 { order: 1; opacity: 0.9; transform: scale(0.95); }
        .rank-3 { order: 3; opacity: 0.9; transform: scale(0.95); }
        .rank-2:hover, .rank-3:hover { transform: scale(0.98) translateY(-5px); }

        .rank-badge {
            position: absolute;
            top: -15px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 16px;
            color: #000;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            z-index: 2;
        }
        .rank-1 .rank-badge { width: 48px; height: 48px; font-size: 20px; top: -24px; background: var(--rank-1-gradient); }
        .rank-2 .rank-badge { background: var(--rank-2-gradient); }
        .rank-3 .rank-badge { background: var(--rank-3-gradient); }

        .avatar-wrapper { width: 100px; height: 100px; margin-bottom: 15px; }
        .rank-1 .avatar-wrapper { width: 130px; height: 130px; }

        .avatar-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.1);
            background: rgba(0,0,0,0.3);
        }
        .rank-1 .avatar-circle { border-color: #FFD700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.2); }
        .rank-2 .avatar-circle { border-color: #E0E0E0; }
        .rank-3 .avatar-circle { border-color: #CD7F32; }

        .skin-img {
            width: 100%; height: 100%;
            object-fit: cover;
            object-position: top center;
            image-rendering: pixelated;
        }

        .player-name {
            font-size: 18px;
            font-weight: 700;
            color: white;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        .rank-1 .player-name { font-size: 22px; }

        .player-balance {
            font-size: 14px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(255,255,255,0.05);
            color: var(--text-secondary);
        }
        .rank-1 .player-balance {
            background: rgba(255, 215, 0, 0.15);
            color: #FFD700;
            font-size: 16px;
            padding: 8px 20px;
        }

        /* ============================================
           LIST
           ============================================ */
        .list-container { display: flex; flex-direction: column; gap: 10px; }

        .list-item {
            display: grid;
            grid-template-columns: 60px 1fr 140px 160px;
            align-items: center;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            padding: 18px 28px;
            border-radius: 16px;
            transition: all 0.25s ease;
            position: relative;
            overflow: hidden;
        }

        .list-item::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, var(--accent-purple), var(--accent-blue));
            opacity: 0;
            transition: opacity 0.3s;
        }

        .list-item:hover {
            background: rgba(30, 30, 40, 0.6);
            border-color: var(--border-hover);
            transform: translateX(5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }
        .list-item:hover::before { opacity: 1; }

        .item-rank { font-size: 17px; font-weight: 800; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
        .item-name { font-weight: 600; color: #fff; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .item-server {
            font-size: 13px;
            color: var(--text-secondary);
            text-align: center;
            background: rgba(255,255,255,0.03);
            padding: 6px 12px;
            border-radius: 8px;
            justify-self: center;
            border: 1px solid rgba(255,255,255,0.04);
        }
        .item-balance { text-align: right; font-weight: 700; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; }

        @media (max-width: 850px) {
            .podium { flex-direction: column; align-items: center; gap: 40px; }
            .rank-1, .rank-2, .rank-3 { order: unset; width: 100%; max-width: 320px; transform: none !important; }
            
            .selector-capsule { width: 100%; max-width: 100%; }
            .selector-track { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
            .selector-track::-webkit-scrollbar { display: none; }
            
            .list-item {
                grid-template-columns: 40px 1fr auto;
                padding: 14px 18px;
            }
            .item-server { display: none; }
            .item-rank, .item-balance, .item-name { font-size: 15px; }
        }

//===================новости

        /* --- Стили только для страницы новостей (изолированные) --- */
        
        /* Обертка для изоляции стилей */
        .news-page {
            width: 100%;
            background-color: #0f172a; /* Темный фон, если его нет в body */
        }

        .news-container {
            max-width: 1200px; /* Ограничение ширины для ПК */
            margin: 0 auto;    /* Центрирование */
            padding: 60px 20px 100px; /* Отступы: верх, бока, низ */
            min-height: 80vh;
        }

        /* Заголовок секции */
        .news-section-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap; /* Чтобы текст не переносился странно */
        }

        .news-section-title span {
            background: linear-gradient(90deg, #8b5cf6, #ec4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }
        
        /* Декоративная линия под заголовком */
        .news-section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #8b5cf6, #ec4899);
            border-radius: 2px;
        }

        /* Сетка новостей */
        .news-grid {
            display: grid;
            /* Автоматическое заполнение: минимум 320px, максимум - сколько влезет */
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        /* Карточка новости */
        .news-card {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
        }

        .news-card:hover {
            transform: translateY(-8px);
            border-color: rgba(139, 92, 246, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                        0 0 20px rgba(139, 92, 246, 0.1);
        }

        /* Изображение */
        .news-card__picture {
            display: block;
            width: 100%;
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .news-card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .news-card:hover .news-card__image {
            transform: scale(1.08);
        }

        /* Контент карточки */
        .news-card__content {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .news-card__date {
            font-size: 0.85rem;
            color: #94a3b8;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }
        
        /* Иконка календаря */
        .news-card__date::before {
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
        }

        .news-card__title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #f1f5f9;
            text-decoration: none;
            line-height: 1.4;
            margin-bottom: 12px;
            transition: color 0.3s ease;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-card:hover .news-card__title {
            color: #8b5cf6;
        }

        .news-card__description {
            font-size: 0.95rem;
            color: #cbd5e1;
            line-height: 1.6;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
        }

        /* Кнопка "Подробнее" */
        .news-card__action {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 20px;
        }

        .news-card__link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: gap 0.3s ease;
        }

        .news-card__link svg {
            width: 20px;
            height: auto;
            transition: transform 0.3s ease;
            stroke: currentColor; /* Наследует цвет текста */
        }

        .news-card__link:hover {
            gap: 12px;
            color: #8b5cf6;
        }
        
        .news-card__link:hover svg {
            transform: translateX(4px);
        }

        /* ====== АДАПТИВНОСТЬ ====== */

        /* Планшеты (до 1024px) */
        @media (max-width: 1024px) {
            .news-container {
                padding: 40px 20px 80px;
            }
            .news-section-title {
                font-size: 2.2rem;
            }
            .news-grid {
                gap: 20px;
            }
        }

        /* Мобильные устройства (до 768px) */
        @media (max-width: 768px) {
            .news-container {
                padding: 30px 15px 60px;
            }
            .news-section-title {
                font-size: 1.8rem;
                margin-bottom: 30px;
                white-space: normal; /* Разрешаем перенос на мобильных */
            }
            .news-section-title::after {
                width: 50px;
                height: 3px;
                bottom: -8px;
            }
            .news-grid {
                grid-template-columns: 1fr; /* Одна колонка */
                gap: 20px;
            }
            .news-card__picture {
                height: 200px;
            }
        }
        
        /* Маленькие телефоны (до 480px) */
        @media (max-width: 480px) {
             .news-card__content {
                padding: 16px;
            }
            .news-card__title {
                font-size: 1.1rem;
            }
        }
//===============terms


        /* АНИМИРОВАННЫЕ БЛОБЫ */
        .nwl-bg-blobs {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: -1; pointer-events: none; overflow: hidden;
        }
        .nwl-blob {
            position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25;
            animation: nw-drift 20s infinite alternate ease-in-out;
        }
        .nwl-blob-1 { width: 50vw; height: 50vw; background: var(--nw-primary); top: -20%; left: -10%; }
        .nwl-blob-2 { width: 40vw; height: 40vw; background: var(--nw-accent); bottom: -10%; right: -10%; animation-delay: -10s; }
        
        @keyframes nw-drift {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        /* ============================================ */
        /* СТИЛИ СТРАНИЦЫ СОГЛАШЕНИЯ                    */
        /* ============================================ */
        .document-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
            max-width: 1320px;
            margin: 0 auto;
            padding: 120px 20px 80px;
            position: relative;
            z-index: 1;
        }

        /* Сайдбар */
        .doc-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
            background: var(--nw-surface);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--nw-border);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
        }

        .doc-nav-title {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--nw-muted);
            margin-bottom: 20px;
            padding-left: 12px;
            font-weight: 700;
        }

        .doc-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .doc-nav li {
            margin-bottom: 8px;
        }

        .doc-nav a {
            display: block;
            color: var(--nw-muted);
            text-decoration: none;
            font-size: 14px;
            padding: 12px 16px;
            border-radius: 12px;
            transition: all 0.2s;
            font-weight: 500;
            border: 1px solid transparent;
        }

        .doc-nav a:hover { 
            background: rgba(255, 255, 255, 0.05); 
            color: white; 
        }

        .doc-nav a.active {
            background: rgba(99, 102, 241, 0.1);
            border-color: rgba(99, 102, 241, 0.3);
            color: white;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
        }

        /* Основной контент */
        .doc-content {
            background: var(--nw-surface);
            border: 1px solid var(--nw-border);
            border-radius: 24px;
            padding: 50px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
            position: relative;
            overflow: hidden;
        }

        /* Тонкая светящаяся линия сверху */
        .doc-content::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
        }

        .doc-content h1 {
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 800;
            margin: 0 0 12px 0;
            background: linear-gradient(to right, #fff, #94a3b8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.02em;
        }

        .doc-intro {
            color: var(--nw-muted);
            margin-bottom: 40px;
            font-size: 14px;
            border-bottom: 1px solid var(--nw-border);
            padding-bottom: 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
        }

        .doc-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 50px;
            background: rgba(99, 102, 241, 0.1);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: #a5b4fc;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .doc-content h2 {
            font-size: 22px;
            margin-top: 50px;
            margin-bottom: 24px;
            color: white;
            display: flex;
            align-items: center;
            gap: 14px;
            font-weight: 700;
        }
        
        .doc-content h2::before {
            content: '';
            display: block;
            width: 4px;
            height: 28px;
            background: linear-gradient(to bottom, var(--nw-primary), var(--nw-accent));
            border-radius: 2px;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
        }

        .doc-content p {
            margin-bottom: 18px;
            color: #cbd5e1;
            line-height: 1.7;
            font-size: 15px;
        }

        .doc-content ul, .doc-content ol {
            color: #cbd5e1;
            line-height: 1.7;
            margin-bottom: 20px;
            padding-left: 24px;
        }

        .doc-content li {
            margin-bottom: 8px;
        }

        .doc-content .mark {
            color: var(--nw-primary);
            font-weight: 700;
            margin-right: 6px;
        }

        .doc-content strong {
            color: white;
            font-weight: 600;
        }

        .doc-content a {
            color: #a5b4fc;
            text-decoration: none;
            border-bottom: 1px dashed rgba(165, 180, 252, 0.4);
            transition: all 0.2s;
        }
        .doc-content a:hover {
            color: white;
            border-bottom-color: white;
        }

        /* Выделение важных блоков */
        .highlight-box {
            background: rgba(99, 102, 241, 0.08);
            border: 1px solid rgba(99, 102, 241, 0.25);
            border-radius: 16px;
            padding: 20px 24px;
            margin: 24px 0;
            font-size: 14px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }
        .highlight-box::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--nw-primary), var(--nw-accent));
        }

        .warning-box {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.25);
            color: #fca5a5;
            border-radius: 16px;
            padding: 20px 24px;
            margin: 24px 0;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }
        .warning-box::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, #ef4444, #f59e0b);
        }
        .warning-box strong {
            color: #fecaca;
        }

        .box-icon {
            font-size: 18px;
            margin-right: 8px;
            vertical-align: middle;
        }

        /* Адаптив */
        @media (max-width: 900px) {
            .document-layout {
                grid-template-columns: 1fr;
                padding: 100px 20px 60px;
            }
            .doc-sidebar {
                display: none;
            }
            .doc-content {
                padding: 30px 24px;
                border-radius: 20px;
            }
            .doc-content h2 {
                font-size: 20px;
                margin-top: 40px;
            }
        }

        /* Плавное появление при скролле */
        .doc-content h2, .doc-content p, .highlight-box, .warning-box {
            opacity: 0;
            transform: translateY(10px);
            animation: docFadeIn 0.6s ease forwards;
        }
        @keyframes docFadeIn {
            to { opacity: 1; transform: translateY(0); }
        }

//================предложения
        .nwl-bg-blobs {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: -1; pointer-events: none; overflow: hidden;
        }
        .nwl-blob {
            position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25;
            animation: nw-drift 20s infinite alternate ease-in-out;
        }
        .nwl-blob-1 { width: 50vw; height: 50vw; background: var(--nw-primary); top: -20%; left: -10%; }
        .nwl-blob-2 { width: 40vw; height: 40vw; background: var(--nw-accent); bottom: -10%; right: -10%; animation-delay: -10s; }
        
        @keyframes nw-drift {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        /* --- LAYOUT --- */
        .nwl-page { position: relative; z-index: 1; padding: 100px 20px 60px; }
        .nwl-container { max-width: 1320px; margin: 0 auto; }

        .nwl-header { text-align: center; margin-bottom: 60px; }
        .nwl-label {
            display: inline-block; padding: 6px 16px; border-radius: 50px;
            background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3);
            color: var(--nw-primary); font-size: 12px; font-weight: 700; letter-spacing: 1px;
            text-transform: uppercase; margin-bottom: 20px;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
        }
        .nwl-title {
            font-size: clamp(32px, 5vw, 56px); font-weight: 800; margin: 0;
            background: linear-gradient(to right, #fff, #94a3b8);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .nwl-desc { max-width: 600px; margin: 15px auto 0; color: var(--nw-muted); font-size: 16px; }

        .nwl-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }

        /* --- SIDEBAR --- */
        .nwl-sidebar-wrapper { position: relative; }
        .nwl-filter-toggle { display: none; }

        .nwl-sidebar {
            background: var(--nw-surface);
            backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--nw-border);
            border-radius: 24px;
            padding: 20px;
            position: sticky; top: 100px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
        }
        .nwl-nav-title {
            font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
            color: var(--nw-muted); margin-bottom: 15px; padding-left: 10px; font-weight: 700;
        }
        .nwl-nav-item {
            display: flex; justify-content: space-between; align-items: center;
            padding: 12px 16px; margin-bottom: 8px;
            color: var(--nw-muted); text-decoration: none;
            border-radius: 12px; transition: all 0.2s;
            font-weight: 500; border: 1px solid transparent; cursor: pointer;
        }
        .nwl-nav-item:hover { background: rgba(255,255,255,0.05); color: white; }
        .nwl-nav-item.active {
            background: rgba(99, 102, 241, 0.1);
            border-color: rgba(99, 102, 241, 0.3);
            color: white;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
        }

        /* --- MAIN CONTENT --- */
        .nwl-section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
        .nwl-section-title { font-size: 24px; margin: 0; color: white; }
        .nwl-section-line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, var(--nw-border), transparent); }

        .nwl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

        /* --- CARDS --- */
        .nwl-card {
            position: relative; background: var(--nw-glass); border: 1px solid var(--nw-border);
            border-radius: 24px; padding: 24px; overflow: hidden;
            transition: transform 0.3s, border-color 0.3s; display: flex; flex-direction: column;
        }
        .nwl-card::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
            z-index: 1; opacity: 0; transition: opacity 0.5s; pointer-events: none;
        }
        .nwl-card:hover::before { opacity: 1; }
        .nwl-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

        .nwl-card-content { position: relative; z-index: 2; display: flex; gap: 15px; height: 100%; }
        .nwl-vote-box { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 40px; }
        .nwl-vote-btn {
            width: 36px; height: 36px; border-radius: 10px;
            background: rgba(255,255,255,0.05); border: 1px solid var(--nw-border);
            color: var(--nw-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: 0.2s;
        }
        .nwl-vote-btn:hover { background: rgba(255,255,255,0.1); color: white; }
        .nwl-vote-btn.active { background: var(--nw-primary); color: white; border-color: var(--nw-primary); }
        .nwl-vote-count { font-size: 14px; font-weight: 700; color: white; }

        .nwl-card-body { flex-grow: 1; }
        .nwl-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .nwl-card-cat { font-size: 11px; font-weight: 700; color: var(--nw-primary); text-transform: uppercase; }
        
        .nwl-status-badge { font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
        .nwl-status-badge.pending { background: rgba(245, 158, 11, 0.15); color: var(--status-pending); }
        .nwl-status-badge.implemented { background: rgba(16, 185, 129, 0.15); color: var(--status-implemented); }
        .nwl-status-badge.rejected { background: rgba(239, 68, 68, 0.15); color: var(--status-rejected); }
        .nwl-status-badge.awaiting { background: rgba(99, 102, 241, 0.15); color: var(--status-awaiting); }
        .nwl-status-badge.in_progress { background: rgba(59, 130, 246, 0.15); color: var(--status-in-progress); }
        .nwl-status-badge.postponed { background: rgba(100, 116, 139, 0.15); color: var(--status-postponed); }

        .nwl-card-title { font-size: 18px; font-weight: 700; color: white; margin: 0 0 10px 0; line-height: 1.3; }
        .nwl-card-desc { font-size: 14px; color: var(--nw-muted); line-height: 1.5; margin: 0 0 15px 0; }
        
        .nwl-card-footer {
            margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 12px; color: var(--nw-muted); display: flex; justify-content: space-between;
        }
        .nwl-text-clamp {
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
            overflow: hidden; text-overflow: ellipsis;
        }
        .nwl-read-more-btn {
            background: none; border: none; color: var(--nw-primary);
            font-weight: 600; cursor: pointer; padding: 0; margin-top: 5px; font-size: 13px;
        }

        /* ============================================ */
        /* --- БЛОК "ЕСТЬ ИДЕЯ?" --- */
        /* ============================================ */
        .nwl-idea-block {
            background: var(--nw-surface);
            border: 1px solid var(--nw-border);
            border-radius: 24px;
            padding: 28px;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 24px;
            position: relative;
            overflow: hidden;
        }
        .nwl-idea-block::before {
            content: "";
            position: absolute;
            top: -50%; right: -20%;
            width: 300px; height: 300px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .nwl-idea-icon { font-size: 42px; flex-shrink: 0; position: relative; z-index: 1; }
        .nwl-idea-text { flex-grow: 1; position: relative; z-index: 1; }
        .nwl-idea-title { margin: 0 0 6px 0; font-size: 20px; font-weight: 700; color: white; }
        .nwl-idea-desc { margin: 0; color: var(--nw-muted); font-size: 14px; line-height: 1.5; }

        .nwl-idea-btn-wrap { position: relative; z-index: 1; flex-shrink: 0; }

        .nwl-idea-btn {
            width: 64px; height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--nw-primary), var(--nw-accent));
            border: none; color: white;
            font-size: 32px; font-weight: 300;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.3s;
            box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.5);
            position: relative; overflow: hidden;
        }
        .nwl-idea-btn::before {
            content: "";
            position: absolute; top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s;
        }
        .nwl-idea-btn:hover::before { left: 100%; }
        .nwl-idea-btn:hover {
            transform: scale(1.1) rotate(90deg);
            box-shadow: 0 15px 40px -5px rgba(99, 102, 241, 0.7);
        }

        .nwl-idea-btn-auth {
            width: auto; height: auto;
            border-radius: 16px; padding: 16px 24px;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--nw-border);
            color: white; font-weight: 600; font-size: 14px;
            text-decoration: none;
            display: flex; align-items: center; gap: 8px;
            transition: all 0.2s;
        }
        .nwl-idea-btn-auth:hover {
            background: rgba(255,255,255,0.1);
            border-color: var(--nw-primary);
        }

        /* --- MODALS COMMON --- */
        .nwl-modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
            z-index: 1000; display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: 0.3s;
            padding: 20px;
        }
        .nwl-modal-overlay.open { opacity: 1; visibility: visible; }
        
        .nwl-modal {
            background: #1e293b; border: 1px solid var(--nw-border);
            border-radius: 24px; padding: 30px; width: 100%; max-width: 500px;
            position: relative; transform: translateY(20px) scale(0.95); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
            max-height: 90vh;
            display: flex; flex-direction: column;
        }
        .nwl-modal-overlay.open .nwl-modal { transform: translateY(0) scale(1); }
        .nwl-modal-close {
            position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--nw-border);
            color: var(--nw-muted); font-size: 18px; cursor: pointer;
            width: 36px; height: 36px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            transition: 0.2s; z-index: 2;
        }
        .nwl-modal-close:hover {
            background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4);
            color: #ef4444; transform: rotate(90deg);
        }

        /* ============================================ */
        /* --- МОДАЛЬНОЕ ОКНО СОЗДАНИЯ --- */
        /* ============================================ */
        .nwl-create-modal {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
            backdrop-filter: blur(24px);
            border: 1px solid rgba(99, 102, 241, 0.2);
            overflow: hidden;
            padding: 0;
        }
        .nwl-create-modal::before {
            content: "";
            position: absolute; top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
            pointer-events: none; z-index: 0;
        }
        .nwl-create-modal::after {
            content: "";
            position: absolute; top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
        }

        .nwl-create-modal-content {
            position: relative; z-index: 1;
            padding: 35px 30px 30px;
            overflow-y: auto; flex: 1;
        }

        .nwl-modal-header {
            text-align: center;
            margin-bottom: 28px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .nwl-modal-icon {
            width: 56px; height: 56px;
            margin: 0 auto 16px;
            background: linear-gradient(135deg, var(--nw-primary), var(--nw-accent));
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 26px;
            box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.5);
            animation: nw-pulse 3s ease-in-out infinite;
        }
        @keyframes nw-pulse {
            0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.5); }
            50% { transform: scale(1.05); box-shadow: 0 15px 40px -5px rgba(99, 102, 241, 0.7); }
        }
        .nwl-modal-header h3 {
            margin: 0 0 6px 0;
            font-size: 22px; font-weight: 800; color: white;
            background: linear-gradient(to right, #fff, #cbd5e1);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .nwl-modal-header p { margin: 0; font-size: 13px; color: var(--nw-muted); }

        .nwl-form-group {
            margin-bottom: 18px;
            opacity: 0;
            transform: translateY(10px);
            animation: nw-fadeIn 0.4s ease forwards;
        }
        .nwl-form-group:nth-child(1) { animation-delay: 0.1s; }
        .nwl-form-group:nth-child(2) { animation-delay: 0.2s; }
        .nwl-form-group:nth-child(3) { animation-delay: 0.3s; }
        .nwl-form-group:nth-child(4) { animation-delay: 0.4s; }
        @keyframes nw-fadeIn {
            to { opacity: 1; transform: translateY(0); }
        }

        .nwl-form-label {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 8px; font-size: 13px;
            color: var(--nw-muted); font-weight: 600;
        }
        .nwl-label-counter {
            font-size: 11px; color: var(--nw-muted);
            font-weight: 500; opacity: 0.7;
        }
        .nwl-label-counter.warning { color: #f59e0b; opacity: 1; }
        .nwl-label-counter.danger { color: #ef4444; opacity: 1; }

        .nwl-input-wrap { position: relative; }
        .nwl-input-icon {
            position: absolute; left: 14px; top: 50%;
            transform: translateY(-50%);
            color: var(--nw-muted);
            pointer-events: none;
            transition: color 0.2s; z-index: 2;
        }
        .nwl-input-wrap:focus-within .nwl-input-icon { color: var(--nw-primary); }

        .nwl-form-input, .nwl-form-select, .nwl-form-textarea {
            width: 100%;
            padding: 14px 14px 14px 44px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--nw-border);
            border-radius: 14px;
            color: white;
            font-family: inherit;
            font-size: 14px;
            outline: none;
            box-sizing: border-box;
            transition: all 0.25s;
        }
        .nwl-form-textarea {
            padding-left: 14px;
            resize: vertical;
            min-height: 110px;
            line-height: 1.5;
        }
        .nwl-form-input::placeholder, .nwl-form-textarea::placeholder {
            color: rgba(148, 163, 184, 0.5);
        }
        .nwl-form-input:hover, .nwl-form-select:hover, .nwl-form-textarea:hover {
            border-color: rgba(255,255,255,0.15);
            background: rgba(0, 0, 0, 0.4);
        }
        .nwl-form-input:focus, .nwl-form-select:focus, .nwl-form-textarea:focus {
            border-color: var(--nw-primary);
            background: rgba(0, 0, 0, 0.5);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15),
                        0 0 20px -5px rgba(99, 102, 241, 0.3);
        }

        .nwl-btn-submit {
            width: 100%;
            padding: 16px;
            margin-top: 8px;
            background: linear-gradient(135deg, var(--nw-primary), #8b5cf6);
            color: white;
            border: none;
            border-radius: 14px;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
            opacity: 0;
            transform: translateY(10px);
            animation: nw-fadeIn 0.4s ease forwards;
            animation-delay: 0.5s;
        }
        .nwl-btn-submit::before {
            content: "";
            position: absolute; top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        .nwl-btn-submit:hover::before { left: 100%; }
        .nwl-btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.6);
        }
        .nwl-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
        .nwl-btn-submit svg { transition: transform 0.3s; }
        .nwl-btn-submit:hover svg { transform: translateX(3px); }

        .nwl-form-hint {
            text-align: center;
            margin-top: 16px;
            font-size: 12px;
            color: var(--nw-muted);
            opacity: 0.7;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        /* ============================================ */
        /* --- НОВЫЙ СТИЛЬ ВЫБОРА КАТЕГОРИЙ (GRID) --- */
        /* ============================================ */
        .nwl-cat-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 8px;
            max-height: 240px;
            overflow-y: auto;
            padding: 4px;
        }
        .nwl-cat-grid::-webkit-scrollbar { width: 6px; }
        .nwl-cat-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 4px; }
        .nwl-cat-grid::-webkit-scrollbar-thumb { background: var(--nw-primary); border-radius: 4px; }

        .nwl-cat-item {
            position: relative;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid var(--nw-border);
            border-radius: 12px;
            padding: 14px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            user-select: none;
        }
        .nwl-cat-item:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(99, 102, 241, 0.3);
            transform: translateY(-2px);
        }
        .nwl-cat-item.active {
            background: rgba(99, 102, 241, 0.15);
            border-color: var(--nw-primary);
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
        }
        .nwl-cat-icon {
            font-size: 24px;
            line-height: 1;
        }
        .nwl-cat-name {
            font-size: 12px;
            font-weight: 600;
            color: var(--nw-muted);
            text-align: center;
            line-height: 1.2;
        }
        .nwl-cat-item.active .nwl-cat-name {
            color: #fff;
        }
        .nwl-cat-check {
            position: absolute;
            top: 6px; right: 6px;
            width: 18px; height: 18px;
            background: var(--nw-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .nwl-cat-check i {
            font-size: 12px;
            color: white;
        }
        .nwl-cat-item.active .nwl-cat-check {
            opacity: 1;
            transform: scale(1);
        }
        .nwl-cat-error {
            display: none;
            color: #ef4444;
            font-size: 12px;
            margin-top: 8px;
            align-items: center;
            gap: 5px;
        }
        .nwl-cat-error.show { display: flex; }

        /* Toast */
        .nwl-toast {
            position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
            background: #1e293b; border: 1px solid var(--nw-border); padding: 12px 24px;
            border-radius: 50px; color: white; display: flex; align-items: center; gap: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: 0.3s; z-index: 2000;
        }
        .nwl-toast.show { transform: translateX(-50%) translateY(0); }
        .nwl-empty {
            text-align: center; padding: 60px; grid-column: 1 / -1;
            border: 2px dashed var(--nw-border); border-radius: 24px; color: var(--nw-muted);
        }

        /* ============================================ */
        /* --- МОДАЛЬНОЕ ОКНО ПРОСМОТРА --- */
        /* ============================================ */
        .nwl-view-modal {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
            backdrop-filter: blur(24px);
            border: 1px solid rgba(99, 102, 241, 0.2);
            overflow: hidden;
            padding: 0;
            max-width: 500px !important;
            height: auto;
        }
        .nwl-view-modal::before {
            content: "";
            position: absolute; top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
            pointer-events: none; z-index: 0;
        }
        .nwl-view-modal::after {
            content: "";
            position: absolute; top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
        }

        .nwl-view-modal-content {
            position: relative; z-index: 1;
            display: flex; flex-direction: column;
            max-height: 70vh; overflow: hidden;
        }

        .nwl-view-modal-header {
            padding: 24px 24px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            flex-shrink: 0; position: relative;
        }
        .nwl-view-modal-header::after {
            content: "";
            position: absolute; bottom: -1px; left: 24px; right: 24px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
        }
        .nwl-view-modal-top {
            display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
            animation: nw-fadeIn 0.3s ease forwards;
        }
        .nwl-view-modal-title {
            margin: 0 0 14px 0;
            font-size: clamp(18px, 3vw, 22px);
            font-weight: 800; line-height: 1.3; color: white;
            background: linear-gradient(to right, #fff, #cbd5e1);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: nw-fadeIn 0.4s ease forwards;
            animation-delay: 0.1s;
            opacity: 0; transform: translateY(5px);
        }

        .nwl-view-meta {
            display: flex; flex-wrap: wrap; gap: 8px;
            animation: nw-fadeIn 0.4s ease forwards;
            animation-delay: 0.2s;
            opacity: 0; transform: translateY(5px);
        }
        .nwl-view-meta-item {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 11px; color: var(--nw-muted);
            padding: 5px 10px;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--nw-border);
            border-radius: 50px; font-weight: 500;
        }
        .nwl-view-meta-item svg { flex-shrink: 0; opacity: 0.8; }
        .nwl-vote-meta {
            background: rgba(99, 102, 241, 0.1);
            border-color: rgba(99, 102, 241, 0.25);
            color: #a5b4fc;
        }
        .nwl-vote-meta svg { color: var(--nw-primary); }

        .nwl-view-scroll-wrapper {
            position: relative; flex: 1;
            overflow: hidden; min-height: 150px;
        }
        .nwl-scroll-fade {
            position: absolute; left: 0; right: 0;
            height: 25px; pointer-events: none;
            z-index: 3; transition: opacity 0.3s;
        }
        .nwl-scroll-fade-top {
            top: 0;
            background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), transparent);
            opacity: 0;
        }
        .nwl-scroll-fade-top.is-visible { opacity: 1; }
        .nwl-scroll-fade-bottom {
            bottom: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
            opacity: 1;
        }
        .nwl-scroll-fade-bottom.is-hidden { opacity: 0; }

        .nwl-view-scroll-area {
            height: 100%;
            max-height: 40vh;
            overflow-y: auto;
            padding: 20px 24px;
            scroll-behavior: smooth;
            position: relative;
        }
        .nwl-view-scroll-area::-webkit-scrollbar { width: 6px; }
        .nwl-view-scroll-area::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 4px; margin: 6px 0; }
        .nwl-view-scroll-area::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, var(--nw-primary), var(--nw-accent));
            border-radius: 4px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .nwl-view-scroll-area { scrollbar-width: thin; scrollbar-color: var(--nw-primary) rgba(255,255,255,0.03); }

        .nwl-view-modal-desc {
            color: #cbd5e1; line-height: 1.65; font-size: 14px;
            word-wrap: break-word; overflow-wrap: break-word;
            animation: nw-fadeIn 0.5s ease forwards;
            animation-delay: 0.3s;
            opacity: 0; transform: translateY(5px);
        }
        .nwl-view-modal-desc br + br { display: none; }

        .nwl-scroll-hint {
            display: none;
            flex-direction: column; align-items: center; gap: 6px;
            margin: 20px auto 10px;
            padding: 10px 18px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 50px;
            color: #a5b4fc;
            font-size: 12px; font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative; overflow: hidden;
            font-family: inherit;
        }
        .nwl-scroll-hint.is-visible {
            display: flex;
            animation: nw-hintAppear 0.6s ease forwards, nw-hintPulse 2s ease-in-out 1s infinite;
        }
        .nwl-scroll-hint::before {
            content: "";
            position: absolute; top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.6s;
        }
        .nwl-scroll-hint:hover::before { left: 100%; }
        .nwl-scroll-hint:hover {
            border-color: var(--nw-primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px -5px rgba(99, 102, 241, 0.4);
        }
        .nwl-scroll-hint-arrow { animation: nw-arrowBounce 1.5s ease-in-out infinite; }

        @keyframes nw-hintAppear {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes nw-hintPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3); }
            50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
        }
        @keyframes nw-arrowBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(4px); }
        }

        .nwl-view-modal-footer {
            padding: 14px 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            display: flex; justify-content: space-between; align-items: center;
            gap: 16px; flex-shrink: 0; position: relative;
        }
        .nwl-view-modal-footer::before {
            content: "";
            position: absolute; top: -1px; left: 24px; right: 24px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
        }
        .nwl-view-footer-info {
            display: flex; align-items: center; gap: 8px;
            font-size: 11px; color: var(--nw-muted);
            font-weight: 500; flex: 1; min-width: 0;
        }
        .nwl-view-footer-info span {
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .nwl-view-close-btn {
            padding: 8px 16px;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--nw-border);
            border-radius: 10px;
            color: white; font-weight: 600; font-size: 12px;
            cursor: pointer; transition: all 0.2s;
            font-family: inherit; white-space: nowrap;
        }
        .nwl-view-close-btn:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.3);
            color: #fca5a5;
        }

        /* Mobile */
        @media (max-width: 600px) {
            .nwl-view-modal { width: 90%; height: 75vh; max-height: none; border-radius: 20px; }
            .nwl-view-modal-content { max-height: 100%; }
            .nwl-view-modal-header { padding: 18px 18px 12px; }
            .nwl-view-modal-header::after { left: 18px; right: 18px; }
            .nwl-view-modal-title { font-size: 17px; margin-bottom: 10px; }
            .nwl-view-meta { gap: 5px; }
            .nwl-view-meta-item { padding: 4px 8px; font-size: 10px; }
            .nwl-view-scroll-area { padding: 12px 18px; max-height: none; flex-grow: 1; }
            .nwl-view-modal-footer { padding: 10px 18px; flex-direction: row; gap: 10px; }
            .nwl-view-modal-footer::before { left: 18px; right: 18px; }
            .nwl-view-close-btn { padding: 8px 14px; font-size: 11px; }
            .nwl-view-modal-desc { font-size: 13px; }
        }

        @media (max-width: 900px) {
            .nwl-page { padding-top: 80px; }
            .nwl-layout { grid-template-columns: 1fr; gap: 30px; }
            .nwl-sidebar { display: none; }
            .nwl-filter-toggle { 
                display: flex; width: 100%; padding: 16px;
                background: var(--nw-surface); border: 1px solid var(--nw-border);
                border-radius: 16px; color: white; font-weight: 600; cursor: pointer;
                margin-bottom: 20px; justify-content: space-between; align-items: center;
                transition: 0.2s;
            }
            .nwl-filter-toggle:hover {
                background: rgba(255,255,255,0.05);
                border-color: var(--nw-primary);
            }

            .nwl-mobile-menu {
                display: flex; flex-direction: column;
                position: fixed; bottom: 0; left: 0; width: 100%;
                background: #1e293b;
                border-top-left-radius: 24px; border-top-right-radius: 24px;
                border-top: 1px solid var(--nw-border);
                z-index: 1100;
                padding: 20px 24px 30px;
                max-height: 80vh; overflow-y: auto;
                transform: translateY(110%);
                transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
                box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
            }
            .nwl-mobile-menu.is-open { transform: translateY(0); }

            .nwl-mobile-header {
                display: flex; justify-content: space-between; align-items: center;
                margin-bottom: 18px; width: 100%;
            }
            .nwl-mobile-title {
                font-size: 18px; font-weight: 700; color: white;
                text-transform: uppercase; letter-spacing: 1px;
            }
            .nwl-close-mobile {
                position: static;
                background: rgba(255,255,255,0.08); 
                border: 1px solid var(--nw-border); 
                color: var(--nw-muted); 
                width: 36px; height: 36px; 
                border-radius: 50%; font-size: 20px; 
                display: flex; align-items: center; justify-content: center; 
                cursor: pointer; transition: 0.2s;
            }
            .nwl-close-mobile:hover {
                background: rgba(239, 68, 68, 0.15);
                border-color: rgba(239, 68, 68, 0.4);
                color: #ef4444;
            }

            .nwl-mobile-divider {
                position: relative; height: 1px; margin: 0 0 20px;
                background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.1) 15%, rgba(99, 102, 241, 0.5) 50%, rgba(236, 72, 153, 0.5) 85%, transparent 100%);
                overflow: visible;
            }    </style>
            .nwl-mobile-divider::after {
                content: "";
                position: absolute; top: 50%; left: 50%;
                transform: translate(-50%, -50%);
                width: 6px; height: 6px;
                background: var(--nw-primary);
                border-radius: 50%;
                box-shadow: 0 0 10px var(--nw-primary), 0 0 20px rgba(99, 102, 241, 0.5);
            }

            .nwl-menu-overlay {
                position: fixed; top: 0; left: 0; width: 100%; height: 100%;
                background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
                z-index: 1099;
                opacity: 0; visibility: hidden; transition: 0.3s;
            }
            .nwl-menu-overlay.is-open { opacity: 1; visibility: visible; }

            .nwl-idea-block { flex-direction: column; text-align: center; padding: 24px 20px; }
            .nwl-idea-icon { font-size: 36px; margin-bottom: 12px; }
            .nwl-idea-title { font-size: 18px; }
            .nwl-idea-desc { font-size: 13px; margin-bottom: 16px; }
            .nwl-idea-btn { width: 56px; height: 56px; font-size: 28px; }
            
            .nwl-grid { grid-template-columns: 1fr; }
            
            /* Мобильная сетка категорий */
            .nwl-cat-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                max-height: 200px;
            }
            .nwl-cat-item { padding: 10px 5px; }
            .nwl-cat-icon { font-size: 20px; }
            .nwl-cat-name { font-size: 11px; }
        }

        @media (min-width: 901px) {
            .nwl-mobile-menu { display: none !important; }
        }
//=================support

    /* =========================================
       FIX: LAYOUT OVERRIDE
       ========================================= */
    body, #__nuxt, #__layout {
        display: block !important;
        width: 100% !important;
        overflow-x: hidden;
    }

    nav, .sidebar, .navigation, header.nav-header, .navbar {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box;
        border-bottom: 1px solid var(--border);
        z-index: 50;
    }

    main.support-layout {
        width: 100%;
        max-width: 1000px;
        margin: 40px auto !important;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }

    @media (max-width: 768px) {
        main.support-layout {
            margin: 20px auto !important;
            padding: 0 10px;
        }
        nav, .sidebar, .navigation {
            padding: 0 10px !important;
        }
        .glass-panel {
            border-radius: 12px !important;
        }
    }


    .bg-effects {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
        background: 
            radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 40%),
            radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08), transparent 40%);
    }
    .bg-grid {
        position: absolute; inset: 0;
        background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
        background-size: 40px 40px;
        opacity: 0.15;
        mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    }

    .support-container { width: 100%; }
    
    .glass-panel {
        background: rgba(20, 20, 23, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .fade-in-up { animation: fadeInUp 0.5s ease-out forwards; }

    /* HEADER */
    .ticket-header {
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    .header-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .back-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--text-dim);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
        padding: 6px 10px;
        border-radius: var(--radius-sm);
    }
    .back-btn:hover { color: var(--text-main); background: var(--surface); transform: translateX(-3px); }

    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        border: 1px solid var(--status-border);
        background: var(--status-bg);
        color: var(--status-color);
    }
    .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
    .status-pulse .status-dot { animation: pulse 2s infinite; }

    .ticket-title {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        display: flex;
        align-items: baseline;
        gap: 12px;
        flex-wrap: wrap;
    }
    .ticket-id {
        font-family: var(--font-mono);
        font-size: 14px;
        color: var(--text-dim);
        background: var(--surface);
        padding: 2px 8px;
        border-radius: 6px;
    }

    .ticket-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-dim);
        font-size: 13px;
    }
    .meta-item { display: flex; align-items: center; gap: 6px; }
    .separator { opacity: 0.3; }

    /* CHAT SECTION */
    .chat-section {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 400px;
        max-height: 600px;
        margin-bottom: 20px;
    }

    .chat-container {
        flex: 1;
        overflow-y: auto;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        scroll-behavior: smooth;
    }
    .chat-container::-webkit-scrollbar { width: 6px; }
    .chat-container::-webkit-scrollbar-track { background: transparent; }
    .chat-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    .chat-empty-state {
        margin: auto;
        text-align: center;
        color: var(--text-dim);
        padding: 40px;
    }
    .empty-icon-wrapper {
        width: 64px; height: 64px; margin: 0 auto 16px;
        background: var(--surface); border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        border: 1px dashed var(--border);
    }

    /* Messages */
    .message-wrapper {
        display: flex;
        gap: 12px;
        max-width: 85%;
        animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .msg-left { align-self: flex-start; }
    .msg-right { align-self: flex-end; flex-direction: row-reverse; }

    .message-avatar {
        width: 36px; height: 36px;
        border-radius: 50%;
        background: var(--surface);
        border: 1px solid var(--border);
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }

    .message-content { display: flex; flex-direction: column; gap: 4px; }
    .message-header {
        display: flex; align-items: center; gap: 8px;
        font-size: 12px; padding: 0 4px;
    }
    .msg-left .message-header { color: var(--text-dim); }
    .msg-right .message-header { justify-content: flex-end; color: var(--primary); }
    
    /* Стили для имени отправителя */
    .sender-name { font-weight: 600; }
    .sender-name.bot-name { color: var(--bot-color); }

    .message-bubble {
        padding: 12px 16px;
        border-radius: var(--radius-md);
        font-size: 14px;
        line-height: 1.6;
        position: relative;
        word-break: break-word;
        display: block;
        width: 100%;
    }
    .msg-admin {
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--text-main);
        border-top-left-radius: 4px;
    }
    .msg-user {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: var(--text-main);
        border-top-right-radius: 4px;
    }

    /* View Photo Button Styles */
    .wiki_admin_support_view-photo-btn {
        display: flex; align-items: center; gap: 8px;
        padding: 8px 12px; 
        background: rgba(255,255,255,0.05); 
        border: 1px solid rgba(255,255,255,0.1); 
        border-radius: 8px; 
        color: #a1a1aa; 
        cursor: pointer; 
        font-size: 13px; 
        transition: 0.2s;
        width: fit-content;
        margin-top: 12px;
    }
    .wiki_admin_support_view-photo-btn:hover {
        background: rgba(255,255,255,0.1);
        color: var(--text-main);
        border-color: var(--primary);
    }

    .message-attachment {
        margin-top: 10px; display: flex; align-items: center; gap: 12px;
        padding: 10px; background: rgba(0,0,0,0.2);
        border-radius: 8px; border: 1px solid var(--border); max-width: 280px;
    }
    .file-icon-wrap { color: var(--text-dim); }
    .file-details { display: flex; flex-direction: column; overflow: hidden; }
    .file-name {
        color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 500;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .file-action { font-size: 11px; color: var(--text-dim); }
    
    /* LINK UNDER TEXT FIX */
    .link-type {
        color: var(--primary); text-decoration: none; font-size: 13px;
        display: block;
        margin-top: 12px;
        padding: 8px 12px;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.1);
        border-radius: 8px;
        width: fit-content;
        max-width: 100%;
        transition: 0.2s;
        box-sizing: border-box;
    }
    .link-type:hover {
        background: rgba(99, 102, 241, 0.2);
        border-color: rgba(99, 102, 241, 0.3);
    }
    .link-type svg {
        display: inline-block;
        vertical-align: middle;
        margin-right: 6px;
    }
    .link-type .link-text {
        display: inline-block;
        vertical-align: middle;
    }

    /* REPLY FORM */
    .reply-footer { padding: 20px; margin-top: auto; }
    .input-wrapper { position: relative; display: flex; flex-direction: column; gap: 10px; }
    textarea {
        width: 100%; background: transparent; border: none;
        color: var(--text-main); font-family: inherit; font-size: 15px;
        resize: none; outline: none; min-height: 60px; padding: 4px;
    }
    textarea::placeholder { color: rgba(255,255,255,0.2); }

    .form-actions {
        display: flex; justify-content: space-between; align-items: center;
        border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px;
    }

    .attach-wrapper { position: relative; display: inline-block; }
    .attach-btn {
        background: transparent; border: none; color: var(--text-dim);
        cursor: pointer; padding: 8px; border-radius: 50%; transition: 0.2s;
        display: flex;
    }
    .attach-btn:hover { color: var(--text-main); background: var(--surface); }
    .attach-btn.active { color: var(--primary); background: rgba(99, 102, 241, 0.1); }

    .send-btn {
        background: var(--primary); color: white; border: none;
        width: 40px; height: 40px; border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: 0.2s;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }
    .send-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4); }
    .send-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

    /* КНОПКА ОПЕРАТОРА */
    .operator-btn {
        background: rgba(245, 158, 11, 0.1); 
        color: var(--operator-color); 
        border: 1px solid rgba(245, 158, 11, 0.2);
        padding: 0 12px; 
        height: 40px; 
        border-radius: 12px;
        display: flex; 
        align-items: center; 
        justify-content: center;
        cursor: pointer; 
        transition: 0.2s;
        font-size: 13px;
        font-weight: 500;
        gap: 6px;
    }
    .operator-btn:hover {
        background: rgba(245, 158, 11, 0.2);
        border-color: var(--operator-color);
        color: #fff;
    }

    .file-preview {
        display: flex; align-items: center; justify-content: space-between;
        background: var(--surface); padding: 8px 12px; border-radius: 8px;
        margin-top: 10px; border: 1px solid var(--border);
        font-size: 13px; color: var(--text-dim);
    }
    .file-preview.hidden { display: none; }
    .file-info { display: flex; align-items: center; gap: 8px; }
    .remove-file-btn { background: none; border: none; color: var(--accent); cursor: pointer; padding: 4px; }

    /* Attach Menu Popup */
    .attach-menu {
        position: absolute; 
        bottom: 100%;
        left: 0; 
        margin-bottom: 10px;
        background: #18181b; border: 1px solid var(--border);
        border-radius: 12px; padding: 8px; width: 200px;
        display: none; flex-direction: column; gap: 4px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6); z-index: 100;
        animation: slideUpFade 0.2s ease-out;
    }
    .attach-menu.show { display: flex; }
    .menu-item {
        display: flex; align-items: center; gap: 10px;
        padding: 10px; border-radius: 8px; cursor: pointer;
        background: transparent; border: none; color: var(--text-main);
        text-align: left; width: 100%; font-size: 13px;
    }
    .menu-item:hover { background: var(--surface-hover); }
    .menu-icon {
        width: 28px; height: 28px; border-radius: 6px;
        display: flex; align-items: center; justify-content: center;
    }
    .bg-blue { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
    .bg-purple { background: rgba(236, 72, 153, 0.2); color: #f472b6; }

    .closed-banner {
        padding: 20px; text-align: center; color: var(--text-dim);
        display: flex; align-items: center; justify-content: center; gap: 12px;
        margin-top: 20px;
    }
    .closed-icon { color: var(--text-dim); }
    .closed-text { display: flex; flex-direction: column; }
    .closed-text strong { color: var(--text-main); }

    /* MODALS */
    .modal-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px);
        z-index: 1000; display: none; align-items: center; justify-content: center;
        opacity: 0; transition: opacity 0.3s;
    }
    .modal-overlay.show { display: flex; opacity: 1; }
    .modal-content {
        background: #18181b; border: 1px solid var(--border);
        padding: 24px; border-radius: 20px; width: 90%; max-width: 400px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(0.95); transition: 0.3s;
    }
    .modal-overlay.show .modal-content { transform: scale(1); }
    .modal-content h3 { margin: 0 0 16px; color: white; font-size: 18px; }
    .modal-input {
        width: 100%; padding: 12px; background: rgba(0,0,0,0.3);
        border: 1px solid var(--border); border-radius: 8px;
        color: white; margin-bottom: 16px; outline: none; font-family: inherit;
    }
    .modal-input:focus { border-color: var(--primary); }
    .modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
    .btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text-dim); padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
    .btn-secondary:hover { border-color: var(--text-dim); color: var(--text-main); }
    .btn-primary { background: var(--primary); border: none; color: white; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
    .btn-primary:hover { background: #4f46e5; }

    .image-viewer-overlay { background: rgba(0,0,0,0.95); z-index: 2000; }
    .image-viewer-container { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
    #viewer-img { max-width: 95%; max-height: 90vh; border-radius: 8px; object-fit: contain; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
    .viewer-close { position: absolute; top: 30px; right: 30px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .viewer-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

    @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes popIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
    @keyframes slideUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
    .spin { animation: spin 1s linear infinite; }
    @keyframes spin { 100% { transform: rotate(360deg); } }

    @media (max-width: 768px) {
        .ticket-header, .chat-section, .reply-footer { border-radius: 16px; }
        .message-wrapper { max-width: 95%; }
        .ticket-title { font-size: 20px; }
        
        .message-bubble { padding: 10px 14px; }
        .link-type, .message-image-btn, .message-attachment, .wiki_admin_support_view-photo-btn {
            width: 100%;
            justify-content: center;
        }
    }
//————————-–auth 
        /* =========================================
           ОСНОВНЫЕ СТИЛИ ФОРМЫ ВХОДА
           ========================================= */
        .wiki_auth_input-wrap {
            position: relative;
            margin-bottom: 15px;
        }

        .wiki_auth_input {
            width: 100%;
            padding: 12px 45px 12px 45px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            outline: none;
            transition: all 0.2s;
            background: #fff;
            box-sizing: border-box;
        }

        .wiki_auth_input:focus {
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .wiki_auth_icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
        }

        .wiki_auth_toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #9ca3af;
            transition: color 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .wiki_auth_toggle-password:hover {
            color: #4b5563;
        }

        /* =========================================
           ТЕМНЫЙ ДИЗАЙН МОДАЛЬНОГО ОКНА 2FA
           ========================================= */
        .wiki_auth_modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 20px;
        }

        .wiki_auth_modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .wiki_auth_modal {
            background: #1e293b; /* Slate 800 */
            width: 100%;
            max-width: 420px;
            border-radius: 24px;
            padding: 40px 35px;
            border: 1px solid #334155;
            box-shadow: 
                0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
            transform: scale(0.95) translateY(20px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .wiki_auth_modal::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4f46e5, #818cf8, #4f46e5);
            background-size: 200% 100%;
            animation: gradientShift 3s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .wiki_auth_modal-overlay.active .wiki_auth_modal {
            transform: scale(1) translateY(0);
        }

        .wiki_auth_modal-icon {
            width: 72px;
            height: 72px;
            background: rgba(79, 70, 229, 0.15);
            color: #818cf8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            box-shadow: 0 0 25px rgba(79, 70, 229, 0.25);
            border: 1px solid rgba(79, 70, 229, 0.3);
            animation: floatIcon 4s ease-in-out infinite;
        }

        @keyframes floatIcon {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        .wiki_auth_modal-icon svg {
            width: 32px;
            height: 32px;
            stroke-width: 2px;
        }

        .wiki_auth_modal h3 {
            font-size: 22px;
            font-weight: 800;
            color: #f8fafc;
            margin: 0 0 10px;
            letter-spacing: -0.02em;
        }

        .wiki_auth_modal p {
            font-size: 15px;
            color: #94a3b8;
            margin: 0 0 30px;
            line-height: 1.6;
        }

        .wiki_auth_code-input {
            width: 100%;
            padding: 18px 0;
            font-size: 32px;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            text-align: center;
            letter-spacing: 12px;
            color: #f8fafc;
            border: 2px solid #334155;
            border-radius: 16px;
            margin-bottom: 24px;
            outline: none;
            background: #0f172a;
            transition: all 0.25s ease;
        }

        .wiki_auth_code-input:focus {
            border-color: #6366f1;
            background: #0b1120;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.15);
            transform: translateY(-1px);
        }

        .wiki_auth_code-input::placeholder {
            color: #475569;
            letter-spacing: 12px;
        }

        .wiki_auth_modal_btn {
            width: 100%;
            padding: 14px;
            background: #4f46e5;
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
        }

        .wiki_auth_modal_btn:hover {
            background: #6366f1;
            transform: translateY(-1px);
            box-shadow: 0 8px 15px -3px rgba(79, 70, 229, 0.4);
        }

        .wiki_auth_modal_btn:active {
            transform: translateY(0);
        }
        
        .wiki_auth_modal_btn:disabled {
            background: #475569;
            color: #94a3b8;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .wiki_auth_modal_close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: #334155;
            border: 1px solid #475569;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            cursor: pointer;
            transition: all 0.2s;
        }

        .wiki_auth_modal_close:hover {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.3);
            color: #ef4444;
            transform: rotate(90deg);
        }

        /* Стили для ссылки "Отправить повторно" */
        .wiki_auth_resend-wrap {
            margin-top: 20px;
            font-size: 14px;
            color: #64748b;
        }

        .wiki_auth_resend-link {
            color: #818cf8;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.2s;
            background: none;
            border: none;
            padding: 0;
            font-size: 14px;
        }

        .wiki_auth_resend-link:hover:not(:disabled) {
            color: #a5b4fc;
            text-decoration: underline;
        }

        .wiki_auth_resend-link:disabled {
            color: #475569;
            cursor: default;
            text-decoration: none;
        }
//=============================профиль


/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.ambient-light {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
    will-change: transform;
}

.blob-1 {
    top: -15%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    animation-delay: -8s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-tertiary), transparent 70%);
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(50px, -80px) scale(1.1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-30px, 40px) scale(0.9);
        opacity: 0.25;
    }
    75% { 
        transform: translate(40px, 60px) scale(1.05);
        opacity: 0.35;
    }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    padding: 48px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.05) 0%, 
        rgba(236, 72, 153, 0.03) 50%,
        rgba(6, 182, 212, 0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-primary), 
        var(--accent-secondary), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1), transparent 50%);
    pointer-events: none;
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    z-index: 1;
}

.avatar-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 4px rgba(124, 58, 237, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.5);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-tertiary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.8), 
        rgba(236, 72, 153, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(8px);
}

.avatar-wrapper:hover .avatar-upload-overlay { 
    opacity: 1; 
}

.avatar-wrapper:hover .avatar-img {
    transform: scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 0 4px rgba(124, 58, 237, 0.3),
        0 12px 48px var(--accent-glow);
}

.upload-icon {
    color: white;
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Status Badge */
.status-badge {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--success);
    color: var(--success);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* User Info */
.user-info {
    flex: 1;
    z-index: 1;
}

.user-info h1 {
    font-size: 3.5rem;
    margin: 0 0 12px 0;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.role-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.2), 
        rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #c4b5fd;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(8px);
}

.role-tag::before {
    content: '◆';
    font-size: 0.7rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.verification-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.is-verified { 
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.is-not-verified { 
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-highlight);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.card-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.mono-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.9;
}

/* Level Card */
.card-level {
    grid-column: span 2;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.08) 0%, 
        rgba(236, 72, 153, 0.05) 50%,
        rgba(6, 182, 212, 0.03) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) { 
    .card-level { grid-column: span 1; } 
}

/* Progress Bar */
.xp-bar-container { 
    margin-top: 20px; 
    position: relative;
    z-index: 1;
}

.progress-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--accent-primary), 
        var(--accent-secondary),
        var(--accent-tertiary));
    background-size: 200% 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5));
    animation: shimmer 2s infinite;
}

.xp-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Badges */
.badges-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.badge-item {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: help;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.badge-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--accent-primary), 
        var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.badge-item:hover { 
    transform: scale(1.15) rotate(5deg);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.badge-item:hover::before {
    opacity: 0.2;
}

.badge-locked { 
    opacity: 0.3; 
    filter: grayscale(1);
    cursor: not-allowed;
}

.badge-locked:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */
.actions-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover { 
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-glass:hover { 
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-highlight);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover { 
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    transform: translateY(-2px);
}

/* ============================================
   ALERTS
   ============================================ */
.alert-box {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    backdrop-filter: blur(12px);
    border: 1px solid;
}

.alert-error { 
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success { 
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* ============================================
   MODAL SYSTEM
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.4), 
        rgba(236, 72, 153, 0.4),
        rgba(6, 182, 212, 0.4));
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-window {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modal-inner {
    background: rgba(18, 18, 26, 0.98);
    border-radius: calc(var(--radius-xl) - 3px);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.modal-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s;
    pointer-events: none;
}

.modal-inner:hover::before {
    transform: translateX(100%);
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-title-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px var(--accent-glow);
    animation: pulse 3s infinite;
}

.modal-close-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
    transform: rotate(90deg) scale(1.1);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 14px 12px;
    border-radius: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.25), 
        rgba(236, 72, 153, 0.2));
    color: #fff;
    box-shadow: 
        0 4px 16px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Fields */
.input-group {
    margin-bottom: 32px;
    position: relative;
}

.modern-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 20px 20px 20px 20px;
    border-radius: 16px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.modern-input::placeholder {
    color: transparent;
}

.modern-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.modern-input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 0 4px rgba(124, 58, 237, 0.15),
        0 0 24px rgba(124, 58, 237, 0.1);
}

/* Floating Label */
.floating-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 6px;
}

.modern-input:focus ~ .floating-label,
.modern-input:not(:placeholder-shown) ~ .floating-label {
    top: 0;
    left: 16px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    background: linear-gradient(180deg, 
        transparent 40%, 
        rgba(18, 18, 26, 0.98) 40%);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.toggle-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.toggle-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toggle-label-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-label-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    box-shadow: 0 0 24px var(--accent-glow);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(26px);
}

/* Modal Buttons */
.btn-modal {
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-modal-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-modal-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-modal-primary:active {
    transform: translateY(-1px);
}

.btn-modal-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modal-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Modal Footer */
.modal-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* 2FA Block */
.two-fa-block {
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.08), 
        rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 28px;
    border-radius: 20px;
    margin-top: 24px;
}

/* Verification Code */
.code-row { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
    margin: 24px 0; 
}

.code-digit {
    width: 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    color: #fff;
    font-size: 1.75rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s;
}

.code-digit:focus { 
    border-color: var(--accent-primary); 
    outline: none; 
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 32px;
    right: 32px;
    background: rgba(18, 18, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    z-index: 2000;
    transform: translateX(450px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 24px 16px;
    }

    .profile-hero {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .user-info h1 {
        font-size: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-level {
        grid-column: span 1;
    }

    .modal-inner {
        padding: 28px 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 12px 8px;
    }

    .tab-btn svg {
        display: none;
    }

    .actions-bar {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .user-info h1 {
        font-size: 2rem;
    }

    .avatar-img {
        width: 120px;
        height: 120px;
    }

    .code-digit {
        width: 44px;
        height: 52px;
        font-size: 1.5rem;
    }
}
