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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.error-content {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

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

/* Анимированная иконка */
.animated-icon {
    margin: 0 auto 40px;
    width: 150px;
    height: 150px;
    animation: float 3s ease-in-out infinite;
}

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

svg {
    width: 100%;
    height: 100%;
}

/* Анимация замка */
.lock-group {
    animation: lockShake 0.6s ease-in-out infinite;
    transform-origin: 50px 50px;
}

@keyframes lockShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.lock-dot {
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        r: 2.5px;
        opacity: 1;
    }
    50% {
        r: 4px;
        opacity: 0.6;
    }
}

/* Анимация восклицательного знака */
.exclamation-group {
    animation: exclamationBounce 0.8s ease-in-out infinite;
    transform-origin: 79px 50px;
}

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

/* Текст */
h1 {
    font-size: 72px;
    color: #ff6b6b;
    margin-bottom: 10px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Кнопки */
.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.email-icon {
    font-size: 26px;
}

/* Текст поддержки */
.support-text {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.support-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-text a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .error-content {
        padding: 40px 25px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    .animated-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
