/* ══════════════════════════════════════════════
   XLockFree — Hyper Premium UI
   Dark glassmorphism · Cloudflare green · Responsive
   ══════════════════════════════════════════════ */

:root {
  --green:         #22c55e;
  --green-dim:     #16a34a;
  --green-glow:    rgba(34, 197, 94, 0.15);
  --cyan:          #06b6d4;
  --cyan-glow:     rgba(6, 182, 212, 0.10);
  --purple:        #a855f7;
  --red:           #ef4444;
  --orange:        #f59e0b;
  --blue:          #3b82f6;

  --bg:            #070c1a;
  --surface-1:     rgba(12, 18, 38, 0.75);
  --surface-2:     rgba(8, 12, 28, 0.60);
  --border:        rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.12);

  --text-1:        #f1f5f9;
  --text-2:        #94a3b8;
  --text-3:        #475569;

  --radius-card:   24px;
  --radius-inner:  14px;
  --radius-sm:     10px;

  --shadow-card:   0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  --blur:          blur(24px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input  { font-family: inherit; }
ul     { list-style: none; }

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── Background: dot grid ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Background: ambient glow orbs ── */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34,197,94,0.13) 0%, transparent 65%);
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.09) 0%, transparent 65%);
  border-radius: 50%;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

/* ── Page wrapper ── */
.page {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 60px;
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-1);
}
.logo-accent { color: var(--green); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-3);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 30px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-1);
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s;
}
.pill:hover { border-color: var(--border-bright); color: var(--text-1); }
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill-dot.green  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.pill-dot.blue   { background: var(--blue);  box-shadow: 0 0 6px var(--blue); }
.pill-dot.purple { background: var(--purple);box-shadow: 0 0 6px var(--purple); }
.pill-dot.red    { background: var(--red);   box-shadow: 0 0 6px var(--red); }
.pill-dot.orange { background: var(--orange);box-shadow: 0 0 6px var(--orange); }

/* ════════════════════════════════════════
   UNLOCK CARD
   ════════════════════════════════════════ */
.unlock-section { margin-bottom: 36px; }

.unlock-card {
  display: grid;
  grid-template-columns: 1fr 400px;
  background: var(--surface-1);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ── Upload side ── */
.upload-side {
  padding: 44px 44px 36px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.upload-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.upload-header p {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* Drop zone */
.drop-zone {
  border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-inner);
  padding: 42px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
  background: rgba(255,255,255,0.015);
}
.drop-zone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, var(--green-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.drop-zone:hover,
.drop-zone.drag-over {
  border-color: rgba(34,197,94,0.45);
  background: rgba(34,197,94,0.03);
}
.drop-zone:hover::after,
.drop-zone.drag-over::after { opacity: 1; }
.drop-zone.has-file { display: none; }

.drop-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green);
  position: relative;
  z-index: 1;
}
.drop-text {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}
.drop-sub {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.drop-sub .link {
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.drop-hint {
  display: inline-block;
  font-size: 0.73rem;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}

/* File info bar */
.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--radius-sm);
}
.file-info.hidden { display: none; }
.file-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(34,197,94,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-name {
  flex: 1;
  font-size: 0.855rem;
  font-weight: 500;
  color: #d1fae5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-remove {
  background: none;
  border: none;
  color: var(--text-3);
  padding: 6px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.file-remove:hover {
  background: rgba(239,68,68,0.12);
  color: #f87171;
}

/* Password field */
.field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 9px;
}
.field-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  color: #334155;
}
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap input {
  width: 100%;
  padding: 13px 46px 13px 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.password-wrap input::placeholder { color: #1e293b; }
.password-wrap input:focus {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.04);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}
.toggle-pw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-3);
  display: flex;
  align-items: center;
  padding: 3px;
  transition: color 0.15s;
}
.toggle-pw:hover { color: var(--text-2); }

/* Unlock button */
.btn-unlock {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-inner);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-unlock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-unlock:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22,163,74,0.4), 0 0 0 1px rgba(34,197,94,0.2);
}
.btn-unlock:hover:not(:disabled)::before { opacity: 1; }
.btn-unlock:active:not(:disabled) { transform: translateY(0); }
.btn-unlock:disabled { opacity: 0.45; cursor: not-allowed; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Status */
.status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.status.hidden { display: none; }
.status.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  color: #86efac;
}
.status.error {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
}

/* Upload footer note */
.upload-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--text-3);
  padding-top: 4px;
}

