* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

:root {
    --primary-color: #00ff41;
    --secondary-color: #00ccff;
    --accent-color: #ff006e;
    --darker-bg: #000000;
    --text-color: #00ff41;
    --text-secondary: #00aa33;
    --border-color: #003300;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier Prime', monospace;
    background: var(--darker-bg);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.2;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ХАКЕРСКИЙ КУРСОР */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        inset 0 0 5px rgba(0, 255, 65, 0.5);
    animation: cursor-pulse 1s ease-in-out infinite;
}

@keyframes cursor-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            inset 0 0 5px rgba(0, 255, 65, 0.5);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 
            0 0 15px var(--primary-color),
            0 0 30px var(--primary-color),
            inset 0 0 8px rgba(0, 255, 65, 0.8);
    }
}

.cursor-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 15px var(--primary-color),
        inset 0 0 15px rgba(0, 255, 65, 0.1);
    animation: cursor-scan 2s linear infinite;
}

@keyframes cursor-scan {
    0%, 100% { 
        box-shadow: 
            0 0 15px var(--primary-color),
            inset 0 0 15px rgba(0, 255, 65, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 20px var(--primary-color),
            inset 0 0 20px rgba(0, 255, 65, 0.2);
    }
}

.cursor-outer::before {
    content: '⬆';
    position: absolute;
    top: -14px;
    left: 50%;
    font-size: 12px;
    color: var(--primary-color);
    transform: translateX(-50%);
    text-shadow: 0 0 8px var(--primary-color);
    animation: cursor-arrow 0.8s ease-in-out infinite;
}

@keyframes cursor-arrow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.cursor-outer::after {
    content: '⬇';
    position: absolute;
    bottom: -14px;
    left: 50%;
    font-size: 12px;
    color: var(--primary-color);
    transform: translateX(-50%);
    text-shadow: 0 0 8px var(--primary-color);
    animation: cursor-arrow 0.8s ease-in-out infinite 0.2s;
}

.cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary-color);
    animation: cursor-dot-blink 0.5s ease-in-out infinite;
}

@keyframes cursor-dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Горизонтальные и вертикальные линии курсора */
.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--secondary-color), transparent);
    transform: translateY(-50%);
    box-shadow: 
        0 0 5px var(--secondary-color),
        0 1px 0 var(--primary-color);
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent, var(--secondary-color), var(--secondary-color), transparent);
    transform: translateX(-50%);
    box-shadow: 
        0 0 5px var(--secondary-color),
        1px 0 0 var(--primary-color);
}

/* ЗАГРУЗОЧНЫЙ ЭКРАН */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.8s ease-out;
}

.loading-screen.active {
    opacity: 1;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ХАКЕРСКИЕ УВЕДОМЛЕНИЯ */
.hacker-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hacker-notification.active {
    opacity: 1;
    pointer-events: all;
}

.hacker-notification-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #ff006e;
    padding: 24px 32px;
    max-width: 500px;
    border-radius: 2px;
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.6),
        inset 0 0 20px rgba(255, 0, 110, 0.1);
    animation: notification-pulse 0.5s ease;
}

@keyframes notification-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#hackerNotificationText {
    color: #ff006e;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 10px #ff006e;
    line-height: 1.6;
    letter-spacing: 1px;
}

.loading-content {
    text-align: center;
}

.loading-text {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
    text-shadow: 0 0 20px var(--primary-color);
    letter-spacing: 3px;
    animation: glitch-load 0.4s infinite;
    position: relative;
}

.glitch-large {
    font-size: 72px !important;
    animation: glitch-large-load 0.4s infinite;
}

@keyframes glitch-load {
    0% {
        text-shadow: 
            0 0 20px var(--primary-color),
            -2px 0 #ff006e,
            2px 0 #00ccff;
        transform: translate(0);
    }
    25% {
        text-shadow: 
            0 0 20px var(--primary-color),
            -2px 0 #ff006e,
            2px 0 #00ccff;
        transform: translate(-2px, 2px);
    }
    50% {
        text-shadow: 
            0 0 20px var(--primary-color),
            2px 0 #00ccff,
            -2px 0 #ff006e;
        transform: translate(2px, -2px);
    }
    75% {
        text-shadow: 
            0 0 20px var(--primary-color),
            -2px 0 #ff006e,
            2px 0 #00ccff;
        transform: translate(-2px, -2px);
    }
    100% {
        text-shadow: 
            0 0 20px var(--primary-color),
            -2px 0 #ff006e,
            2px 0 #00ccff;
        transform: translate(0);
    }
}

