/* --- Variables --- */

:root {
    /* Цвета */
    --color-dark-bg: #1a202c;
    --color-main-bg: #0a0e17;
    --color-card-bg: rgba(26, 32, 44, 0.8);
    --color-accent-blue: #3f51b5;
    --color-accent-light-blue: #00bcd4;
    --color-text-dark: #2d3748;
    --color-text-light: #e2e8f0;
    --color-border: rgba(255, 255, 255, 0.1);
    /* Неоновые эффекты */
    --neon-primary: #0ff0fc;
    --neon-secondary: #ff2d75;
    --neon-accent: #f0f;
    --dark-space: #0a0e17;
    --cosmic-purple: #4d2b8c;
    /* Размеры */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}


/* --- Base Styles --- */

* {
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-main-bg);
    color: var(--color-text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
}

.container {
    width: 100%;
    margin: 0 auto;
}


/* --- Neo Header --- */

.neo-header {
    position: relative;
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.header-container {
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Brand & Logo */

.brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
}


/* Holographic Navigation */

.holographic-nav {
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: transparent;
    font-weight: 500;
    overflow: hidden;
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 20%, var(--neon-primary) 50%, transparent 80%);
    background-size: 200% 200%;
    opacity: 0;
    mix-blend-mode: screen;
    transition: var(--transition);
}

.nav-text {
    position: relative;
    z-index: 2;
    color: var(--color-text-light);
    transition: var(--transition);
}

.nav-item:hover .nav-glow {
    opacity: 0.8;
    animation: hologram 1.5s linear infinite;
}

.nav-item:hover .nav-text {
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
}


/* Dropdown Menus */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 32, 44, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    color: var(--neon-primary);
    background: rgba(0, 255, 255, 0.1);
}


/* Bio Search */

.bio-search {
    position: relative;
    margin-left: 1.5rem;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    padding-right: 2.5rem;
    width: 13vw;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

.neon-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--neon-primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 2px var(--neon-primary));
}

.neon-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out infinite;
}


/* Mobile Menu */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-light);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}


/* Main Content */

.site-main {
    flex: 1;
    background-color: var(--color-main-bg);
}

.neo-content {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 1vw 1vw;
    width: 80vw;
}

.page-title {
    font-size: 2.8rem;
    color: var(--neon-primary);
    text-align: center;
    margin-bottom: 2vw;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}


/* Post List */

.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16vw, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.post-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-info {
    padding: 20px;
}

.post-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--color-text-light);
    text-align: center;
}

.post-meta {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
}

.post-category-link {
    color: var(--neon-primary);
    text-decoration: none;
}

.post-category-link:hover {
    text-decoration: underline;
}


/* Popular Categories */

.popular-categories {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    justify-content: center;
}

.category-badge {
    display: inline-block;
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: var(--transition);
}

.category-badge:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
}


/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.btn:hover {
    background: var(--neon-secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.5);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    width: 10vw;
    justify-self: center;
}


/* Footer */

.site-footer {
    background: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 30px 0;
    text-align: center;
}

.api-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.api-btn {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.api-btn:hover {
    background: rgba(0, 255, 255, 0.2);
}


/* Animations */

@keyframes hologram {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}


/* Responsive */

@media (max-width: 992px) {
    .nav-track {
        gap: 1rem;
    }
    .search-input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-container {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-dark-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }
    .nav-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-track {
        flex-direction: column;
        gap: 0.5rem;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-left: 1rem;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .bio-search {
        margin: 1rem 0 0;
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    .menu-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: translateY(-6px) rotate(-45deg);
    }
    .page-title {
        font-size: 2.2rem;
    }
}


/* Стили для выпадающего меню с прокруткой */

.dropdown-menu.scrollable-dropdown {
    max-height: 19vw;
    /* Максимальная высота перед появлением прокрутки */
    overflow-y: auto;
    /* Вертикальная прокрутка */
    overscroll-behavior: contain;
    /* Чтобы прокрутка не влияла на основной контент */
    /* Стилизация скроллбара */
    scrollbar-width: thin;
    scrollbar-color: var(--neon-primary) rgba(0, 0, 0, 0.1);
}


/* Стилизация скроллбара для WebKit браузеров */

.dropdown-menu.scrollable-dropdown::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu.scrollable-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.dropdown-menu.scrollable-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--neon-primary);
    border-radius: 3px;
}


/* Анимация появления прокрутки */

.dropdown-menu.scrollable-dropdown {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}


/* Убедимся, что пункты меню не выходят за границы */

