/* DefProb CO Ltd. site styles. Mobile first. @mike 02.09 */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #09090d;
  --bg-2: #101018;
  --panel: #16161f;
  --panel-2: #1c1c28;
  --line: #323245;
  --text: #f4f2fa;
  --muted: #c9c4d4;
  --accent: #ff3d8a;
  --accent-hover: #ff5fa0;
  --teal: #2ee6c7;
  --focus: #ffe566;
  --danger: #ff6b6b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 10px;
  --header-h: 68px;
  --max: 1120px;
  --font: "Outfit", Arial, sans-serif;
  --display: "Orbitron", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body.is-locked,
html.show-age,
html.show-age body {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--focus);
  color: #111;
  padding: 8px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-lead {
  color: var(--muted);
  max-width: 62ch;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(9, 9, 13, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo img {
  width: 36px;
  height: 36px;
}

.logo:hover {
  color: var(--teal);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: var(--panel-2);
  color: var(--teal);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -6px;
}

.menu-toggle-bars::after {
  top: 6px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 90;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 95;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-drawer a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] {
  background: var(--panel);
  color: var(--teal);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #c2185b;
  color: #fff;
}

.btn-primary:hover {
  background: #d81b60;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero */

.hero {
  padding: 0;
}

.hero-frame {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 72vh;
  object-fit: cover;
  opacity: 0.7;
  position: absolute;
  z-index: -1;
}

.hero-copy .btn.btn-ghost {
  background: #ffffff61;
}

.hero-copy {
  /* position: absolute; */
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px 0 48px;
  background: transparent;
}

.hero-copy .wrap {
  width: min(100% - 32px, var(--max));
  padding: 20px 22px 22px;
}

.hero-copy p {
  max-width: 60ch;
  color: var(--muted);
}

/* Cards / grids */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.game-card,
.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.game-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.game-card .thumb {
  overflow: hidden;
}

.game-card .thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (max-width: 720px) {
  .game-card .thumb img {
    aspect-ratio: 4/3;
    height: auto;
  }
}

.game-card:hover .thumb img {
  transform: scale(1.04);
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--teal);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  display: none;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

/* Disclaimer */

.disclaimer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
}

/* Footer */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal);
}

.copyright {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

body.has-cookie-banner {
  padding-bottom: 140px;
}

/* Filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.filters button {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
}

.filters button[aria-pressed="true"],
.filters button:hover {
  border-color: var(--accent);
  color: #fff;
  background: #3a1730;
}

.game-card.is-hidden {
  display: none;
}

/* Split / media blocks */

.media-block {
  display: grid;
  gap: 22px;
}

.media-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.media-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.values {
  display: grid;
  gap: 16px;
}

.value-item {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Game detail */

.banner-frame {
  position: relative;
  overflow: hidden;
}

.banner-frame img {
  width: 100%;
  height: 42vh;
  min-height: 240px;
  object-fit: cover;
}

.shots {
  display: grid;
  gap: 12px;
}

.shots img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 16px 58px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Forms */

.form {
  display: grid;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  padding: 10px 12px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map-frame {
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.legal ol {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 16px;
  color: var(--muted);
}

.legal li strong {
  color: var(--text);
  display: inline-block;
  margin-bottom: 4px;
}

/* Age gate */

.age-gate,
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate.is-open,
html.show-age .age-gate,
.modal.is-open {
  display: flex;
}

.age-gate-overlay,
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.82);
}

.age-card,
.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.age-card h2,
.age-title,
.modal-card h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.6em;
}

.age-title {
  color: var(--text);
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: #14141e;
  border-top: 2px solid var(--accent);
  padding: 16px 0;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.32s ease,
    opacity 0.32s ease;
}

.cookie-banner.is-open {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.cookie-banner p {
  margin: 0;
  color: var(--text);
}

@media (min-width: 720px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shots {
    grid-template-columns: repeat(3, 1fr);
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.4fr;
  }

  .cookie-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .media-block.split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-frame,
  .hero-frame img {
    height: 78vh;
  }
}

/* @mike 22.09.2026: aliases after the class rename that never happened */
.main-header {
  /* same bar, product asked for this name in the brief */
}
.hero-section {
}
.hero-baner {
  position: relative;
}
.card-btn,
.cardBtn {
  cursor: pointer;
}
.gameCard {
}
.secton-dark {
  background: #0c0c12;
}
.pricin-card {
  border-radius: 9px;
} /* leftover from a pricing pass, ignore */
.card-fix-2026 {
  position: relative;
  z-index: 1;
}

/* 3 col grid from tablet. Anna wanted a 3x3 board, we only shipped 6 tiles. */
@media (min-width: 993px) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* play pages: iframe eats the leftover viewport, page itself should not scroll */
html.dp-play,
body.dp-play {
  height: 100%;
  overflow: hidden;
}

body.dp-play {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.dp-play .playShell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mw-stage,
.gameStage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.mw-stage iframe,
.gameStage iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.playStrip {
  flex: 0 0 auto;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

body.dp-play .site-footer .footer-grid {
  display: none;
}

body.dp-play .site-footer {
  padding: 4px 0 6px;
  margin: 0;
}

body.dp-play .copyright {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.72rem;
}

/* iOS 16: 100dvh still jumps when the url bar hides. live with it. @tom 03.10 */
@media (max-width: 719px) {
  .mw-stage,
  .gameStage {
    min-height: 62dvh;
  }
}

/* Homepage deferred demo: poster and iframe share one ratio box */
.homePlay-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.homePlay-poster,
.homePlay-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.homePlay-poster {
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.08);
}

.homePlay-frame iframe {
  overflow: hidden;
  z-index: 2;
}

.homePlay-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(9, 9, 13, 0.42);
}

.homePlay.is-on .homePlay-mask,
.homePlay.is-on .homePlay-poster {
  display: none;
}

@media (max-width: 719px) {
  .homePlay-frame {
    aspect-ratio: 4 / 3;
  }
}
