@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates&family=Montserrat+Alternates&family=Oxanium:wght@300;400;700&family=Rubik&display=swap');

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

body {
    font-family: 'Oxanium', cursive;
    background: #0a0a0a;
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    z-index: -1;
}

.autor {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%);
    z-index: 21;
    font-size: 0.9rem;
    letter-spacing: .2rem;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
}

.container {
    text-align: center;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.error-code {
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    font-family: 'Rubik', sans-serif;
}

.title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #888888;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {
    .autor {
        font-size: 0.6rem;
        letter-spacing: .1rem;
    } 
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    } 
}