.dropdown-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.parallax-layer {
    transition: transform 0.1s linear;
    will-change: transform;
}

.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( to bottom right, transparent 45%, var(--neon-primary), transparent 55%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.btn-hover:hover::before {
    animation: neonGlow 1.5s linear infinite;
    opacity: 0.7;
}


/* БАННЕР */


/* Добавьте это в ваш styles.css */


/* Banner Form Styles */

.banner-form-container {
    --form-width: 500px;
    --aspect-ratio: 1.5;
    --form-box-color: #272727;
    --input-color: #3a3a3a;
    --button-color: #373737;
    --error-color: #ff4d4d;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.banner-form-box {
    background: var(--form-box-color);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: var(--form-width);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 40px 60px -8px rgba(255, 255, 255, 0.12), inset 4px 0 12px -6px rgba(255, 255, 255, 0.12), inset 0 0 12px -4px rgba(255, 255, 255, 0.12), 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.banner-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-logo {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    border: 2px solid #fff;
}

.form-header {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 6px;
    color: white;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.banner-form input[type="text"],
.banner-form input[type="number"],
.banner-form input[type="url"],
.banner-form textarea,
.banner-form select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: var(--input-color);
    color: white;
    outline: none;
    font-size: 14px;
}

.banner-form input[type="file"] {
    width: 100%;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.banner-form textarea {
    min-height: 100px;
    resize: vertical;
}

.banner-form input:focus,
.banner-form textarea:focus,
.banner-form select:focus {
    border: 1px solid #fff;
}

.form-button {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: inset 0px 3px 6px -4px rgba(255, 255, 255, 0.6), inset 0px -3px 6px -2px rgba(0, 0, 0, 0.8);
}

.form-button.submit {
    background: #4285F4;
}

.form-button.cancel {
    background: #EB4335;
}

.form-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
}


/* Responsive adjustments */

@media (max-width: 600px) {
    .banner-form-box {
        padding: 20px;
    }
    .banner-form input,
    .banner-form textarea,
    .banner-form select {
        padding: 10px;
    }
    .form-button {
        height: 40px;
        font-size: 14px;
    }
}


/* Banner Styles */

.banner-container {
    position: relative;
    width: 100vw;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-self: center;
}

.modern-banner {
    position: relative;
    width: 100%;
    height: auto;
    /* Можно адаптировать под ваши нужды */
    display: flex;
    align-items: flex-end;
    /* margin-top: 1vw; */
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    position: relative;
}

.banner-media {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-video,
.banner-image {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -19vw;
}

.banner-text {
    max-width: 60%;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-cta {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s, background 0.3s ease;
}

.cta-text {
    margin-right: 10px;
    font-weight: 600;
}

.cta-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}


/* Адаптивность */

@media (max-width: 768px) {
    .modern-banner {
        height: 100%;
    }
    .banner-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .banner-description {
        font-size: 0.6rem;
    }
}


/* ГЛАВНЫЙ БЛОК */

.main-block {
    display: flex;
    width: 100vw;
}


/* ПРАВЫЙ БЛОК С БАННЕРАМИ */

.neo-sidebar {
    display: flex;
    flex-direction: column;
    width: 19vw;
    padding: 1vw;
    gap: 1.5vw;
    position: relative;
    padding-top: 12.5vw;
}


/* Основной стиль баннера */

.neo-sidebar .sidebar-promo {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #1a2230, #0e131f);
    height: 25vw;
}

.neo-sidebar .sidebar-promo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.3);
    border-color: var(--neon-primary);
}


/* Медиа-контент баннера */

.neo-sidebar .sidebar-promo-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.neo-sidebar .sidebar-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.neo-sidebar .sidebar-promo:hover .sidebar-promo-img {
    transform: scale(1.05);
}

.neo-sidebar .sidebar-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.9) 0%, transparent 50%);
    z-index: 2;
}


/* Контент баннера */

.neo-sidebar .sidebar-promo-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5vw;
    z-index: 3;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.9) 0%, transparent 100%);
}

