:root {
  --bg: #07080c;
  --bg-card: #0e1018;
  --bg-card-hover: #12141e;
  --border: #20232e;
  --border-soft: #1a1d27;
  --text: #f3f4f7;
  --text-dim: #9aa0ad;
  --text-faint: #6b7180;
  --accent: #0693E3;
  --accent-soft: rgba(6, 147, 227, 0.14);
  --star: #f5b740;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  padding-top: 60px;
}

/* ---------- FIXED TOP BAR ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #0a0c12;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.topbar .topbar-cta {
  margin-top: 0;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.glow {
  position: absolute;
  top: -380px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle at center, rgba(6, 147, 227, 0.22), rgba(6, 147, 227, 0.05) 38%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 44px 24px 30px;
  max-width: 760px;
  margin: 0 auto;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  background: linear-gradient(180deg, #ffffff 0%, #c4c8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-2 {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
  color: var(--text-dim);
  -webkit-text-fill-color: var(--text-dim);
}

.hero-title-2 .accent-word {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-weight: 700;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--text-dim);
}

.arm { -webkit-text-fill-color: initial; }

.cta {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(6, 147, 227, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(6, 147, 227, 0.55); }

/* subtle light sweep across the buttons, once every 10s */
.cta { position: relative; overflow: hidden; }
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: cta-glimmer 10s ease-in-out infinite;
}

@keyframes cta-glimmer {
  0%   { left: -75%; }
  9%   { left: 135%; }
  100% { left: 135%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta::after { animation: none; }
}

@media (max-width: 560px) {
  .topbar { height: 56px; padding: 0 14px; }
  .topbar .topbar-cta { padding: 9px 16px; letter-spacing: 0.05em; }
  body { padding-top: 56px; }
}

.stats {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: var(--text-faint);
  font-size: 14px;
}

.stats strong { color: var(--text); font-weight: 600; }
.stats .dot { color: var(--border); }

/* ---------- FILTERS ---------- */
.filters {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px auto 40px;
}

.filter {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter:hover { color: var(--text); border-color: var(--border); }

.filter.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- WALL (masonry) ---------- */
.wall {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  column-count: 3;
  column-gap: 22px;
}

@media (max-width: 980px) { .wall { column-count: 2; } }
@media (max-width: 640px) { .wall { column-count: 1; } }

.card {
  break-inside: avoid;
  margin-bottom: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  background: var(--bg-card-hover);
}

/* ---------- VIDEO CARD ---------- */
.poster {
  position: relative;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background: #15171f;
  overflow: hidden;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.78) 100%);
}

.poster .overlay-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
}

.poster .stars { margin-bottom: 4px; }

.poster .ov-name { font-weight: 700; font-size: 16px; color: #fff; }
.poster .ov-role { font-size: 12.5px; color: rgba(255,255,255,0.72); }

.play {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4);
  transition: transform 0.16s ease, background 0.16s ease;
}

.poster:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play svg { width: 22px; height: 22px; margin-left: 3px; fill: #0b0c10; }

.watermark {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 2;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.poster iframe { width: 100%; height: 100%; border: 0; display: block; }
.poster.playing::after, .poster.playing .play, .poster.playing .overlay-meta, .poster.playing .watermark { display: none; }

/* ---------- FEATURED LANDSCAPE CARD ---------- */
.card.featured {
  column-span: all;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 26px;
  border-color: var(--border);
  background: linear-gradient(180deg, #10131d 0%, #0d0f17 100%);
}

.card.featured:hover { transform: none; }

.poster-landscape {
  flex: 1 1 60%;
  aspect-ratio: 16 / 9;
}

.poster-landscape::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,0.35) 100%);
}

.featured-body {
  flex: 1 1 40%;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(6,147,227,0.3);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.featured-body .stars { margin-bottom: 12px; }

.featured-body .quote {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
  color: #fff;
  font-weight: 500;
}

.featured-attrib { margin-top: 18px; }
.featured-attrib .name { font-weight: 700; font-size: 16px; }
.featured-attrib .role { font-size: 13px; color: var(--text-dim); margin-left: 8px; }

@media (max-width: 760px) {
  .card.featured { flex-direction: column; }
  .poster-landscape { flex-basis: auto; }
  .featured-body { padding: 22px; }
}

/* ---------- CARD BODY ---------- */
.body { padding: 16px 18px 18px; }

.quote {
  font-size: 15px;
  color: #e7e9ee;
  line-height: 1.5;
}

.quote .hl {
  color: #ff7a1a;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 122, 26, 0.18) 62%);
  padding: 0 2px;
}

.date {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* text-card header (no poster) */
.text-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex: none;
  object-fit: cover;
}

.text-head .meta .name { font-weight: 700; font-size: 15px; }
.text-head .meta .role { font-size: 12.5px; color: var(--text-dim); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--star); }

.text-card .body { padding: 18px; }
.text-card .stars { margin-bottom: 10px; }

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-faint);
  border: 1px solid var(--border-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* embedded skool screenshot inside a text card */
.shot {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  width: 100%;
  display: block;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px 70px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
}

.footer-logo { width: 30px; height: 30px; border-radius: 8px; margin-bottom: 12px; }
.footer-text { font-size: 15px; color: var(--text-dim); margin-bottom: 16px; }
.footer-cta { margin-top: 0; color: #fff; }
.footer-cta:hover { text-decoration: none; color: #fff; }

.empty {
  text-align: center;
  color: var(--text-faint);
  column-span: all;
  padding: 60px 0;
}