@keyframes glitch-large-load {
    0% {
        text-shadow: 
            0 0 30px var(--primary-color),
            -4px 0 #ff006e,
            4px 0 #00ccff;
        transform: translate(0);
    }
    25% {
        text-shadow: 
            0 0 30px var(--primary-color),
            -4px 0 #ff006e,
            4px 0 #00ccff;
        transform: translate(-4px, 4px);
    }
    50% {
        text-shadow: 
            0 0 30px var(--primary-color),
            4px 0 #00ccff,
            -4px 0 #ff006e;
        transform: translate(4px, -4px);
    }
    75% {
        text-shadow: 
            0 0 30px var(--primary-color),
            -4px 0 #ff006e,
            4px 0 #00ccff;
        transform: translate(-4px, -4px);
    }
    100% {
        text-shadow: 
            0 0 30px var(--primary-color),
            -4px 0 #ff006e,
            4px 0 #00ccff;
        transform: translate(0);
    }
}

.loading-bar {
    width: 300px;
    height: 3px;
    background: rgba(0, 255, 65, 0.2);
    margin: 40px auto;
    border: 1px solid var(--primary-color);
    overflow: hidden;
    box-shadow: 0 0 10px var(--primary-color);
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    width: 0%;
    animation: loading-fill 2.5s ease-in-out forwards;
}

@keyframes loading-fill {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

.loading-status {
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 30px;
    letter-spacing: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

/* МАТРИЧНЫЙ ФОНД */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
}

/* НАВИГАЦИЯ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    animation: scan 0.15s infinite;
}

.logo-subtitle {
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: -5px;
}

@keyframes scan {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 2px 0 0 rgba(0, 204, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 65, 0.8), -2px 0 0 rgba(0, 204, 255, 0.5); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.btn-auth {
    padding: 10px 16px;
    background: rgba(0, 255, 65, 0.1);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.btn-auth:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 20px var(--primary-color);
    transform: scale(1.05);
}

.auth-user-info {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid var(--primary-color);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.user-name {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-logout {
    padding: 8px 14px;
    background: rgba(255, 0, 110, 0.15);
    border: 1.5px solid #ff006e;
    color: #ff006e;
    box-shadow: 0 0 8px rgba(255, 0, 110, 0.3);
}

.btn-logout:hover {
    background: #ff006e;
    color: white;
    box-shadow: 0 0 20px #ff006e;
    transform: scale(1.05);
}

.admin-user {
    display: flex;
    gap: 15px;
    padding: 0 15px;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, rgba(0, 204, 255, 0.05) 100%);
    box-shadow: 
        0 0 15px rgba(0, 255, 65, 0.4),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    animation: admin-glow 2s ease-in-out infinite;
}

@keyframes admin-glow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(0, 255, 65, 0.4),
            inset 0 0 20px rgba(0, 255, 65, 0.1);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(0, 255, 65, 0.6),
            inset 0 0 30px rgba(0, 255, 65, 0.2),
            0 0 15px rgba(0, 204, 255, 0.3);
    }
}

.admin-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1.5px solid #ff006e;
    border-radius: 4px;
    background: rgba(255, 0, 110, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.3);
    animation: badge-glow 1.5s ease-in-out infinite;
}

.admin-label {
    color: #ff006e;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ff006e;
    animation: admin-blink 1s ease-in-out infinite;
}

@keyframes admin-blink {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #ff006e;
    }
    50% {
        opacity: 0.6;
        text-shadow: 0 0 20px #ff006e, 0 0 30px #ff006e;
    }
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 0, 110, 0.3),
            0 0 25px rgba(255, 0, 110, 0.1),
            inset 0 0 15px rgba(255, 0, 110, 0.05);
        border-color: #ff006e;
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 0, 110, 0.6),
            0 0 40px rgba(255, 0, 110, 0.3),
            inset 0 0 20px rgba(255, 0, 110, 0.1);
        border-color: #ff3399;
    }
}

.admin-name {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 8px var(--primary-color);
}

.btn-logout-admin {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(0, 255, 65, 0.1));
    border: 2px solid #ff006e;
    box-shadow: 
        0 0 12px rgba(255, 0, 110, 0.4),
        inset 0 0 10px rgba(255, 0, 110, 0.05);
    color: #ff006e;
    padding: 10px 16px;
    transition: all 0.3s;
    animation: button-glow 1.5s ease-in-out infinite;
}

@keyframes button-glow {
    0%, 100% {
        box-shadow: 
            0 0 12px rgba(255, 0, 110, 0.4),
            0 0 20px rgba(255, 0, 110, 0.2),
            inset 0 0 10px rgba(255, 0, 110, 0.05);
        border-color: #ff006e;
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 0, 110, 0.6),
            0 0 40px rgba(255, 0, 110, 0.3),
            inset 0 0 15px rgba(255, 0, 110, 0.15);
        border-color: #ff3399;
    }
}

.btn-logout-admin:hover {
    background: linear-gradient(135deg, #ff006e, rgba(0, 255, 65, 0.2));
    box-shadow: 
        0 0 25px #ff006e,
        inset 0 0 15px rgba(255, 0, 110, 0.2);
    text-shadow: 0 0 10px #ff006e;
    transform: scale(1.08);
}

/* АДМИН-ПАНЕЛЬ */
.admin-panel {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    border-top: 2px solid #ff006e;
    border-bottom: 2px solid #ff006e;
    box-shadow: 
        0 -5px 20px rgba(255, 0, 110, 0.2),
        0 5px 20px rgba(255, 0, 110, 0.2);
    min-height: 100vh;
}

.admin-wrapper {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #ff006e;
    border-radius: 0;
    padding: 30px;
    box-shadow: 
        0 0 25px rgba(255, 0, 110, 0.4),
        inset 0 0 20px rgba(255, 0, 110, 0.08);
}

.admin-header {
    padding: 20px;
    border-bottom: 2px solid #ff006e;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 255, 65, 0.05));
    box-shadow: inset 0 0 20px rgba(255, 0, 110, 0.1);
}

.admin-status,
.admin-welcome {
    color: #ff006e;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 5px 0;
    text-shadow: 0 0 8px #ff006e;
}

.admin-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.admin-section {
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid #ff006e;
    padding: 20px;
    box-shadow: 
        0 0 15px rgba(255, 0, 110, 0.3),
        inset 0 0 10px rgba(255, 0, 110, 0.05);
}

.admin-section-title {
    color: #ff006e;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff006e;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 110, 0.3);
}

.admin-users-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-color: #ff006e rgba(255, 0, 110, 0.1);
    scrollbar-width: thin;
}

