* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  min-height: 100vh;
  padding-bottom: 4rem;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #59F5FF;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.status-box {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.status-box.success { border-color: #70e000; background: rgba(112, 224, 0, 0.12); }
.status-box.warning { border-color: #f59e0b; background: rgba(245, 158, 11, 0.12); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: #59F5FF;
  color: #0f172a;
  border-color: #59F5FF;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h2 { font-size: 1.2rem; line-height: 1.3; }
.meta { font-size: 0.85rem; color: #94a3b8; margin-bottom: auto; }

.badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(89, 245, 255, 0.2);
  color: #59F5FF;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.95rem;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: #59F5FF; color: #0f172a; }
.btn-youtube { background: #ef4444; color: #ffffff; }
.btn-secondary { background: #334155; color: #f8fafc; }
.btn-download { background: #70e000; color: #0f172a; width: 100%; }
.btn-locked { background: rgba(255, 255, 255, 0.1); color: #94a3b8; width: 100%; cursor: not-allowed; }
.btn-link { background: transparent; color: #cbd5e1; text-decoration: underline; padding: 0.4rem; }