/* ══════════════════════════════════════════════════
   SubVi — Apple Liquid Glass Design System
   Inspired by: frosted glass, depth, translucency,
   large radii, SF typography, minimal color.
   ══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a10;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --text-primary: #f5f5f7;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.30);
  --accent: #f5c842;
  --accent-soft: rgba(245, 200, 66, 0.12);
  --accent-glow: rgba(245, 200, 66, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glass-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --blur: blur(24px) saturate(1.4);
  --font: 'Inter', -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --nav-bg: rgba(10, 10, 16, 0.72);
  --overlay: rgba(0, 0, 0, 0.6);
  --card-bg: rgba(10,10,16,0.88);
  --ink-card: var(--glass);
  --ink-soft: var(--bg);
  --paper: var(--text-primary);
  --muted: var(--text-secondary);
  --muted-dim: var(--text-tertiary);
  --line: var(--glass-border);
  --subtitle-accent: var(--accent);
  --subtitle-accent-soft: var(--accent-soft);
  --ink: var(--bg);
  --danger: #e74c3c;
}

[data-theme="light"] {
  --bg: #f2f2f7;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.8);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --text-primary: #1d1d1f;
  --text-secondary: rgba(0, 0, 0, 0.5);
  --text-tertiary: rgba(0, 0, 0, 0.28);
  --accent: #d4a82e;
  --accent-soft: rgba(212, 168, 46, 0.10);
  --accent-glow: rgba(212, 168, 46, 0.15);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glass-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.65);
  --overlay: rgba(0, 0, 0, 0.3);
  --card-bg: rgba(255, 255, 255, 0.75);
  --ink-card: var(--glass);
  --ink-soft: var(--bg);
  --paper: var(--text-primary);
  --muted: var(--text-secondary);
  --muted-dim: var(--text-tertiary);
  --line: var(--glass-border);
  --subtitle-accent: var(--accent);
  --subtitle-accent-soft: var(--accent-soft);
  --ink: var(--bg);
  --danger: #e74c3c;
}

html { transition: background 0.3s ease; }
body { transition: background 0.3s ease, color 0.3s ease; }
*, *::before, *::after { transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html { color-scheme: dark; }
select option {
  background: #16161e;
  color: var(--text-primary);
}
select option:hover,
select option:checked {
  background: var(--accent-soft);
  color: var(--accent);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Glass Card ─────────────────────────────────── */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 0 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 20px;
  padding: 0 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon svg { width: 28px; height: 28px; }

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.navbar-search { flex: 1; max-width: 360px; }
.search-form { width: 100%; }
.search-input-wrapper { position: relative; }

.search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 0.8rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
}

.search-input::placeholder { color: var(--text-tertiary); }
.search-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: rgba(10, 10, 16, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 100;
  box-shadow: var(--shadow-glass-lg);
}
.search-dropdown.active { display: block; }
.search-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; text-decoration: none;
  color: var(--text-primary);
  transition: background var(--transition);
}
.search-dropdown-item:hover { background: var(--glass-hover); }
.search-dropdown-item img { width: 28px; height: 42px; object-fit: cover; border-radius: 4px; }

.navbar-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 100px;
  text-decoration: none; color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 0.82rem; font-weight: 500;
}

.nav-link:hover { color: var(--text-primary); background: var(--glass); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-glow {
  display: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 200, 66, 0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-search {
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 4px 4px 4px 18px;
  max-width: 460px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.hero-search i {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
}

.hero-search-input::placeholder { color: var(--text-tertiary); }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }

.hero-stat-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border-radius: 12px;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  background: var(--glass-border);
  align-self: stretch;
}

/* ── Hero Panel ──────────────────────────────────── */
.hero-panel {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--glass-border);
}

.hero-panel-list {
  display: flex;
  flex-direction: column;
}

.hero-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
}

.hero-panel-item:hover { background: var(--glass-hover); }

.hero-panel-item + .hero-panel-item {
  border-top: 1px solid var(--glass-border);
}

.hero-panel-poster {
  width: 32px; height: 48px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.hero-panel-poster img { width: 100%; height: 100%; object-fit: cover; }

.hero-panel-info {
  flex: 1;
  min-width: 0;
}

.hero-panel-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
}

.hero-panel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

.hero-panel-lang {
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.hero-panel-time { font-family: var(--font-mono); font-size: 0.62rem; }

.hero-panel-empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.82rem;
}

/* ── Sections ─────────────────────────────────────── */
.section { padding: 56px 0; }

