/* CashJäger Link-in-Bio — mobile first, dark fintech */
:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #162033;
  --bg-card-hover: #1c2940;
  --border: rgba(148, 163, 184, 0.18);
  --text: #e8eef7;
  --text-muted: #94a3b8;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.14);
  --accent-strong: #16a34a;
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --radius: 16px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --max: 480px;
  --touch: 48px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 197, 94, 0.12), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

/* Header */
.header {
  text-align: center;
  padding: 1.5rem 0 1.25rem;
}

.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e3a2f, #0f172a);
  border: 2px solid rgba(34, 197, 94, 0.45);
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: var(--shadow);
}

.brand {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.claim {
  margin: 0.4rem 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* Sections */
.section {
  margin-top: 1.75rem;
}

.section-title {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Category filters */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cat-btn {
  min-height: var(--touch);
  padding: 0.75rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.cat-btn:hover,
.cat-btn:focus-visible {
  background: var(--bg-card-hover);
  border-color: rgba(34, 197, 94, 0.4);
  outline: none;
}

.cat-btn.active {
  background: var(--accent-soft);
  border-color: rgba(34, 197, 94, 0.55);
  color: #bbf7d0;
}

.cat-btn:active {
  transform: scale(0.98);
}

.cat-btn.full {
  grid-column: 1 / -1;
}

/* Deal cards */
.deals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deal-card {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  min-height: 72px;
}

.deal-card:hover,
.deal-card:focus-visible {
  background: var(--bg-card-hover);
  border-color: rgba(34, 197, 94, 0.45);
  outline: none;
}

.deal-card:active {
  transform: scale(0.985);
}

.deal-card.featured {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), var(--bg-card));
}

.deal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.deal-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.deal-benefit {
  margin: 0.15rem 0 0.55rem;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.95rem;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.pill.ad {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.3);
}

.pill.featured-pill {
  background: var(--accent-soft);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.deal-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.empty,
.loading,
.error {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.error {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}

/* Guide / Social CTA cards */
.cta-card {
  display: block;
  width: 100%;
  min-height: var(--touch);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.cta-card.primary {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-color: transparent;
  color: #052e16;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28);
}

.cta-card.primary:hover,
.cta-card.primary:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.cta-card:active {
  transform: scale(0.985);
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.socials .cta-card {
  background: var(--bg-card);
}

.socials .cta-card:hover,
.socials .cta-card:focus-visible {
  border-color: rgba(34, 197, 94, 0.4);
  background: var(--bg-card-hover);
  outline: none;
}

.hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Footer */
.footer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-page .page {
  padding-top: 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.legal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.legal-content h1 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.legal-content h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

@media (min-width: 480px) {
  .page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* Gratis / Probieraktionen */
.gratis-intro {
  margin: -0.35rem 0 0.85rem;
}

.deal-note {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pill.official {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.pill.kind {
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.gratis-card {
  border-color: rgba(56, 189, 248, 0.18);
}

.disclaimer {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
}
