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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}

.results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.result-label {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.speed-unit {
    color: #999;
    font-size: 12px;
}

.button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.button:hover {
    opacity: 0.9;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.1s;
}

.speed-display {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin: 20px 0;
}

.status {
    color: #667eea;
    font-size: 14px;
    margin: 15px 0;
    min-height: 20px;
}

/* Анимация ракеты */
.rocket {
    font-size: 60px;
    margin: 20px 0;
    animation: flyRocket 2s ease-in-out infinite;
}

@keyframes flyRocket {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(-45deg);
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100px) translateY(-50px) rotate(45deg);
        opacity: 0.5;
    }
}

#testing {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}

.results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.result-label {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.speed-unit {
    color: #999;
    font-size: 12px;
}

.button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.button:hover {
    opacity: 0.9;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.1s;
}

.speed-display {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin: 20px 0;
}

.status {
    color: #667eea;
    font-size: 14px;
    margin: 15px 0;
    min-height: 20px;
}

