body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    
    text-align: center;

    background-color: #131a30;
    background-image: linear-gradient(60deg, #172763, #131a30, #33123b);
    color: #78b2f5;

    padding: 0;
    margin: 0;
}

h1, h2, h3 {
    font-weight: 700;
}

span {
    font-weight: 550;
}

.hidden {
    display: none;
}

.language-switcher {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    display: flex;
    gap: 0.15rem;
    padding: 0.15rem;
    border: 1px solid rgb(120 178 245 / 20%);
    border-radius: 999px;
    background: rgb(19 26 48 / 65%);
    backdrop-filter: blur(8px);
}

.language-switcher a {
    position: relative;
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.55rem;
    border-radius: 999px;
    color: #b9c9df;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.language-switcher a[aria-current="page"] {
    background: rgb(120 178 245 / 12%);
    color: #d6e8ff;
}

.language-switcher a[aria-current="page"]::after {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: max-content;
    padding: 0.3rem 0.55rem;
    border: 1px solid rgb(120 178 245 / 20%);
    border-radius: 0.4rem;
    background: rgb(19 26 48 / 92%);
    color: #d6e8ff;
    content: attr(data-translation-note);
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.language-switcher a[aria-current="page"]:hover::after,
.language-switcher a[aria-current="page"]:focus-visible::after {
    opacity: 1;
}

.language-entry-options a {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.85rem;
    border-radius: 999px;
    color: #d6e8ff;
    font-weight: 650;
    text-decoration: none;
}

.language-entry-options a:hover,
.language-entry-options a {
    background: rgb(120 178 245 / 18%);
}

.language-switcher a:focus-visible,
.language-entry-options a:focus-visible {
    outline: 3px solid #78b2f5;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .language-switcher a[aria-current="page"]::after {
        transition: none;
    }
}

.language-entry {
    display: grid;
    min-height: 100vh;
    align-content: center;
    justify-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.language-entry h1,
.language-entry p {
    margin: 0;
}

.language-entry-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
