*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0e0e0e; color: #e8e8e8; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 0.5px solid rgba(255,255,255,0.08); position: sticky; top: 0; background: #0e0e0e; z-index: 10; }
.logo {
  font-family: 'Doto', monospace;
  font-variation-settings: 'wght' 643, 'ROND' 65;
  font-size: 32px;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #60d5f7, #34ebc0, #a8f0e0, #fff, #f7a060, #f76060, #f7a060, #fff, #a8f0e0, #34ebc0, #60d5f7);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-shift 8s ease-in-out infinite;
  padding: 0.25em 0.6em;
  display: inline-block;
  border-radius: 4px;
}
@keyframes logo-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.nav-right { display: flex; gap: 14px; align-items: center; }
.search-input { background: rgba(255,255,255,0.06); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 8px; color: #e8e8e8; font-size: 13px; padding: 6px 12px; width: 180px; outline: none; transition: border-color 0.15s, width 0.2s; font-family: inherit; }
.search-input:focus { border-color: rgba(255,255,255,0.25); width: 240px; }
.search-input::placeholder { color: rgba(255,255,255,0.25); }
.tag-negotiate { background: rgba(255,200,60,0.1); color: rgba(255,200,60,0.8); border-color: rgba(255,200,60,0.2); }
.nav-link { font-size: 13px; color: rgba(255,255,255,0.45); }
.nav-btn { font-size: 13px; color: #fff; border: 0.5px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 6px 14px; background: transparent; cursor: pointer; }

/* Hero */
.hero { position: relative; height: 420px; background: #0a0a0a; border-bottom: 0.5px solid rgba(255,255,255,0.06); overflow: hidden; }
#hero-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
#hero-viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #0e0e0e 0%, transparent 60%); pointer-events: none; }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; z-index: 2; }
.hero-title { font-size: 20px; font-weight: 500; color: #fff; margin-bottom: 5px; }
.hero-sub { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.hero-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.hero-empty p { font-size: 13px; color: rgba(255,255,255,0.2); }
.btn-primary { font-size: 13px; padding: 8px 18px; border-radius: 8px; background: #fff; color: #0e0e0e; border: none; cursor: pointer; font-weight: 500; display: inline-block; }
.btn-ghost { font-size: 13px; padding: 8px 18px; border-radius: 8px; background: transparent; color: rgba(255,255,255,0.7); border: 0.5px solid rgba(255,255,255,0.2); cursor: pointer; display: inline-block; margin-left: 8px; }

/* Grid */
.section { padding: 28px 24px 8px; }
.section-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 0 24px 40px; }
.card { background: #1a1a1a; border: 0.5px solid rgba(255,255,255,0.07); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.15s; }
.card:hover { border-color: rgba(255,255,255,0.18); }
.card-thumb { height: 130px; background: #111; display: flex; align-items: center; justify-content: center; }
.card-thumb span { font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 0.06em; }
.card-body { padding: 11px 12px 13px; }
.card-title { font-size: 13px; font-weight: 500; color: #e8e8e8; margin-bottom: 8px; }
.meta-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.meta-label { font-size: 11px; color: rgba(255,255,255,0.3); }
.meta-value { font-size: 11px; color: rgba(255,255,255,0.55); }
.divider { height: 0.5px; background: rgba(255,255,255,0.06); margin: 9px 0; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 10px; padding: 2px 7px; border-radius: 20px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); border: 0.5px solid rgba(255,255,255,0.1); }
.tag-free { background: rgba(80,200,140,0.1); color: rgba(80,200,140,0.7); border-color: rgba(80,200,140,0.2); }
.tag-price { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); font-weight: 500; }
.tag-personal { background: rgba(120,100,255,0.1); color: rgba(150,130,255,0.8); border-color: rgba(120,100,255,0.2); }
.tag-commercial { background: rgba(255,160,60,0.1); color: rgba(255,170,80,0.8); border-color: rgba(255,160,60,0.2); }
.empty-grid { padding: 40px 24px; text-align: center; color: rgba(255,255,255,0.2); font-size: 13px; }
