/* ============================================================
   SmashScore – Home (Redesign v1)
   Award-inspiriert: editorial, ruhig, viel Luft, echte Tiefe.
   ============================================================ */
:root {
  --h-bg-0: #06070d;
  --h-bg-1: #0a0d16;
  --h-card: #121826;
  --h-card-2: #0d1220;
  --h-stroke: rgba(255, 255, 255, 0.08);
  --h-stroke-2: rgba(255, 255, 255, 0.05);
  --h-ink: #f5f7fd;
  --h-muted: #8b95ab;
  --h-host: #5b8cff;
  --h-join: #2fe0ac;
}

body:has(.home) {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(91, 140, 255, 0.14), transparent 60%),
    radial-gradient(90% 50% at 100% 108%, rgba(47, 224, 172, 0.10), transparent 60%),
    linear-gradient(180deg, var(--h-bg-1), var(--h-bg-0));
}

.home {
  position: relative;
  min-height: 100dvh;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 20px) 22px calc(env(safe-area-inset-bottom) + 24px);
}

/* ---- Top ---- */
.home-top { display: flex; align-items: center; justify-content: space-between; }
.home-logo { width: clamp(132px, 40vw, 176px); height: auto; display: block; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)); }
.home-dev {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px; text-decoration: none;
  color: var(--h-muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--h-stroke); transition: transform .12s, color .12s;
}
.home-dev:active { transform: scale(0.94); }

/* ---- Hero (editorial headline, unten verankert) ---- */
.home-hero { margin-top: auto; padding: 30px 2px 26px; }
.home-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--h-host); margin-bottom: 14px;
}
.home-h1 {
  margin: 0; font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(38px, 11.5vw, 56px); line-height: 1.04; letter-spacing: 0.005em; color: #fff;
}
.home-h1 .accent {
  background: linear-gradient(100deg, var(--h-host), var(--h-join));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-sub { margin: 16px 2px 0; color: var(--h-muted); font-size: 15.5px; line-height: 1.5; max-width: 34ch; }

/* ---- Primäre Aktionen ---- */
.home-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.action-card {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 18px; border-radius: 22px; text-decoration: none;
  background: linear-gradient(180deg, var(--h-card), var(--h-card-2));
  border: 1px solid var(--h-stroke);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.action-card:active { transform: scale(0.982); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45); }
.action-ic {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 26px;
}
.action-host .action-ic { background: radial-gradient(120% 120% at 30% 20%, rgba(91, 140, 255, 0.34), rgba(91, 140, 255, 0.08)); box-shadow: inset 0 0 0 1px rgba(91, 140, 255, 0.4); }
.action-join .action-ic { background: radial-gradient(120% 120% at 30% 20%, rgba(47, 224, 172, 0.32), rgba(47, 224, 172, 0.08)); box-shadow: inset 0 0 0 1px rgba(47, 224, 172, 0.4); }
.action-host { border-top-color: rgba(91, 140, 255, 0.35); }
.action-join { border-top-color: rgba(47, 224, 172, 0.32); }
.action-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.action-t { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.action-d { font-size: 12.5px; color: var(--h-muted); }
.action-arrow { color: var(--h-muted); font-size: 26px; font-weight: 300; flex-shrink: 0; line-height: 1; }

/* ---- Sekundär ---- */
.home-secondary { display: flex; gap: 12px; margin-top: 14px; }
.chip {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 12px; border-radius: 16px; text-decoration: none;
  color: var(--h-ink); font-weight: 700; font-size: 14.5px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--h-stroke-2);
  transition: transform .12s, background .12s;
}
.chip:active { transform: scale(0.97); }
.chip span { font-size: 17px; }
