/* performance.css - Тесты производительности */

.block-performance {
    margin-top: 40px;
}

.block-performance h3 {
    color: #6C63FF;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.performance-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-card:hover {
    transform: translateY(-3px);
    border-color: #6C63FF;
}

.performance-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-header i {
    color: #6C63FF;
    font-size: 1.2rem;
}

.performance-header strong {
    color: #F1F1F6;
    font-size: 0.95rem;
}

.performance-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.fps-display {
    text-align: center;
}

.fps-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2ed573;
}

.fps-label {
    font-size: 0.7rem;
    color: #888;
    margin-left: 5px;
}

.settings-info {
    font-size: 0.8rem;
    color: #888;
}

.settings-info i {
    margin-right: 5px;
    color: #6C63FF;
}

.performance-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ed573, #6C63FF);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.performance-video {
    margin-top: 15px;
    width: 100%;
    min-height: 150px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.performance-video .media-video,
.performance-video .media-iframe {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.performance-note {
    margin-top: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: #888;
}