.neo-sidebar .sidebar-promo-title {
    font-size: 1.2vw;
    margin-bottom: 0.8vw;
    color: var(--neon-primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.neo-sidebar .sidebar-promo-desc {
    font-size: 0.9vw;
    line-height: 1.4;
    margin-bottom: 1.2vw;
    color: rgba(255, 255, 255, 0.8);
}


/* Кнопка CTA */

.neo-sidebar .sidebar-promo-action {
    display: inline-flex;
    align-items: center;
    padding: 0.6vw 1vw;
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid var(--neon-primary);
    color: white;
    font-size: 0.8vw;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.neo-sidebar .sidebar-promo-action:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.neo-sidebar .sidebar-promo-action-icon {
    width: 1vw;
    height: 1vw;
    margin-left: 0.5vw;
    stroke: var(--neon-primary);
    transition: transform 0.3s ease;
}

.neo-sidebar .sidebar-promo-action:hover .sidebar-promo-action-icon {
    transform: translateX(3px);
}


/* Эффект неоновой рамки */

.neo-sidebar .sidebar-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    z-index: 2;
    pointer-events: none;
    transition: all 0.5s ease;
}

.neo-sidebar .sidebar-promo:hover::before {
    border-color: var(--neon-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.2);
}


/* Анимация свечения */

@keyframes sidebar-neon-pulse {
    0%,
    100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.neo-sidebar .sidebar-promo:hover .sidebar-promo-title {
    animation: sidebar-neon-pulse 2s infinite;
}


/* Адаптивность */

@media (max-width: 768px) {
    .neo-sidebar {
        width: 100%;
        padding: 15px;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
    }
    .neo-sidebar .sidebar-promo {
        min-width: 80%;
        height: 200px;
    }
    .neo-sidebar .sidebar-promo-title {
        font-size: 16px;
    }
    .neo-sidebar .sidebar-promo-desc {
        font-size: 12px;
    }
    .neo-sidebar .sidebar-promo-action {
        font-size: 12px;
        padding: 8px 15px;
    }
    .neo-sidebar .sidebar-promo-action-icon {
        width: 12px;
        height: 12px;
    }
}


/* ПАГИНАЦИЯ */


/* Neo-стиль пагинации */

.neo-pagination {
    display: flex;
    justify-content: center;
    margin: 3vw 0;
    padding: 1vw 0;
    position: relative;
}

.neo-pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-primary), transparent);
    box-shadow: 0 0 10px var(--neon-primary);
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    background: rgba(26, 32, 44, 0.7);
    padding: 0.8vw 1.5vw;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pagination-btn {
    color: var(--color-text-light);
    text-decoration: none;
    padding: 0.5vw 1vw;
    border-radius: 50px;
    font-size: 0.9vw;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    min-width: 2.5vw;
    text-align: center;
    display: inline-block;
}

.pagination-btn:hover {
    color: var(--neon-primary);
    text-shadow: 0 0 8px var(--neon-primary);
    border-color: var(--neon-primary);
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.first-page,
.last-page {
    padding: 0.5vw 1.2vw;
}

.prev-page,
.next-page {
    padding: 0.5vw 1vw;
}

.current-page {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    font-weight: 600;
}

.page-number {
    min-width: 2vw;
}

.pagination-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pagination-btn:hover::after {
    opacity: 1;
}


/* Анимация для кнопок */

@keyframes paginationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

.pagination-btn:hover {
    animation: paginationPulse 1.5s infinite;
}


/* Адаптивные стили */

@media (max-width: 768px) {
    .neo-pagination {
        margin: 5vw 0;
    }
    .pagination-container {
        gap: 1.5vw;
        padding: 2vw 3vw;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }
    .pagination-btn {
        padding: 1.5vw 3vw;
        font-size: 3.5vw;
        min-width: 8vw;
        margin: 0.5vw;
    }
    .first-page,
    .last-page {
        order: 1;
        width: calc(50% - 3vw);
        margin-top: 2vw;
    }
    .prev-page {
        order: -1;
        margin-right: auto;
    }
    .next-page {
        order: 2;
        margin-left: auto;
    }
    .current-page {
        font-weight: 700;
    }
}


/* Эффект разделителя для десктопа */

@media (min-width: 769px) {
    .first-page {
        margin-right: 0.5vw;
    }
    .prev-page {
        margin-right: 0.5vw;
    }
    .next-page {
        margin-left: 0.5vw;
    }
    .last-page {
        margin-left: 0.5vw;
    }
    .first-page::after,
    .prev-page::after,
    .next-page::before,
    .page-number:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: 1px;
        background: rgba(0, 255, 255, 0.3);
    }
    .first-page::after,
    .prev-page::after {
        right: -0.5vw;
    }
    .next-page::before,
    .page-number:not(:last-child)::after {
        left: -0.5vw;
    }
    .next-page::before {
        display: none;
    }
}


/* ОПРОСЫ */

.poll-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2vw;
    margin-top: 2vw;
}

.poll-card {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 1.5vw;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.poll-cars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    margin: 1.5vw 0;
    width: 100%;
}