.admin-users-list::-webkit-scrollbar {
    width: 8px;
}

.admin-users-list::-webkit-scrollbar-track {
    background: rgba(255, 0, 110, 0.05);
}

.admin-users-list::-webkit-scrollbar-thumb {
    background: #ff006e;
}

.admin-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 0, 110, 0.05);
    border: 1px solid rgba(255, 0, 110, 0.2);
    margin-bottom: 8px;
    transition: all 0.3s;
}

.admin-user-item:hover {
    background: rgba(255, 0, 110, 0.15);
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.admin-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-user-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
}

.admin-user-status {
    color: #ff006e;
    font-size: 10px;
    letter-spacing: 1px;
}

.admin-loading {
    color: rgba(255, 0, 110, 0.5);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    letter-spacing: 1px;
}

.admin-grant-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-select {
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 1.5px solid #ff006e;
    color: #ff006e;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(255, 0, 110, 0.1);
}

.admin-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 0 10px rgba(255, 0, 110, 0.2),
        0 0 15px rgba(255, 0, 110, 0.3);
}

.admin-select option {
    background: #0a0e27;
    color: #ff006e;
}

.btn-admin {
    padding: 12px;
    background: rgba(255, 0, 110, 0.15);
    border: 1.5px solid #ff006e;
    color: #ff006e;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.btn-admin:hover {
    background: #ff006e;
    color: #000000;
    box-shadow: 0 0 25px #ff006e;
    transform: scale(1.05);
}

.btn-admin:active {
    transform: scale(0.95);
}

.btn-admin-danger {
    padding: 12px;
    background: rgba(0, 255, 65, 0.1);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.btn-admin-danger:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 25px var(--primary-color);
    transform: scale(1.05);
}

.btn-admin-danger:active {
    transform: scale(0.95);
}

/* Новые элементы админ-панели */
.admin-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-input {
    flex: 1;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 1.5px solid #ff006e;
    color: #ff006e;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(255, 0, 110, 0.1);
}

