@import url('/logo-motion.css');
/* Optoria Entertainment — huisstijl uit het brandbook (Figma: Optoria Brandbook 2026).
   Kleuren: Deep Space #0B0E17 · Optoria Violet #5D47FF · Electric Cyan #00E4FF · Signal Red #C7294F · Ember #F98F0E.
   Typografie: Sansation (zelf gehost), fallback Exo 2 / system-ui. Wordmark in Crows Driven staat als SVG. */
@font-face { font-family: 'Sansation'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/sansation-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sansation'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/sansation-latin-700-normal.woff2') format('woff2'); }

:root {
  --deep: #0B0E17; --deep-2: #070910; --ink: #0B0E17; --body: #C9CDDA; --mut: #9AA0B4; --slate: #6E7490;
  --violet: #5D47FF; --cyan: #00E4FF; --red: #C7294F; --ember: #F98F0E; --line: rgba(255,255,255,.10);
  --font: 'Sansation', 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px; --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--deep); color: var(--body); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: #fff; text-decoration: none; }
a:hover, a:focus-visible { color: var(--cyan); }
a:focus-visible, .lang a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Hero: donker podium, één logo, één zin. */
.hero { position: relative; flex: 1; min-height: 100svh; display: grid; place-items: center; padding: clamp(72px, 12vh, 160px) var(--gutter) clamp(88px, 14vh, 180px); overflow: hidden; isolation: isolate; }
.glow { position: absolute; left: 50%; top: 38%; width: min(120vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(93,71,255,.42), rgba(93,71,255,.10) 45%, rgba(11,14,23,0) 72%); pointer-events: none; z-index: -1; }
.deco { position: absolute; right: -14vw; bottom: -18vh; width: clamp(360px, 46vw, 760px); height: auto; fill: url(#g-cool); opacity: .10; pointer-events: none; z-index: -1; }
.stage { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }
.mark { width: clamp(140px, 18vw, 208px); height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(93,71,255,.35)); animation: glow 6s ease-in-out 1.6s infinite; }
.wordmark { width: clamp(220px, 32vw, 360px); height: auto; margin-top: clamp(28px, 4.5vh, 44px); fill: #fff; opacity: 0; animation: rise .9s cubic-bezier(.2,.8,.2,1) .9s forwards; }
h1 { margin: clamp(48px, 8vh, 88px) 0 0; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.01em; color: #fff; font-weight: 700; opacity: 0; animation: rise .9s cubic-bezier(.2,.8,.2,1) 1.15s forwards; }
h1 .accent { background: linear-gradient(100deg, #7B6BFF 0%, var(--violet) 35%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Logo-animatie. Intro: ring draait in, binnenvorm schuift in, blokken poppen na elkaar.
   Daarna: de vier blokken schuiven om de 3 s één plaats door langs de rand van hun parallellogram (logo-motion.css). */
.mark .ring, .mark .inner, .mark .block, .mark .slot { transform-box: fill-box; transform-origin: center; }
.mark .ring { animation: ring-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
.mark .inner { animation: inner-in .8s cubic-bezier(.2,.8,.2,1) .35s both; }
.mark .block { animation: pop .55s cubic-bezier(.34,1.56,.64,1) both; }
.mark .slot-0 .block { animation-delay: .55s; } .mark .slot-1 .block { animation-delay: .68s; } .mark .slot-2 .block { animation-delay: .81s; } .mark .slot-3 .block { animation-delay: .94s; }
.mark .slot { transform-box: view-box; transform-origin: 0 0; animation: none 12s cubic-bezier(.65,0,.35,1) 2.6s infinite; }
.mark .slot-0 { animation-name: shuffle-0; } .mark .slot-1 { animation-name: shuffle-1; } .mark .slot-2 { animation-name: shuffle-2; } .mark .slot-3 { animation-name: shuffle-3; }
.mark:hover .slot { animation-duration: 4s; }
@keyframes ring-in { from { opacity: 0; transform: scale(.82) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes inner-in { from { opacity: 0; transform: translate(14px, -8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 22px rgba(93,71,255,.30)); } 50% { filter: drop-shadow(0 0 40px rgba(0,228,255,.38)); } }
@media (prefers-reduced-motion: reduce) {
  .mark, .mark *, .wordmark, h1, .dop { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Footer: links het bedrijf, rechts contact en taalkeuze. */
.foot { background: var(--deep-2); border-top: 1px solid var(--line); padding: clamp(56px, 8vh, 96px) var(--gutter) 32px; }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.foot p, .foot address { margin: 0 0 4px; font-style: normal; font-size: 15px; color: var(--body); line-height: 1.6; }
.foot-name { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.muted { color: var(--slate); }
.dop { display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(28px, 4vh, 40px); padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--mut); transition: color .2s, border-color .2s, background-color .2s; opacity: 0; animation: rise .9s cubic-bezier(.2,.8,.2,1) 1.35s forwards; }
.dop:hover, .dop:focus-visible { color: #fff; border-color: rgba(93,71,255,.7); background: rgba(93,71,255,.12); }
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.btn-contact { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 11px 20px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 700; font-size: 14px; transition: background-color .2s, transform .2s; }
.btn-contact:hover, .btn-contact:focus-visible { background: #6F5BFF; color: #fff; transform: translateY(-1px); }
.lang { position: relative; font-size: 14px; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-width: 150px; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--body); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; border-color: rgba(255,255,255,.25); }
.lang summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.globe { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.globe::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: scaleX(.45); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.lang[open] .chev { transform: rotate(-135deg) translateY(-1px); }
.lang nav { position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 170px; display: flex; flex-direction: column; padding: 6px; background: #12162A; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.lang nav a { padding: 9px 12px; border-radius: 8px; color: var(--body); font-size: 14px; }
.lang nav a:hover, .lang nav a:focus-visible { background: rgba(93,71,255,.18); color: #fff; }
.foot .copy { max-width: var(--wrap); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); }
@media (max-width: 640px) { .foot-grid { flex-direction: column; } .foot-right { align-items: flex-start; } .lang nav { right: auto; left: 0; } .deco { right: -40vw; bottom: -10vh; width: 120vw; } }

/* Systeempagina's (coming soon, 404) */
.wrap { max-width: 720px; margin: 0 auto; padding: 64px var(--gutter); }
.center { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.center h1 { opacity: 1; animation: none; }
.center p { color: var(--mut); }
.center .links a { margin: 0 8px; }
