@font-face {
  font-family: "Orbitron";
  src: url("/fonts/orbitron-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #030d1b;
  color: #eef7ff;
  --surface: #081b2c;
  --panel: #0c2336;
  --line: #245365;
  --muted: #b4c9d9;
  --gold: #e9c478;
  --cyan: #25e0f3;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 12% 0, #0a4c6638, transparent 52%),
    radial-gradient(ellipse at 100% 65%, #a9781c0d, transparent 54%),
    linear-gradient(#25e0f304 1px, transparent 1px),
    linear-gradient(90deg, #25e0f304 1px, transparent 1px), #030d1b;
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}
main { width: min(720px, calc(100% - 40px)); padding: 64px 0; text-align: center; }
.brand { margin: 0 0 24px; color: var(--cyan); font-family: "Orbitron", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-shadow: 0 0 18px #25e0f322; }
.icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 28px; border: 1px solid #27c9df66; border-radius: 20px; background: radial-gradient(circle at 30% 0, #25e0f321, transparent 72%), var(--surface); color: var(--gold); font-size: 42px; line-height: 1; box-shadow: inset 0 1px 0 #b6f5ff18, 0 0 30px #25e0f313; }
h1 { margin: 0 0 28px; font-family: "Orbitron", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; color: #eef7ff; text-shadow: 0 2px 0 #020710; }
h1 span { color: var(--gold); }
section { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #0a2236, #061522); box-shadow: inset 0 1px 0 #9cecff0d, 0 16px 48px #00000029; }
h2 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; font-weight: 650; }
section p { max-width: 62ch; margin: 0 auto; color: var(--muted); font-size: .95rem; line-height: 1.8; overflow-wrap: anywhere; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.contact { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 28px 0; padding: 13px 20px; border: 1px solid #74f2fc; border-radius: 11px; background: linear-gradient(135deg, #59f1f8, #16c9e2); color: #042032; text-decoration: none; font-size: .93rem; font-weight: 700; line-height: 1.45; box-shadow: inset 0 1px 0 #e4feff66, 0 0 22px #25e0f31c; }
.contact:hover { background: linear-gradient(135deg, #91f8fc, #33d9ec); border-color: #b8fbff; }
.owner { display: block; color: var(--muted); font-size: .875rem; }
.maintenance-actions { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.maintenance-actions .contact { margin: 0; }
.owner-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border: 1px solid #9c8855; border-radius: 11px; background: #0b2234; color: #f0dcae; text-decoration: none; font-size: .93rem; font-weight: 600; line-height: 1.45; box-shadow: inset 0 1px 0 #e9c4780d; }
.owner-link:hover { border-color: #e9c478; background: #102c40; }
.access-note { max-width: 58ch; margin: 16px auto 0; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.owner-login-page { width: min(464px, calc(100% - 32px)); padding: 48px 0; }
.owner-login-page .brand { margin-bottom: 16px; }
.owner-login-page h1 { margin-bottom: 16px; font-size: clamp(2rem, 7vw, 2.5rem); }
.login-intro { margin: 0 0 28px; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.owner-login-card { padding: 28px; text-align: left; }
.owner-login-card label { display: block; margin-bottom: 8px; color: #eef7ff; font-size: .9rem; font-weight: 600; }
.owner-login-card input { display: block; width: 100%; min-width: 0; min-height: 48px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid #31576d; border-radius: 10px; background: #041221; color: #eef7ff; font-size: 1rem; line-height: 1.5; }
.owner-login-card input:focus { border-color: var(--cyan); box-shadow: 0 0 0 1px #25e0f329; }
.owner-login-card button.contact { display: flex; width: 100%; margin: 4px 0 0; cursor: pointer; }
.owner-login-card button:disabled { opacity: .65; cursor: wait; }
#loginStatus { min-height: 1.4em; margin: 12px 0 0; color: var(--gold); font-size: .9rem; line-height: 1.6; }
.login-divider { max-width: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: .83rem; }
.discord-login { width: 100%; margin-top: 12px; text-align: center; }
.owner-login-card .access-note { text-align: center; }
.whatsapp-cs { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 20px; padding: 12px 16px; border: 1px solid #3a7b6a; border-radius: 11px; background: #0e382f; color: #d8f6e9; text-align: center; text-decoration: none; font-size: .87rem; font-weight: 600; line-height: 1.5; }
.whatsapp-cs:hover { background: #174b3c; border-color: #65b598; }
.back-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; padding: 8px 12px; text-decoration: none; line-height: 1.5; }
.back-link:hover { color: #edf4fc; text-decoration: underline; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  h1 { background: linear-gradient(180deg, #ffffff 10%, #deedf7 47%, #8fa9be 52%, #eef7ff 100%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
  h1 span { background: linear-gradient(180deg, #fff2cf, #e9c478 48%, #aa813b 53%, #f1d798); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
@media (forced-colors: active) {
  h1, h1 span { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
@media (max-width: 420px) {
  main { width: calc(100% - 32px); padding: 40px 0; }
  section { padding: 22px 20px; }
  .icon { width: 64px; height: 64px; margin-bottom: 24px; font-size: 36px; border-radius: 18px; }
  .maintenance-actions { flex-direction: column; }
  .maintenance-actions a { width: 100%; }
  .owner-login-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