.poll-car {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.poll-car img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1vw;
}

.poll-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3vw;
    margin: 2vw 0;
}

.car-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-image img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1vw;
}

.car-name {
    font-size: 1.2vw;
    font-weight: bold;
    margin-bottom: 0.5vw;
    text-align: center;
    width: 21vw;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5vw 0;
}

.progress-fill {
    height: 100%;
    background: var(--neon-primary);
    transition: width 1s ease;
}

.car-percentage {
    font-size: 1.5vw;
    font-weight: bold;
    color: var(--neon-primary);
    margin: 0.5vw 0;
}

.car-votes {
    font-size: 0.9vw;
    color: rgba(255, 255, 255, 0.7);
}

.poll-vote-form {
    margin-top: 0vw;
    padding: 2vw;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
}

.poll-vote-form h3 {
    margin-bottom: 5vw;
    color: var(--neon-primary);
}

.poll-message {
    margin-top: 2vw;
    padding: 1.5vw;
    background: rgba(0, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
    text-align: center;
}


/* Адаптивные стили */

@media (max-width: 768px) {
    .poll-list {
        grid-template-columns: 1fr;
    }
    .poll-results {
        flex-direction: column;
    }
    .car-name {
        font-size: 16px;
    }
    .car-percentage {
        font-size: 20px;
    }
    .car-votes {
        font-size: 12px;
    }
}


/* Стили для формы создания опроса */

.poll-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2vw;
}

.form-card {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 2.5vw;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( to bottom right, transparent 45%, rgba(0, 255, 255, 0.05), transparent 55%);
    transform: rotate(30deg);
    pointer-events: none;
}

.neon-form {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    color: var(--neon-primary);
    font-weight: 500;
    font-size: 1.1vw;
}

.label-icon {
    font-size: 1.3vw;
}

.neon-form input[type="text"],
.neon-form input[type="email"],
.neon-form input[type="password"],
.neon-form select,
.neon-form textarea {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1vw;
    color: white;
    font-size: 1vw;
    transition: all 0.3s ease;
}

.neon-form input[type="text"]:focus,
.neon-form input[type="email"]:focus,
.neon-form input[type="password"]:focus,
.neon-form select:focus,
.neon-form textarea:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.cars-selection {
    display: flex;
    align-items: center;
    gap: 2vw;
    margin: 1vw 0;
}

.car-select {
    flex: 1;
}


/* .vs-circle {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px var(--neon-primary);
} */

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin: 1vw 0;
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1vw;
    cursor: pointer;
}

.neon-form input[type="checkbox"] {
    width: 1.2vw;
    height: 1.2vw;
    accent-color: var(--neon-primary);
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1vw;
    margin-top: 2vw;
}

.btn-primary {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    font-weight: 600;
}

.btn-secondary {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
}

.btn-icon {
    margin-right: 0.5vw;
}

.pulse-on-hover:hover {
    animation: pulse 1.5s infinite;
}

.form-error {
    color: #ff4d4d;
    font-size: 0.9vw;
    margin-top: 0.3vw;
}


/* Анимация пульсации */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}


/* Адаптивные стили */

@media (max-width: 768px) {
    .poll-form-container {
        padding: 5vw;
    }
    .form-card {
        padding: 5vw;
    }
    .form-label {
        font-size: 16px;
    }
    .label-icon {
        font-size: 18px;
    }
    .neon-form input[type="text"],
    .neon-form input[type="email"],
    .neon-form input[type="password"],
    .neon-form select,
    .neon-form textarea {
        padding: 12px;
        font-size: 14px;
    }
    .checkbox-label {
        font-size: 14px;
    }
    .neon-form input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    .cars-selection {
        flex-direction: column;
    }
    .vs-circle {
        margin: 15px 0;
    }
    .form-error {
        font-size: 12px;
    }
}

.poll-results {
    max-width: 900px;
    margin: 0 auto;
}

.results-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
}

.car-result {
    flex: 1;
    text-align: center;
}


/* .vs-circle {
    background: #79aec8;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 20px;
} */

.progress-bar {
    height: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #79aec8;
}

.votes-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.votes-table th,
.votes-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.votes-table th {
    background: #f5f5f5;
}

.actions {
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 10px 15px;
    background: #79aec8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
}

.button:hover {
    background: #609ab6;
}


/* Стили для списка опросов */

.poll-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.poll-card {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.poll-cars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    height: 8vw;
}

