:root {
            --primary: #00f0ff;
            --primary-dark: #00a8ff;
            --accent: #ff2d75;
            --bg: #0a0a20;
            --card-bg: rgba(10, 15, 30, 0.8);
            --text: #ffffff;
            --text-secondary: #b0b0ff;
            --divider: rgba(0, 240, 255, 0.2);
            --success: #00ff88;
            --warning: #ffcc00;
            --error: #ff2d75;
            --glow: 0 0 15px rgba(0, 240, 255, 0.7);
            --accent-glow: 0 0 20px rgba(255, 45, 117, 0.7);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Rajdhani', sans-serif;
        }

         .video-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            object-fit: cover;
            opacity: 1;
        }
        
         body {
            background: radial-gradient(circle at center, #0a0a20 0%, #000000 100%);
            background-size: cover;
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(10, 10, 32, 0.7) 0%, rgba(10, 10, 32, 0.9) 100%);
            z-index: -1;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem;
            position: relative;
            z-index: 2;
        }

        
        @keyframes scan {
            0% { top: -100%; }
            100% { top: 100%; }
        }

        .scan-line {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.5), transparent);
            animation: scan 4s linear infinite;
            z-index: 1;
            opacity: 0.3;
        }

        
        .test-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            position: relative;
            animation: fadeInDown 1s ease-out;
        }

        .test-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
            box-shadow: var(--glow);
        }

        .test-header h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
            letter-spacing: 2px;
            text-transform: uppercase;
            background: linear-gradient(90deg, #00f0ff, #00a8ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .test-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        
        .card {
            background: var(--card-bg);
            border-radius: 10px;
            border: 1px solid rgba(0, 240, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow);
            margin-bottom: 3rem;
            overflow: hidden;
            position: relative;
            backdrop-filter: blur(10px);
            transform: translateY(20px);
            opacity: 0;
            animation: cardAppear 0.8s forwards;
            transition: all 0.5s ease;
        }

        .card:hover {
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.9);
            transform: translateY(-5px);
        }

        .card-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--divider);
            background: rgba(0, 168, 255, 0.1);
            position: relative;
        }

        .card-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
        }

        .card-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .card-body {
            padding: 2rem;
        }
        
        .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-card.total {
    background: linear-gradient(135deg, #3f51b5, #303f9f);
    color: white;
    grid-column: 1 / -1;
}

.stats-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stats-card.total .stat-label {
    color: rgba(255,255,255,0.8);
}

.chart-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

       .copyright {
            position: fixed;
            bottom: 10px;
            right: 10px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 16px;
            font-family: 'Rajdhani', sans-serif;
            z-index: 100;
        }
       
        label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--primary);
            font-size: 1.1rem;
            letter-spacing: 0.5px;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        select,
        textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(0, 240, 255, 0.3);
            border-radius: 5px;
            font-size: 1rem;
            background: rgba(0, 10, 30, 0.7);
            color: var(--text);
            transition: all 0.3s;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.5);
        }

        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            text-decoration: none;
            font-size: 1.1rem;
            margin-top: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: all 0.5s;
            z-index: -1;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #000;
            font-weight: 700;
        }

        .btn-primary:hover {
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
            transform: translateY(-3px);
        }

        .btn-accent {
            background: linear-gradient(135deg, var(--accent), #ff0066);
            color: white;
        }

        .btn-accent:hover {
            box-shadow: var(--accent-glow);
            transform: translateY(-3px);
        }

        
        .question {
            margin-bottom: 2.5rem;
            padding: 1.5rem;
            background: rgba(15, 20, 40, 0.6);
            border-radius: 8px;
            border-left: 3px solid var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .question:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.3);
        }

        .question::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent);
            z-index: -1;
        }

        .question strong {
            display: block;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 600;
            line-height: 1.4;
        }

        .question label {
            display: flex;
            align-items: center;
            padding: 1rem;
            margin-bottom: 0.8rem;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s;
            background: rgba(30, 40, 80, 0.5);
            border: 1px solid rgba(0, 240, 255, 0.1);
            position: relative;
        }

        .question label:hover {
            background: rgba(0, 240, 255, 0.1);
            border-color: rgba(0, 240, 255, 0.3);
        }

        .question input[type="radio"] {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            margin-right: 1rem;
            position: relative;
            transition: all 0.3s;
            cursor: pointer;
        }

        .question input[type="radio"]:checked {
            background: var(--primary);
            box-shadow: 0 0 10px var(--primary);
        }

        .question input[type="radio"]:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background: #000;
            border-radius: 50%;
        }

        
        .warning-box {
            background: rgba(255, 45, 117, 0.1);
            border-left: 4px solid var(--error);
            padding: 1.5rem;
            margin-bottom: 2rem;
            border-radius: 5px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            animation: pulse 2s infinite;
        }



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

        .warning-box strong {
            color: var(--error);
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

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

        @keyframes cardAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card:nth-child(1) { animation-delay: 0.1s; }
        .card:nth-child(2) { animation-delay: 0.3s; }
        .card:nth-child(3) { animation-delay: 0.5s; }

        /* Баннер техработ */
        .maintenance-banner {
            background: linear-gradient(135deg, #ff2d75, #ff0066);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            box-shadow: 0 10px 30px rgba(255, 45, 117, 0.3);
            animation: pulse 2s infinite;
            border-left: 5px solid #fff;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .maintenance-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;
            z-index: -1;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }

        .maintenance-banner i {
            font-size: 2rem;
            margin-right: 15px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .maintenance-banner div {
            text-align: left;
        }

        .maintenance-banner strong {
            font-weight: 700;
            font-size: 1.2rem;
            display: block;
            margin-bottom: 5px;
        }

        
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 50%;
            opacity: 0.5;
            animation: float linear infinite;
        }
        

        @keyframes float {
            to { transform: translateY(-100vh); }
        }

        
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }
            
            .test-header h1 {
                font-size: 2rem;
            }
            
            .question {
                padding: 1rem;
            }
            
            .btn {
                width: 100%;
                padding: 1rem;
            }
        }