/* Rabbit Mink - static site styles. Plain CSS, no build step. */
:root {
  /* Palette mirrors the Flutter app: Material 3 dark, seed #7B3FF2 */
  --bg: #141218;
  --bg-soft: #1c1a22;
  --card: #251f30;
  --text: #e7e0eb;
  --muted: #a8a0b4;
  --accent: #7b3ff2;
  --accent-2: #b69df5;
  --border: #322c3d;
  --radius: 14px;
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Sticky footer: content grows to fill, footer pinned to the bottom */
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 16px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; line-height: 1;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0d12; }
.btn-primary:hover { text-decoration: none; opacity: 0.92; }
.btn-tg {
  display: inline-flex; align-items: center; gap: 9px;
  background: #2AABEE; color: #fff;
}
.btn-tg:hover { text-decoration: none; background: #1d97d6; }
.btn-tg svg { width: 20px; height: 20px; fill: currentColor; }
.btn-ghost { border-color: var(--border); color: var(--text); margin-left: 10px; }
.btn-ghost:hover { text-decoration: none; border-color: var(--muted); }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

section.block { padding: 56px 0; border-top: 1px solid var(--border); }
section.block h2 { font-size: 1.6rem; margin: 0 0 24px; }

/* Legal / article pages */
.article { padding: 48px 0 72px; }
.article h1 { font-size: 2rem; margin: 0 0 8px; }
.article .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 32px; }
.article h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.article p, .article li { color: #cdd2dc; }
.article ul { padding-left: 22px; }
.note {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 12px 16px; color: var(--muted); font-size: 0.92rem; margin: 18px 0;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .copy { font-size: 0.88rem; }

/* Age / consent gate */
.gate-wrap {
  min-height: calc(100vh - 62px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.gate {
  max-width: 640px; width: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 34px 30px; text-align: center;
}
.gate .badge {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: #0b0d12; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.gate h1 { font-size: 1.5rem; margin: 0 0 16px; }
.gate p { color: #cdd2dc; }
.gate .agree-title { font-weight: 600; margin: 22px 0 6px; }
.gate ul { text-align: left; color: #cdd2dc; padding-left: 22px; margin: 0 auto; max-width: 520px; }
.gate ul li { margin: 8px 0; }
.gate .actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.btn-leave { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-leave:hover { text-decoration: none; border-color: var(--muted); color: var(--text); }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .gate { padding: 24px 20px; }
}