.admin-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 0 10px rgba(255, 0, 110, 0.2),
        0 0 15px rgba(255, 0, 110, 0.3);
}

.admin-input::placeholder {
    color: rgba(255, 0, 110, 0.5);
}

.admin-sanctions-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-sanctions-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255, 0, 110, 0.3);
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.sanction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin-bottom: 8px;
    background: rgba(255, 0, 110, 0.1);
    border-left: 2px solid #ff006e;
    color: #ff006e;
    font-size: 11px;
}

.sanction-type {
    font-weight: bold;
    text-transform: uppercase;
}

.sanction-time {
    color: #00ff41;
    font-size: 10px;
}

.admin-password-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 0, 110, 0.05);
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.stat-label {
    color: #ff006e;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 1px;
}

.stat-value {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-color);
}

.admin-footer {
    padding: 15px;
    border-top: 2px solid #ff006e;
    background: rgba(255, 0, 110, 0.05);
    text-align: center;
}

.admin-footer-text {
    color: #ff006e;
    font-size: 11px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #ff006e;
}

.admin-link {
    color: #ff006e !important;
    text-shadow: 0 0 8px #ff006e !important;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    text-shadow: 0 0 15px rgba(0, 255, 65, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.7);
}

/* ГЕРОЙ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #000000 100%);
}

.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.95; }
    50% { opacity: 1; }
    100% { opacity: 0.95; }
}

.matrix-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 10;
}

.terminal-box {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
}

.terminal-body {
    font-size: 12px;
    text-align: left;
}

.terminal-line {
    color: var(--text-color);
    margin: 3px 0;
    font-family: 'Courier Prime', monospace;
}

.type-animation {
    animation: typing 2s steps(40, end) infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.typing-slow {
    animation: blink-slow 1s infinite;
}

@keyframes blink-slow {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.8),
                 0 0 40px rgba(0, 255, 65, 0.4);
}

.glitch {
    position: relative;
    animation: glitch-anim 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-before 0.3s infinite;
    color: var(--secondary-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-after 0.3s infinite;
    color: var(--accent-color);
    z-index: -2;
}

@keyframes glitch-before {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(0); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, -2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(2px, 2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(0); }
}

@keyframes glitch-after {
    0% { clip-path: inset(61% 0 30% 0); transform: translate(0); }
    20% { clip-path: inset(29% 0 66% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(8% 0 86% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(69% 0 15% 0); transform: translate(2px, 2px); }
    80% { clip-path: inset(76% 0 14% 0); transform: translate(-2px, -2px); }
    100% { clip-path: inset(7% 0 93% 0); transform: translate(0); }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: pulse-text 1.5s ease-in-out infinite;
}

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

@keyframes pulse-text {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 65, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 65, 1); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 30px;
    font-size: 14px;
    border: 2px solid;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Courier Prime', monospace;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.7);
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 80px;
}

.hack-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--primary-color);
    padding: 20px;
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.stat-text {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 5px;
    letter-spacing: 1px;
}

/* УСЛУГИ */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: var(--darker-bg);
}

.glitch-text {
    position: relative;
    font-size: 48px;
    text-align: center;
    margin-bottom: 80px;
    color: var(--primary-color);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 80px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.hack-card {
    background: rgba(0, 10, 0, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.card-border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 1s infinite;
}

.hack-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
    transform: translateY(-5px);
}

.glitch-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.7);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ХАКЕРСКИЕ ЭФФЕКТЫ НА ИКОНКИ */
.glitch-icon {
    position: relative;
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.7);
    animation: icon-scan 3s infinite, icon-glitch 0.2s infinite;
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.5));
}

@keyframes icon-scan {
    0% { text-shadow: 0 0 5px rgba(0, 255, 65, 0.5), 0 0 15px rgba(0, 204, 255, 0.2); }
    50% { text-shadow: 0 0 15px rgba(0, 255, 65, 0.8), 0 0 25px rgba(0, 204, 255, 0.4); }
    100% { text-shadow: 0 0 5px rgba(0, 255, 65, 0.5), 0 0 15px rgba(0, 204, 255, 0.2); }
}

@keyframes icon-glitch {
    0% { transform: translate(0, 0) skewX(0deg); }
    20% { transform: translate(-1px, 1px) skewX(-1deg); }
    40% { transform: translate(1px, -1px) skewX(1deg); }
    60% { transform: translate(-1px, 1px) skewX(-1deg); }
    80% { transform: translate(1px, -1px) skewX(1deg); }
    100% { transform: translate(0, 0) skewX(0deg); }
}

