/* ──────────────────────────────────────────────────────────────────
   voice.shruvi.com — server-rendered Jinja + htmx UI
   Visual language: matches landing/index.html (Audiowide + Nunito,
   pure black bg, glass surfaces, purple accent).
   ────────────────────────────────────────────────────────────────── */

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

:root {
  --bg: #000;
  --bg2: #0a0a0a;
  --bg3: #111;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #86868b;
  --muted-strong: #a8a8ad;
  --accent: #6e40c9;
  --accent2: #9b6dff;
  --accent-glow: rgba(110, 64, 201, 0.35);
  --green: #30d158;
  --blue: #0a84ff;
  --gray: #5e5e63;
  --red: #ff453a;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: 'Audiowide', sans-serif;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(110, 64, 201, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 90% 90%, rgba(155, 109, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection { background: var(--accent); color: #fff; }

/* Focus ring — visible everywhere keyboard users go */
:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content for screen readers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ─── Typography ────────────────────────────────────────────────── */
.brand { font-family: var(--font-brand); letter-spacing: 0.04em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent2);
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1, h2, h3, h4 { font-family: var(--font-brand); font-weight: 400; line-height: 1.1; }

.h1, h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.h2, h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.h3, h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

p { color: var(--text); }
.muted { color: var(--muted); }

/* ─── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

main.narrow { max-width: 780px; margin: 0 auto; }

/* ─── Nav island ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 18px;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  background: rgba(18, 18, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 4px rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
}

.site-nav .brand-link {
  /* Use the Audiowide-loaded family explicitly (not the cascade) so the
     brand wordmark never falls back to Nunito while Audiowide is still
     downloading. Matches landing/index.html .footer-brand-logo size. */
  font-family: 'Audiowide', var(--font-brand);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-right: 14px;
  margin-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav .nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav .nav-tabs a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 980px;
  transition: color 0.2s, background 0.2s;
}

.site-nav .nav-tabs a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav .nav-tabs a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav .nav-user {
  font-size: 13px;
  color: var(--muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 980px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 14px rgba(110, 64, 201, 0.4);
}

.site-nav .nav-cta:hover {
  background: var(--accent2);
  transform: scale(1.03);
}

.site-nav .nav-link-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 980px;
}
.site-nav .nav-link-ghost:hover { color: var(--text); }

/* ─── Surfaces ──────────────────────────────────────────────────── */
.glass, .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card {
  padding: 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

a.card:hover, .card.is-link:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 22px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent2); transform: scale(1.03); box-shadow: 0 0 30px var(--accent-glow); }
.btn-primary:disabled { background: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: scale(1.02); }

.btn-large { padding: 16px 28px; font-size: 16px; }
.btn-small { padding: 6px 12px; font-size: 13px; }

.btn-danger {
  background: rgba(255, 69, 58, 0.15);
  color: #ff7a72;
  border: 1px solid rgba(255, 69, 58, 0.3);
}
.btn-danger:hover { background: rgba(255, 69, 58, 0.25); }

/* ─── Form inputs ───────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-strong);
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
}

.input, .textarea, .select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent2);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(110, 64, 201, 0.2);
}

.textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.field-counter {
  align-self: flex-end;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.field-counter.is-warn { color: #ffb340; }
.field-counter.is-error { color: var(--red); }

.form-error {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff7a72;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 14px;
}

.form-success {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: var(--green);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 14px;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.page-hero {
  padding: 60px 0 48px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero .subline { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Sort tabs ─────────────────────────────────────────────────── */
.sort-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  width: fit-content;
  margin: 0 auto 28px;
}

.sort-tabs a {
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.sort-tabs a:hover { color: var(--text); }

.sort-tabs a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Post list + cards ─────────────────────────────────────────── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  transition: border-color 0.15s, background 0.15s;
}
.post-card:hover { border-color: var(--border-bright); background: var(--surface-strong); }

.post-card-body { min-width: 0; }

.post-card .post-title {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  margin-right: 10px;
}
.post-card .post-title:hover { color: var(--accent2); }

.post-card .post-excerpt {
  color: var(--muted-strong);
  font-size: 14px;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-meta-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-meta-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ─── Upvote button ─────────────────────────────────────────────── */
.upvote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  width: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted-strong);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
  font-weight: 700;
  text-align: center;
}

.upvote:hover {
  border-color: var(--accent2);
  color: var(--text);
  background: rgba(110, 64, 201, 0.12);
}

