:root {
  --color-bg-start: #1a0404;
  --color-bg-end: #6e0f0f;
  --color-pitch: #7c1414;
  --color-pitch-dark: #5a0e0e;
  --color-accent: #ffffff;
  --color-accent-dark: #f0f0f0;
  --color-text: #fff8f8;
  --color-text-muted: #e3bcbc;
  --color-surface: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.18);
  --radius: 16px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top, var(--color-bg-end), var(--color-bg-start)),
    repeating-linear-gradient(
      100deg,
      var(--color-pitch) 0,
      var(--color-pitch) 90px,
      var(--color-pitch-dark) 90px,
      var(--color-pitch-dark) 180px
    );
  background-blend-mode: overlay, normal;
  overflow-x: hidden;
}

.pitch-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.5;
}

.pitch-lines .center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-lines .center-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-lines .halfway-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge .ball-icon {
  width: 12px;
  height: 12px;
  color: var(--color-accent);
  animation: pulse 1.6s ease-in-out infinite;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  line-height: 1.2;
}

.description {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 520px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.countdown .unit {
  min-width: 84px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.countdown .value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.countdown .label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA Button (ÖVB Weiterleitung) */
.cta-wrapper {
  margin: 8px 0 36px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #7a0d0d;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.35);
}

.btn-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-cta .btn-ball {
  width: 22px;
  height: 22px;
}

/* Formular */
.notify-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1 1 220px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  font-size: 0.95rem;
}

.notify-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.notify-form input[type="email"]:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.notify-form button {
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notify-form button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  min-height: 20px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

.contact {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.social a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social a:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

footer {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@media (max-width: 480px) {
  .container {
    padding: 36px 20px;
  }

  .countdown .unit {
    min-width: 70px;
  }
}