.glitch-icon:hover {
    animation: icon-scan 1s infinite, icon-glitch-intense 0.1s infinite;
}

@keyframes icon-glitch-intense {
    0% { transform: translate(-2px, -2px) skewX(-2deg); color: var(--secondary-color); }
    25% { transform: translate(2px, 2px) skewX(2deg); color: var(--primary-color); }
    50% { transform: translate(-2px, 2px) skewX(-2deg); color: var(--accent-color); }
    75% { transform: translate(2px, -2px) skewX(2deg); color: var(--primary-color); }
    100% { transform: translate(0, 0) skewX(0deg); color: var(--primary-color); }
}

.hack-tag {
    display: inline-block;
    background: rgba(0, 255, 65, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* ПОРТФОЛИО */
.portfolio {
    padding: 100px 0;
    background: var(--darker-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.hack-portfolio {
    position: relative;
    height: 300px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.hack-image {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #001a00 0%, #000d00 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ascii-art {
    position: absolute;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.4;
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px rgba(0, 255, 65, 0.5);
    z-index: 2;
    animation: ascii-float 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ascii-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-10px) scale(1.05); opacity: 0.8; }
}

.hack-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 65, 0.03) 0px,
        rgba(0, 255, 65, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: scan-lines 0.15s infinite;
    z-index: 1;
}

@keyframes scan-lines {
    0% { transform: translateY(0); opacity: 0.03; }
    50% { opacity: 0.05; }
    100% { transform: translateY(2px); opacity: 0.03; }
}

.hack-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.code-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    z-index: 3;
    animation: code-flicker 3s infinite;
}

.code-line {
    display: block;
    letter-spacing: 2px;
    font-weight: bold;
}

.type-blink {
    animation: blink 0.7s infinite;
}

@keyframes code-flicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0; }
}

.hack-portfolio:hover .hack-image::after {
    animation: glow-intense 0.5s ease-in-out infinite;
}

@keyframes glow-intense {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hack-portfolio:hover .hack-image {
    box-shadow: inset 0 0 30px rgba(0, 255, 65, 0.3);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.hack-portfolio:hover .portfolio-overlay {
    opacity: 1;
}

.project-name {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: name-glow 1s ease-in-out infinite;
}

@keyframes name-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 65, 0.6); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 65, 1), 0 0 30px rgba(0, 204, 255, 0.5); }
}

.project-code {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1px;
    font-family: 'Courier Prime', monospace;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    filter: saturate(0.8);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
    filter: saturate(1.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay p {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

/* ПРОЦЕСС */
.process {
    padding: 100px 0;
    background: var(--darker-bg);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.timeline-item {
    position: relative;
    padding: 30px;
    background: rgba(0, 10, 0, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.timeline-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.4);
}

.timeline-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--darker-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.timeline-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ФОРУМ */
.forum {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 14, 39, 0.8) 100%);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 
        0 -5px 20px rgba(0, 255, 65, 0.1),
        0 5px 20px rgba(0, 255, 65, 0.1);
}

.forum-wrapper {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    padding: 30px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
}

.forum-header {
    padding: 20px;
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 20px;
    background: rgba(0, 255, 65, 0.05);
}

.forum-status,
.forum-users {
    color: var(--secondary-color);
    font-size: 12px;
    letter-spacing: 1px;
    margin: 5px 0;
}

.forum-content {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    scrollbar-color: var(--primary-color) rgba(0, 255, 65, 0.1);
    scrollbar-width: thin;
}

.forum-content::-webkit-scrollbar {
    width: 8px;
}

.forum-content::-webkit-scrollbar-track {
    background: rgba(0, 255, 65, 0.05);
}

.forum-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
}

.forum-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    opacity: 0.6;
}