.upvote svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.upvote-count {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.upvote.is-voted {
  background: rgba(110, 64, 201, 0.18);
  border-color: var(--accent);
  color: var(--accent2);
}

.upvote.is-voted:hover {
  background: rgba(110, 64, 201, 0.28);
}

.upvote-large {
  width: 80px;
  padding: 16px 8px;
}
.upvote-large svg { width: 22px; height: 22px; }
.upvote-large .upvote-count { font-size: 18px; }

/* ─── Status badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  text-transform: capitalize;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.badge-open, .badge-backlog {
  background: rgba(94, 94, 99, 0.2);
  border-color: rgba(94, 94, 99, 0.4);
  color: var(--muted-strong);
}

.badge-next {
  background: rgba(10, 132, 255, 0.15);
  border-color: rgba(10, 132, 255, 0.4);
  color: #5fb0ff;
}

.badge-progress {
  background: rgba(110, 64, 201, 0.18);
  border-color: rgba(110, 64, 201, 0.4);
  color: var(--accent2);
}

.badge-done {
  background: rgba(48, 209, 88, 0.12);
  border-color: rgba(48, 209, 88, 0.4);
  color: var(--green);
}

.badge-hidden {
  background: rgba(255, 69, 58, 0.12);
  border-color: rgba(255, 69, 58, 0.4);
  color: #ff7a72;
}

.badge-voice {
  background: rgba(110, 64, 201, 0.12);
  border-color: rgba(110, 64, 201, 0.3);
  color: var(--accent2);
}

.badge-pinned {
  background: rgba(255, 179, 64, 0.1);
  border-color: rgba(255, 179, 64, 0.3);
  color: #ffb340;
}

/* ─── Single post ───────────────────────────────────────────────── */
.post-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  margin-top: 12px;
}

.post-detail .upvote-col {
  position: sticky;
  top: 90px;
  align-self: start;
}

.post-detail h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}

.post-byline {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.post-body {
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

.post-body p { margin-bottom: 16px; }
.post-body h2, .post-body h3 { margin: 28px 0 12px; }
.post-body ul, .post-body ol { margin: 12px 0 16px 24px; }
.post-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.post-body pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 16px 0;
}
.post-body pre code { background: transparent; padding: 0; }
.post-body a { color: var(--accent2); text-decoration: underline; }

.post-comments-placeholder {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-comments-placeholder p { color: var(--muted); font-style: italic; }

/* ─── Roadmap ───────────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.roadmap-column {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  min-height: 280px;
}

.roadmap-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 6px;
}

.roadmap-column-title {
  font-family: var(--font-brand);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.roadmap-column-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 980px;
  font-variant-numeric: tabular-nums;
}

.roadmap-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roadmap-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}
.roadmap-card:hover { border-color: var(--border-bright); background: rgba(0, 0, 0, 0.5); }

.roadmap-card-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.roadmap-card-votes {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.roadmap-card-votes svg { width: 12px; height: 12px; fill: currentColor; }

.roadmap-empty {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 24px 8px;
}

.roadmap-admin-select {
  margin-top: 8px;
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  width: 100%;
}

@media (max-width: 900px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}

/* ─── Pagination ────────────────────────────────────────────────── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ─── Auth pages ────────────────────────────────────────────────── */
.auth-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.auth-wrap .card { padding: 32px; }

.auth-wrap h1 {
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
}

.auth-wrap .subline {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.auth-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.auth-footer a { color: var(--accent2); }
.auth-footer a:hover { text-decoration: underline; }

/* ─── Voice recorder placeholder ────────────────────────────────── */
#voice-recorder {
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

/* ─── New post / mode toggle ────────────────────────────────────── */
.mode-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  width: fit-content;
  margin: 0 auto 24px;
}

.mode-toggle a {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.mode-toggle a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.mode-toggle a:hover { color: var(--text); }

/* ─── Admin table ───────────────────────────────────────────────── */
.admin-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  background: rgba(0, 0, 0, 0.2);
}

.admin-table td.actions { white-space: nowrap; }

.admin-token-card {
  margin-bottom: 24px;
}

.admin-token-card .field-hint { margin-top: 4px; }

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.site-footer .footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.site-footer a:hover { color: var(--text); }

/* ─── Utilities ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.spacer-sm { height: 16px; }
.spacer { height: 32px; }
.spacer-lg { height: 56px; }

.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* htmx loading indicator */
.htmx-indicator { opacity: 0; transition: opacity 0.2s; }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator { opacity: 1; }

/* ─── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  main { padding: 110px 0 60px; }

  .post-card { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; }
  .post-detail { grid-template-columns: 1fr; }
  .post-detail .upvote-col {
    position: static;
    justify-self: start;
  }

  .site-nav { padding: 5px 5px 5px 12px; gap: 2px; }
  .site-nav .brand-link { font-size: 16px; padding-right: 10px; margin-right: 4px; }
  .site-nav .nav-tabs a { padding: 6px 10px; font-size: 13px; }
  .site-nav .nav-right { margin-left: 6px; padding-left: 6px; }
  .site-nav .nav-user { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 18px; }
}
