@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;700;800;900&display=swap');

:root {
  --bg: #09090b;
  --bg-soft: #0f1014;
  --card: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(16, 185, 129, 0.45);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --brand: #10b981;
  --brand-strong: #059669;
  --brand-dark: #042f2e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 50%),
    linear-gradient(180deg, #08090b 0%, #09090b 55%, #07080a 100%);
  min-height: 100vh;
}

.container {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 9, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.85);
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18);
}

.brand strong {
  color: var(--brand);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 0;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.81rem;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-color: var(--line-strong);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.22) inset;
}

main {
  padding: 28px 0 60px;
}

.hero,
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.16) 100%),
    var(--card);
  padding: 22px;
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.7);
}

.panel {
  margin-top: 14px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  margin: 0;
  color: #fafafa;
}

h1 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: clamp(1.62rem, 2.7vw, 2.45rem);
  line-height: 1.12;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0;
  line-height: 1.6;
  color: #d4d4d8;
}

.muted {
  color: var(--muted);
}

.meta-row,
.link-grid,
.topic-actions,
.cta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip,
.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.chip:hover,
.outline-link:hover {
  border-color: var(--line-strong);
  color: #ffffff;
  background: rgba(16, 185, 129, 0.14);
}

.btn,
.cta-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #03231f;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.cta-list:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -14px rgba(16, 185, 129, 0.65);
}

.card-grid,
.topic-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-card,
.topic-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)), #15151a;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-card:hover,
.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.48);
  box-shadow: 0 12px 24px -16px rgba(16, 185, 129, 0.35);
}

.img-wrap,
.grid-img {
  display: block;
  background: #0d0e12;
  min-height: 112px;
}

.site-card img,
.topic-card img,
.grid-img img,
.img-wrap img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  display: block;
  background: #0d0e12;
}

.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.card-body p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.8rem;
}

.blog-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.blog-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.14)), #141418;
}

.blog-card a {
  color: #ecfeff;
  text-decoration: none;
}

.blog-card a:hover {
  text-decoration: underline;
}

.list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.list li {
  margin: 7px 0;
  color: #d4d4d8;
  line-height: 1.56;
}

.footer {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 34px;
  color: #b3b3bc;
  font-size: 0.84rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0) 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(6, 7, 10, 0.72));
}

.footer a {
  color: #f3f4f6;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-note {
  margin: 8px 0 0;
  line-height: 1.58;
}

.legal-footer .container {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px;
}

.legal-footer p {
  margin: 0;
  line-height: 1.62;
}

.legal-footer p + p {
  margin-top: 7px;
}

.mini-blog-panel h2 {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mini-blog-panel p {
  font-size: 0.95rem;
}

.seo-mini-blog a:hover {
  text-decoration: underline;
}

.mini-site-grid article {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-site-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.55);
}

@media (max-width: 1024px) {
  .card-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .topbar {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
    padding-bottom: 2px;
  }

  .hero,
  .panel {
    padding: 16px;
    border-radius: 14px;
  }

  .card-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .cta-list {
    width: 100%;
  }

  .legal-footer .container {
    padding: 12px;
  }
}

.quick-bonus-panel h2 {
  margin-bottom: 8px;
}

.quick-bonus-panel p {
  color: #d1d5db;
}

.quick-bonus-panel .chip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.quick-bonus-panel .chip:hover {
  background: rgba(16, 185, 129, 0.2);
}