:root {
    --neon-blue: #00f3ff;
    --cyber-purple: #7b61ff;
    --matrix-green: #00ff9d;
    --void-black: #0a0a15;
    --hologram-glass: rgba(25, 25, 50, 0.95);
    --cyber-border: 1px solid rgba(0, 243, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) var(--void-black);
}

::-webkit-scrollbar {
    width: 12px;
    background: var(--void-black);
}

::-webkit-scrollbar-track {
    background: var(--hologram-glass);
    border-left: var(--cyber-border);
    backdrop-filter: blur(5px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.6), rgba(123, 97, 255, 0.6));
    border-radius: 10px;
    border: 2px solid rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.8), rgba(123, 97, 255, 0.8));
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

body {
    background: var(--void-black);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.cyber-bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.05) 0%, rgba(123, 97, 255, 0.05) 100%);
    z-index: -2;
}

.neon-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(0, 243, 255, 0.02) 40px),
        repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(123, 97, 255, 0.02) 40px);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(10, 10, 21, 0.7), rgba(10, 10, 21, 0.9)),
        url('/static/bg.png') center/cover no-repeat fixed;
    z-index: -3;
    opacity: 0.95;
}

.cyber-nav {
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    border-bottom: var(--cyber-border);
    z-index: 1000;
    height: 120px;
    gap: 2rem;
    
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.0rem;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: auto;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: flex;

}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.nav-link i {
    font-size: 1.1rem;
    color: var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}


.login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 2px solid rgba(0, 243, 255, 0.4);
    border-radius: 20px;
    background: rgba(10, 10, 20, 0.1);
    backdrop-filter: blur(8px);
    color: var(--neon-blue);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    text-transform: uppercase;
}

.login-btn:hover {
    transform: scale(1.03);
}

.login-btn:active {
    transform: scale(0.98);
}

.quantum-user {
    position: relative;
    cursor: pointer;
    margin-left: auto;
}

.user-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem;
    border-radius: 50px;
    background: var(--hologram-glass);
    border: var(--cyber-border);
    transition: 0.3s all ease;
}

.user-wrapper:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
}

.hologram-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    object-fit: cover;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hologram-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 243, 255, 0.1) 50%, transparent 60%);
    animation: hologram-scan 3s infinite linear;
}

.cyber-username {
    font-weight: 600;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-id {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-family: monospace;
    width: 110%;
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    border: var(--cyber-border);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 300px;
    margin-top: 1rem;
    display: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(15, 25, 35, 1);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
}

.user-menu.active {
    display: block;
    animation: menuSlide 0.3s ease;
}

.menu-user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.menu-user-info .hologram-avatar {
    width: 55px;
    height: 55px;
    min-width: 55px;
}

.menu-user-info .user-details {
    flex-grow: 1;
    min-width: 180px;
}

.menu-item {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: 0.3s all ease;
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    background: rgba(0, 243, 255, 0.1);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 5% 30px;
    position: relative;
}

.cyber-title {
    font-size: 4rem;
    margin: 0 auto 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    position: relative;
    padding-bottom: 20px;
}

.cyber-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--cyber-purple));
}

.bot-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
    padding: 0 15px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 310px;
    justify-content: center;
}

.main-btn {
    background: var(--neon-blue);
    color: var(--void-black);
    font-weight: 600;
}

.main-btn:hover {
    background: var(--cyber-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid rgba(0, 243, 255, 0.3);
}

.secondary-btn:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2);
}

.features-section {
    padding: 20px 5% 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--cyber-purple));
}

.stats-section {
    padding: 60px 5%;
    /* background: rgba(10, 10, 20, 0.9); */
}

.stats-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    margin: 0 auto 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    margin-bottom: 50px;
}

.stats-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--cyber-purple));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--hologram-glass);
    border: var(--cyber-border);
    text-align: center;
    background: rgba(15, 25, 35, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
}


