:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #142448;
  --soft-ink: #465875;
  --blue: #1948c6;
  --blue-deep: #113594;
  --blue-soft: #edf4ff;
  --yellow: #ffd84e;
  --yellow-soft: #fff5cb;
  --line: #d8e3f5;
  --display: "Bricolage Grotesque", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding: 1.25rem 0 calc(5rem + env(safe-area-inset-bottom)); }
body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
a { color: inherit; }
button, summary { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.25rem; gap: 1rem; }
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: .48rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 2.95rem; height: auto; }
.brand-wordmark {
  display: grid;
  gap: .24rem;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
}
.brand-initials { font-size: 1.82rem; letter-spacing: -.04em; }
.brand-wordmark [data-text] {
  color: var(--blue-deep);
  font-size: .71rem;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.languages { position: relative; z-index: 3; }
.languages summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  gap: .45rem;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary:hover, .languages[open] summary { background: var(--blue-soft); }
.icon { flex: none; width: 1.15rem; height: 1.15rem; }
.languages .chevron { width: .9rem; height: .9rem; }
.languages[open] .chevron { transform: rotate(180deg); }
.languages ul {
  position: absolute;
  inset: calc(100% + .5rem) 0 auto auto;
  width: max-content;
  min-width: 11.5rem;
  padding: .3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .35rem;
}
.languages li + li { margin-top: 1px; }
.languages li:first-child { border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
.languages li a { display: block; padding: .45rem .65rem; color: var(--ink); text-decoration: none; font-size: .9rem; }
.languages li a:hover, .languages li a[aria-current] { background: var(--blue-soft); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.4rem, 4.4vw, 4rem) clamp(3.5rem, 6vw, 5.5rem);
}
.hero-copy { min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
h1 { font-size: clamp(2.75rem, 5.35vw, 5.25rem); line-height: .99; }
h1 > span { display: block; }
h1 .accent { position: relative; color: var(--blue); }
.accent.is-typing > [data-text] { opacity: 0; }
.typing-text { position: absolute; inset: 0; pointer-events: none; }
.typing-text::after {
  content: "";
  display: inline-block;
  width: 0;
  height: .76em;
  box-shadow: 2px 0 0 1px var(--yellow);
  transform: translateX(.1em);
  vertical-align: -.04em;
}
html[lang="de"] h1, html[lang="nl"] h1 { font-size: clamp(2.4rem, 4.6vw, 4.65rem); }
.intro {
  margin-top: clamp(1.1rem, 2.2vw, 1.9rem);
  max-width: 32ch;
  color: var(--soft-ink);
  font-size: clamp(1.04rem, 1.5vw, 1.3rem);
  line-height: 1.42;
}
.hero-actions { margin-top: 1.7rem; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  gap: .65rem;
  padding: .72rem .95rem;
  border: 0;
  border-radius: .4rem;
  background: var(--blue);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.24;
  text-decoration: none;
  text-align: left;
}
a.cta:hover { background: var(--blue-deep); }
.cta:disabled { background: var(--blue-soft); color: var(--blue-deep); cursor: default; }
.cta .whatsapp-icon { flex: none; width: 1.5rem; height: 1.5rem; border-radius: .28rem; }
.cta .cta-arrow { width: 1.05rem; height: 1.05rem; margin-left: .25rem; }
.hero-note {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 2.1rem;
  color: var(--blue-deep);
  font-size: .77rem;
  letter-spacing: .095em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-note::before { content: ""; width: 1.85rem; height: 3px; background: var(--yellow); }

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}
.film {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: .65rem;
}
.film-player { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.film-sound {
  position: absolute;
  inset: auto auto .75rem .75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  background: rgb(20 36 72 / 92%);
  color: var(--paper);
  cursor: pointer;
}
.film-sound:hover { background: var(--ink); }
.film-sound:focus-visible { outline-color: var(--yellow); }
.film-sound[data-muted="false"] { background: var(--yellow); color: var(--ink); }
.film-sound[data-muted="true"] .sound-on,
.film-sound[data-muted="false"] .sound-off { display: none; }
.film-error { margin: .9rem; padding: .65rem .9rem; background: var(--paper); text-underline-offset: .25em; }

.catalogue { border-top: 1px solid var(--line); padding-block: 1.9rem clamp(3.6rem, 6.8vw, 6.25rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .55rem 1rem; margin-bottom: 1.35rem; }
.section-head h2, .order h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.section-head p { color: var(--soft-ink); }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.game { min-width: 0; }
.game-link { display: block; color: inherit; text-decoration: none; border-radius: .55rem; }
.game-link:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.product-image { display: grid; place-items: center; aspect-ratio: 1.18; padding: 9%; overflow: hidden; border-radius: .55rem; background: var(--blue-soft); }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.game:nth-child(even) .product-image { background: var(--yellow-soft); }
.product-image.yu-gi-oh img { max-width: 72%; }
.game h3 { margin-top: .85rem; font-size: clamp(1.06rem, 1.8vw, 1.55rem); letter-spacing: -.025em; }

.order-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: clamp(1.45rem, 4vw, 3.1rem);
  border-radius: .65rem;
  background: var(--yellow);
  color: var(--ink);
}
.order p { margin-top: .6rem; font-size: clamp(.95rem, 1.5vw, 1.1rem); }
.order .cta:disabled { background: var(--paper); }
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  margin-top: 2.2rem;
  padding-block: 1.25rem calc(5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: .84rem;
}
.footer .brand-mark { width: 2.55rem; }
.footer .brand-initials { font-size: 1.55rem; }
.footer-about { max-width: 30rem; }
.footer-about h2 { color: var(--ink); font-size: 1.14rem; letter-spacing: -.025em; }
.footer-about p { margin-top: .4rem; font-size: .92rem; }
.footer address, .footer-about > a { display: block; margin-top: .75rem; }
.footer address { font-style: normal; }
.floating-chat {
  position: fixed;
  z-index: 2;
  right: calc(clamp(.75rem, 2vw, 1.5rem) + env(safe-area-inset-right));
  bottom: calc(clamp(.75rem, 2vw, 1.5rem) + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: calc(100% - 1.5rem);
  padding: .3rem .9rem .3rem .3rem;
  border: 1px solid #cee8d7;
  border-radius: 2rem;
  background: var(--paper);
  box-shadow: 0 5px 22px rgb(11 67 44 / 16%);
  color: #114631;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
a.floating-chat:hover { background: #eff9f2; }
.floating-chat:disabled { pointer-events: none; }
.chat-badge {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: #25d366;
}
.chat-badge .whatsapp-icon { width: 100%; height: 100%; border-radius: inherit; }
.chat-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #25d366;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.floating-chat[data-attention] {
  animation-duration: 840ms;
  animation-timing-function: cubic-bezier(.23, 1, .32, 1);
}
.floating-chat[data-attention="lift"] { animation-name: chat-lift; }
.floating-chat[data-attention="wiggle"] { animation-name: chat-wiggle; }
.floating-chat[data-attention="pop"] { animation-name: chat-pop; transform-origin: right center; }
.floating-chat[data-attention="lift"] .chat-badge::after { animation: chat-pulse 840ms cubic-bezier(.23, 1, .32, 1); }

@keyframes chat-lift {
  26% { transform: translateY(-10px); }
  56% { transform: translateY(1px); }
  76% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes chat-pulse {
  12% { opacity: .7; }
  100% { transform: scale(1.52); opacity: 0; }
}

@keyframes chat-wiggle {
  18% { transform: translateX(-7px) rotate(-4deg); }
  37% { transform: translateX(4px) rotate(3deg); }
  58% { transform: translateX(-4px) rotate(-2deg); }
  76% { transform: translateX(2px) rotate(1deg); }
}

@keyframes chat-pop {
  24% { transform: scale(1.09); }
  52% { transform: scale(.98); }
  74% { transform: scale(1.025); }
}

@media (max-width: 990px) {
  .wrap { width: min(100% - 3.5rem, 76rem); }
  .hero { gap: 1.75rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 4.3rem; }
  .brand-mark { width: 2.6rem; }
  .brand-initials { font-size: 1.65rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 2.25rem 3rem; }
  h1 { font-size: clamp(2.95rem, 12vw, 4.9rem); }
  html[lang="de"] h1, html[lang="nl"] h1 { font-size: clamp(2.6rem, 10.5vw, 4.55rem); }
  .hero-note { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.25rem; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem .75rem; }
  .product-image { aspect-ratio: 1.08; }
  .footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .film-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; width: min(100%, 26rem); margin-inline: auto; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 1.75rem); }
  h1 { font-size: 2.65rem; }
  html[lang="de"] h1, html[lang="nl"] h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .accent.is-typing > [data-text] { opacity: 1; }
  .typing-text { display: none; }
  .floating-chat[data-attention],
  .floating-chat[data-attention="lift"] .chat-badge::after { animation: none; }
}
