:root {
  --night: #07101f;
  --night-deep: #030915;
  --panel: #0c1627;
  --panel-soft: #121e31;
  --ink: #f5f8fb;
  --muted: #aab6c8;
  --line: rgba(255, 255, 255, 0.14);
  --teal: #00a8b5;
  --teal-light: #26d5d2;
  --focus: #f6ce61;
  --radius: 3px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--night-deep);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--night-deep);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
[role="button"] {
  cursor: pointer;
}

button {
  font: inherit;
}

button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.shield-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
  background: var(--night-deep);
}

.shield-stage {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-color: var(--night);
  background-image: url("../images/direktflirten-background.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.shield-stage::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 21, 0.08) 0%, rgba(3, 9, 21, 0.18) 44%, rgba(3, 9, 21, 0.91) 73%, rgba(3, 9, 21, 0.98) 100%),
    linear-gradient(0deg, rgba(3, 9, 21, 0.86) 0%, transparent 30%);
}

.shield-stage::after {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.06) 3px 4px);
  pointer-events: none;
}

.shield-utility {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: min(100% - 52px, 1420px);
  margin: 0 auto;
  padding: 20px 0;
}

.shield-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shield-live::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 5px rgba(38, 213, 210, 0.15);
  content: "";
}

.shield-member {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(3, 9, 21, 0.82);
  font-weight: 750;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.shield-member:hover {
  border-color: var(--teal-light);
  background: var(--panel);
  transform: translateY(-1px);
}

.shield-main {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: end;
  width: min(100% - 52px, 1420px);
  margin: 0 auto;
  padding: 20px 0 44px;
}

.shield-ticket {
  position: relative;
  width: min(440px, 100%);
  padding: 38px 40px 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(7, 16, 31, 0.96);
  box-shadow: var(--shadow);
}

.shield-ticket::before,
.shield-ticket::after {
  position: absolute;
  left: -1px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  border-radius: 0 50% 50% 0;
  background: var(--night-deep);
  content: "";
}

.shield-ticket::before {
  top: 31%;
}

.shield-ticket::after {
  top: 69%;
}

.shield-overline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 22px;
  color: var(--teal-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shield-overline span:last-child {
  color: var(--muted);
}

.shield-display {
  max-width: 11ch;
  margin: 0;
  color: white;
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(3.2rem, 5.2vw, 5.3rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

.shield-display em {
  color: var(--teal-light);
  font-style: normal;
}

.shield-lead {
  max-width: 35ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.shield-route {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-block: 1px solid var(--line);
}

.shield-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  border-bottom: 1px solid var(--line);
  color: #dce4ed;
  font-size: 0.9rem;
}

.shield-step:last-child {
  border-bottom: 0;
}

.shield-step b {
  color: var(--teal-light);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.shield-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 28px;
}

.shield-primary,
.shield-secondary {
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.shield-primary {
  border: 1px solid var(--teal-light);
  color: #001014;
  background: var(--teal-light);
}

.shield-primary:hover {
  background: #63eee9;
  transform: translateY(-2px);
}

.shield-secondary {
  width: 54px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: 1.2rem;
}

.shield-secondary:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

.shield-fineprint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #8795a8;
  font-size: 0.72rem;
  line-height: 1.45;
}

.shield-lock {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(38, 213, 210, 0.42);
  border-radius: 50%;
  color: var(--teal-light);
  font-size: 0.65rem;
}

.shield-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 52px, 1420px);
  margin: 0 auto;
  padding: 16px 0 19px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.shield-footer strong {
  color: rgba(255, 255, 255, 0.88);
}

.shield-footer-nav {
  display: flex;
  gap: 18px;
}

.shield-footer-nav span {
  white-space: nowrap;
}

.shield-popup {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  padding: 18px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(1, 5, 12, 0.82);
  transition: visibility 0s linear 180ms, opacity 180ms ease;
}

.shield-popup.is-visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.shield-popup-card {
  position: relative;
  width: min(100%, 470px);
  padding: 40px 42px 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--teal-light);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.62);
  transform: translateY(18px);
  transition: transform 180ms ease;
}

.shield-popup.is-visible .shield-popup-card {
  transform: translateY(0);
}

.shield-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
}