.counter {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.footer {
    background: var(--void-black);
    padding: 2rem 5%;
    border-top: var(--cyber-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 10px;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h4 {
    color: var(--neon-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    width: 100%;
    position: relative;
    transform: translateY(-10px);
}

.divider {
    border-top: var(--cyber-border);
    margin: 1rem 0;
}

.user-menu .divider {
    width: 100%;
}

.footer .divider {
    width: 40%;
    margin: 1rem auto;
}

@media (max-width: 1000px) {
    .nav-links {
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--void-black);
        flex-direction: column;
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: var(--cyber-border);
        text-align: left;
        gap: 1rem;
        border-radius: 25px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-logo {
        font-size: 2rem;
        margin: 0 auto;
    }

    .quantum-user {
        position: static;
        margin-left: 0;
    }

    .user-wrapper .user-details {
        display: none !important;
    }

    .menu-user-info {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cyber-title {
        font-size: 3rem;
        padding-bottom: 15px;
    }

    .nav-logo {
        font-size: 1.8rem;
    }

    .main-btn:hover, .secondary-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

@keyframes hologram-scan {
    0% { transform: translateY(-100%) rotate(45deg); }
    100% { transform: translateY(100%) rotate(45deg); }
}

@keyframes menuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 0.8rem;
    border-radius: 50px;
    background: var(--hologram-glass);
    border: var(--cyber-border);
    transition: 0.3s all ease;
}

.user-wrapper:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
}

.glass-pane {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 55px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 1200px;
    min-height: 60px;
    padding: 50px;
    margin: 15px auto;
    color: white;
    line-height: 1.5;
    background: rgba(15, 25, 35, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);

}

.section-title {
    margin: 0 auto 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    margin-bottom: 50px;
}

.section-title::after {
    background: linear-gradient(90deg, var(--neon-blue), var(--cyber-purple));
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    height: auto;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
    background: rgba(15, 25, 35, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
    min-height: 300px;
}

.image-wrapper {
    flex: 0 0% 50%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Добавьте это свойство */
    display: block;
}

.category-img {
    object-position: left center;
}

.category-details {
    flex: 1;
    padding: 0 2rem;
}

.category-details h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .category-item {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        min-height: auto;
    }

    .image-wrapper {
        width: 100%;
        flex: none;
        height: 200px;
    }

    .category-details {
        padding: 0;
        text-align: center;
    }

    .category-details h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        height: 180px;
    }
    
    .category-details h3 {
        font-size: 1.6rem;
    }
    
    .category-details p {
        font-size: 1rem;
    }
}

.community-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
    background: rgba(15, 25, 35, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
    min-height: 300px;
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.category-item {
    display: flex;
    align-items: stretch; /* Растягиваем содержимое */
    gap: 4rem;
    padding: 2rem;
    background: rgba(15, 25, 35, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
    min-height: auto; /* Убираем фиксированную высоту */
}

.image-wrapper {
    flex: 0 0 50%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: auto; /* Автоматическая высота */
    min-height: 250px; /* Минимальная высота */
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Вмещаем всё изображение */
    object-position: left center;
    display: block;
    border-radius: 15px;

    transition: transform 0.1s;
    transform-style: preserve-3d;

}

.category-details {
    flex: 1;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Вертикальное выравнивание */
}

@media (max-width: 768px) {
    .category-item {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .image-wrapper {
        width: 100%;
        flex: none;
        height: 300px; /* Фиксированная высота только на мобильных */
        min-height: auto;
    }
    
    .category-img {
        object-fit: cover; /* На мобильных обрезаем изображение */
    }
}

.community-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.icons-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.icon-card {
    position: relative;
    padding: 15px;
}

.icon-frame {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 163, 255, 0.3);
    background: rgba(0, 100, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}



.icon-blue {
    font-size: 2.5rem;
    color: #88d3ff;
    filter: drop-shadow(0 0 5px rgba(136, 211, 255, 0.3));
}

.stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stats-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stats-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.counter {
    font-size: 2.8rem;
    font-weight: 700;
    color: #b3e5fc;
    text-shadow: 0 0 10px rgba(179, 229, 252, 0.3);
}

.stat-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .icons-column {
        flex-direction: row;
        justify-content: center;
    }
    
    .stats-top,
    .stats-bottom {
        grid-template-columns: 1fr;
    }
}

.community-card {
    background: rgba(15, 30, 50, 0.4) !important;
    border: 1px solid rgba(0, 163, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px !important;
}

.community-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.icon-frame {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 163, 255, 0.3);
    background: rgba(0, 100, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}



.icon-blue {
    font-size: 2.2rem;
    color: #a0d8ff;
    filter: drop-shadow(0 0 8px rgba(160, 216, 255, 0.3));
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.counter {
    font-size: 2.0rem;
    font-weight: 700;
    color: #b3e5fc;
    line-height: 1;
    text-shadow: 0 0 10px rgba(179, 229, 252, 0.3);
}

.stat-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    max-width: 160px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .community-container {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: rgba(15, 25, 35, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
    width: 400px;
    height: 120px;
    transition: all 0.3s ease; /* Переносим transition сюда */
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.2);
    /* Убираем transition отсюда */
}

.developers-section {
    padding: 80px 5%;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.developer-card {
    background: rgba(15, 25, 35, 0.4);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    width: 400px;
    height: 350px;
}

.developer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.developer-avatar-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 3px;
}

.developer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.developer-username {
    color: var(--neon-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;

}

.developer-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.badge-icon:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: scale(1.1);
}

.badge-icon i {
    color: var(--neon-blue);
    font-size: 1.2rem;
}

.badge-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.badge-icon:hover::after {
    opacity: 1;
}

.developer-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    line-height: 1.5;
    min-height: 80px;
}

@media (max-width: 768px) {
    .developers-grid {
        grid-template-columns: 1fr;
    }
    
    .developer-card {
        padding: 1.5rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
    .nav-logo {
        font-size: 1.8rem;
        gap: 0.8rem;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    flex-wrap: wrap;
    transform: translateX(-75px);
}

.footer-left {
    flex: 1;
    min-width: 300px;
    margin-bottom: 2rem;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 0rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transform: translateX(25px);
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding-left: 65px;
}

.divider {
    height: 0.09%; /* Толщина линии */
    background: var(--neon-blue); /* Заливка цветом из переменной */
    margin: 1rem 0;
    border: none; /* Отключаем стандартный бордер */
}


.footer-left {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-with-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center; /* Элементы в строку */
    gap: 1rem;
    margin-bottom: 0.5rem;

}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-logo {
        flex-direction: column; /* На мобильных - в колонку */
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo .logo-img {
        margin-bottom: 0;
    }
}

.cyber-nav {
    padding: 1.5rem 5%;
    height: 90px; /* Слегка уменьшаем высоту */
}

.nav-link {
    font-weight: 600; /* Полужирное начертание */
    font-size: 0.95rem; /* Стандартный размер */
    padding: 0.8rem 1rem; /* Умеренные отступы */
    color: rgba(255,255,255,0.85);
}

/* Скрываем иконки */
.nav-link i {
    display: none;
}

/* Активная вкладка */
.nav-link.active {
    color: var(--neon-blue) !important;
    font-weight: 700; /* Чуть жирнее для активной */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    transition: none; /* Убираем анимацию */
    display: block !important; /* Обязательно отображаем */
}


/* Мобильная версия */
@media (max-width: 1000px) {
    .nav-links {
        top: 90px; /* Подстраиваем под новую высоту */
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 1rem;
    }
}

.cyber-nav {
    padding: 1.5rem 5%;
    height: 120px; /* Возвращаем оригинальную высоту */
    gap: 3rem; /* Увеличиваем расстояние между элементами */
}

.nav-links {
    position: relative; /* Меняем позиционирование */
    left: auto;
    transform: none;
    gap: 2.8rem; /* Оптимальное расстояние между пунктами */
    
}

.nav-link {
    font-weight: 600;
    font-size: 1.1rem; /* Увеличиваем размер текста */
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.85);
    position: relative;
    white-space: nowrap; /* Запрещаем перенос текста */
}

/* Активная вкладка */
.nav-link.active {
    color: var(--neon-blue) !important;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px; /* Опускаем линию ниже */
    left: 2px;
    width: 100%;
    height: 3px;
    background: var(--neon-blue);
    display: block;
    transition: width 0.3s ease;
    width: calc(100% - 0.2rem); /* Корректировка под размер текста */
}



/* Мобильная версия */
@media (max-width: 1000px) {
    .nav-links {
        margin-left: 0;
        gap: 1.5rem;
        top: 120px; /* Сохраняем высоту навбара */
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .nav-link.active::after {
        bottom: -5px;
        height: 2px;
    }
}

.cyber-nav {
    display: flex;
    align-items: center;
    padding: 1.5rem 5%;
    gap: 4rem; /* Общий отступ между элементами */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin-left: 0; /* Убираем отступ */
    position: static; /* Убираем абсолютное позиционирование */
    transform: none;
    left: auto;
}

.nav-link {
    font-size: 1.0rem;
    font-weight: 600;
    padding: 0.8rem 0;
}

.nav-link:hover {
    filter: brightness(60%);
    transform: translateY(-1px);
    }

@media (max-width: 768px) {
.glass-pane {
    width: 95% !important;
    padding: 20px !important;
    margin: 10px auto !important;
}

.category-item {
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 1rem !important;
}

.image-wrapper {
    width: 100% !important;
    height: 200px !important;
    flex: none !important;
}

.category-details {
    padding: 0 !important;
    text-align: center !important;
}

.category-details h3 {
    font-size: 1.5rem !important;
}

.category-details p {
    font-size: 1rem !important;
}
}

@media (max-width: 1000px) {
.cyber-nav {
    height: 120px;
    padding: 1rem 5%;
    justify-content: space-between;
}

.nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    background: var(--void-black);
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    transform: translateX(-100%);
    transition: 0.3s ease;
    border-bottom: var(--cyber-border);
}

.nav-links.active {
    transform: translateX(0);
}

.nav-link {
    padding: 1rem;
    font-size: 1.1rem;
}

.quantum-user {
    order: 3;
    margin-left: 0;
}

.mobile-menu-btn {
    display: block;
    order: 2;
}

.nav-logo {
    font-size: 1.8rem !important;
    margin-right: 5px !important;
}

.logo-img {
    width: 50px !important;
    height: 50px !important;
}

.user-wrapper .user-details {
    display: none !important;
}
}

@media (max-width: 480px) {
.cta-btn {
    width: 100%;
    min-width: auto;
    padding: 1rem;
}

.cyber-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

.bot-description {
    font-size: 1rem !important;
    padding: 0 !important;
}

.stat-item {
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem !important;
}

.footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-right {
    justify-content: center;
}

.footer-column {
    min-width: 100%;
}
}

@media (max-width: 1000px) {
.nav-links {
position: fixed;
top: 120px;
left: 0;
width: 100%;
height: calc(100vh - 120px);
background: rgba(10, 10, 20, 0.98);
flex-direction: column;
padding: 2rem 1rem;
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border-top: var(--cyber-border);
backdrop-filter: blur(15px);
overflow-y: auto;
gap: 0;
}

.nav-links.active {
transform: translateX(0);
box-shadow: 0 0 30px rgba(0,243,255,0.1);
}

.nav-link {
font-size: 1.2rem;
padding: 1.5rem;
margin: 0.5rem 0;
border-radius: 8px;
transition: all 0.3s ease;
position: relative;
}

.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 1rem;
right: 1rem;
height: 1px;
background: rgba(0,243,255,0.1);
}

.nav-link:hover {
background: rgba(0,243,255,0.05);
}

.mobile-menu-btn {
display: flex;
flex-direction: column;
gap: 5px;
z-index: 1001;
transition: all 0.3s ease;
}

.mobile-menu-btn.active .fa-bars {
transform: rotate(90deg);
opacity: 0;
}

.mobile-menu-btn .fa-bars {
transition: all 0.3s ease;
}

.mobile-menu-btn.active::before,
.mobile-menu-btn.active::after {
content: '';
width: 25px;
height: 2px;
background: var(--neon-blue);
position: absolute;
transition: all 0.3s ease;
}

.mobile-menu-btn.active::before {
transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active::after {
transform: rotate(-45deg) translate(4px, -4px);
}
}

/* CSS изменения */
@media (max-width: 1000px) {
.nav-links {
position: fixed;
top: 120px;
left: 0;
width: 80%;
height: calc(100vh - 120px);
background: var(--void-black);
flex-direction: column;
padding: 1rem;
transform: translateX(-100%);
transition: none;
border-right: var(--cyber-border);
z-index: 999;
overflow-y: auto;

}

.nav-links.active {
transform: translateX(0);
box-shadow: none;
}

.nav-link {
font-size: 1.1rem;
padding: 1rem;
margin: 0;
border-radius: 0;
color: rgba(255,255,255,0.9);
}

.nav-link.active {
color: var(--neon-blue);
background: rgba(0,243,255,0.05);
}

.mobile-menu-btn {
background: none;
border: none;
color: var(--neon-blue);
font-size: 1.5rem;
padding: 0.5rem;
transform: translateX(-450px);
}
}


.quantum-user {
position: absolute;
right: 5%;
top: 50%;
transform: translateY(-50%);
z-index: 1001;
margin-left: 0 !important;
}

.user-wrapper {
margin-left: 0;
transform: none !important;
}

@media (max-width: 1000px) {
.quantum-user {
position: static;
order: 3;
transform: none !important;
margin-left: 0;
}

.user-wrapper {
width: auto;
margin-left: auto;
}

.nav-logo {
margin-right: auto !important;
}
}

@media (max-width: 768px) {
.quantum-user {

right: 20px;
top: 50%;

}

.user-wrapper .user-details {
display: none;
}

.hologram-avatar {
width: 40px !important;
height: 40px !important;
}
}

.nav-links {
display: flex;
gap: 2.5rem;
margin-right: auto; /* Добавлено */
position: relative;
left: auto;
transform: none;
}

.cyber-nav {
justify-content: flex-start; /* Добавляем выравнивание по левому краю */
gap: 1rem; /* Уменьшаем общий отступ между элементами */
}

.nav-logo {
margin-right: 0; /* Убираем auto-отступ у логотипа */
}

.nav-links {
margin-right: auto;
margin-left: 2rem; /* Добавляем отступ от логотипа */
transform: translateX(15px); /* Сдвигаем влево */
}




/* Фикс мобильного меню */
@media (max-width: 1000px) {
.nav-links {
transform: translateX(-100%) !important; /* Всегда скрыто изначально */
opacity: 0 !important;
transition: transform 0.3s ease, opacity 0.2s ease !important;
}

.nav-links.active {
transform: translateX(0) !important;
opacity: 1 !important;
}

.mobile-menu-btn {
display: block !important;
z-index: 1001;
}
}

/* Дополнительный фикс для анимации */
.nav-links {
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Исправление юзер-враппера */





/* Фикс видимости мобильного меню */
@media (max-width: 1000px) {
.nav-links {
transform: translateX(-100%) !important;
opacity: 0 !important;
visibility: hidden !important; /* Добавляем скрытие видимости */
transition: transform 0.3s ease, opacity 0.2s ease, visibility 0.3s !important;
}

.nav-links.active {
transform: translateX(0) !important;
opacity: 1 !important;
visibility: visible !important;
}

.mobile-menu-btn {
display: block !important;
order: 2;
transform: none !important; /* Сбрасываем трансформацию */
margin-left: auto; /* Выравниваем кнопку меню */
}
}

/* Дополнительные правки позиционирования */
.quantum-user {
margin-left: 0 !important;
padding: 0 1rem !important; /* Добавляем отступы по бокам */
}

.cyber-nav {
justify-content: space-between; /* Правильное распределение пространства */
padding: 1rem 5% !important;
}

@media (max-width: 1000px) {
.cyber-nav {
justify-content: flex-start; /* Выравниваем элементы по левому краю */
gap: 1rem; /* Уменьшаем расстояние между элементами */
}

.mobile-menu-btn {
position: absolute;
left: 20;
transform: none !important;
}


.nav-logo {
margin-left: 5% !important;
transform: translateX(30px); /* Сдвигаем логотип вправо */
transition: transform 0.3s ease;
}



/* Дополнительные стили для кнопки меню */
.mobile-menu-btn {
padding: 0.5rem;
font-size: 1.8rem !important;
z-index: 1001;
}

/* Анимация при открытии меню */
.nav-links.active + .nav-logo {
transform: translateX(60px); /* Увеличиваем сдвиг при открытом меню */
}
}

@media (max-width: 1100px) {
/* Скрываем детали пользователя в основном меню */
.user-wrapper .user-details {
display: none !important;
}

/* Показываем аватарку и данные в выпадающем меню */
.user-menu .menu-user-info {
display: flex !important;
}

/* Увеличиваем отступы в мобильном меню */
.user-menu .menu-user-info {
padding: 1.5rem;
margin-bottom: 1.5rem;
}
}

/* Адаптация мобильного меню */
@media (max-width: 1100px) {

.hologram-avatar {
width: 55px !important;
height: 55px !important;
}

.user-menu {
min-width: 250px;
right: 5%;
}
}

@media (max-width: 1000px) {
/* Основные стили мобильного меню */
.nav-links {
position: fixed;
top: 120px;
left: -100%;
width: 50%;
height: calc(90vh - 120px);
background: rgba(10, 10, 20, 0.98);
backdrop-filter: blur(25px);
flex-direction: column;
padding: 1rem 0;
transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 999;
overflow-y: auto;
margin: 0;
border-right: var(--cyber-border);
box-shadow: 15px 0 30px rgba(0,0,0,0.3);
}

.nav-links.active {
left: 0;
}

/* Затемнение фона */
.nav-links::before {
content: '';
position: fixed;
top: 120px;
right: 0;
bottom: 0;
left: 50%;
background: rgba(0,0,0,0.4);
backdrop-filter: blur(5px);
z-index: 998;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
}



/* Стили для ссылок */
.nav-link {
padding: 1.5rem 2rem;
margin: 0;
font-size: 1.1rem;
color: rgba(255,255,255,0.85);
position: relative;
transition: all 0.2s ease;
display: flex;
align-items: center;
background: transparent !important;
}


/* Анимированное подчеркивание */
.nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
left: 2rem;
width: calc(100% - 4rem);
height: 2px;
background: var(--neon-blue);
animation: underlineSlide 0.3s ease-out;
}

/* Ховер-эффекты */
.nav-link:hover {
color: var(--neon-blue);
padding-left: 2.2rem;
}

/* Кнопка меню */
.mobile-menu-btn {
margin-left: auto;
z-index: 1001;
padding-right: 20px;
transition: transform 0.3s ease;
}

.mobile-menu-btn i {
transition: all 0.3s ease;
}

.mobile-menu-btn.active i {
transform: rotate(90deg);
color: var(--neon-blue);
}

/* Анимация подчеркивания */
@keyframes underlineSlide {
from {
    width: 0;
    opacity: 0;
}
to {
    width: calc(100% - 4rem);
    opacity: 1;
}
}

/* Выравнивание текста */
.nav-link span {
display: inline-block;
width: 100%;
padding-bottom: 3px;
position: relative;
}
}

@media (max-width: 1100px) {
.category-item {
flex-direction: column !important;
gap: 2rem !important;
padding: 2rem !important;
}

.image-wrapper {
width: 100% !important;
height: auto !important;
min-height: 0 !important;
flex: none !important;
max-width: 600px;
margin: 0 auto;
}

.category-img {
object-fit: contain !important;
height: auto !important;
max-height: 400px;
width: 100% !important;
}

.category-details {
text-align: center !important;
padding: 0 !important;
width: 100% !important;
}

.category-details h3 {
font-size: 2.2rem !important;
margin-bottom: 1.5rem !important;
}

.category-details p {
font-size: 1.2rem !important;
line-height: 1.6 !important;
max-width: 80%;
margin: 0 auto;
}
}

@media (max-width: 768px) {
.image-wrapper {
max-width: 100% !important;
}

.category-img {
max-height: 300px !important;
}

.category-details h3 {
font-size: 1.8rem !important;
}

.category-details p {
font-size: 1rem !important;
max-width: 100% !important;
}
}

@media (max-width: 480px) {
.category-item {
padding: 1rem !important;
}

.category-img {
max-height: 250px !important;
}

.category-details h3 {
font-size: 1.6rem !important;
}
}

.glass-pane {
width: 90% !important; /* Изменено с фиксированной ширины */
max-width: 1200px; /* Максимальная ширина как раньше */
min-height: 60px;
padding: 50px;
margin: 15px auto;
box-sizing: border-box; /* Важно для корректного расчета ширины */
}

@media (max-width: 1300px) {
.glass-pane {
    width: 95% !important;
    padding: 40px;
}
}

@media (max-width: 1100px) {
.glass-pane {
    padding: 30px;
}
}

@media (max-width: 768px) {
.glass-pane {
    width: 98% !important;
    padding: 20px;
    border-radius: 12px;
}
}

@media (max-width: 768px) {
/* Отменяем центрирование для статистики */
.community-container {
    align-items: flex-start !important;
    text-align: left !important;
}

.stat-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 1.5rem !important;
    height: auto !important;
}

.stat-content {
    align-items: flex-start !important;
    text-align: left !important;
}

.stat-description {
    max-width: none !important;
    text-align: left !important;
}

.icon-frame {
    margin-right: 1.5rem !important;
}
}

.developers-section {
padding: 80px 5%;
}

.developers-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
max-width: 800px;
margin: 0 auto;
place-items: center;
}

.developer-card {
background: rgba(15, 25, 35, 0.4);
border: 1px solid rgba(0, 243, 255, 0.15);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
backdrop-filter: blur(15px);
width: 100%;
max-width: 300px;
box-sizing: border-box;
}

@media (max-width: 900px) {
.developer-card {
    max-width: 350px;
    padding: 1.5rem;
}

.developer-avatar-wrapper {
    width: 130px;
    height: 130px;
}

.developer-username {
    font-size: 1.6rem;
}
}

@media (max-width: 768px) {
.developers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.developer-card {
    max-width: 100%;
    width: 100%;
}

.developer-bio {
    font-size: 1.1rem;
}
}

@media (max-width: 480px) {
.developer-avatar-wrapper {
    width: 100px;
    height: 100px;
}

.developer-username {
    font-size: 1.4rem;
}

.badge-icon {
    width: 35px;
    height: 35px;
}

.badge-icon i {
    font-size: 1rem;
}
}

@media (max-width: 768px) {
.footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: none !important;
    padding: 1rem 0;
}

.footer-left,
.footer-right {
    width: 100%;
    justify-content: center;
    margin: 0;
}

/* Исправлено на row и добавлено центрирование */
.footer-logo {
    flex-direction: row !important; /* Основное изменение */
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    gap: 1px !important; /* ≈ 4.8px */
    transform: none !important;
    margin-bottom: 1rem;
    width: 100%;
}

.logo-with-copyright {
    align-items: center;
    margin-bottom: 2rem;
}

/* Убрать отступ слева у копирайта */
.copyright {
    padding-left: 0;
    margin-top: 1rem;
}

.footer-right {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-column {
    min-width: 100%;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-size: 1.2rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-column li {
    margin: 0.3rem 0;
}

.divider {
    width: 60%;
    margin: 1rem auto;
}
}

/* Общие стили для логотипа */
.footer-logo {
display: flex;
align-items: center;
}

.footer-logo .logo-img {
width: 40px;
height: 40px;
flex-shrink: 0; /* Запрещаем сжатие иконки */
}

.footer-logo .nav-logo {
font-size: 1.5rem;
white-space: nowrap; /* Запрещаем перенос текста */
}


@media (max-width: 768px) {
.footer-logo {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important; /* Минимальное расстояние */
    padding: 0 !important;
    margin: 0 auto 1rem !important;
}

.footer-logo .logo-img {

    margin: 0 !important;
    padding: 0 !important;
}

.footer-logo .nav-logo {
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-1px); /* Микро-корректировка положения */
}

.logo-with-copyright {
    width: 100%;
    text-align: center;
}
}

@media (max-width: 1000px) {
.footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: none !important;
    padding: 1rem 0;
    gap: 1.5rem;
}

.footer-left, 
.footer-right {
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo-with-copyright {
    order: 1;
    width: 100%;
}

.footer-logo {
    justify-content: center;
    transform: none !important;
    margin: 0 auto 0.5rem;
    gap: 0.5rem;
}

.copyright {
    order: 2;
    padding: 0;
    margin: 1rem 0;
}

.footer-right {
    order: 3;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-column {
    width: 100%;
    margin-bottom: 1.5rem;
}

.divider {
    width: 80%;
    margin: 1.5rem auto;
    order: 2;
}
}

.links-section {
padding: 80px 5%;
}

.links-section .cta-buttons {
max-width: 800px;
margin: 0 auto;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
.links-section .cta-btn {

    padding: 1rem 1.5rem;
    font-size: 0.95rem;
}

.links-section .cta-btn i {
    font-size: 1rem;
}
}


.cyber-nav {
padding: 1.5rem 5%;
display: flex;
align-items: center;
position: fixed;
width: 100%;
z-index: 1000;
height: 120px;
gap: 2rem;
background: rgba(10, 10, 20, 0.8) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-bottom: 1px solid rgba(0, 243, 255, 0.15);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.cyber-nav::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
    135deg,
    rgba(0, 243, 255, 0.05) 0%,
    rgba(123, 97, 255, 0.05) 100%
);
z-index: -1;
pointer-events: none;
}

.footer {
padding: 2rem 5%;
position: relative;
z-index: 100;
background: rgba(10, 10, 20, 0.8) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-top: 1px solid rgba(0, 243, 255, 0.15);
box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
    135deg,
    rgba(0, 243, 255, 0.05) 0%,
    rgba(123, 97, 255, 0.05) 100%
);
z-index: -1;
pointer-events: none;
}

.image-wrapper {
flex: 0 0 50%;
position: relative;
border-radius: 12px;
overflow: hidden;
height: auto;
min-height: 250px;

/* Добавьте это для лучшего отображения 3D */
transform-style: preserve-3d;
perspective: 1000px;
}


.category-item {
display: flex;
align-items: stretch;
gap: 4rem;
padding: 2rem;
background: rgba(15, 25, 35, 0.4);
border-radius: 20px;
border: 1px solid rgba(0, 243, 255, 0.15);
backdrop-filter: blur(15px);
min-height: auto;
}

.image-wrapper {
flex: 0 0 50%;
position: relative;
border-radius: 12px;
overflow: hidden;
height: auto;
min-height: 250px;
transform-style: preserve-3d;
perspective: 1000px;
}

.category-img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: left center;
display: block;
border-radius: 15px;
transform: perspective(800px) rotateY(15deg) rotateX(5deg);
transition: transform 0.5s ease, box-shadow 0.5s ease;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}



@media (max-width: 768px) {
.category-img {
    transform: none !important;
    box-shadow: none !important;
}

.category-img:hover {
    transform: none !important;
}
}

/* Базовый стиль для всех изображений категорий */
.category-img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
border-radius: 15px;
transition: transform 0.5s ease, box-shadow 0.5s ease;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Стиль для наклона влево (по умолчанию) */
.category-img.left {
transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
object-position: left center;
}

/* Стиль для наклона вправо */
.category-img.right {
transform: perspective(1000px) rotateY(-15deg) rotateX(5deg); /* Отрицательный rotateY */
object-position: right center;
}


/* Отключение 3D на мобильных */
@media (max-width: 768px) {
.category-img {
    transform: none !important;
    box-shadow: none !important;
}

.category-img:hover {
    transform: none !important;
}
}

.developers-section {
padding: 80px 5%;
width: 100%;
}

.developers-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
justify-content: center;
align-items: start;
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.developer-card {
background: rgba(15, 25, 35, 0.4);
border: 1px solid rgba(0, 243, 255, 0.15);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
backdrop-filter: blur(15px);
width: 100%;
max-width: 300px;
margin: 0 auto;
}

/* Адаптация для разных экранов */
@media (max-width: 1000px) {
.developers-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
}
}

@media (max-width: 650px) {
.developers-grid {
    grid-template-columns: 1fr;
}

.developer-card {
    max-width: 100%;
}
}
