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

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    background: #111;
}

/* Full-bleed background photo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url(mountains.jpg) center / cover no-repeat;
    z-index: 0;
}

/* Gentle dark scrim so text reads clearly */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.card {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fade in on load */
.card {
    animation: fadeUp 0.8s ease both;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s ease, transform 0.25s ease;
}

nav a:hover {
    color: #fff;
    transform: translateY(-2px);
}

nav svg {
    display: block;
}


@media (max-width: 480px) {
    h1 {
        font-size: 1.85rem;
    }
}
