/*
Theme Name: Picksquad
Theme URI: https://picksquad.de
Author: Picksquad
Description: Übergangsseite für Picksquad im Dark-Glass-Look der App, mit endlos laufender Animation. Impressum und Datenschutz erscheinen in der Fußzeile, sobald es die WordPress-Seiten /impressum/ und /datenschutz/ gibt. Schrift Inter liegt im Theme, es werden keine fremden Server geladen.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: picksquad
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url('assets/fonts/inter-latin-800-normal.woff2') format('woff2');
}

:root {
  --bg: #05070f;
  --text: #ffffff;
  --body: #bfc3cf;
  --muted: #8a8f9c;
  --subtle: #6b7080;
  --primary: #4f7cff;
  --red: #d0406a;
  --bordeaux: #8b1e3f;
  --green: #3ddc84;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Hintergrund ---------------------------------------------------------------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.aurora span:nth-child(1) {
  top: -38vmax;
  left: 50%;
  width: 95vmax;
  height: 75vmax;
  margin-left: -47.5vmax;
  background: radial-gradient(closest-side, rgba(43, 91, 240, 0.55), rgba(9, 49, 141, 0.22) 55%, rgba(5, 7, 15, 0));
  animation: drift-a 22s ease-in-out infinite alternate;
}

.aurora span:nth-child(2) {
  top: 18vh;
  right: -30vmax;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(139, 30, 63, 0.32), rgba(139, 30, 63, 0.08) 55%, rgba(5, 7, 15, 0));
  animation: drift-b 26s ease-in-out infinite alternate;
}

.aurora span:nth-child(3) {
  bottom: -40vmax;
  left: -25vmax;
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(closest-side, rgba(52, 102, 242, 0.22), rgba(5, 7, 15, 0));
  animation: drift-c 30s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(-6vmax, 5vmax, 0) scale(1.12);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-14vmax, -8vmax, 0) scale(0.9);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(12vmax, -10vmax, 0) scale(1.15);
  }
}

/* Schriftzug ----------------------------------------------------------------- */

.wordmark {
  display: inline-flex;
  margin: 0;
  white-space: nowrap;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.wordmark .i {
  position: relative;
  display: inline-block;
}

.wordmark .dot {
  position: absolute;
  left: 0.0525em;
  top: 0.1948em;
  width: 0.176em;
  height: 0.164em;
  border-radius: 50%;
  background: var(--red);
}

.hero .wordmark .dot {
  animation: hop 3.2s cubic-bezier(0.3, 0, 0.3, 1) infinite;
  transform-origin: 50% 100%;
}

@keyframes hop {
  0%,
  58%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  62% {
    transform: translateY(0) scale(1.18, 0.82);
  }
  74% {
    transform: translateY(-0.42em) scale(0.92, 1.1);
  }
  84% {
    transform: translateY(0) scale(1, 1);
  }
  88% {
    transform: translateY(0) scale(1.14, 0.86);
  }
  93% {
    transform: translateY(-0.1em) scale(1, 1);
  }
}

/* Inhalt --------------------------------------------------------------------- */

.hero {
  max-width: 820px;
  padding-top: clamp(72px, 16vh, 170px);
  text-align: center;
}

.hero .wordmark {
  font-size: clamp(60px, 18vw, 112px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bordeaux);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
  to {
    opacity: 0.3;
  }
}

.headline {
  margin: 26px 0 8px;
  font-size: clamp(26px, 6.4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.claim {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

/* Wettscheine ---------------------------------------------------------------- */

.marquee {
  position: relative;
  margin-top: clamp(40px, 7vh, 72px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.row {
  display: flex;
  width: max-content;
  padding: 7px 0;
  animation: slide 46s linear infinite;
  will-change: transform;
}

.row.back {
  animation-duration: 58s;
  animation-direction: reverse;
}

@keyframes slide {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticket {
  position: relative;
  flex: none;
  width: 212px;
  margin-right: 14px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-align: left;
}

.t-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
}

.t-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.t-state.live {
  color: #fff;
}

.t-state.live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1s ease-in-out infinite alternate;
}

.t-state.won {
  color: var(--green);
}

.t-cut {
  position: relative;
  margin: 0 16px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.16);
}

.t-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 14px;
}

.t-bottom small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.t-bottom b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.odds {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #0b2a7a;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Kontakt -------------------------------------------------------------------- */

.contact {
  padding-top: clamp(36px, 6vh, 56px);
  padding-bottom: 56px;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  opacity: 0.9;
}

.button:active {
  transform: scale(0.97);
}

/* Rechtsseiten --------------------------------------------------------------- */

.bar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 20px 0;
}

.bar .wordmark {
  font-size: 30px;
}

.legal {
  max-width: 760px;
  padding-top: 36px;
  padding-bottom: 56px;
}

.legal h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.content {
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

.content h2,
.content h3 {
  margin: 36px 0 10px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

.content h2 {
  font-size: 22px;
}

.content h3 {
  font-size: 18px;
}

.content p,
.content ul,
.content ol {
  margin: 0 0 16px;
}

.content a {
  color: var(--primary);
  text-underline-offset: 3px;
}

.content strong {
  color: var(--text);
}

/* Fußzeile ------------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 26px 20px 36px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--subtle);
}

.footer nav {
  margin-bottom: 8px;
  color: var(--muted);
}

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

.footer nav a:hover {
  color: var(--text);
}

.footer p {
  max-width: 520px;
  margin: 0 auto;
}

.footer p a {
  color: var(--muted);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .aurora span,
  .row,
  .pill::before,
  .t-state.live::before,
  .hero .wordmark .dot {
    animation: none;
  }
}
