 :root {
        --red: #CC0000;
        --gold: #FFD700;
        --dark-blue: #002366;
        --light-gray: #f5f5f5;
        --dark-gray: #333333;
        --space-black: #0a0a1a;
        --neon-blue: #00f0ff;
        --panel-bg: rgba(255, 255, 255, 0.95);
        --sidebar-bg: rgba(255, 255, 255, 0.7);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    .post-action.share {
    position: relative;
}

.post-action.share::after {
    content: "Ссылка скопирована";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.post-action.share.copied::after {
    opacity: 1;
}
    body {
        font-family: 'Roboto', sans-serif;
        background-color: var(--space-black);
        color: white;
        background-image: 
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23FFD700" fill-opacity="0.1"/></svg>'),
            linear-gradient(135deg, var(--space-black) 0%, var(--dark-blue) 100%);
        background-attachment: fixed;
        line-height: 1.6;
        overflow-x: hidden;
    }

    #app {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .header {
        background: linear-gradient(90deg, var(--dark-blue), var(--red));
        padding: 15px 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        background: rgba(0, 35, 102, 0.8);
        border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    }

    .header-container {
        max-width: 1920px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%23FFD700"/><path d="M50,20 L60,50 L90,50 L65,70 L75,100 L50,80 L25,100 L35,70 L10,50 L40,50 Z" fill="%23CC0000"/></svg>');
        background-size: contain;
        animation: pulse 2s infinite alternate;
    }

    @keyframes pulse {
        0% { transform: scale(1); opacity: 0.9; }
        100% { transform: scale(1.1); opacity: 1; }
    }

    .logo-text {
        color: white;
        font-family: 'Orbitron', sans-serif;
        font-size: 1.8rem;
        font-weight: bold;
        letter-spacing: 2px;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    .nav-links {
        display: flex;
        gap: 30px;
    }

    .nav-link {
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        position: relative;
        padding: 5px 0;
        transition: all 0.3s;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .user-controls {
        display: flex;
        align-items: center;
        gap: 20px;
        position: relative;
    }

    .notification-btn, .messages-btn {
        background: none;
        border: none;
        color: white;
        font-size: 1.3rem;
        cursor: pointer;
        position: relative;
        padding: 5px;
    }

    .notification-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--red);
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-btn {
        background: var(--gold);
        color: var(--dark-blue);
        border: none;
        padding: 10px 25px;
        border-radius: 30px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1rem;
        box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }

    .login-btn:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    }

    .toggle-graphics-btn {
        background: var(--gold);
        color: var(--dark-blue);
        border: none;
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 0.9rem;
        margin-left: 10px;
    }

    .toggle-graphics-btn:hover {
        background: white;
    }

    .main-content {
        flex: 1;
        max-width: 1500px;
        margin: 30px auto;
        padding: 0 30px;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .feed {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .panel {
        background: var(--panel-bg);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .panel-title {
        font-family: 'PT Sans', sans-serif;
        color: var(--dark-blue);
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 1.3rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .panel-title::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-color: var(--gold);
        mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v4"></path><path d="m16.24 7.76 2.83-2.83"></path><path d="M18 12h4"></path><path d="m16.24 16.24 2.83 2.83"></path><path d="M12 18v4"></path><path d="m4.93 19.07 2.83-2.83"></path><path d="M2 12h4"></path><path d="m4.93 4.93 2.83 2.83"></path></svg>');
        mask-repeat: no-repeat;
        mask-position: center;
    }

    .sidebar {
        position: fixed;
        top: 80px;
        bottom: 0;
        width: 350px;
        background: var(--sidebar-bg);
        backdrop-filter: blur(15px);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
        transition: transform 0.3s ease, opacity 0.3s ease;
        padding: 40px 20px 20px;
        opacity: 0;
        transform: translateY(20px);
    }

    .sidebar-left {
        left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .sidebar-right {
        right: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .sidebar.active {
        opacity: 1;
        transform: translateY(0);
    }

    .sidebar-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark-gray);
        transition: color 0.3s;
        z-index: 1;
    }

    .sidebar-close:hover {
        color: var(--red);
    }

    .sidebar-toggle {
        position: fixed;
        bottom: 30px;
        z-index: 1000;
        background: var(--gold);
        color: var(--dark-blue);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-toggle:hover {
        transform: scale(1.1);
        background: white;
    }

    .sidebar-toggle-left {
        left: 20px;
    }

    .sidebar-toggle-right {
        right: 20px;
    }

    .mobile-sidebar-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-sidebar-toggle:hover {
        color: var(--gold);
    }

    .user-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .user-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold), var(--red));
        margin-bottom: 15px;
        border: 3px solid white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        object-fit: cover;
    }

    .user-name {
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 5px;
        color: var(--dark-blue);
    }

    .user-title {
        color: var(--red);
        font-size: 0.9rem;
        margin-bottom: 15px;
        font-weight: 500;
    }

    .user-stats {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-top: 15px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        font-weight: bold;
        font-size: 1.2rem;
        color: var(--dark-blue);
    }

    .stat-label {
        font-size: 0.8rem;
        color: #666;
    }

    .menu-item {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        border-radius: 10px;
        color: var(--dark-gray);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        margin-bottom: 10px;
    }

    .menu-item:hover {
        background: rgba(0, 35, 102, 0.1);
        color: var(--dark-blue);
        transform: translateX(5px);
    }

    .menu-item.active {
        background: linear-gradient(90deg, rgba(0, 35, 102, 0.1), rgba(0, 35, 102, 0.05));
        color: var(--dark-blue);
        font-weight: bold;
        border-left: 3px solid var(--gold);
    }

    .menu-icon {
        margin-right: 10px;
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
        color: var(--dark-blue);
    }

    .shortcut-item {
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .shortcut-item:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .shortcut-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        color: var(--dark-blue);
        font-size: 0.9rem;
    }

    .shortcut-name {
        font-size: 0.9rem;
        color: var(--dark-gray);
    }

    .post {
        background: var(--panel-bg);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.5s forwards;
        cursor: pointer;
    }

    @keyframes fadeIn {
        to { opacity: 1; transform: translateY(0); }
    }

    .post-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .post-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 15px;
        object-fit: cover;
    }

    .post-author {
        font-weight: bold;
        color: var(--dark-blue);
        margin-bottom: 3px;
    }

    .post-time {
        font-size: 0.8rem;
        color: #999;
    }

    .post-content {
        margin-bottom: 15px;
        line-height: 1.6;
        color: var(--dark-gray);
    }

    .post-image {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
        max-height: 500px;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .post-image:hover {
        transform: scale(1.02);
    }

    .full-width-image {
        width: 100%;
        border-radius: 10px;
        height: auto;
        max-height: 500px;
        object-fit: cover;
    }

    .post-stats {
        display: flex;
        justify-content: space-between;
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .post-actions {
        display: flex;
        justify-content: space-around;
    }

    .post-action {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        border-radius: 8px;
        color: #666;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 0.9rem;
        position: relative;
    }

    .post-action:hover {
        background: rgba(0, 35, 102, 0.1);
        color: var(--dark-blue);
    }

    .post-action i {
        margin-right: 8px;
    }

    .status-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .status-item {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        padding: 15px;
        text-align: center;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        border-top: 3px solid var(--gold);
    }

    .status-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .status-value {
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--dark-blue);
        margin-bottom: 5px;
        font-family: 'Orbitron', sans-serif;
    }

    .status-label {
        color: #666;
        font-size: 0.9rem;
    }

    .trending-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        transition: all 0.3s;
    }

    .trending-item:last-child {
        border-bottom: none;
    }

    .trending-item:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .trending-rank {
        font-weight: bold;
        color: var(--gold);
        font-size: 1.2rem;
        width: 30px;
        text-align: center;
    }

    .trending-content {
        flex: 1;
    }

    .trending-title {
        font-weight: 500;
        color: var(--dark-blue);
        margin-bottom: 3px;
    }

    .trending-stats {
        font-size: 0.8rem;
        color: #999;
    }

    .banner {
        background: linear-gradient(135deg, var(--dark-blue), var(--red));
        color: white;
        padding: 25px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
        margin-bottom: 30px;
    }

    .banner::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: rotate(30deg);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% { transform: translateX(-100%) rotate(30deg); }
        100% { transform: translateX(100%) rotate(30deg); }
    }

    .banner-title {
        font-family: 'PT Sans', sans-serif;
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }

    .banner-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

    .banner-btn {
        background: var(--gold);
        color: var(--dark-blue);
        border: none;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1rem;
        position: relative;
        z-index: 1;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .banner-btn:hover {
        background: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .signal-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    }

    .signal-item:last-child {
        border-bottom: none;
    }

    .signal-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 35, 102, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        color: var(--dark-blue);
        font-size: 1.2rem;
    }

    .signal-info {
        flex: 1;
    }

    .signal-name {
        font-weight: 500;
        color: var(--dark-blue);
        margin-bottom: 3px;
    }

    .signal-details {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #666;
    }

    .signal-strength {
        height: 5px;
        background: #eee;
        border-radius: 5px;
        margin-top: 5px;
        overflow: hidden;
    }

    .signal-strength-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--gold), var(--red));
        border-radius: 5px;
    }

    .footer {
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 40px 0;
        text-align: center;
        margin-top: 50px;
        border-top: 1px solid rgba(255, 215, 0, 0.3);
        backdrop-filter: blur(10px);
    }

    .footer-text {
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        color: var(--gold);
        letter-spacing: 2px;
        margin-bottom: 20px;
        font-family: 'Orbitron', sans-serif;
    }

    .footer-subtext {
        font-size: 1rem;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .footer-link {
        color: white;
        text-decoration: none;
        transition: all 0.3s;
        cursor: pointer;
    }

    .footer-link:hover {
        color: var(--gold);
    }

    .sputnik {
        position: fixed;
        width: 60px;
        height: 60px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="%23FFD700"/><circle cx="50" cy="50" r="20" fill="%23CC0000"/><rect x="30" y="45" width="40" height="10" fill="%23FFD700"/><rect x="45" y="30" width="10" height="40" fill="%23FFD700"/></svg>');
        opacity: 0.8;
        animation: float 8s ease-in-out infinite;
        z-index: -1;
    }

    .sputnik-1 {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .sputnik-2 {
        top: 70%;
        left: 85%;
        animation-delay: 2s;
    }

    .sputnik-3 {
        top: 30%;
        left: 85%;
        animation-delay: 4s;
    }

    .sputnik.hidden {
        display: none;
    }

    @keyframes float {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(20px, 20px) rotate(5deg); }
        50% { transform: translate(0, 40px) rotate(0deg); }
        75% { transform: translate(-20px, 20px) rotate(-5deg); }
        100% { transform: translate(0, 0) rotate(0deg); }
    }

    .create-post {
        background: var(--panel-bg);
        border-radius: 15px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .post-input {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 15px;
        font-family: inherit;
        resize: none;
        margin-bottom: 10px;
        transition: all 0.3s;
    }

    .post-input:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
    }

    .post-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .post-attachments {
        display: flex;
        gap: 10px;
    }

    .attachment-btn {
        background: none;
        border: none;
        color: #666;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s;
    }

    .attachment-btn:hover {
        color: var(--dark-blue);
    }

    .post-submit {
        background: var(--gold);
        color: var(--dark-blue);
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
    }

    .post-submit:hover {
        background: var(--dark-blue);
        color: white;
    }

    .expedition-status {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .expedition-item {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        border-left: 4px solid var(--gold);
    }

    .expedition-name {
        font-weight: bold;
        color: var(--dark-blue);
        margin-bottom: 5px;
    }

    .expedition-destination {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 10px;
    }

    .expedition-progress {
        height: 8px;
        background: #eee;
        border-radius: 4px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .expedition-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--gold), var(--red));
        border-radius: 4px;
        width: 0;
        transition: width 1s;
    }

    .expedition-details {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #666;
    }

    .galaxy-map {
        height: 200px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200" viewBox="0 0 400 200"><rect width="400" height="200" fill="%23000"/><circle cx="50" cy="100" r="3" fill="%23FFD700"/><circle cx="120" cy="80" r="2" fill="%23FFD700"/><circle cx="200" cy="120" r="4" fill="%23FFD700"/><circle cx="280" cy="60" r="3" fill="%23FFD700"/><circle cx="350" cy="150" r="2" fill="%23FFD700"/><path d="M50,100 C80,50 150,70 200,120 C250,170 320,100 350,150" stroke="%23CC0000" stroke-width="1" fill="none"/></svg>');
        background-size: cover;
        border-radius: 10px;
        margin-bottom: 15px;
        position: relative;
        overflow: hidden;
    }

    .galaxy-point {
        position: absolute;
        width: 8px;
        height: 8px;
        background: var(--gold);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: pulse 2s infinite;
    }

    .galaxy-point::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        background: rgba(255, 215, 0, 0.3);
        border-radius: 50%;
        top: -4px;
        left: -4px;
        animation: ripple 2s infinite;
    }

    @keyframes ripple {
        0% { transform: scale(0.5); opacity: 1; }
        100% { transform: scale(2); opacity: 0; }
    }

    .quantum-status {
        background: var(--panel-bg);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-top: 3px solid var(--gold);
    }

    .quantum-title {
        font-weight: 500;
        color: var(--dark-blue);
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }

    .quantum-title::before {
        content: "⚛";
        margin-right: 10px;
        font-size: 1.2rem;
    }

    .quantum-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px dashed #eee;
    }

    .quantum-item:last-child {
        border-bottom: none;
    }

    .quantum-label {
        color: #666;
    }

    .quantum-value {
        font-weight: 500;
        color: var(--dark-blue);
    }

    .quantum-graph {
        height: 100px;
        background: #f9f9f9;
        border-radius: 5px;
        margin-top: 15px;
        position: relative;
        overflow: hidden;
    }

    .quantum-wave {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: 
            repeating-linear-gradient(
                to right,
                transparent,
                transparent 10px,
                var(--gold) 10px,
                var(--gold) 20px
            );
        animation: wave 2s linear infinite;
    }

    @keyframes wave {
        0% { transform: translateX(0); }
        100% { transform: translateX(-20px); }
    }

    /* Скрываем полосу прокрутки */
    .sidebar::-webkit-scrollbar {
        width: 0;
        background: transparent;
    }

    .sidebar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Стили для pop-up окон */
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        z-index: 10000;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .popup-container {
        background: var(--panel-bg);
        border-radius: 7px;
        width: 100%;
        max-width: 1400px;
        height: 98vh;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 215, 0, 0.3);
    }
    
    .popup-header {
        background: linear-gradient(90deg, var(--dark-blue), var(--red));
        padding: 5px 20px;
        display: flex;
        height: 3.5vh;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    }
    
    .popup-title {
        color: white;
        font-family: 'Orbitron', sans-serif;
        font-size: 1.2rem;
        margin: 0;
    }
    
    .popup-controls {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .popup-new-window {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s;
        padding: 5px;
        opacity: 0.7;
    }
    
    .popup-new-window:hover {
        opacity: 1;
        transform: translateY(-2px);
    }
    
    .popup-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        transition: all 0.3s;
        line-height: 1;
    }
    
    .popup-close:hover {
        color: var(--gold);
        transform: rotate(90deg);
    }
    
    .popup-content {
        height: calc(100% - 60px);
    }
    
    .popup-iframe {
        width: 100%;
        height: 100%;
        border: none;
        overflow-y: auto;
    }

    /* Стили для мини-попапа уведомлений */
    .notifications-popup {
        position: absolute;
        top: 50px;
        right: 0;
        width: 300px;
        background: var(--panel-bg);
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        display: none;
        padding: 15px;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .notifications-popup.active {
        display: block;
    }
    
    .notification-item {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }
    
    .notification-item:last-child {
        border-bottom: none;
    }
    
    .notification-item:hover {
        background: rgba(0, 35, 102, 0.05);
    }
    
    .notification-title {
        font-weight: bold;
        color: var(--dark-blue);
        margin-bottom: 5px;
    }
    
    .notification-text {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 5px;
    }
    
    .notification-time {
        font-size: 0.8rem;
        color: #999;
        text-align: right;
    }

    /* Стили для мини-попапа сообщений */
    .messages-popup {
        position: absolute;
        top: 50px;
        right: 0;
        width: 300px;
        background: var(--panel-bg);
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        display: none;
        padding: 15px;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .messages-popup.active {
        display: block;
    }
    
    .message-item {
        display: flex;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }
    
    .message-item:last-child {
        border-bottom: none;
    }
    
    .message-item:hover {
        background: rgba(0, 35, 102, 0.05);
    }
    
    .message-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
        object-fit: cover;
    }
    
    .message-info {
        flex: 1;
    }
    
    .message-author {
        font-weight: bold;
        color: var(--dark-blue);
        margin-bottom: 3px;
    }
    
    .message-preview {
        font-size: 0.9rem;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 3px;
    }
    
    .message-time {
        font-size: 0.8rem;
        color: #999;
        text-align: right;
    }

    /* Стили для кнопки "Поделиться" */
    .post-action.share {
        position: relative;
    }

    .post-action.share::after {
        content: "Ссылка скопирована";
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--dark-blue);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.8rem;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .post-action.share.copied::after {
        opacity: 1;
    }

    /* Мобильные стили */
    @media (max-width: 1200px) {
        .feed {
            max-width: 800px;
        }
    }

    @media (max-width: 992px) {
        .feed {
            max-width: 700px;
        }
    }

    @media (max-width: 768px) {
        .header {
            padding: 5px 0;
        }
        
        .header-container {
            flex-direction: row;
            gap: 5px;
            padding: 5px 10px;
            align-items: center;
        }
        .popup-container {
        background: var(--panel-bg);
        border-radius: 0px;
        width: 100%;

        height: 100%;
        }
        .logo {
            gap: 5px;
            flex: 1;
            justify-content: center;
        }
        
        .logo-icon {
            width: 30px;
            height: 30px;
        }
        
        .logo-text {
            font-size: 1rem;
            letter-spacing: 0;
        }
        
        .user-controls {
            gap: 5px;
            display: none;
        }
        
        .notification-btn, .messages-btn {
            display: none;
        }
        
        .login-btn {
            display: none;
        }
        
        .toggle-graphics-btn {
            display: none;
        }
        
        .feed {
            max-width: 100%;
            padding: 0 10px;
        }
        
        .status-bar {
            grid-template-columns: 1fr 1fr;
        }

        .post-image {
            width: 100%;
            border-radius: 10px;
        }

        .sidebar {
            width: 100%;
            top: 50px;
            z-index: 1001;
            transform: translateX(-100%);
            opacity: 1;
            padding: 20px 10px;
        }
        
        .sidebar.active {
            transform: translateX(0);
        }
        
        .sidebar-right {
            transform: translateX(100%);
        }
        
        .sidebar-right.active {
            transform: translateX(0);
        }
        
        .sidebar-toggle {
            display: none;
        }
        
        .mobile-sidebar-toggle {
            display: block;
        }
        
        .post-actions {
            flex-direction: column;
            gap: 5px;
        }
        
        .post-action {
            justify-content: right;
            padding: 5px;
        }
        
        .footer-links {
            gap: 15px;
        }
        
        .sputnik {
            display: none;
        }

        /* Кнопки боковых панелей в шапке */
        .mobile-header-controls {
            display: flex;
            gap: 10px;
        }

        .mobile-sidebar-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            font-size: 1.2rem;
        }

        /* Карточка пользователя с кнопкой профиля */
        .user-profile .profile-btn {
            background: var(--gold);
            color: var(--dark-blue);
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
            margin-top: 10px;
        }

        .user-profile .profile-btn:hover {
            background: white;
        }
    }
  
    @media (max-width: 576px) {
        .status-bar {
            grid-template-columns: 1fr;
        }
        
        .sidebar {
            width: 100%;
        }
        
        .logo-text {
            font-size: 0.9rem;
        }
        
        .footer-text {
            font-size: 1.2rem;
        }
        
        .footer-subtext {
            font-size: 0.9rem;
        }
        
        .footer-links {
            gap: 10px;
        }
    }
        @media (max-width: 768px) {
    .status-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }

    .status-item {
        padding: 8px 5px !important;
        min-height: auto !important;
    }

    .status-value {
        font-size: 1rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .status-label {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 480px) {
    .status-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .status-value {
        font-size: 0.9rem !important;
    }

    .status-label {
        font-size: 0.6rem !important;
    }
}
@media (max-width: 768px) {
    .popup-title {
        font-size: 0.9rem !important;  /* Уменьшаем размер шрифта */
        padding: 5px 0 !important;     /* Уменьшаем отступы */
        line-height: 1.3 !important;   /* Уменьшаем межстрочный интервал */
    }
    
    .popup-header {
        padding: 5px 15px !important;  /* Уменьшаем отступы в шапке */
        min-height: 40px !important;   /* Фиксируем высоту шапки */
    }
    
    .popup-close {
        font-size: 1.3rem !important;  /* Уменьшаем размер кнопки закрытия */
        padding: 5px !important;       /* Уменьшаем отступы кнопки */
    }
}
@media (max-width: 768px) {
    .main-content {
        padding: 0 !important;  /* Убираем боковые отступы полностью */
        margin: 10px 0 !important; /* Оставляем только вертикальные отступы */
        width: 100% !important;
    }

    .feed {
        max-width: 100% !important; /* Убираем ограничение максимальной ширины */
        padding: 0 10px !important; /* Можно оставить небольшие отступы для текста */
        margin: 0 auto !important;
    }

    .panel, .post, .create-post {
        border-radius: 0 !important; /* Можно оставить 0 или добавить небольшие скругления */
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
@media (max-width: 768px) {
    /* Убираем все внешние отступы и ограничения */
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100% !important;
        
    }

    /* Превращаем ленту в полноэкранную */
    .feed {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
       
    }


    /* Убираем "карточность" у постов */
    .post {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 15px 0 !important;
        margin: 4 !important;
        
    }

    /* Убираем отступы у изображений */
    .post-image, .full-width-image {
        border-radius: 4 !important;
        margin: 10px -15px !important; /* Делаем на всю ширину экрана */
        width: calc(100% + 30px) !important;
        max-width: none !important;
    }

    /* Делаем поле ввода на всю ширину */
    .create-post {
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 15px !important;
    }
    
    /* Убираем лишние отступы внутри элементов */
    .post-header, .post-content, .post-stats, .post-actions {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .post::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(
        to right, 
        var(--space-black) 0%, 
        var(--dark-blue) 15%, 
        var(--dark-blue) 85%, 
        var(--space-black) 100%
    );
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
}