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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #333344 0%, #111100 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

h1 {
    color: #404040;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links a {
    display: block;
    padding: 14px 20px;
    background: #f8f9fa;
    color: #3266f8;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
}

.links a:hover {
    background: #3266f8;
    color: white;
    border-color: #3266f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.section-title {
    color: #6c757d;
    font-size: 0.9em;
    margin-top: 24px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title:first-of-type {
    margin-top: 0;
}

.description {
    margin-bottom: 1.5em;
    color: rgba(200, 30, 30, 1);
}

.status-code {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #f56565;
    margin-bottom: 0.5em;
}

.status-details {
    text-align: center;
    color: #4a5568;
    margin-bottom: 1.5em;
}

.links-404 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 1.5em;
}

.links-404 a {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #3266f8;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.links-404 a:hover {
    color: #1010ea;
    text-decoration: underline;
}
