
        :root {
            --bg-main: #07090e;
            --bg-card: rgba(19, 23, 34, 0.75);
            --bg-btn: #161b26;
            --bg-accent: linear-gradient(135deg, #5865F2 0%, #404eed 100%);
            --border-glow: rgba(88, 101, 242, 0.25);
            --border-color: rgba(34, 39, 53, 0.6);
            --text-main: #f2f3f5;
            --text-muted: #949ba4;
            --text-link: #5865F2;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .contact-actions {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 20px;
        }


        .btn-small-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: fit-content;
            background-color: var(--bg-btn);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 8px 16px;
            font-size: 0.9rem;
            font-weight: 500;
            border-radius: 10px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .btn-small-link:hover {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(88, 101, 242, 0.4);
            transform: translateY(-1px);
        }


        .btn-huge-server {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            background: var(--bg-accent);
            color: #ffffff;
            padding: 18px 30px;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            border: none;
            border-radius: 16px;
            text-decoration: none;
            cursor: pointer;
            box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-huge-server:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5), 0 0 15px rgba(88, 101, 242, 0.3);
        }

        .btn-huge-server:active {
            transform: translateY(-1px);
        }


        .btn-huge-server svg {
            transition: transform 0.3s ease;
        }

        .btn-huge-server:hover svg {
            transform: scale(1.1) rotate(-3deg);
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-main);
            background-image: 
                radial-gradient(circle at 80% 20%, rgba(88, 101, 242, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 15% 80%, rgba(88, 101, 242, 0.04) 0%, transparent 35%);
            background-attachment: fixed;
            color: var(--text-main);
            line-height: 1.6;
            padding: 50px 20px;
            display: flex;
            justify-content: center;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            width: 100%;
            max-width: 950px;
            margin: 0 auto;
        }


        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 45px;
            gap: 20px;
            flex-wrap: wrap;
        }


        .bot-selector {
            display: flex;
            background-color: rgba(19, 23, 34, 0.6);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 6px;
            gap: 6px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; 
        }
        .bot-selector::-webkit-scrollbar {
            display: none;
        }

        .bot-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            padding: 12px 24px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            border-radius: 12px;
            white-space: nowrap;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .bot-btn:hover {
            color: var(--text-main);
            background-color: rgba(255, 255, 255, 0.02);
            transform: translateY(-1px);
        }

        .bot-btn.active {
            color: #fff;
            background: var(--bg-accent);
            box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
        }

        .lang-switch {
            display: flex;
            background-color: rgba(19, 23, 34, 0.6);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 5px;
        }

        .lang-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            padding: 8px 20px;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            border-radius: 20px;
            transition: all 0.25s ease;
        }

        .lang-btn.active {
            color: #fff;
            background: var(--bg-accent);
            box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
        }


        header {
            text-align: center;
            margin-bottom: 55px;
        }

        header h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 16px;
            letter-spacing: -1px;
            background: linear-gradient(135deg, #ffffff 40%, #a2a8b3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        header p {
            color: var(--text-muted);
            font-size: 1.2rem;
            font-weight: 400;
            letter-spacing: 0.3px;
        }


        .tabs {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 35px;
        }

        .tab-btn {
            background-color: rgba(19, 23, 34, 0.4);
            color: var(--text-muted);
            border: 1px solid var(--border-color);
            padding: 18px 30px;
            font-size: 1.05rem;
            font-weight: 600;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex: 1;
            max-width: 350px;
            backdrop-filter: blur(10px);
        }

        .tab-btn svg {
            opacity: 0.6;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .tab-btn:hover {
            color: var(--text-main);
            border-color: rgba(88, 101, 242, 0.3);
            background-color: rgba(19, 23, 34, 0.7);
            transform: translateY(-2px);
        }

        .tab-btn.active {
            background-color: rgba(19, 23, 34, 0.8);
            border-color: #5865F2;
            color: #5865F2;
            box-shadow: 0 0 25px rgba(88, 101, 242, 0.05);
            transform: translateY(-2px);
        }
        
        .tab-btn.active svg {
            opacity: 1;
            transform: scale(1.1);
            stroke: #5865F2;
        }


        .content-card {
            background: var(--bg-card);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 60px;
            box-shadow: 
                0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
            position: relative;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            border-radius: 24px;
            padding: 1px;
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), transparent 60%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none; /* Пропускает клики сквозь рамку */
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: superFadeIn 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        @keyframes superFadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }


        h2 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: #ffffff;
            letter-spacing: -0.5px;
        }

        .meta-date {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 40px;
            display: block;
            font-style: italic;
            opacity: 0.8;
        }

        h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 45px 0 16px 0;
            color: #ffffff;
            display: flex;
            align-items: center;
        }
        
        h3::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 18px;
            background: var(--bg-accent);
            border-radius: 4px;
            margin-right: 12px;
            box-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
        }

        p {
            color: #dbdee1;
            margin-bottom: 22px;
            font-size: 1.05rem;
            text-align: justify;
            text-justify: inter-word;
        }

        strong {
            color: #ffffff;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.04);
            padding: 2px 6px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.03);
        }
        

        .b-email {
            color: #5865F2;
            text-decoration: none;
            word-break: break-all;
            border-bottom: 1px dashed rgba(88, 101, 242, 0.4);
            transition: all 0.2s ease;
            font-weight: 500;
            background: none !important;
            padding: 0 !important;
            border-radius: 0 !important;
            position: relative;
            z-index: 5;
        }
        .b-email:hover {
            color: #727fff;
            border-bottom-style: solid;
        }

        body.lang-en [lang="ru"] { display: none; }
        body.lang-en [lang="en"] { display: block; }
        body.lang-ru [lang="en"] { display: none; }
        body.lang-ru [lang="ru"] { display: block; }

        body.bot-1 .bot-content:not([bot="1"]) { display: none; }
        body.bot-2 .bot-content:not([bot="2"]) { display: none; }
        body.bot-3 .bot-content:not([bot="3"]) { display: none; }
        body.bot-4 .bot-content:not([bot="4"]) { display: none; }

        footer {
            text-align: center;
            margin-top: 70px;
            color: var(--text-muted);
            font-size: 0.95rem;
            border-top: 1px solid var(--border-color);
            padding-top: 30px;
            opacity: 0.7;
        }

        .project-header {
            text-align: center;
            margin-bottom: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }


        .header-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(88, 101, 242, 0.1);
            border: 1px solid rgba(88, 101, 242, 0.2);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #5865F2;
            margin-bottom: 16px;
            box-shadow: 0 4px 12px rgba(88, 101, 242, 0.05);
        }

        .header-badge svg {
            stroke: #5865F2;
        }


        .project-header h1 {
            font-size: 3.8rem;
            font-weight: 850;
            margin-bottom: 12px;
            letter-spacing: -1.5px;
            background: linear-gradient(135deg, #ffffff 30%, #a2a8b3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .header-subtitle {
            color: var(--text-muted);
            font-size: 1.15rem;
            font-weight: 500;
            letter-spacing: 0.2px;
            max-width: 600px;
            position: relative;
            padding-bottom: 15px;
        }


        .header-subtitle::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--bg-accent);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
        }


        @media (max-width: 768px) {
            .project-header h1 {
                font-size: 2.6rem;
                letter-spacing: -0.8px;
            }
            .header-subtitle {
                font-size: 1rem;
                padding-bottom: 12px;
                text-align: center; /* Принудительно возвращаем центр */
                display: inline-block; /* Помогает избежать багов с нижней полоской-афтером */
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            body { padding: 25px 12px; }
            .top-bar { flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-bottom: 35px; width: 100%; }
            .bot-selector { justify-content: flex-start; padding: 5px; border-radius: 14px; max-width: 100%; width: auto; }
            .bot-btn { padding: 10px 18px; font-size: 0.9rem; border-radius: 10px; }
            .lang-switch { border-radius: 20px; margin: 0 auto; }
            .tabs { gap: 12px; flex-direction: row; }
            .tab-btn { padding: 14px 20px; font-size: 0.95rem; border-radius: 14px; }
            .content-card { padding: 35px 22px; border-radius: 20px; }
            header { margin-bottom: 40px; }
            header h1 { font-size: 2.4rem; letter-spacing: -0.5px; }
            header p { font-size: 1.05rem; }
            h2 { font-size: 1.7rem; }
            h3 { font-size: 1.2rem; margin: 35px 0 12px 0; }
            p { font-size: 0.98rem; text-align: left; margin-bottom: 18px; }
        }

        @media (max-width: 480px) {
            .tabs { flex-direction: column; gap: 10px; }
            .tab-btn { max-width: 100%; width: 100%; }
        }