.forum-empty-text {
    font-size: 28px;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
    margin: 20px 0;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.forum-empty-subtitle {
    color: var(--secondary-color);
    font-size: 12px;
    letter-spacing: 1px;
}

.forum-post {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.forum-post-author {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

.forum-post-time {
    color: rgba(0, 255, 65, 0.5);
    font-size: 11px;
}

.forum-post-text {
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.forum-post-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--primary-color);
    margin-bottom: 20px;
}

.forum-textarea {
    width: 100%;
    min-height: 100px;
    max-height: 300px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    resize: vertical;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.forum-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 65, 0.2),
        0 0 15px rgba(0, 204, 255, 0.3);
}

.forum-textarea::placeholder {
    color: rgba(0, 255, 65, 0.3);
}

.forum-footer {
    padding: 15px;
    border-top: 1px solid var(--primary-color);
    background: rgba(0, 255, 65, 0.05);
    text-align: center;
}

.forum-footer-text {
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
}

/* ЦЕНЫ */
.pricing {
    padding: 100px 0;
    background: var(--darker-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: rgba(0, 10, 0, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 40px rgba(0, 204, 255, 0.5);
}

.price-label {
    display: inline-block;
    background: rgba(0, 255, 65, 0.1);
    color: var(--primary-color);
    padding: 5px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.featured-label {
    background: rgba(0, 204, 255, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.pricing-card h3 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.7);
}

.price-period {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
}

.price-features li:last-child {
    border-bottom: none;
}

/* КОНТАКТЫ */
.contact {
    padding: 100px 0;
    background: var(--darker-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 10, 0, 0.8);
    border-radius: 3px;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.contact-icon {
    font-size: 18px;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

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

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(0, 10, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    color: var(--text-color);
    font-family: 'Courier Prime', monospace;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

.contact-form textarea::placeholder,
.contact-form input::placeholder {
    color: var(--text-secondary);
}

/* ФУТЕР */
.footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--primary-color);
    padding: 50px 0 20px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 11px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 36px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* СПЕЦИАЛЬНЫЕ ЭФФЕКТЫ */
.service-card {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 65, 0.2); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 65, 0.4); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ПЛЫВУЩИЕ ЦИФРЫ НА ФОНЕ */
.floating-digits {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.digit {
    position: absolute;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    opacity: 0.15;
    font-family: 'Courier Prime', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    animation: float-down linear infinite;
}

@keyframes float-down {
    0% {
        transform: translateY(-10vh) rotateZ(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(100vh) rotateZ(360deg);
        opacity: 0;
    }
}

/* МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

.auth-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.auth-modal-content {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #0a0e27 0%, #000000 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.5),
        inset 0 0 20px rgba(0, 255, 65, 0.1),
        0 0 40px rgba(0, 204, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan-lines 0.6s infinite;
}

.auth-header {
    padding: 25px;
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.auth-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 2px;
}

.auth-close {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.auth-close:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 15px var(--primary-color);
}

.auth-body {
    padding: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-label {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-form-input {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 13px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.auth-form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 65, 0.2),
        0 0 15px rgba(0, 204, 255, 0.5);
}

.auth-form-input::placeholder {
    color: rgba(0, 255, 65, 0.3);
}

.auth-submit {
    width: 100%;
    padding: 14px;
    background: rgba(0, 255, 65, 0.15);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px var(--primary-color);
}

.auth-submit:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 25px var(--primary-color);
    text-shadow: none;
    transform: scale(1.02);
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-footer {
    padding: 15px;
    border-top: 1px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.auth-footer-text {
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
}

/* МОДАЛЬНОЕ ОКНО ОПЛАТЫ */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.payment-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.payment-modal-content {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #0a0e27 0%, #000000 100%);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.5),
        inset 0 0 20px rgba(0, 255, 65, 0.1),
        0 0 40px rgba(0, 204, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.payment-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan-lines 0.6s infinite;
}

.payment-header {
    padding: 25px;
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.payment-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 2px;
}

.payment-close {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.payment-close:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    text-shadow: none;
    box-shadow: 0 0 15px var(--primary-color);
}

.payment-body {
    padding: 30px;
}

.payment-info {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    animation: scan 0.8s ease-in-out infinite;
}

.payment-label {
    color: var(--primary-color);
    font-weight: bold;
}

.payment-value {
    color: var(--secondary-color);
    font-weight: bold;
}

.payment-form {
    margin-bottom: 25px;
}

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

.form-label {
    display: block;
    color: var(--primary-color);
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 65, 0.2),
        0 0 15px rgba(0, 204, 255, 0.5);
}

.form-input::placeholder {
    color: rgba(0, 255, 65, 0.3);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.payment-method {
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.method-icon {
    font-size: 20px;
    display: block;
    text-shadow: 0 0 10px var(--primary-color);
    font-weight: bold;
    animation: icon-scan 0.6s infinite;
}

@keyframes icon-scan {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--primary-color); }
    50% { opacity: 0.7; text-shadow: 0 0 5px var(--primary-color); }
}

.payment-method:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}

.payment-method:hover .method-icon {
    animation: icon-glitch 0.2s infinite;
}

@keyframes icon-glitch {
    0%, 100% { text-shadow: 0 0 10px var(--primary-color); transform: skew(0deg); }
    25% { text-shadow: -2px 0 #ff006e, 2px 0 #00ccff; transform: skew(-1deg); }
    50% { text-shadow: 2px 0 #00ccff, -2px 0 #ff006e; transform: skew(1deg); }
    75% { text-shadow: -2px 0 #ff006e, 2px 0 #00ccff; transform: skew(-1deg); }
}

.payment-method.active {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 20px var(--primary-color);
    text-shadow: none;
}

.payment-method.active .method-icon {
    text-shadow: 0 0 15px #000000;
    animation: icon-pulse 0.5s infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-payment {
    width: 100%;
    padding: 14px;
    background: rgba(0, 255, 65, 0.15);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px var(--primary-color);
}

.btn-payment:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 25px var(--primary-color);
    text-shadow: none;
    transform: scale(1.02);
}

.btn-payment:active {
    transform: scale(0.98);
}

.payment-footer {
    padding: 20px;
    border-top: 1px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.payment-footer-text {
    color: var(--secondary-color);
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.payment-status-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--primary-color);
    overflow: hidden;
}

.status-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    width: 0%;
    animation: statusFill 2s ease-in-out;
}

@keyframes statusFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 100%; }
}

/* МОБИЛЬНАЯ АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .nav-container {
        gap: 20px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero-title {
        font-size: 48px;
    }

    .admin-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }

    .custom-cursor {
        display: none;
    }

    /* НАВИГАЦИЯ */
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px 15px;
    }

    .logo {
        flex: 1;
        min-width: 100%;
        margin-bottom: 10px;
    }

    .logo-text {
        font-size: 14px;
    }

    .nav-menu {
        flex-direction: row;
        gap: 10px;
        flex: 1;
        min-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .nav-link {
        font-size: 10px;
        padding: 5px 8px;
    }

    .nav-auth {
        min-width: 100%;
        flex: 1;
        justify-content: flex-start;
        margin-left: 0;
    }

    .btn-auth {
        padding: 8px 12px;
        font-size: 10px;
        flex: 1;
        text-align: center;
    }

    .auth-user-info {
        flex-wrap: wrap;
        padding: 8px 12px;
        flex: 1;
        min-width: 100%;
    }

    .admin-badge {
        padding: 6px 10px;
        gap: 2px;
    }

    .admin-label {
        font-size: 9px;
    }

    .admin-name {
        font-size: 10px;
    }

    .btn-logout,
    .btn-logout-admin {
        padding: 6px 10px;
        font-size: 10px;
        flex: 1;
        min-width: 80px;
    }

    /* ГЕРОЙ */
    .hero {
        margin-top: 100px;
        height: auto;
        min-height: 80vh;
        padding: 30px 20px;
    }

    .terminal-box {
        width: 90%;
        max-width: 100%;
        padding: 10px;
    }

    .terminal-header {
        margin-bottom: 8px;
    }

    .terminal-dot {
        width: 8px;
        height: 8px;
    }

    .terminal-line {
        font-size: 10px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-stats {
        position: static;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .hack-stat {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-text {
        font-size: 10px;
    }

    /* СЕКЦИИ */
    .services,
    .portfolio,
    .pricing,
    .process,
    .contact,
    .forum,
    .admin-panel {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* УСЛУГИ */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hack-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    /* ПОРТФОЛИО */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hack-portfolio,
    .portfolio-item {
        height: 250px;
    }

    .ascii-art {
        font-size: 24px;
    }

    .ascii-art {
        font-size: 24px;
    }

    /* ФОРУМ */
    .forum-wrapper {
        padding: 20px;
    }

    .forum-content {
        min-height: 200px;
        max-height: 400px;
    }

    .forum-post {
        padding: 12px;
        margin-bottom: 10px;
    }

    .forum-post-author {
        font-size: 11px;
    }

    .forum-post-time {
        font-size: 10px;
    }

    .forum-post-text {
        font-size: 12px;
    }

    .forum-post-form {
        gap: 12px;
        padding: 15px;
    }

    .forum-textarea {
        min-height: 80px;
        font-size: 12px;
    }

    /* АДМИН-ПАНЕЛЬ */
    .admin-wrapper {
        padding: 20px;
    }

    .admin-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-section {
        padding: 15px;
    }

    .admin-section-title {
        font-size: 12px;
    }

    .admin-users-list {
        max-height: 250px;
    }

    .admin-user-item {
        padding: 10px;
        font-size: 11px;
    }

    .admin-select,
    .admin-input,
    .btn-admin,
    .btn-admin-danger {
        padding: 10px;
        font-size: 11px;
    }

    .admin-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .admin-input {
        flex: 1;
    }

    .btn-admin,
    .btn-admin-danger {
        width: 100%;
    }

    .stat-item {
        padding: 10px;
        font-size: 11px;
    }

    .stat-value {
        font-size: 14px;
    }

    /* ЦЕНЫ */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 25px 20px;
        transform: none !important;
    }

    .pricing-card.featured {
        transform: none !important;
    }

    .pricing-card h3 {
        font-size: 28px;
    }

    .price-period {
        font-size: 11px;
    }

    .price-features li {
        padding: 8px 0;
        font-size: 11px;
    }

    /* ПРОЦЕСС */
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        padding: 20px 20px 20px 60px;
    }

    .timeline-number {
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* КОНТАКТЫ */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info h3 {
        font-size: 20px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 12px;
    }

    /* ФУТЕР */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 11px;
    }

    .social-links {
        gap: 10px;
        justify-content: flex-start;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    /* МОДАЛЬНЫЕ ОКНА */
    .payment-modal-content {
        width: 95%;
        max-width: 100%;
        margin: 20px;
    }

    .auth-modal-content {
        width: 95%;
        max-width: 100%;
        margin: 20px;
    }

    .payment-header,
    .auth-header {
        padding: 15px;
    }

    .payment-body,
    .auth-body {
        padding: 20px;
    }

    .payment-title,
    .auth-title {
        font-size: 14px;
    }

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

    .form-label {
        font-size: 10px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .auth-form-input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .auth-submit,
    .btn-payment {
        padding: 12px;
        font-size: 12px;
    }

    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }

    .payment-method {
        padding: 10px;
        font-size: 11px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 12px;
    }

    .logo-subtitle {
        font-size: 8px;
    }

    .nav-link {
        font-size: 9px;
        padding: 4px 6px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 11px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 11px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hack-card,
    .pricing-card {
        padding: 20px 15px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        min-width: 20px;
    }
}
/* ===== МОДАЛ АВТОРИЗАЦИИ ===== */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.auth-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

.auth-modal-content {
    background: linear-gradient(135deg, #001a00 0%, #003300 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 30px var(--primary-color),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    padding: 40px;
    border-radius: 5px;
    position: relative;
    max-width: 400px;
    width: 90%;
    animation: slideDown 0.3s ease-out;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--primary-color);
}

.auth-tab {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

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

.auth-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 2px;
}

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

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form .form-label {
    font-size: 12px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-form .form-input {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 12px;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    transition: all 0.3s;
}

.auth-form .form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.auth-form .form-input::placeholder {
    color: rgba(0, 255, 65, 0.5);
}

.auth-btn {
    margin-top: 10px;
    padding: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-message {
    color: var(--accent-color);
    font-size: 12px;
    text-align: center;
    min-height: 20px;
    margin: 5px 0;
}

.auth-toggle {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 20px;
}

.auth-toggle a {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-toggle a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Профиль пользователя */
.profile-content {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 20px;
    min-height: 150px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted var(--primary-color);
    font-size: 13px;
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-label {
    color: var(--secondary-color);
}

.profile-value {
    color: var(--primary-color);
    font-weight: bold;
}

/* Стили для сообщений форума */
.forum-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-message {
    background: rgba(0, 0, 0, 0.5);
    border-left: 2px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

.forum-username {
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

.forum-time {
    color: var(--text-secondary);
    font-size: 11px;
    float: right;
}

.forum-text {
    color: var(--primary-color);
    margin-top: 5px;
    word-wrap: break-word;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Кнопка авторизации в навбаре */
.nav-auth {
    display: flex;
    gap: 10px;
}

.auth-nav-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    font-family: 'Courier Prime', monospace;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    text-transform: uppercase;
}

.auth-nav-btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--primary-color);
}

.user-info span {
    background: rgba(0, 255, 65, 0.1);
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
}

/* Анимации */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}