:root {
    color-scheme: dark;
    --dsc-bg: #0a1422;
    --dsc-panel: rgba(10, 20, 34, 0.5);
    --dsc-border: rgba(138, 167, 204, 0.22);
    --dsc-text: #eef3fb;
    --dsc-text-muted: #a9b8cc;
    --dsc-accent: #f3b248;
    --dsc-font: "Space Grotesk", "Segoe UI Variable", "Aptos", sans-serif;
    --dsc-width: min(44rem, calc(100vw - 2rem));
    --dsc-radius: 24px;
    --dsc-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

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

html {
    min-height: 100%;
    font-size: 16px;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: var(--dsc-font);
}

a {
    color: inherit;
}

.dsc-body,
.va-status-page-bg {
    min-height: 100dvh;
    color: var(--dsc-text);
    background: linear-gradient(180deg, #08111d 0%, #0a1422 100%);
    position: relative;
    overflow: hidden;
}

.dsc-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    isolation: isolate;
}

.dsc-light {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    filter: blur(180px);
    will-change: transform, opacity;
    transform: translate3d(var(--dsc-light-x, 0vw), var(--dsc-light-y, 0vh), 0) scale(var(--dsc-light-scale, 1));
    transform-origin: center;
    backface-visibility: hidden;
    contain: layout style paint;
}

.dsc-light--gold {
    background: radial-gradient(circle, rgba(243, 178, 72, 0.95) 0%, rgba(243, 178, 72, 0.34) 38%, rgba(243, 178, 72, 0) 74%);
}

.dsc-light--blue {
    background: radial-gradient(circle, rgba(112, 166, 255, 0.9) 0%, rgba(112, 166, 255, 0.3) 38%, rgba(112, 166, 255, 0) 74%);
}

.dsc-placeholder,
.va-status-page-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsc-placeholder {
    position: relative;
    z-index: 1;
    min-height: calc(100dvh - 4rem);
    padding: 1.5rem 1rem 1rem;
}

.dsc-card,
.va-status-card {
    width: var(--dsc-width);
    padding: 2rem;
    border-radius: var(--dsc-radius);
    border: 1px solid var(--dsc-border);
    background: var(--dsc-panel);
    box-shadow: var(--dsc-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
}

.dsc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dsc-kicker,
.va-status-kicker {
    margin: 0 0 0.85rem;
    color: var(--dsc-accent);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dsc-title,
.va-status-title {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.dsc-message,
.va-status-message,
.va-status-message-secondary,
.va-status-footer,
.va-status-hint {
    margin: 1rem 0 0;
    color: var(--dsc-text-muted);
    line-height: 1.7;
}

.dsc-power {
    margin: 1.25rem 0 0;
    color: var(--dsc-text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.dsc-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dsc-logo {
    width: min(15rem, 70vw);
    height: auto;
    filter: drop-shadow(0 0 0.8rem rgba(243, 178, 72, 0.18));
}

.dsc-icon-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.dsc-icon {
    width: 4.5rem;
    height: 4.5rem;
    color: var(--dsc-accent);
    filter: drop-shadow(0 0 0.7rem rgba(243, 178, 72, 0.38));
    animation: dsc-glow 1.8s ease-in-out infinite;
}

.va-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 178, 72, 0.32);
    background: rgba(243, 178, 72, 0.12);
    color: var(--dsc-text);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
}

.va-btn:hover,
.va-btn:focus-visible {
    background: rgba(243, 178, 72, 0.18);
}

.dsc-footer {
    position: relative;
    z-index: 1;
    padding: 0 1rem 1.5rem;
    text-align: center;
    color: var(--dsc-text-muted);
}

.dsc-footer p {
    margin: 0;
}

.va-container {
    width: var(--dsc-width);
}

.va-status-section {
    padding: 1rem;
}

.va-status-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--dsc-border);
    background: rgba(243, 178, 72, 0.08);
    color: var(--dsc-accent);
}

.va-status-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.va-status-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.va-status-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--dsc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--dsc-text);
    font: inherit;
}

.va-status-input::placeholder {
    color: var(--dsc-text-muted);
}

.va-status-action {
    width: fit-content;
}

@keyframes dsc-glow {
    0%,
    100% {
        opacity: 0.55;
        filter: drop-shadow(0 0 0.35rem rgba(243, 178, 72, 0.2));
        transform: scale(1);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 1rem rgba(243, 178, 72, 0.62));
        transform: scale(1.04);
    }
}

@media (max-width: 640px) {
    .dsc-card,
    .va-status-card {
        padding: 1.5rem;
    }

    .va-btn,
    .va-status-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dsc-light {
        opacity: 0.12;
        transition: none !important;
    }

    .dsc-icon {
        animation: none;
    }
}
