/* ═══════════════════════════════════════════════════
   ARCHIVE MTS — Main Stylesheet
   Theme: Industrial Dark / Archive Aesthetic
   ═══════════════════════════════════════════════════ */

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

/* ── Variables ─────────────────────────────────── */
:root {
  --bg:           #0d0e10;
  --surface:      #141518;
  --surface-2:    #1c1d21;
  --surface-3:    #232529;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --accent:       #e8622a;
  --accent-dim:   rgba(232,98,42,0.15);
  --accent-glow:  rgba(232,98,42,0.3);

  --text-primary: #f0ede8;
  --text-secondary: #8a8990;
  --text-muted:   #50515a;

  --green:        #3ecf8e;
  --red:          #f06060;
  --yellow:       #f0c040;

  --radius:       10px;
  --radius-lg:    16px;
  --sidebar-w:    240px;
  --transition:   0.18s ease;

  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

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

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* ── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ══════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════ */
.app-wrap {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
}

.sidebar-logo {
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.logo-icon {
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-text strong {
  color: var(--accent);
  font-weight: 800;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.nav-item:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(232,98,42,0.2);
}

.nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}

.user-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
}

.logout-btn {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
  flex-shrink: 0;
}
.logout-btn:hover { color: var(--red); }

/* ── Main content ──────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 40px 48px;
  min-height: 100vh;
  max-width: 1400px;
}

/* ══════════════════════════════════════════════════
   COMPONENTS
══════════════════════════════════════════════════ */

/* ── Page header ───────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.page-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.page-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.back-link {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--text-secondary); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #f07040;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-white {
  background: rgba(255,255,255,0.9);
  color: #111;
}
.btn-white:hover { background: #fff; }

.btn-sm   { padding: 6px 13px; font-size: 12.5px; }
.btn-xs   { padding: 4px 10px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

.btn:disabled { opacity: 0.5; pointer-events: none; }

.copy-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.copy-btn-sm:hover, .copy-btn-sm.copied {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-4 { margin-bottom: 24px; }

/* ── Alert ─────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  border: 1px solid;
}
.alert-error {
  background: rgba(240,96,96,0.1);
  border-color: rgba(240,96,96,0.3);
  color: #f09090;
}
.alert-success {
  background: rgba(62,207,142,0.1);
  border-color: rgba(62,207,142,0.3);
  color: var(--green);
}

/* ── Search bar ────────────────────────────────── */
.search-bar-wrap {
  position: relative;
  max-width: 420px;
  margin-bottom: 24px;
}
.search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { outline: none; border-color: var(--accent); }

.search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}

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

.movie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.movie-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.movie-card.hidden { display: none; }

.movie-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  overflow: hidden;
}
.movie-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-thumb img { transform: scale(1.04); }

.movie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.movie-card:hover .movie-overlay { opacity: 1; }

.movie-info {
  padding: 16px;
}
.movie-title {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-creator {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.meta-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  background: var(--surface-2);
  border-radius: 4px;
  color: var(--text-muted);
}

.movie-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.link-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Empty state ───────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h2 { font-family: var(--font-head); font-size: 22px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ══════════════════════════════════════════════════
   UPLOAD PAGE
══════════════════════════════════════════════════ */
.upload-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group.full-width { grid-column: span 2; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8990' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

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

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition);
  overflow: hidden;
}
.dropzone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.dropzone-inner {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.drop-icon { font-size: 48px; }
.drop-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.drop-sub { font-size: 13px; color: var(--text-muted); }

.dropzone-selected {
  padding: 20px 24px;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.file-icon { font-size: 28px; }
.file-size-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 8px;
  background: var(--surface-3);
  border-radius: 4px;
  color: var(--text-muted);
}
.remove-file {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color var(--transition);
}
.remove-file:hover { color: var(--red); }

/* Upload tips sidebar */
.upload-tips {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 24px;
}
.upload-tips h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.upload-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.upload-tips li { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.upload-tips code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.btn-upload { padding: 12px 28px; font-size: 15px; font-weight: 600; }
.btn-upload-icon { font-size: 18px; }

.keys-status { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.key-indicator {
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 8px 12px;
  border-radius: 6px;
}
.key-indicator.checking { background: var(--surface-2); color: var(--text-muted); }
.key-indicator.ok { background: rgba(62,207,142,0.1); color: var(--green); }
.key-indicator.missing { background: rgba(240,96,96,0.1); color: var(--red); }

/* ══════════════════════════════════════════════════
   UPLOADING PROGRESS PAGE
══════════════════════════════════════════════════ */
.uploading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.uploading-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}
.uploading-icon {
  font-size: 52px;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.uploading-card h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.uploading-filename {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.progress-wrap { margin-bottom: 20px; }
.progress-bar {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f09050);
  border-radius: 4px;
  transition: width 0.8s ease;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  animation: shimmer 1.5s ease infinite;
}
@keyframes shimmer { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

.progress-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.uploading-note { font-size: 13px; color: var(--text-muted); }

.done-links { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.upload-done p { color: var(--green); font-size: 16px; font-weight: 600; }
.upload-error { margin-top: 8px; }
.upload-error p { color: var(--red); font-size: 14px; }

/* ══════════════════════════════════════════════════
   ITEM DETAIL
══════════════════════════════════════════════════ */
.item-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.item-thumb-wrap {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.item-thumb { width: 100%; height: 100%; object-fit: cover; }

.meta-card, .desc-card, .files-card, .share-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.meta-row:last-child { border-bottom: none; }
.meta-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 90px;
  padding-top: 2px;
}
.meta-value { font-size: 13.5px; }
.meta-value.mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }

.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--surface-2);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.desc-card h3 { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.desc-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }

/* Share links */
.share-links { display: flex; flex-direction: column; gap: 12px; }
.share-row { display: flex; flex-direction: column; gap: 6px; }
.share-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.share-input-wrap { display: flex; gap: 8px; }
.share-input {
  flex: 1;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  min-width: 0;
}

/* File list */
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-list-all { max-height: 320px; overflow-y: auto; gap: 4px; }

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 12px;
  transition: border-color var(--transition);
}
.file-item:hover { border-color: var(--border-hover); }
.file-item-sm { padding: 8px 12px; }

.file-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file-item-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
}
.file-item-meta { font-size: 11.5px; color: var(--text-muted); }
.file-item-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════════════ */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.login-grid {
  width: 100%; height: 100%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}

.login-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-brand {
  text-align: center;
  margin-bottom: 40px;
}
.login-hex { font-size: 48px; color: var(--accent); display: block; margin-bottom: 12px; }
.login-brand h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.login-brand h1 strong { color: var(--accent); }
.login-brand p { font-size: 14px; color: var(--text-muted); }

.login-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ══════════════════════════════════════════════════
   ERROR PAGE
══════════════════════════════════════════════════ */
.error-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.error-container { text-align: center; }
.error-code {
  font-family: var(--font-head);
  font-size: 120px;
  font-weight: 800;
  color: var(--surface-3);
  line-height: 1;
  margin-bottom: 16px;
}
.error-container h1 {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════ */
.mono { font-family: var(--font-mono); }
.refresh-icon { display: inline-block; transition: transform 0.5s ease; }
.refresh-icon:hover { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .upload-layout { grid-template-columns: 1fr; }
  .upload-tips { position: static; }
}

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

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; padding: 24px 20px; }
  .movie-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
}

@media (max-width: 480px) {
  .movie-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
}
