/* AURIX ARENA — shared styles. Tokens from the brief (section 11). */
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #070707;
  --surface: #111111;
  --surface-2: #171717;
  --border: #2A2418;
  --border-strong: #7A6739; /* 3.4:1 on --surface, for inputs (WCAG 1.4.11) */
  --gold: #D9A928;
  --gold-light: #F4D06F;
  --gold-grad: linear-gradient(180deg, #F4D06F 0%, #D9A928 100%);
  --text: #FFFFFF;
  --muted: #B9B9B9;
  --dim: #8A8A8A;
  --danger: #FF8D8D;
  --success: #5FD38D;
  --pkg-day: #EADFC4;
  --pkg-evening: #F2A365;
  --pkg-prime: #F4D06F;
  --pkg-night: #9DB4FF;
  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --section: 64px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --section: 96px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: 80px; } /* clears the sticky header for focus and #anchors */
body {
  margin: 0;
  background: radial-gradient(120% 50% at 50% -8%, rgba(244, 208, 111, 0.07), transparent 60%) no-repeat, var(--bg);
  color: var(--muted);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; color: var(--text); letter-spacing: 0.01em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--gold-light); }
a:hover { color: var(--text); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--gold-grad); color: #070707; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #070707; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 7, 7, 0.88); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { font: 600 22px/1 var(--font-head); letter-spacing: 0.08em; color: var(--text); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.logo span { color: var(--gold); }
.logo:hover { color: var(--text); }
.help-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.help-link .icon { color: var(--gold); }

/* Icons */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1.1 var(--font-body); letter-spacing: 0.01em; text-decoration: none; text-align: center; cursor: pointer; transition: filter 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--gold-grad); color: #070707; }
.btn-primary:hover { filter: brightness(1.07); color: #070707; }
.btn-secondary { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-secondary:hover { background: rgba(217, 169, 40, 0.08); color: var(--gold-light); border-color: var(--gold-light); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; filter: none; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; gap: 8px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 600; }

/* Surfaces */
.card, .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.panel { padding: 20px; }
@media (min-width: 640px) { .panel { padding: 28px; } }
.eyebrow { font: 500 13px/1.2 var(--font-head); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* Forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.label { color: var(--text); font-weight: 600; font-size: 15px; padding: 0; }
.optional { color: var(--muted); font-weight: 400; margin-left: 6px; }
.hint { font-size: 14px; color: var(--muted); }
.input { width: 100%; min-height: 52px; padding: 0 16px; background: #0B0B0B; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text); font: 400 17px/1.2 var(--font-body); }
.input::placeholder { color: #767676; }
.input:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; border-color: var(--gold); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: 14px; }
.error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text); cursor: pointer; line-height: 1.45; }
.check input { accent-color: var(--gold); width: 22px; height: 22px; margin: 1px 0 0; flex: none; }

/* Feedback */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: #14110A; color: var(--text); font-size: 15px; }
.alert .icon { color: var(--gold); margin-top: 2px; }
.alert-danger { border-color: rgba(255, 141, 141, 0.55); background: #1A0E0E; }
.alert-danger .icon { color: var(--danger); }
.alert a { font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: calc(104px + env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; background: #F5F5F5; color: #070707; font-weight: 600; font-size: 14px; text-align: center; transition: opacity 0.2s, transform 0.2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Navigation */
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav { display: none; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--gold-light); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; }
.nav.is-open { display: grid; position: absolute; top: 64px; left: 0; right: 0; padding: 8px var(--gutter) 16px; background: #0B0B0B; border-bottom: 1px solid var(--border); }
.nav.is-open a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); font-size: 17px; }
.nav.is-open a:last-child { border-bottom: 0; }
@media (max-width: 380px) { .logo { font-size: 19px; letter-spacing: 0.06em; } .header-actions .btn-sm { padding: 0 12px; } }
@media (min-width: 960px) {
  .nav, .nav.is-open { display: flex; position: static; gap: 28px; padding: 0; background: none; border: 0; }
  .nav.is-open a { display: inline; min-height: 0; border: 0; font-size: 15px; }
  .menu-btn { display: none; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
.section-title { margin-top: 10px; font-size: clamp(34px, 7vw, 56px); }
.section-lede { margin-top: 12px; max-width: 560px; font-size: 17px; }
.link-gold { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold-light); font-weight: 600; text-decoration: none; }
.link-gold:hover { color: var(--text); }

/* Clearly marked placeholders for unconfirmed facts */
.ph { display: inline; padding: 1px 6px; background: rgba(244, 208, 111, 0.1); border: 1px dashed var(--border-strong); border-radius: 4px; color: var(--gold-light); font: inherit; font-size: 0.92em; }
.ph-img { position: relative; margin: 0; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; border: 1px dashed var(--border-strong); border-radius: 12px; background: radial-gradient(70% 60% at 50% 0%, rgba(255, 244, 214, 0.08), transparent 70%), var(--surface); color: var(--muted); font-size: 14px; text-align: center; }
.ph-img::before { content: "Photo to come"; position: absolute; top: 10px; left: 12px; font: 500 11px/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0B0B0B; border: 1px solid var(--gold); color: var(--gold); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); transition: background-color 0.15s, color 0.15s; }
.wa-float:hover { background: var(--gold); color: #070707; }
.wa-float .icon { width: 26px; height: 26px; }

/* Footer */
.site-footer { padding: 56px 0 calc(88px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 56px; } }
.footer-tag { margin-top: 12px; max-width: 320px; }
.footer-h { margin-bottom: 12px; font: 500 13px/1 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
