:root {
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --bg-deep: #070b14;
  --bg-card: rgba(12, 18, 32, 0.92);
  --border: rgba(96, 165, 250, 0.14);
  --border-strong: rgba(56, 189, 248, 0.4);
  --cyan: #38bdf8;
  --cyan-light: #7dd3fc;
  --success: #34d399;
  --text: #ffffff;
  --muted: #94a3b8;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--muted);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body { background: var(--bg-deep); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    var(--bg-deep);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

a { color: var(--cyan-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--cyan); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  animation: fadeIn 0.55s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-section img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  background: #080e1a;
}

.logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 14, 26, 0.95);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
  flex-shrink: 0;
}

.logo-section h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.12rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-section p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(8, 14, 24, 0.85);
  white-space: nowrap;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header .hero {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

header .lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

header .lead strong {
  color: var(--cyan);
  font-weight: 700;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.85);
  color: var(--muted);
}

.search i { color: var(--cyan); font-size: 0.85rem; }

.search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
}

.search input::placeholder { color: #64748b; }

.count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.count strong { color: var(--cyan-light); }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.8);
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--cyan-light);
}

.filter-btn.active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan-light);
}

.category-block {
  margin-bottom: 1.75rem;
}

.category-block[hidden] { display: none; }

.category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.category-heading h2 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.category-heading p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.subcategory-block {
  margin: 1rem 0 1.25rem;
}

.subcategory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.65rem;
}

.subcategory-heading h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cyan-light);
}

.subcategory-heading p {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

.subcategory-empty {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(56, 189, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 14, 24, 0.45);
}

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.asset-card {
  display: block;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}

.asset-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow), 0 0 24px rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  white-space: nowrap;
  flex-shrink: 0;
}

.coming-soon-meta {
  margin-top: 0.95rem;
}

.coming-soon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.coming-soon-row strong {
  color: var(--cyan-light);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.16);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 56, 248, 0.55), var(--cyan));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
  transition: width 0.35s ease;
  animation: progressAnimation 2s infinite alternate;
}

@keyframes progressAnimation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.asset-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0.65rem;
}

.asset-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.asset-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 14, 26, 0.95);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
  flex-shrink: 0;
  overflow: hidden;
}

.asset-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-mark span {
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
}

.asset-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.15rem;
}

.asset-type {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan);
  white-space: nowrap;
  flex-shrink: 0;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 248, 78, 0.35);
  background: rgba(56, 248, 75, 0.08);
  color: var(--success);
  white-space: nowrap;
  flex-shrink: 0;
}

.asset-desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.asset-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan-light);
}

.badge.alt {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
}

.badge.green {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
}

.badge.red {
  border-color: rgba(211, 52, 52, 0.4);
  background: rgba(211, 52, 52, 0.1);
  color: #fb2424;
}

.badge.dev {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.badge.beta {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
}

.read-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.asset-card:hover .read-link { color: var(--cyan); }

.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.85);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}

.footer-social-link:hover {
  border-color: var(--border-strong);
  color: var(--cyan-light);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.footer-social-link i { font-size: 0.95rem; }
.footer-social-link--discord:hover { color: #7289da; border-color: rgba(114, 137, 218, 0.45); }
.footer-social-link--email:hover { color: var(--cyan-light); }
.footer-social-link--web:hover { color: var(--cyan-light); border-color: var(--border-strong); }

.footer-copy { margin: 0; color: var(--muted); }
.footer-copy a { color: var(--cyan-light); font-weight: 600; }
.footer-copy a:hover { color: var(--cyan); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.85);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.notify-btn:hover,
.notify-btn.is-active {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.notify-btn i { font-size: 1rem; }

.notify-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fbbf24;
  color: #1a1405;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--bg-deep);
  animation: notify 1.5s infinite forwards;
}

@keyframes notify {
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

.notify-badge[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 9999;
  overflow-y: auto;
  padding: 40px 16px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-box {
  background: linear-gradient(165deg, rgba(6, 22, 48, 0.97) 0%, rgba(5, 10, 20, 0.99) 100%);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 800px;
  max-width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 16px;
  position: relative;
  animation: pop 0.2s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.08);
}

.whats-coming-box {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(251, 191, 36, 0.08);
}

.help-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(0, 80, 160, 0.25), transparent);
}

.whats-coming-header {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), transparent);
  border-bottom-color: rgba(251, 191, 36, 0.22);
}

.help-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.whats-coming-header h2 { color: #fbbf24; }

.help-header p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.whats-coming-list {
  margin: 16px 20px 24px;
}

.closeModal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.closeModal:hover {
  color: #fff;
  background: rgba(245, 0, 0, 0.25);
  border-color: #f50000;
}

@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-thumb {
  background: linear-gradient(240deg, var(--cyan), rgba(0, 0, 0, 0.5));
  border-radius: 10px;
}

.asset-card.is-coming-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.96;
  border-color: rgba(251, 191, 36, 0.22);
}

.asset-card.is-coming-soon:hover {
  border-color: rgba(251, 191, 36, 0.22);
  box-shadow: var(--shadow);
  transform: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .wrap { padding: 20px 16px 48px; }
  header .hero { font-size: 1.65rem; }
  .asset-top { flex-direction: column; align-items: stretch; }
  .category-heading { flex-direction: column; align-items: flex-start; }
  .modal-overlay { padding: 20px 12px; }
}