.section-alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.section-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

.section-link:hover { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }

/* ── Movie Grid ──────────────────────────────────── */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

.movie-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition);
}

.movie-card:hover { transform: translateY(-4px); }

.movie-card-poster {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--glass);
}

.movie-card-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.movie-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--text-tertiary);
}

.movie-card-rating {
  position: absolute;
  top: 8px; right: 8px;
  display: flex; align-items: center; gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--glass-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
}

.movie-card-body { padding: 10px 4px; }

.movie-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.movie-card-lang {
  text-transform: uppercase;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--glass);
}

/* ── Subtitle Grid ────────────────────────────────── */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.sub-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.sub-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.sub-card-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--glass);
}

.sub-card-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-card:hover .sub-card-poster img { transform: scale(1.08); }

.sub-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-tertiary);
}

.sub-card-lang {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--glass-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.06);
}

.sub-card-body { padding: 12px; }

.sub-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.sub-card-meta i { font-size: 0.6rem; margin-right: 3px; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.btn-lg { padding: 14px 30px; font-size: 0.95rem; }

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ── Footer ─────────────────────────────────────────── */
.main-content {
  padding-top: 90px;
}

.footer {
  margin-top: auto;
  padding: 48px 0 24px;
}

.footer-content { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand { max-width: 240px; }
.footer-desc { color: var(--text-tertiary); margin-top: 10px; font-size: 0.82rem; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-section h4 { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 14px; }
.footer-section ul { list-style: none; }
.footer-section li { font-size: 0.82rem; margin-bottom: 6px; }
.footer-section a { color: var(--text-secondary); text-decoration: none; transition: color var(--transition); }
.footer-section a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--glass-border); text-align: center; color: var(--text-tertiary); font-size: 0.78rem; }

/* ── Utility ───────────────────────────────────────── */
.text-accent { color: var(--accent); }
.count { font-size: 0.78rem; color: var(--text-tertiary); font-weight: 400; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state i { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.2; }
.empty-state h2 { font-size: 1.2rem; margin-bottom: 6px; color: var(--text-primary); }

/* ── CTA ───────────────────────────────────────────── */
.cta-card {
  text-align: center;
  padding: 56px 40px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
}

.cta-glow {
  display: none;
}

.cta-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.4px; }
.cta-desc { color: var(--text-secondary); margin-bottom: 28px; max-width: 480px; margin-inline: auto; }

/* ── Misc ──────────────────────────────────────────── */
.format-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--glass);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ── Lang Switcher ─────────────────────────────────── */
.lang-current { border-color: var(--glass-border) !important; border-radius: 100px !important; }
.lang-current:hover { border-color: var(--accent) !important; }
.lang-dropdown { border-radius: var(--radius-md) !important; background: rgba(10,10,16,0.95) !important; }

/* ── RTL ───────────────────────────────────────────── */
html[dir="rtl"] .hero-layout { direction: rtl; }
html[dir="rtl"] .section-link i { transform: rotate(180deg); }
html[dir="rtl"] .search-icon { left: auto; right: 12px; }
html[dir="rtl"] .search-input { padding-left: 12px; padding-right: 34px; }
html[dir="rtl"] .hero-panel-item { text-align: right; }
html[dir="rtl"] .hero-search { padding: 4px 18px 4px 4px; }
html[dir="rtl"] .hero-stat:first-child { padding-left: 28px; padding-right: 0; }
html[dir="rtl"] .hero-stat:last-child { padding-right: 28px; padding-left: 0; }

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--glass-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--glass-hover); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { max-width: 440px; }
  .hero-bg-glow { top: -20%; right: -20%; width: 500px; height: 500px; }
}

@media (max-width: 900px) {
  .hero-title { font-size: 2.6rem; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-icon { width: 34px; height: 34px; font-size: 0.8rem; }
  .hero-stat-value { font-size: 1.1rem; }
  .navbar { top: 8px; width: calc(100% - 24px); border-radius: var(--radius-lg); }
}

@media (max-width: 768px) {
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .sub-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .navbar-search { max-width: 140px; }
  .nav-link span { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hero-stat { padding: 10px 16px; }
  .hero-stat-divider { display: none; }
  .hero-title { font-size: 2rem; }
  .cta-card { padding: 40px 24px; }
  .cta-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-search { padding: 3px 3px 3px 14px; }
  .hero-search-input { padding: 10px 10px; font-size: 0.85rem; }
  .section { padding: 40px 0; }
}
