:root {
  --bg: #0b0b0b;
  --bg-section: #121212;
  --bg-card: #1a1a1a;
  --gold: #d4af37;
  --gold-hover: #ffd700;
  --red: #c1121f;
  --text: #ffffff;
  --muted: #bfbfbf;
  --border: #2a2a2a;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: #000000;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
}

.actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #c89d2d, #f2cf70);
  color: #000;
  box-shadow: 0 14px 26px rgba(212, 175, 55, 0.24);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #d2a934, #ffe08a);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(212, 175, 55, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--gold);
}

.btn.ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.fade {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}

.fade:nth-of-type(2) { animation-delay: 0.05s; }
.fade:nth-of-type(3) { animation-delay: 0.1s; }
.fade:nth-of-type(4) { animation-delay: 0.15s; }
.fade:nth-of-type(5) { animation-delay: 0.2s; }
.fade:nth-of-type(6) { animation-delay: 0.25s; }
.fade:nth-of-type(7) { animation-delay: 0.3s; }

.fade .card,
.fade .app-card {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.12s;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.app-card .cta-row {
  margin: 10px 0 0;
}

.app-card .cta-row .btn {
  width: 100%;
  justify-content: center;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-hover);
  font-weight: 700;
  font-size: 12px;
}

.badge.live { background: rgba(34, 197, 94, 0.16); color: #22c55e; }
.badge.near { background: rgba(212, 175, 55, 0.18); color: var(--gold-hover); }
.badge.dev  { background: rgba(193, 18, 31, 0.18); color: var(--red); }
.badge.soon { background: rgba(140, 140, 140, 0.18); color: #bfbfbf; }


.is-hidden {
  display: none !important;
}

.app-directory {
  display: grid;
  gap: 16px;
}

.app-directory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.app-search-input {
  flex: 1 1 360px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #111;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.app-search-input::placeholder {
  color: #8f8f8f;
}

.app-search-input:focus {
  outline: 2px solid rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
}

.app-directory-list {
  display: grid;
  gap: 14px;
}

.app-directory-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.app-directory-item h3 {
  margin: 0 0 6px;
}

.app-directory-item .btn {
  min-width: 130px;
}

.categories-detail {
  background: var(--bg-section);
}

.step {
  position: relative;
  padding-top: 18px;
}

.step-num {
  position: absolute;
  top: -10px;
  left: 18px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.how {
  background: #0f0f0f;
}

.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.contact-items {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.contact-item {
  display: grid;
  gap: 2px;
}

.label {
  color: var(--muted);
  font-size: 13px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.link-list a {
  color: var(--gold);
}

.promo {
  background: #0d0d0d;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: center;
}

.video-frame {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12), rgba(0,0,0,0.8));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.video-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #111);
}

.sponsors {
  background: var(--bg-section);
}

.sponsor-card .btn {
  margin-top: 12px;
}

.small {
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 24px;
  background: #0b0b0b;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.policy-body {
  background: var(--bg);
  color: var(--text);
}

.policy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0 20px;
}

.small {
  font-size: 13px;
}

@media (max-width: 960px) {
  .nav,
  .actions {
    display: none;
  }

  .nav.open,
  .actions.open {
    display: flex;
    flex-direction: column;
    background: rgba(18, 18, 18, 0.96);
    position: absolute;
    right: 20px;
    top: 64px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    min-width: 200px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .hero-card,
  .card,
  .app-card {
    padding: 18px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .app-directory-item {
    grid-template-columns: 1fr;
  }

  .app-directory-item .btn {
    width: 100%;
  }
}






@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
