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

:root {
  --pink: #ff2d6e;
  --purple: #9d00ff;
  --dark: #080812;
  --surface: #110f1e;
  --card: #1a1728;
  --border: rgba(255,45,110,0.2);
  --text: #f0e0ea;
  --muted: rgba(240,224,234,0.45);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  min-height: 100vh;
  overflow-y: auto;
}

/* ─── Age Gate ─── */
.age-gate {
  position: fixed; inset: 0;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

.age-gate-card {
  text-align: center;
  max-width: 500px;
  padding: 48px 40px;
  background: #0d0d1a;
  border: 1px solid rgba(255,45,110,0.35);
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(255,45,110,0.15), 0 0 0 1px rgba(157,0,255,0.1);
}

.age-gate-logo { font-size: 72px; line-height: 1; margin-bottom: 16px; }

.age-gate-card h1 {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff2d6e, #9d00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.age-gate-sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.age-gate-warning {
  background: rgba(255,45,110,0.08);
  border: 1px solid rgba(255,45,110,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.age-gate-warning p { color: rgba(240,224,234,0.75); font-size: 14px; }
.age-gate-warning strong { color: var(--text); }

.age-gate-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.btn-enter {
  padding: 15px 24px;
  background: linear-gradient(135deg, #ff2d6e, #9d00ff);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-enter:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,45,110,0.4); }

.btn-leave {
  display: block;
  padding: 12px 24px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-leave:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.age-gate-legal { color: rgba(240,224,234,0.3); font-size: 11px; line-height: 1.5; }

/* ─── Auth ─── */
.auth-wrap {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.auth-bg { position: absolute; inset: 0; overflow: hidden; }
.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.b1 { width: 600px; height: 600px; background: #ff2d6e; top: -200px; left: -200px; animation: float1 8s ease-in-out infinite; }
.b2 { width: 500px; height: 500px; background: #9d00ff; bottom: -150px; right: -100px; animation: float2 10s ease-in-out infinite; }
.b3 { width: 400px; height: 400px; background: #ff6b9d; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: float3 7s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,20px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes float3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-48%,-52%)} }

.auth-container {
  position: relative;
  background: rgba(17,15,30,0.85);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(157,0,255,0.1);
}

.auth-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.auth-logo span { font-size: 40px; }
.auth-logo h1 {
  font-size: 26px; font-weight: 900;
  background: linear-gradient(135deg, #ff2d6e, #9d00ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-logo p { font-size: 12px; color: var(--muted); margin-top: 2px; }

.tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px; padding: 4px;
  margin-bottom: 24px;
}
.tab {
  flex: 1; padding: 10px;
  border: none; background: transparent;
  color: var(--muted); border-radius: 9px;
  cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all 0.2s;
}
.tab.active { background: linear-gradient(135deg, #ff2d6e, #9d00ff); color: #fff; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form.hidden { display: none; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.hint { font-weight: 400; }
.age-warn { color: #ff9d00; }

.field input {
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: rgba(255,45,110,0.6); background: rgba(255,45,110,0.04); }
.field input::placeholder { color: rgba(240,224,234,0.25); }
.field input[type=date]::-webkit-calendar-picker-indicator { filter: invert(0.6) sepia(1) saturate(3) hue-rotate(280deg); }

.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 10px 12px;
}
.checkbox-row input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; cursor: pointer; accent-color: var(--pink); }
.checkbox-row label { font-size: 12px; color: var(--muted); cursor: pointer; }
.checkbox-row label a { color: var(--pink); text-decoration: none; }
.checkbox-row strong { color: var(--text); }

.err { color: #ff6b6b; font-size: 12px; min-height: 16px; }

.btn-submit {
  padding: 13px;
  background: linear-gradient(135deg, #ff2d6e, #9d00ff);
  color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,45,110,0.35); }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.auth-stats {
  display: flex; justify-content: space-around;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted);
}
.stat span { font-size: 18px; }

.hidden { display: none !important; }

.gender-select {
  display: flex;
  gap: 8px;
}
.gender-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
  user-select: none;
}
.gender-opt:has(input:checked) {
  border-color: #ff2d6e;
  background: rgba(255,45,110,0.12);
  color: #fff;
}
.gender-opt input { display: none; }

/* ── Mobile (≤ 480px) ─────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Age Gate */
  .age-gate-card { padding: 28px 18px; margin: 12px; border-radius: 18px; }
  .age-gate-logo { font-size: 52px; }
  .age-gate-card h1 { font-size: 28px; }
  .age-gate-sub { margin-bottom: 18px; }
  .age-gate-warning { padding: 12px 14px; margin-bottom: 18px; }
  .btn-enter { padding: 13px 20px; font-size: 15px; }

  /* Auth-Container */
  .auth-wrap { align-items: flex-start; padding: 10px; }
  .auth-container { padding: 24px 18px; border-radius: 18px; }
  .auth-logo { margin-bottom: 20px; gap: 10px; }
  .auth-logo span { font-size: 32px; }
  .auth-logo h1 { font-size: 22px; }

  /* Felder */
  .field input { padding: 10px 12px; }
  .tabs { margin-bottom: 18px; }

  /* Geschlecht */
  .gender-select { gap: 6px; }
  .gender-opt { padding: 8px 4px; font-size: 12px; gap: 4px; }

  /* Submit */
  .btn-submit { padding: 12px; font-size: 14px; }
}
