/* ───────────────────────────────────────
   PaarMission – Modernes, emotionales Design
   Mobile-first • Sanft • Intim • Spielerisch
   ─────────────────────────────────────── */

:root {
  --primary: #ff6b9d;       /* Rosé-Pink – Liebe, Zärtlichkeit */
  --primary-dark: #e53e71;
  --secondary: #6eceda;     /* Sanftes Türkis – Vertrauen, Ruhe */
  --background: #fdf9f7;    /* Warmes Weiß (Elfenbein-Ton) */
  --card-bg: #ffffff;
  --text: #2d2b2b;
  --text-light: #6b6868;
  --border: #f0e9e5;
  --success: #4ade80;
  --error: #f87171;
  --shadow: rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  padding: 16px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.container {
  max-width: 560px;
  width: 100%;
}

/* ─── TYPOGRAPHIE ─────────────────────── */
h1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

header p {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
  font-weight: 500;
}

/* ─── KATEGORIE-KARTEN ────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.category-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 16px var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card:hover::before,
.category-card:focus::before {
  transform: scaleX(1);
}

.category-card:hover,
.category-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: var(--primary-dark);
  outline: none;
}

/* ─── FORMULARE & BUTTONS ─────────────── */
.auth-form {
  padding: 28px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow);
  margin-top: 10px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  background: #fdfdfd;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.15);
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), #ff85a2);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), #ff6b9d);
}

/* ─── ALERTS ──────────────────────────── */
.alert {
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.alert-error {
  background: #fff1f2;
  color: #d32f2f;
  border: 1px solid #ffcdd2;
}

.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* ─── FOOTER & LINKS ──────────────────── */
footer {
  text-align: center;
  margin-top: 30px;
  color: var(--text-light);
  font-size: 0.95rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

/* ─── LEERER ZUSTAND ──────────────────── */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-light);
}

.empty-state a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.9rem;
  }

  .auth-form {
    padding: 24px 20px;
  }
}

/* ─── SANFTE SCROLLBARS (optional) ────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}