:root {
  --bg: #06111f;
  --panel: rgba(13, 24, 41, 0.78);
  --panel-2: rgba(17, 32, 53, 0.95);
  --line: rgba(132, 194, 255, 0.14);
  --text: #f4f8ff;
  --muted: #9db4d1;
  --blue: #62b4ff;
  --blue-2: #0b79ff;
  --white-soft: rgba(255,255,255,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, Arial, sans-serif; background: radial-gradient(circle at top left, #0f2747 0%, #071424 35%, #040913 100%); color: var(--text); }
a { color: inherit; text-decoration: none; }
body { position: relative; overflow-x: hidden; }
.bg-orb { position: fixed; border-radius: 50%; filter: blur(55px); opacity: .35; pointer-events: none; }
.orb-1 { width: 280px; height: 280px; background: #1ea7ff; top: -50px; left: -70px; }
.orb-2 { width: 340px; height: 340px; background: #76d1ff; bottom: -100px; right: -80px; }
.page { max-width: 1380px; margin: 0 auto; padding: 34px 18px 50px; position: relative; z-index: 1; }
.hero, .panel, .stat-card, .file-card { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(18,30,49,.9), rgba(8,18,34,.72)); border-radius: 32px; box-shadow: var(--shadow); }
.eyebrow { color: var(--blue); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(34px, 6vw, 54px); line-height: 1.02; }
.hero p { margin: 0; max-width: 760px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: var(--text); border-radius: 16px; padding: 12px 18px; font-weight: 600; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.09); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; color: #fff; }
.btn.small { padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 18px 0; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); }
.stat-card span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.stat-card strong { font-size: 24px; word-break: break-word; }
.panel { background: linear-gradient(180deg, rgba(9,19,34,.92), rgba(8,16,28,.82)); border: 1px solid var(--line); border-radius: 30px; padding: 20px; box-shadow: var(--shadow); }
.toolbar { display: grid; grid-template-columns: 1.7fr repeat(3, minmax(150px, .5fr)) auto; gap: 12px; }
.search-wrap input, .toolbar select { width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 16px; outline: none; }
.search-wrap input::placeholder { color: #89a3c4; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 10px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 12px; }
.pill { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.04); color: #d9e9ff; font-size: 14px; }
.pill.active, .pill:hover { background: rgba(98,180,255,.18); border-color: rgba(98,180,255,.4); color: #fff; }
.back-row { margin: 6px 0 14px; }
.back-link { color: var(--blue); font-weight: 700; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 6px; }
.file-card { background: linear-gradient(180deg, rgba(13, 26, 45, 0.95), rgba(10, 19, 34, 0.82)); border: 1px solid rgba(138, 198, 255, 0.12); border-radius: 24px; padding: 18px; box-shadow: 0 12px 34px rgba(0,0,0,0.24); transition: .22s ease; }
.file-card:hover { transform: translateY(-3px); border-color: rgba(98,180,255,.34); }
.file-top { display: flex; gap: 14px; align-items: flex-start; }
.file-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg, rgba(98,180,255,.2), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.file-meta { min-width: 0; }
.file-name { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-sub { margin-top: 6px; color: var(--muted); font-size: 13px; }
.file-bottom { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 16px; }
.size-chip { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.05); color: #dcecff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.empty-state { grid-column: 1/-1; min-height: 280px; display: grid; place-items: center; text-align: center; background: rgba(255,255,255,.03); border-radius: 28px; border: 1px dashed rgba(255,255,255,.11); }
.empty-icon { font-size: 56px; color: var(--blue); }
.empty-state h3 { margin: 10px 0 8px; }
.empty-state p { margin: 0; color: var(--muted); }
code { background: rgba(255,255,255,.06); padding: 4px 8px; border-radius: 8px; }
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .file-grid { grid-template-columns: 1fr; }
  .file-bottom { flex-direction: column; align-items: flex-start; }
  .actions { justify-content: flex-start; }
}