/* ── Features side ── */
.features-side {
  padding: 44px 36px 36px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Unlock list */
.unlock-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.unlock-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.unlock-list li:last-child { border-bottom: none; }
.li-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.li-text strong {
  display: block;
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
}
.li-text span {
  font-size: 0.77rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Format badges */
.format-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.format-label {
  font-size: 0.7rem;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-shrink: 0;
}
.format-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.format-badge {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  letter-spacing: 0.3px;
}

/* ════════════════════════════════════════
   DONATION
   ════════════════════════════════════════ */
.donation-section { margin-bottom: 36px; }

.donation-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 36px;
  background: rgba(255, 94, 91, 0.04);
  border: 1px solid rgba(255, 94, 91, 0.15);
  border-radius: var(--radius-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 0 60px rgba(255, 94, 91, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.donation-card:hover {
  border-color: rgba(255, 94, 91, 0.25);
  box-shadow: 0 0 80px rgba(255, 94, 91, 0.08);
}

.donation-left { flex-shrink: 0; }

.donation-icon-wrap {
  width: 62px;
  height: 62px;
  background: rgba(255, 94, 91, 0.1);
  border: 1px solid rgba(255, 94, 91, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  animation: coffeeWobble 4s ease-in-out infinite;
}
@keyframes coffeeWobble {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg); }
}

.donation-body { flex: 1; }

.donation-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.donation-desc {
  font-size: 0.855rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
}

.donation-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-kofi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #FF5E5B 0%, #FF8E53 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-inner);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-kofi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-kofi:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 94, 91, 0.4);
}
.btn-kofi:hover::before { opacity: 1; }
.btn-kofi:active { transform: translateY(0); }

.donation-note {
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.2px;
}

/* ════════════════════════════════════════
   NOTICE
   ════════════════════════════════════════ */
.notice-section { margin-bottom: 40px; }

.notice-card {
  display: flex;
  gap: 22px;
  padding: 28px 32px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: var(--radius-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.notice-icon-wrap {
  width: 46px;
  height: 46px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-content h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.notice-content p {
  font-size: 0.845rem;
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 8px;
}
.notice-content p:last-child { margin-bottom: 0; }
.notice-content strong { color: #a16207; font-weight: 600; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-3);
}
.footer-logo {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-2);
  letter-spacing: -0.3px;
}
.footer-logo span { color: var(--green); }
.footer-sep { opacity: 0.3; }

/* ════════════════════════════════════════
   BATCH FILE LIST
   ════════════════════════════════════════ */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: rgba(34,197,94,0.03);
}
.file-list.hidden { display: none; }

.file-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(34,197,94,0.06);
  border-bottom: 1px solid rgba(34,197,94,0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
}

.add-more-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  letter-spacing: 0.1px;
  transition: opacity 0.15s;
}
.add-more-link:hover { opacity: 0.75; }

.file-row {
  display: grid;
  grid-template-columns: 32px 1fr auto 28px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.file-row:last-child { border-bottom: none; }
.file-row:hover { background: rgba(255,255,255,0.015); }

.file-row-icon {
  width: 32px;
  height: 32px;
  background: rgba(34,197,94,0.09);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.file-row-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.file-row-name {
  font-size: 0.825rem;
  font-weight: 500;
  color: #d1fae5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-row-size {
  font-size: 0.72rem;
  color: var(--text-3);
}

/* Status cell: holds spinner / badges / error */
.file-row-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.file-row-remove {
  background: none;
  border: none;
  color: var(--text-3);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.file-row-remove:hover {
  background: rgba(239,68,68,0.12);
  color: #f87171;
}
.file-row-remove:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.file-row-error {
  font-size: 0.72rem;
  color: #fca5a5;
  max-width: 160px;
  text-align: right;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Small spinner for per-file processing */
.spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* Report badges (unlock summary) */
.report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.rbadge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
  white-space: nowrap;
}
.rbadge-none {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text-3);
}

/* Download ZIP button */
.btn-download-zip {
  width: 100%;
  padding: 12px 20px;
  background: rgba(6,182,212,0.08);
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: var(--radius-inner);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.1px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn-download-zip.hidden { display: none; }
.btn-download-zip:hover {
  background: rgba(6,182,212,0.13);
  border-color: rgba(6,182,212,0.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.18);
}
.btn-download-zip:active { transform: translateY(0); }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .unlock-card {
    grid-template-columns: 1fr;
  }
  .upload-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px;
  }
  .features-side {
    padding: 32px;
  }
  .nav-right { display: none; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 600px
   ════════════════════════════════════════ */
@media (max-width: 600px) {
  .page { padding: 0 16px 48px; }

  .navbar { padding: 20px 0 16px; }
  .nav-logo-text { font-size: 1.15rem; }

  .hero { padding: 48px 0 36px; }
  .hero-title { font-size: 2rem; letter-spacing: -1.2px; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-eyebrow { font-size: 0.7rem; padding: 6px 14px; }

  .upload-side   { padding: 24px 20px; gap: 18px; }
  .features-side { padding: 24px 20px; }

  .drop-zone { padding: 32px 16px; }
  .drop-icon-wrap { width: 52px; height: 52px; }

  .donation-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .donation-desc { max-width: 100%; }
  .donation-action { width: 100%; }
  .btn-kofi { width: 100%; justify-content: center; }

  .notice-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
  }
  .notice-card .notice-icon-wrap { width: 40px; height: 40px; }

  .feature-pills { gap: 6px; }
  .pill { font-size: 0.73rem; padding: 6px 11px; }

  .footer { flex-direction: column; gap: 4px; text-align: center; }

  .format-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Batch file list on mobile */
  .file-row {
    grid-template-columns: 28px 1fr 28px;
    grid-template-rows: auto auto;
  }
  .file-row-status {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 2px;
  }
  .file-row-error { max-width: 100%; text-align: left; }
  .report-badges { justify-content: flex-start; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤ 380px
   ════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-title { font-size: 1.75rem; }
  .btn-unlock { font-size: 0.88rem; padding: 14px; }
}
