@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    color-scheme: dark;
    --bg: #090909;
    --fg: #f3f0e7;
    --muted: rgba(232, 227, 214, 0.72);
    --line: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--fg);
    font-family: "Inter", "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.page-shell {
    width: 100%;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(2rem, 6vw, 4rem);
    background:
        radial-gradient(circle at top, rgba(154, 138, 96, 0.18), transparent 30%),
        linear-gradient(180deg, #171716 0%, #0d0d0d 35%, #090909 100%);
}

.not-found__panel {
    width: min(100%, 40rem);
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.not-found__eyebrow {
    margin: 0 0 1rem;
    color: #bca56e;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.not-found__title {
    margin: 0;
    color: #f3f0e7;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

.not-found__copy {
    max-width: 30rem;
    margin: 1.5rem 0 0;
    color: rgba(232, 227, 214, 0.78);
    font-size: 1rem;
    line-height: 1.8;
}

.not-found__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    min-height: 3.4rem;
    padding: 0 2rem;
    border: 1px solid rgba(186, 161, 102, 0.35);
    background: rgba(186, 161, 102, 0.08);
    color: #f3f0e7;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.not-found__link:hover {
    border-color: rgba(186, 161, 102, 0.55);
    background: rgba(186, 161, 102, 0.14);
}