.poll-car {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.poll-car-image {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}


/* .vs-circle {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px var(--neon-primary);
} */

.poll-stats {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}


/* Стили для страницы опроса */

.poll-container {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 2vw;
    padding-top: 1vw;
    border: 1px solid var(--color-border);
    margin-top: 1vw;
    text-align: -webkit-center;
}

.poll-header {
    text-align: center;
    margin-bottom: 1vw;
}

.poll-header h2 {
    color: var(--neon-primary);
    font-size: 1.8vw;
    margin-bottom: 0.5vw;
}

.poll-total-votes {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1vw;
}

.poll-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3vw;
    margin: 2vw 0;
    width: 80vw;
    justify-self: center;
}

.car-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-image {
    width: 100%;
    /* margin-bottom: 1vw; */
}

.car-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.car-name {
    font-size: 1.5vw;
    font-weight: bold;
    margin: 0.5vw;
    text-align: center;
    color: var(--color-text-light);
    width: 21vw;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5vw 0;
}

.progress-fill {
    height: 100%;
    background: var(--neon-primary);
    transition: width 1s ease;
}

.car-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5vw;
}

.car-percentage {
    font-size: 1.2vw;
    font-weight: bold;
    color: var(--neon-primary);
}

.car-votes {
    font-size: 0.9vw;
    color: rgba(255, 255, 255, 0.7);
}

.vs-circle {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px var(--neon-primary);
}

.poll-vote-form h3 {
    margin-bottom: 6vw;
    color: var(--neon-primary);
    text-align: center;
}

.vote-options {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin-bottom: 6vw;
}

.vote-options label {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    cursor: pointer;
    font-size: 1.1vw;
}

