:root {
    --vrp-bg: #02030a;
    --vrp-bg-deep: #00000a;
    --vrp-surface: rgba(15, 23, 42, .72);
    --vrp-surface-strong: rgba(17, 24, 39, .94);
    --vrp-border: rgba(148, 163, 184, .15);
    --vrp-border-hover: rgba(245, 158, 11, .34);
    --vrp-gold: #f59e0b;
    --vrp-gold-soft: #fbbf24;
    --vrp-text: #f8fafc;
    --vrp-muted: #94a3b8;
    --vrp-radius: 16px;
    --vrp-shadow: 0 18px 55px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
    background:
        radial-gradient(circle at 8% 5%, rgba(37, 99, 235, .06), transparent 30rem),
        radial-gradient(circle at 92% 15%, rgba(245, 158, 11, .045), transparent 32rem),
        var(--vrp-bg-deep) !important;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection { color: #111827; background: rgba(251, 191, 36, .9); }

a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--vrp-gold-soft) !important;
    outline-offset: 3px;
}

button, a { touch-action: manipulation; }
button:not(:disabled) { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }

.site-header {
    padding-inline: clamp(1rem, 5vw, 5rem) !important;
    background: rgba(2, 6, 23, .84) !important;
    border-color: rgba(148, 163, 184, .12) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
}

.site-header img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 20px rgba(0, 0, 0, .25); }

.nav-item {
    border: 1px solid transparent;
    letter-spacing: .01em;
}

.nav-item:hover { border-color: rgba(148, 163, 184, .12); }
.nav-item.active { border-color: rgba(245, 158, 11, .2); }

.site-footer {
    background: linear-gradient(180deg, rgba(2, 2, 26, .64), rgba(0, 0, 8, .92)) !important;
    border-color: rgba(148, 163, 184, .12) !important;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
    min-height: 44px;
    border-color: rgba(100, 116, 139, .55) !important;
    background: rgba(15, 23, 42, .72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):hover,
textarea:hover,
select:hover { border-color: rgba(148, 163, 184, .65) !important; }

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
textarea:focus,
select:focus {
    border-color: rgba(245, 158, 11, .8) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12) !important;
    outline: none !important;
}

input::placeholder, textarea::placeholder { color: #64748b !important; }

.viking-button {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.viking-button.primary { box-shadow: 0 10px 28px rgba(245, 158, 11, .18); }
.viking-button:hover { transform: translateY(-2px) scale(1.01); }
.viking-button:active { transform: translateY(0) scale(.99); }

.gallery-card > div,
.trailer-media,
.map-viewport,
.candidature-panel { box-shadow: var(--vrp-shadow); }

.gallery-card > div::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* Contact */
[data-route="contact"] .site-main > div { background: transparent !important; }

[data-route="contact"] .site-main section { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 7vw, 6rem); }

[data-route="contact"] form {
    border-color: var(--vrp-border) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, .88), rgba(9, 14, 27, .88)) !important;
    border-radius: var(--vrp-radius) !important;
    box-shadow: var(--vrp-shadow);
}

[data-route="contact"] form button[type="submit"] {
    min-height: 44px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, .16);
}

/* Minecraft setup */
.setup-page { background: radial-gradient(circle at 50% 0, rgba(37, 99, 235, .22), transparent 38rem), linear-gradient(145deg, #070b16, #0b1733 48%, #090d1c) !important; }

.setup-card {
    border-color: rgba(148, 163, 184, .18) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, .94), rgba(8, 14, 28, .92)) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .48), 0 0 80px rgba(59, 130, 246, .08) !important;
}

.setup-card img { filter: drop-shadow(0 10px 24px rgba(59, 130, 246, .18)); }

@media (max-width: 767px) {
    .site-header { padding-inline: 1rem !important; }

    [data-route="contact"] form { padding: 1rem !important; }
    [data-route="contact"] h1 { font-size: 1.65rem !important; }

    .setup-card { padding: 1.5rem !important; }

    .site-footer { padding-block: 1.5rem !important; }
}

