/* Исправление геометрии логотипа и первого экрана: 2026-11-11, версия 2 */
/* NEXION QORE — основной стиль, сохранён при миграции, 2026-11-11 */
/* Базовые настройки */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background: #040814; /* Более глубокий космический цвет */
            color: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            overflow-x: hidden;
            position: relative;
        }

        /* АНИМИРОВАННЫЙ ЖИВОЙ ФОН */
        .bg-orbs {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
            filter: blur(80px); /* Уменьшили размытие для видимости движения */
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            opacity: 0.6; /* Сделали ярче */
            mix-blend-mode: screen;
        }

        .orb-1 {
            width: 600px; height: 600px;
            background: #0033ff;
            top: -100px; left: -100px;
            animation: float-1 12s infinite ease-in-out alternate;
        }

        .orb-2 {
            width: 500px; height: 500px;
            background: #7700ff;
            bottom: -50px; right: -50px;
            animation: float-2 15s infinite ease-in-out alternate;
        }

        .orb-3 {
            width: 400px; height: 400px;
            background: #00c3ff;
            top: 40%; left: 30%;
            animation: float-3 10s infinite ease-in-out alternate;
        }

        /* Движение фоновой матрицы/сетки */
        .particles {
            position: fixed;
            top: 0; left: 0;
            width: 200vw; height: 200vh;
            z-index: 0;
            pointer-events: none;
            opacity: 0.4;
            background-image: radial-gradient(rgba(0, 150, 255, 0.4) 1.5px, transparent 1.5px);
            background-size: 50px 50px;
            animation: move-grid 20s linear infinite;
        }

        @keyframes float-1 {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(30vw, 20vh) scale(1.2); }
        }
        @keyframes float-2 {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(-30vw, -20vh) scale(1.3); }
        }
        @keyframes float-3 {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(20vw, -30vh) scale(0.8); }
        }
        @keyframes move-grid {
            0% { transform: translate(0, 0); }
            100% { transform: translate(-50px, -50px); }
        }

        /* Основной контейнер */
        .container {
            max-width: 1300px;
            width: 100%;
            padding: 34px 30px 42px;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-grow: 1;
            justify-content: center;
        }

        /* ЗАГОЛОВОК И ПОДСВЕТКА ЛОГОТИПА */
        header {
            text-align: center;
            margin-bottom: 34px;
            animation: fadeInDown 1.8s ease-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        /* Пульсирующая задняя подсветка логотипа */
        header::before {
            content: '';
            position: absolute;
            top: 35%; left: 50%;
            transform: translate(-50%, -50%);
            width: 350px; height: 350px;
            background: radial-gradient(circle, rgba(0, 150, 255, 0.5) 0%, rgba(0, 0, 0, 0) 65%);
            z-index: -1;
            filter: blur(15px);
            animation: pulse-glow 3s infinite alternate ease-in-out;
            pointer-events: none;
        }

        @keyframes pulse-glow {
            0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
            100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
        }

        .main-logo {
            display: block;
            width: min(390px, 82vw);
            height: auto;
            max-width: 100%;
            margin-bottom: 12px;
            z-index: 2;
            /* Мощное свечение самого контура логотипа */
            filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.9)) drop-shadow(0 0 40px rgba(0, 100, 255, 0.6));
        }

        header h1 {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        header p {
            font-size: 1.08rem;
            color: #a0c0e0;
            letter-spacing: 5px;
            text-transform: uppercase;
            z-index: 2;
            text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
        }

        /* Сетка проектов */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
            width: 100%;
        }

        /* Карточка проекта */
        .project-card {
            text-decoration: none;
            position: relative;
            background: rgba(10, 15, 25, 0.65); 
            backdrop-filter: blur(15px);
            border: 1px solid rgba(0, 200, 255, 0.2); 
            border-radius: 24px;
            padding: 30px 22px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-height: 280px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            animation: fadeInUp 1.2s ease-out backwards;
            will-change: auto;
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
        }

        /* Кружок для логотипа */
        .logo-circle {
            width: 124px;
            height: 124px;
            border-radius: 50%;
            background: #02050a;
            border: 2px solid rgba(0, 200, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            box-shadow: 0 0 25px rgba(0, 150, 255, 0.15), inset 0 0 20px rgba(0, 200, 255, 0.1);
            transition: all 0.5s ease;
            position: relative;
            z-index: 2;
        }

        .logo-circle img {
            max-width: 82%;
            max-height: 78%;
            object-fit: contain;
            transition: transform 0.5s ease;
            filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
        }

        /* Тексты в карточке */
        .project-title {
            color: #ffffff;
            font-size: 1.6rem;
            margin-bottom: 15px;
            letter-spacing: 1.5px;
            transition: all 0.3s ease;
            z-index: 2;
        }

        .project-desc {
            color: #8fa5b5;
            font-size: 0.95rem;
            line-height: 1.6;
            z-index: 2;
        }

        .project-card:nth-child(1) { animation-delay: 0.3s; }
        .project-card:nth-child(2) { animation-delay: 0.6s; }
        .project-card:nth-child(3) { animation-delay: 0.9s; }

        /* Эффекты при наведении (Hover) */
        .project-card:hover,
        .project-card:focus-visible {
            transform: perspective(900px) translateY(-15px) scale(1.02) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
            background: rgba(15, 25, 45, 0.85);
            border-color: rgba(0, 255, 255, 0.6); 
            box-shadow: 0 25px 50px rgba(0, 150, 255, 0.4), 
                        inset 0 0 30px rgba(0, 255, 255, 0.15);
        }

        .project-card:hover .logo-circle,
        .project-card:focus-visible .logo-circle {
            border-color: rgba(0, 255, 255, 0.9);
            box-shadow: 0 0 45px rgba(0, 255, 255, 0.5), inset 0 0 25px rgba(0, 255, 255, 0.3);
            transform: scale(1.05) translateY(-5px);
        }

        .project-card:hover .logo-circle img,
        .project-card:focus-visible .logo-circle img {
            transform: scale(1.15);
            filter: drop-shadow(0 0 25px rgba(255,255,255,0.6));
        }

        .project-card:hover .project-title,
        .project-card:focus-visible .project-title {
            color: #00ffff; 
            text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: -50%; left: -100%;
            width: 60%; height: 200%;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
            transform: skewX(-30deg);
            transition: 0.6s;
            opacity: 0;
            z-index: 1;
        }

        .project-card:hover::before,
        .project-card:focus-visible::before {
            left: 150%;
            opacity: 1;
        }

        /* Футер */
        footer {
            width: 100%;
            text-align: center;
            padding: 22px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            color: #506070;
            font-size: 0.9rem;
            letter-spacing: 1px;
            position: relative;
            z-index: 1;
            animation: fadeInUp 1.5s ease-out backwards;
            animation-delay: 1.5s;
        }

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

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

        /* Адаптивность для мобильных */
        @media (max-width: 900px) {
            .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 640px) {
            .main-logo { width: min(330px, 88vw); height: auto; }
            header { margin-bottom: 26px; }
            header p { font-size: 0.95rem; letter-spacing: 3px; }
            .container { padding: 25px 16px 34px; }
            .project-card { min-height: 260px; padding: 26px 20px; }
            .logo-circle { width: 110px; height: 110px; margin-bottom: 16px; }
            .project-title { font-size: 1.4rem; }
            .projects-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 20px; }
            header::before { width: 270px; height: 270px; }
        }

        /* Небольшие улучшения без изменения фирменного стиля */
        .project-card:focus-visible {
            outline: 3px solid #48dfff;
            outline-offset: 5px;
        }

        @media (hover: none), (pointer: coarse) {
            .project-card:hover {
                transform: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation: none !important;
                transition: none !important;
                scroll-behavior: auto !important;
            }

            .project-card:hover, .project-card:focus-visible {
                transform: none;
            }
        }

        @media (max-width: 480px) {
            .main-logo { width: min(330px, 88vw); height: auto; }
            header { margin-bottom: 25px; }
            header p { font-size: 0.85rem; letter-spacing: 3px; }
            .container { padding-left: 18px; padding-right: 18px; }
            .projects-grid { gap: 20px; }
            .project-card { min-height: 260px; }
            .bg-orbs { filter: blur(55px); }
        }