.poll-message {
    margin-top: 2vw;
    padding: 1.5vw;
    background: rgba(0, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
    text-align: center;
    font-size: 1.1vw;
}

.poll-card h3 {
    height: 4vw;
}


/* Адаптивные стили */

@media (max-width: 768px) {
    .poll-header h2 {
        font-size: 20px;
    }
    .poll-total-votes {
        font-size: 14px;
    }
    .poll-results {
        flex-direction: column;
        gap: 20px;
    }
    .car-name {
        font-size: 18px;
    }
    .car-percentage {
        font-size: 16px;
    }
    .car-votes {
        font-size: 14px;
    }
    .vote-options {
        flex-direction: column;
        gap: 10px;
    }
    .vote-options label {
        font-size: 16px;
    }
    .poll-message {
        font-size: 16px;
    }
    .main-block {
        flex-direction: column-reverse;
    }
    .post-list {
        display: initial;
    }
    .post-thumb {
        height: auto;
    }
    .neo-content {
        width: 98vw;
    }
    .btn.small {
        width: 55vw;
        font-size: 1.2rem;
    }
    .post-card {
        margin-bottom: 5vw;
    }
    .banner-content {
        /* flex-direction: column; */
        align-items: flex-start;
        /* margin-top: 0vw; */
        padding: 0;
        /* margin-top: -31vw; */
        /* width: 48vw; */
        /* height: auto; */
        /* padding: 0; */
        padding-left: 3vw;
    }
    .banner-title {
        font-size: 0.6rem;
        width: 38vw;
    }
    .neo-sidebar .sidebar-promo-action {
        font-size: 4vw;
    }
    .neo-sidebar .sidebar-promo-title {
        font-size: 5vw;
    }
    .page-title {
        margin-bottom: 3vw;
    }
    .post-meta {
        font-size: 1.1rem;
    }
    .category-badge {
        font-size: 1.1rem;
    }
    .form-check-input {
        display: flex;
        align-items: center;
        justify-content: center;
        justify-content: space-around;
    }
    /* *:not(.simulator) {
        text-align: center;
    } */
}


/* Кнопки Действия */


/* Стили для панели быстрых действий */

.quick-actions-bar {
    /* background: linear-gradient(135deg, #2c3e50, #4ca1af); */
    padding: 10px 0;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.quick-actions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-icon {
    margin-right: 6px;
    font-size: 1em;
}

.action-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .quick-actions-container {
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .quick-action-btn {
        flex-shrink: 0;
    }
}


/* ПОИСК */


/* Search Results Header */

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2vw 0;
    margin: 2vw 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.results-stats {
    display: flex;
    align-items: center;
    gap: 1.5vw;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    font-size: 1.1vw;
}

.stat-icon {
    fill: none;
    stroke: var(--neon-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-value {
    font-weight: 700;
    color: var(--neon-primary);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 2vw;
    background: rgba(0, 255, 255, 0.3);
}

.clear-search-btn {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    padding: 0.8vw 1.5vw;
    border-radius: 50px;
    font-size: 1vw;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clear-search-btn.neon-btn {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
}

.clear-search-btn.neon-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.clear-search-btn .btn-icon {
    fill: none;
    stroke: var(--neon-primary);
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.clear-search-btn:hover .btn-icon {
    transform: rotate(90deg);
}

.clear-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.clear-search-btn:hover::before {
    left: 100%;
}


/* Responsive */

@media (max-width: 768px) {
    .search-results-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        margin: 20px 0;
    }
    .results-stats {
        width: 100%;
        justify-content: center;
    }
    .stat-item {
        font-size: 16px;
        gap: 8px;
    }
    .stat-divider {
        height: 25px;
    }
    .clear-search-btn {
        font-size: 14px;
        padding: 10px 20px;
        gap: 8px;
    }
}


/* Poll Results Styles */

.poll-results-container {
    background-color: var(--color-main-bg);
    min-height: 100vh;
    padding: 2vw 0;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3vw;
    margin: 3vw 0;
    background: var(--color-card-bg);
    padding: 2vw;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.car-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.car-image {
    width: 100%;
    max-width: 300px;
    /* margin-bottom: 1.5vw; */
}

.result-car-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.car-name {
    font-size: 1.5vw;
    color: var(--neon-primary);
    margin-bottom: 0.5vw;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.progress-container {
    width: 100%;
    margin-top: 1vw;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5vw;
}

.progress-fill {
    height: 100%;
    background: var(--neon-primary);
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px var(--neon-primary);
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9vw;
}

.car-percentage {
    color: var(--neon-primary);
    font-weight: bold;
}

.car-votes {
    color: rgba(255, 255, 255, 0.7);
}

.vs-circle {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2vw;
    box-shadow: 0 0 15px var(--neon-primary);
}

.votes-section {
    margin: 3vw 0;
    background: var(--color-card-bg);
    padding: 2vw;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.section-title {
    color: var(--neon-primary);
    margin-bottom: 1.5vw;
    font-size: 1.5vw;
    text-align: center;
}

.votes-table-container {
    overflow-x: auto;
}

.votes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1vw;
}

.votes-table th {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    padding: 1vw;
    text-align: left;
    border-bottom: 1px solid var(--neon-primary);
}

.votes-table td {
    padding: 0.8vw 1vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.votes-table tr:hover td {
    background: rgba(0, 255, 255, 0.05);
    color: white;
}

.no-votes {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2vw;
}

.poll-actions {
    display: flex;
    justify-content: center;
    gap: 1.5vw;
    margin-top: 2vw;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    padding: 0.8vw 1.5vw;
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Responsive */

@media (max-width: 768px) {
    .results-summary {
        flex-direction: column;
        gap: 30px;
    }
    .car-name {
        font-size: 18px;
    }
    .progress-stats {
        font-size: 14px;
    }
    .section-title {
        font-size: 20px;
    }
    .votes-table th,
    .votes-table td {
        padding: 10px;
        font-size: 14px;
    }
    .poll-actions {
        flex-direction: column;
        gap: 15px;
    }
    .admin-btn {
        padding: 12px 20px;
        justify-content: center;
    }
}


/* РЕЙТИНГ */

.star-rating {
    display: inline-flex;
    direction: rtl;
    /* Right to left */
    unicode-bidi: bidi-override;
    font-size: 1.5em;
}

.star-rating .star {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating .star:hover,
.star-rating .star:hover~.star,
.star-rating .star.active,
.star-rating .star.active~.star {
    color: #ffc107;
}

.star-rating .star.partial {
    position: relative;
    color: #ddd;
}

.star-rating .star.partial::before {
    content: '\2605';
    position: absolute;
    left: 0;
    width: var(--fill, 0%);
    overflow: hidden;
    color: #ffc107;
}

.rating-value {
    margin-left: 10px;
    font-weight: bold;
}


/* Добавьте в ваш CSS файл */

.post-rating,
.poll-rating {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.star-rating {
    display: inline-flex;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.star-rating .star {
    color: #ddd;
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
}

.star-rating .star::before {
    content: "★";
}

.star-rating .star.active::before,
.star-rating .star:hover::before,
.star-rating .star:hover~.star::before {
    color: #ffc107;
}

.rating-value {
    margin: 0 5px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.rating-count {
    color: #777;
    font-size: 0.9em;
}


/* Стили для рейтинга */

.rating-stars {
    display: inline-block;
    margin-right: 5px;
}

.star {
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
}

.star.filled {
    color: #ffc107;
}

.rating-value {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
}

.rating-count {
    color: #999;
    font-size: 12px;
}

.rate-form {
    margin: 10px 0;
}

.rate-form-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-select {
    padding: 3px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.rate-btn {
    padding: 3px 8px;
    font-size: 14px;
}

.login-to-rate {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}

.post-rating,
.poll-rating {
    margin: 8px 0;
    display: flex;
    align-items: center;
}


/* КОММЕНТАРИИ */


/* Секция комментариев */

.comments-section {
    margin-top: 2vw;
    padding: 2vw;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, transparent 45%, rgba(0, 255, 255, 0.05), transparent 55%);
    transform: rotate(30deg);
    pointer-events: none;
}

.comments-title {
    font-size: 1.8vw;
    color: var(--neon-primary);
    text-align: center;
    margin-bottom: 2vw;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}


/* Форма добавления комментария */

.add-comment-form,
.reply-form {
    margin-bottom: 1vw;
}

.add-comment-form .form-group,
.reply-form .form-group {
    margin-bottom: 1vw;
}

.add-comment-form .form-control,
.reply-form .form-control {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1vw;
    color: white;
    font-size: 1vw;
    resize: vertical;
    transition: all 0.3s ease;
}

.add-comment-form .form-control:focus,
.reply-form .form-control:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}


/* Сообщение об авторизации */

.auth-required {
    text-align: center;
    padding: 1.5vw;
    background: rgba(0, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
    margin-bottom: 1vw;
}

.neon-link {
    color: var(--neon-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.neon-link:hover {
    text-shadow: 0 0 8px var(--neon-primary);
    text-decoration: underline;
}


/* Список комментариев */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.comment {
    background: rgba(26, 32, 44, 0.9);
    border-radius: var(--border-radius);
    padding: 0.5vw;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.comment:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    border-color: var(--neon-primary);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-bottom: 1vw;
}

.comment-author-avatar img {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    object-fit: cover;
}

.comment-author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--neon-primary);
    font-weight: 600;
    font-size: 1.1vw;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.comment-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9vw;
}

.comment-body {
    color: var(--color-text-light);
    font-size: 1vw;
    line-height: 1.5;
}

.comment-actions {
    margin-top: 0.3vw;
}

.btn-reply.neon-btn {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
    padding: 0.5vw 1vw;
    font-size: 0.9vw;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-reply.neon-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}


/* Ответы */

.replies {
    margin-top: 1vw;
    margin-left: 2vw;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.reply {
    border-left: 2px solid var(--neon-primary);
    padding-left: 1vw;
}


/* Сообщение об отсутствии комментариев */

.no-comments {
    text-align: center;
    padding: 1.5vw;
    background: rgba(0, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1vw;
}


/* Адаптивные стили */

@media (max-width: 768px) {
    .comments-section {
        padding: 5vw;
    }
    .comments-title {
        font-size: 20px;
    }
    .add-comment-form .form-control,
    .reply-form .form-control {
        font-size: 14px;
        padding: 12px;
    }
    .comment-author-avatar img {
        width: 40px;
        height: 40px;
    }
    .author-name {
        font-size: 16px;
    }
    .comment-date {
        font-size: 12px;
    }
    .comment-body {
        font-size: 14px;
    }
    .btn-reply.neon-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
    .no-comments {
        font-size: 14px;
    }
}


/* --- Variables --- */

:root {
    /* Цвета */
    --color-dark-bg: #1a202c;
    --color-main-bg: #0a0e17;
    --color-card-bg: rgba(26, 32, 44, 0.8);
    --color-accent-blue: #3f51b5;
    --color-accent-light-blue: #00bcd4;
    --color-text-dark: #2d3748;
    --color-text-light: #e2e8f0;
    --color-border: rgba(255, 255, 255, 0.1);
    /* Неоновые эффекты */
    --neon-primary: #0ff0fc;
    --neon-secondary: #ff2d75;
    --neon-accent: #f0f;
    --dark-space: #0a0e17;
    --cosmic-purple: #4d2b8c;
    /* Размеры */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}


/* --- Base Styles --- */

* {
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-main-bg);
    color: var(--color-text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* --- Комментарии --- */

.comments-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.comments-title {
    color: var(--neon-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
    min-height: 100px;
}

.comment-form button {
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.comment-form button:hover {
    background: var(--neon-secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.5);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    padding: 0.5rem;
    background: rgba(26, 32, 44, 0.6);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.comment:hover {
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}

.comment-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 1px solid var(--neon-primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 0.3rem;
}

.comment-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.comment-content {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.reply-btn {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.replies {
    margin-top: 0.5rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reply-form {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-primary);
    display: none;
    width: 70%;
}

.reply-form.active {
    display: block;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
}


/* Адаптивные стили */

@media (max-width: 900px) {
    .comments-section {
        padding: 1rem;
        position: static;
    }
    .comments-title {
        font-size: 1.5rem;
    }
    .comment {
        padding: 1rem;
    }
    .comment-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }
    .replies {
        padding-left: 1rem;
    }
    .api-links a {
        flex-direction: column;
    }
    .api-links {
        width: 90%;
        justify-self: center;
        flex-direction: column;
    }
    .banner-media {
        height: auto;
    }
    .banner-video {
        width: 100%;
    }
}

.comment-body p {
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
}

.poll-vote-form h3 {
    margin-bottom: 1vw;
}

.poll-results {
    margin: 0;
}

.comments-section {
    padding: 1vw;
}

.container {
    width: 100%;
}

.avatar-text {
    margin-left: 2vw;
}

.bi-fingerprint {
    font-size: 1.2vw;
}

.nav-track {
    align-items: center;
}


/* Основные стили хедера */

.neo-header {
    position: relative;
    background: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.header-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Бренд и логотип */

.brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
    transition: var(--transition);
}

.logo-link:hover .logo-icon {
    transform: rotate(15deg);
}


/* Навигация */

.holographic-nav {
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: transparent;
    font-weight: 500;
    overflow: hidden;
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    mix-blend-mode: screen;
    transition: var(--transition);
}

.nav-text {
    position: relative;
    z-index: 2;
    color: var(--color-text-light);
    transition: var(--transition);
}

.nav-item:hover .nav-glow {
    opacity: 0.8;
    animation: hologram 1.5s linear infinite;
}

.nav-item:hover .nav-text {
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
}


/* Выпадающие меню */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 32, 44, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    color: var(--neon-primary);
    background: rgba(0, 255, 255, 0.1);
}


/* Быстрые действия */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--neon-primary);
    text-decoration: none;
    transition: var(--transition);
}

.quick-action-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}


/* Поиск */

.bio-search {
    position: relative;
    margin-left: 1.5rem;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    padding-right: 2.5rem;
    width: 200px;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

.neon-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--neon-primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 2px var(--neon-primary));
}

.neon-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out infinite;
}


/* Модальное окно */

.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    width: 400px;
    max-width: 90%;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border: 1px solid var(--neon-primary);
}

.auth-modal-header {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-modal-title {
    color: var(--neon-primary);
    margin: 0;
}

.auth-modal-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--neon-primary);
    box-shadow: inset 0 -2px 0 var(--neon-primary);
}

.auth-tab-content {
    padding: 1.5rem;
    display: none;
}

.auth-tab-content.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.auth-submit-btn {
    padding: 0.8rem;
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-submit-btn:hover {
    background: var(--neon-secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.5);
}


/* Анимации */

@keyframes hologram {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}


/* Адаптивность */

@media (max-width: 900px) {
    .header-container {
        padding: 0 1rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-container {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-dark-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }
    .nav-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-track {
        flex-direction: column;
        gap: 0.5rem;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-left: 1rem;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .bio-search {
        margin: 1rem 0 0;
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}


/* Стили для авторизованного пользователя */

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.user-avatar {
    width: 75px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary);
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon-primary);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-primary);
    color: var(--color-dark-bg);
    font-weight: bold;
    font-size: 1.2rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.user-dropdown-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-primary);
}

.user-dropdown-item .dropdown-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.logout-btn:hover {
    color: var(--neon-secondary) !important;
}


/* Стили для неавторизованного пользователя */

.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.auth-btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
}

.login-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-primary);
    color: var(--neon-primary);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.auth-btn:hover .btn-glow {
    opacity: 1;
    animation: slide 1.5s infinite;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.biometric-auth-btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 45, 117, 0.1);
    border: 1px solid var(--neon-secondary);
    border-radius: 20px;
    color: var(--neon-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.biometric-auth-btn:hover {
    background: rgba(255, 45, 117, 0.2);
    box-shadow: 0 0 10px rgba(255, 45, 117, 0.3);
}


/* Анимации */

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


/* Адаптивность */

@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .auth-btn,
    .biometric-auth-btn {
        width: 100%;
        justify-content: center;
    }
    .user-menu {
        margin-left: 0;
        margin-top: 1rem;
    }
    .user-dropdown {
        right: auto;
        left: 0;
    }
}