.shield-popup-close:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

.shield-popup-tag {
  margin: 0 0 14px;
  color: var(--teal-light);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shield-popup-title {
  max-width: 10ch;
  margin: 0;
  color: white;
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

.shield-popup-copy {
  max-width: 38ch;
  margin: 20px 0 26px;
  color: var(--muted);
  line-height: 1.58;
}

.shield-popup-actions {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 10px;
}

.shield-popup-accept,
.shield-popup-refuse {
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 850;
}

.shield-popup-accept {
  border: 1px solid var(--teal-light);
  color: #001014;
  background: var(--teal-light);
}

.shield-popup-accept:hover {
  background: #63eee9;
}

.shield-popup-refuse {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.shield-popup-refuse:hover {
  border-color: #7c899b;
  background: var(--panel-soft);
}

/* SEO Content */
details {
  position: absolute;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

details summary {
  display: none;
}

details article {
  max-width: 760px;
}

@media (min-width: 761px) and (max-height: 790px) {
  .shield-utility {
    padding-block: 12px;
  }

  .shield-main {
    padding: 8px 0 18px;
  }

  .shield-ticket {
    padding: 26px 34px 24px;
  }

  .shield-overline {
    margin-bottom: 14px;
  }

  .shield-display {
    font-size: clamp(3rem, 7vh, 4.1rem);
  }

  .shield-lead {
    margin-top: 16px;
    line-height: 1.45;
  }

  .shield-route {
    margin-top: 18px;
  }

  .shield-step {
    min-height: 41px;
  }

  .shield-actions {
    margin-top: 18px;
  }

  .shield-footer {
    padding-block: 10px;
  }
}

@media (max-width: 760px) {
  .shield-stage {
    background-position: 37% center;
  }

  .shield-stage::before {
    background:
      linear-gradient(0deg, rgba(3, 9, 21, 0.98) 0%, rgba(3, 9, 21, 0.77) 56%, rgba(3, 9, 21, 0.18) 100%),
      linear-gradient(90deg, rgba(3, 9, 21, 0.15), rgba(3, 9, 21, 0.45));
  }

  .shield-utility,
  .shield-main,
  .shield-footer {
    width: min(100% - 28px, 640px);
  }

  .shield-utility {
    justify-content: flex-end;
    padding: 14px 0;
  }

  .shield-live {
    font-size: 0.67rem;
  }

  .shield-member {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .shield-main {
    align-items: end;
    justify-items: stretch;
    padding: 20px 0 10px;
  }

  .shield-ticket {
    width: 100%;
    padding: 24px 22px 21px;
    background: rgba(7, 16, 31, 0.97);
  }

  .shield-overline {
    margin-bottom: 14px;
  }

  .shield-display {
    max-width: 12ch;
    font-size: clamp(2.5rem, 13vw, 3.6rem);
    line-height: 0.91;
  }

  .shield-lead {
    margin-top: 15px;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .shield-route {
    margin-top: 17px;
  }

  .shield-step {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .shield-actions {
    margin-top: 17px;
  }

  .shield-primary,
  .shield-secondary {
    min-height: 48px;
  }

  .shield-fineprint {
    margin-top: 11px;
  }

  .shield-footer {
    padding: 8px 0 13px;
  }

  .shield-footer-nav {
    display: none;
  }

  .shield-popup-card {
    padding: 34px 24px 25px;
  }
}

@media (max-width: 390px) and (max-height: 820px) {
  .shield-live {
    display: none;
  }

  .shield-utility {
    justify-content: flex-end;
    padding-block: 9px;
  }

  .shield-main {
    padding-top: 6px;
  }

  .shield-ticket {
    padding: 19px 18px 17px;
  }

  .shield-display {
    font-size: 2.45rem;
  }

  .shield-lead {
    margin-top: 11px;
  }

  .shield-route {
    margin-top: 12px;
  }

  .shield-step {
    min-height: 36px;
  }

  .shield-actions {
    margin-top: 13px;
  }

  .shield-footer {
    padding-bottom: 9px;
  }
}

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