:root {
  --tfb-bg: #07090f;
  --tfb-surface: #0e1320;
  --tfb-surface-2: #151c2e;
  --tfb-border: rgba(148, 163, 184, 0.16);
  --tfb-text: #f8fafc;
  --tfb-muted: #94a3b8;
  --tfb-accent: #22c55e;
  --tfb-accent-2: #38bdf8;
  --tfb-gold: #f59e0b;
}

.tfb-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 18px 64px;
  color: var(--tfb-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.tfb-top-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: var(--tfb-surface);
  border: 1px solid var(--tfb-border);
  border-radius: 12px;
}

.tfb-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tfb-nav-links a {
  color: var(--tfb-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.tfb-nav-links a:hover {
  color: var(--tfb-text);
}

.tfb-hero-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(145deg, var(--tfb-surface), var(--tfb-surface-2));
  border: 1px solid var(--tfb-border);
  border-radius: 16px;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .tfb-hero-card {
    grid-template-columns: 1fr;
  }
}

.tfb-media-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tfb-border);
  background: #05070c;
  min-height: 220px;
}

.tfb-media-frame img,
.tfb-media-frame video {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.tfb-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tfb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: var(--tfb-accent-2);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.tfb-badge--gold {
  background: rgba(245, 158, 11, 0.14);
  color: var(--tfb-gold);
  border-color: rgba(245, 158, 11, 0.32);
}

.tfb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .tfb-grid-3 {
    grid-template-columns: 1fr;
  }
}

.tfb-panel {
  background: var(--tfb-surface);
  border: 1px solid var(--tfb-border);
  border-radius: 14px;
  padding: 18px;
}

.tfb-panel h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.tfb-panel p,
.tfb-panel li {
  color: var(--tfb-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tfb-logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--tfb-surface);
  border: 1px solid var(--tfb-border);
  border-radius: 12px;
  margin-bottom: 24px;
}

.tfb-logos-strip img {
  height: 22px;
  width: auto;
  opacity: 0.9;
}

.tfb-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .tfb-gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tfb-gallery-strip img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--tfb-border);
}

.tfb-btn-primary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--tfb-accent);
  color: #041208;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
}

.tfb-btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--tfb-surface-2);
  color: var(--tfb-text);
  border: 1px solid var(--tfb-border);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}