/* ============================================================
   AVÍSAME PORFA — Main Stylesheet
   Cinema-dark design system
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:     #070b14;
  --bg-surface:  #0d1625;
  --bg-elevated: #132032;
  --bg-hover:    rgba(255,255,255,0.04);

  /* Borders */
  --border:       rgba(255,255,255,0.08);
  --border-gold:  rgba(232,184,75,0.28);
  --border-focus: rgba(232,184,75,0.6);

  /* Brand colors */
  --gold:         #e8b84b;
  --gold-dim:     rgba(232,184,75,0.14);
  --gold-glow:    rgba(232,184,75,0.08);
  --blue:         #3b82f6;
  --cyan:         #22d3ee;
  --red:          #ef4444;
  --green:        #10b981;
  --orange:       #f59e0b;

  /* Text */
  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #4a5568;

  /* Sizing */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.6);

  /* Transitions */
  --transition: 0.18s ease;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Sans', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

main { padding: 48px 0 80px; }
section { margin-bottom: 56px; }

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(ellipse 90% 200% at 50% -30%, rgba(232,184,75,0.06) 0%, transparent 65%),
    rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Logo area */
.header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.header-title-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header-title-text h1 span {
  color: var(--gold);
}

.header-title-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── Section Headings ───────────────────────────────────────── */
h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

h2 + p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 0;
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--gold); }
footer a:hover { text-decoration: underline; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: #0a0e1a;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--border-gold);
  background: var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}

.btn-secondary:hover { background: rgba(255,255,255,0.12); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.12);
  color: #fc8181;
  border: 1px solid rgba(239,68,68,0.25);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.btn-danger:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
}

/* ── Search Section ──────────────────────────────────────────── */
.watchlist-section {
  margin-top: 36px;
}

.search-section {
  margin-top: 8px;
}

.search-container {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin-bottom: 28px;
  align-items: center;
}

#search-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#search-input::placeholder { color: var(--text-muted); }

#search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

#search-btn {
  background: var(--gold);
  color: #0a0e1a;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

#search-btn:hover { filter: brightness(1.1); }

/* Clear search button */
#search-clear-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

#search-clear-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

#search-clear-btn.visible {
  display: inline-flex;
}

/* ── Movie Grid ──────────────────────────────────────────────── */
.search-results,
.watchlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

/* ── Movie Card (vertical poster style) ──────────────────────── */
.movie-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  animation: cardIn 0.3s ease both;
  animation-delay: calc(var(--card-index, 0) * 40ms);
}

.movie-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(232,184,75,0.07);
  transform: translateY(-3px);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Poster wrapper */
.movie-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-poster {
  transform: scale(1.04);
}

/* Badge overlays on poster */
.poster-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.poster-badge.already-released {
  background: rgba(7,11,20,0.75);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.poster-badge.in-watchlist {
  background: rgba(16,185,129,0.85);
  color: #fff;
}

/* Card info area */
.movie-info {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.movie-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-english-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-release-date {
  font-size: 0.73rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.movie-release-date::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.movie-overview {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.movie-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Card Action Buttons ─────────────────────────────────────── */
.add-to-watchlist {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold);
  color: #0a0e1a;
  border: none;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition);
  width: 100%;
  justify-content: center;
}

.add-to-watchlist:hover { filter: brightness(1.1); }
.add-to-watchlist:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}

.remove-from-watchlist {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,68,68,0.1);
  color: #fc8181;
  border: 1px solid rgba(239,68,68,0.2);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  width: 100%;
  justify-content: center;
}

.remove-from-watchlist:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.35);
}

/* In-watchlist indicator (search results) */
.btn-disabled {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16,185,129,0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.2);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: default;
  width: 100%;
  justify-content: center;
}

/* ── Skeleton Loader Cards ───────────────────────────────────── */
.skeleton-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: cardIn 0.3s ease both;
  animation-delay: calc(var(--card-index, 0) * 40ms);
}

.skeleton-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: linear-gradient(90deg,
    var(--bg-elevated) 25%,
    rgba(255,255,255,0.04) 50%,
    var(--bg-elevated) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-info {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    var(--bg-elevated) 25%,
    rgba(255,255,255,0.04) 50%,
    var(--bg-elevated) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-line.short { width: 55%; }
.skeleton-line.full  { width: 100%; }
.skeleton-line.btn   { width: 80%; height: 28px; border-radius: var(--radius-pill); margin-top: 4px; }

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Availability Tags ────────────────────────────────────────── */
.availability-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.availability-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.availability-tag.cinepolis {
  background: rgba(16,185,129,0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.25);
}

.availability-tag.cinemex {
  background: rgba(59,130,246,0.1);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.25);
}

.availability-tag.notified {
  background: rgba(232,184,75,0.1);
  color: var(--gold);
  border: 1px solid rgba(232,184,75,0.25);
}

.availability-tag.waiting {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Watchlist Header & Stats ────────────────────────────────── */
.watchlist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}

.stats-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 52px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Empty / Loading States ─────────────────────────────────── */
.empty-watchlist,
.no-results {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.empty-watchlist i,
.no-results i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

/* ── Toast Notifications ─────────────────────────────────────── */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 9999;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease-out;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-success {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  color: #a7f3d0;
}

.notification-error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5;
}

.notification-info {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.35);
  color: #bfdbfe;
}

@keyframes toastIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Landing — Hero / Info / Features ───────────────────────── */
.landing-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,184,75,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero h2 {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.landing-hero h2 em {
  font-style: normal;
  color: var(--gold);
}

.landing-hero > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.landing-hero .btn-primary {
  padding: 12px 28px;
  font-size: 0.95rem;
}

.landing-hero .btn-outline {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
  font-size: 1.2rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}

.feature-card:hover { border-color: var(--border-gold); }

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card h4 i { color: var(--gold); }

.feature-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Loading overlay ─────────────────────────────────────────── */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,11,20,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Auth Prompt (unauthenticated watchlist) ─────────────────── */
.auth-prompt-card {
  text-align: center;
  padding: 72px 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.auth-prompt-card i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 20px;
}

.auth-prompt-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-prompt-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 380px;
  margin: 0 auto 24px;
}

.auth-prompt-card .btn-primary { margin-right: 10px; }

/* ── Plan Badges ─────────────────────────────────────────────── */
.plan-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 6px;
}

.plan-badge.free {
  background: rgba(59,130,246,0.12);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.25);
}

.plan-badge.premium {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .search-results,
  .watchlist {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-content { flex-wrap: wrap; }

  .landing-hero h2 { font-size: 1.85rem; }
  .landing-hero > p { font-size: 0.95rem; }

  .search-container { flex-wrap: wrap; }
  #search-input { min-width: 0; }

  .watchlist-header { flex-direction: column; align-items: flex-start; }
  .stats-container { justify-content: flex-start; }

  .notification { left: 16px; right: 16px; max-width: none; top: 12px; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  main { padding: 32px 0 60px; }

  .search-results,
  .watchlist {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }

  .search-results,
  .watchlist {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
