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

body {
    font-family: Arial, sans-serif;
    background: #121212;
    color: #f5f5f5;
    overflow: hidden;
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 100;
}

.error-content {
    background: rgba(30, 30, 30, 0.9);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
}

.error-icon {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 6rem;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.error-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: #121212;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: rgba(50, 50, 50, 0.6);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(70, 70, 70, 0.8);
    transform: translateY(-2px);
    color: #ffffff;
}

.error-stats {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-stats p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

#siteViews {
    color: #4ecdc4;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .error-content {
        padding: 30px 20px;
    }
    
    .error-content h1 {
        font-size: 4rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-content {
        padding: 20px 15px;
    }
    
    .error-content h1 {
        font-size: 3rem;
    }
    
    .error-icon {
        font-size: 3rem;
    }
}