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

html {
    color-scheme: dark;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0B1210;
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(74, 124, 89, 0.10), transparent 70%),
        radial-gradient(ellipse 40% 30% at 50% 38%, rgba(212, 185, 95, 0.06), transparent 70%);
    color: #E8F0EC;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2rem 1.25rem 5rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    animation: fadeIn 0.8s ease-out both;
}

.logo {
    width: 64px;
    height: 64px;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 0 18px rgba(212, 185, 95, 0.18));
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.card:hover .logo {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 24px rgba(212, 185, 95, 0.32));
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #9CBAAB;
    letter-spacing: 0.01em;
}

a#contact-link {
    font-size: 0.875rem;
    color: #8AA89A;
    text-decoration: none;
    margin-top: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 175, 154, 0.18);
    background: rgba(139, 175, 154, 0.04);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

a#contact-link:hover {
    color: #E8C76A;
    border-color: rgba(212, 185, 95, 0.45);
    background: rgba(212, 185, 95, 0.06);
}

a#contact-link:focus-visible {
    outline: 2px solid #D4B95F;
    outline-offset: 3px;
    color: #E8C76A;
}

a#contact-link:active {
    transform: translateY(1px);
}

footer {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    color: #56766A;
    letter-spacing: 0.04em;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .card:hover .logo {
        transform: none;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 56px;
        height: 56px;
    }
    footer {
        bottom: 1rem;
    }
}
