:root {
  color-scheme: dark;
  --page-pad: clamp(1rem, 4vw, 4.5rem);
  --content: 80rem;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --focus: #fff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-accent: #d66bff;
  --header-accent-rgb: 214, 107, 255;
}

html[data-theme="control"],
body.control {
  --header-accent: #ff4e45;
  --header-accent-rgb: 255, 78, 69;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

html.theme-switching {
  overflow-anchor: none;
}

body {
  margin: 0;
  min-width: 20rem;
  background: #060608;
  color: #f7f3f8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.gate-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 0.15rem solid var(--focus);
  outline-offset: 0.25rem;
}

::selection {
  background: rgba(223, 60, 255, 0.42);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: #fff;
  color: #09090b;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.lang-de {
  display: none !important;
}

html[lang="de"] .lang-en {
  display: none !important;
}

html[lang="de"] .lang-de {
  display: revert !important;
}

.language-stack {
  display: grid !important;
}

html[data-bilingual] .language-stack > .lang-en,
html[data-bilingual] .language-stack > .lang-de {
  display: block !important;
  grid-area: 1 / 1;
  visibility: visible;
}

html[lang="en"] .language-stack > .lang-de,
html[lang="de"] .language-stack > .lang-en {
  visibility: hidden;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  padding: 1.25rem var(--page-pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.4), transparent 18%),
    linear-gradient(135deg, rgba(220, 51, 255, 0.9), rgba(35, 153, 255, 0.88));
  box-shadow: 0 0 2rem rgba(156, 51, 255, 0.28);
}

.brand-mark::before {
  content: "♥";
  color: #07070a;
  font-size: 1.05rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-links a {
  padding: 0.45rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 220ms ease,
    padding-left 220ms var(--ease);
}

html[data-theme="control"] .nav-links a,
.control .nav-links a {
  border-radius: 0.12rem;
}

.lang-switch {
  position: relative;
  display: grid;
  min-height: 2.75rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 6, 9, 0.62);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  grid-template-columns: 1fr 1fr;
  backdrop-filter: blur(1rem);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.lang-option {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.25rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  place-items: center;
  transition:
    background 220ms ease,
    color 180ms ease;
}

/* Non-English/German locales apply via i18n.js; any stack it misses
   falls back to clean English instead of an EN+DE overlay. */
html[data-i18n-locale]:not([data-i18n-locale="en"]):not([data-i18n-locale="de"]) .language-stack .lang-de {
  display: none;
}

/* Language dropdown (all interface locales) */
.lang-menu .lang-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.lang-menu .lang-flag {
  flex-shrink: 0;
  width: 1.25rem;
  height: 0.9375rem;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lang-switch-wrap {
  position: relative;
}

button.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 6, 9, 0.62);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  backdrop-filter: blur(1rem);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.lang-switch .lang-option {
  min-width: auto;
  min-height: auto;
  padding: 0;
}

.lang-switch .lang-flag {
  width: 1.25rem;
  height: 0.9375rem;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-caret {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.05rem);
  transition: transform 200ms var(--ease);
}

.lang-switch[aria-expanded="true"] .lang-caret {
  transform: rotate(225deg) translateY(-0.05rem);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 120;
  display: grid;
  min-width: 13rem;
  max-height: min(24rem, 70vh);
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(8, 7, 11, 0.96);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(1rem);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lang-menu .lang-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.lang-menu .lang-code {
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.lang-menu button[data-active] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

html[lang="en"] .lang-option-en,
html[lang="de"] .lang-option-de {
  background: #fff;
  color: #09090b;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(8, 8, 11, 0.72);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.menu-toggle span,
.menu-toggle::before {
  position: relative;
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.3rem auto;
  background: currentColor;
  content: "";
  transition: transform 220ms var(--ease);
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(0.305rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  transform: translateY(-0.305rem) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    border-color: rgba(var(--header-accent-rgb), 0.7);
    background: rgba(var(--header-accent-rgb), 0.055);
    box-shadow:
      inset 0 0 0 1px var(--header-accent),
      0 0 1rem rgba(var(--header-accent-rgb), 0.24);
    color: #fff;
  }

  .lang-switch:hover,
  .menu-toggle:hover {
    border-color: rgba(var(--header-accent-rgb), 0.7);
    box-shadow:
      inset 0 0 0 1px var(--header-accent),
      0 0 1rem rgba(var(--header-accent-rgb), 0.24);
  }

  html[lang="en"] .lang-switch:hover .lang-option-de,
  html[lang="de"] .lang-switch:hover .lang-option-en {
    color: rgba(255, 255, 255, 0.82);
  }
}

.shell {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.55rem;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  backdrop-filter: blur(0.8rem);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.platform-card {
  position: relative;
  min-height: 15rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition:
    transform 260ms var(--ease),
    border-color 260ms ease,
    background 260ms ease;
}

.platform-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.platform-card strong {
  display: block;
  margin-top: 3rem;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.platform-card p {
  max-width: 25rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.platform-kicker {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-card-primary::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 51, 255, 0.32), transparent 68%);
  content: "";
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.social-row a:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.platform-socials {
  margin-top: 2rem;
}

.site-footer {
  padding: 3rem var(--page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.footer-note {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.footer-links a {
  text-decoration: none;
}

.concept-switch {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(4, 4, 7, 0.78);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.34);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(1rem);
}

html.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

html.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.age-gate {
  width: min(calc(100% - 2rem), 38rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  background: #0b0a0f;
  box-shadow: 0 3rem 10rem rgba(0, 0, 0, 0.78);
  color: #fff;
}

.age-gate::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(0.85rem);
}

.age-gate-inner {
  position: relative;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  overflow: hidden;
  text-align: center;
}

.age-gate-inner::before {
  position: absolute;
  inset: -40% 15% auto;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 44, 255, 0.35), transparent 66%);
  content: "";
  pointer-events: none;
}

.age-number {
  position: relative;
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.75rem;
  font-weight: 900;
}

.age-gate h2 {
  position: relative;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.age-gate p {
  position: relative;
  max-width: 29rem;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.66);
}

.age-actions {
  position: relative;
  display: grid;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.age-actions button,
.age-actions a {
  min-height: 3.2rem;
  padding: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.age-enter {
  border: 0;
  background: #fff;
  color: #07070a;
}

.age-exit {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
}

.age-fineprint {
  font-size: 0.72rem;
}

@media (max-width: 70rem) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 0.5rem);
    right: var(--page-pad);
    display: none;
    width: min(19rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    background: rgba(7, 7, 10, 0.95);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(1rem);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .nav-links a:focus-visible {
    border-color: var(--header-accent);
    background: linear-gradient(90deg, rgba(var(--header-accent-rgb), 0.1), transparent 65%);
    color: #fff;
    padding-left: 1.05rem;
  }
}

@media (hover: hover) and (pointer: fine) and (max-width: 70rem) {
  .nav-links a:hover {
    border-color: var(--header-accent);
    background: linear-gradient(90deg, rgba(var(--header-accent-rgb), 0.1), transparent 65%);
    padding-left: 1.05rem;
  }
}

@media (max-width: 56rem) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 12rem;
  }
}

@media (max-width: 40rem) {
  .site-header {
    min-height: 4.75rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .lang-switch {
    min-height: 2.5rem;
  }

  .lang-option {
    min-width: 2.15rem;
    padding-inline: 0.45rem;
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .concept-switch {
    right: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.65rem;
  }

  .age-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
