@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700;800&family=Barlow+Condensed:wght@700;800&display=swap');

/* ── root ── */
.fnd-dashboard {
  background: #0e0e0e;
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Barlow', sans-serif;
  color: #fff;
}

/* ── tab bar ── */
.fnd-tabbar {
  display: flex;
  background: #161616;
  border-bottom: 1px solid #252525;
  padding: 0 16px;
  gap: 4px;
}
.fnd-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #555;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.fnd-tab:hover { color: #aaa; }
.fnd-tab.active { color: #fff; border-bottom-color: #c81e1e; }
.fnd-badge {
  background: #252525;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}
.fnd-tab.active .fnd-badge { background: rgba(200,30,30,.2); color: #c81e1e; }

/* ── panels ── */
.fnd-panel { display: none; padding: 18px; }
.fnd-panel.active { display: block; }

/* ════════════════════════════════
   YOUTUBE
═══════════════════════════════ */

/* featured */
.fnd-yt-featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  margin-bottom: 14px;
  cursor: pointer;
}
.fnd-yt-featured-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  filter: brightness(.85);
  transition: filter .3s;
}
.fnd-yt-featured:hover .fnd-yt-featured-thumb { filter: brightness(.6); }

/* play button */
.fnd-yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #c81e1e;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s;
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(200,30,30,.25);
}
.fnd-yt-featured:hover .fnd-yt-play-btn {
  transform: translate(-50%,-50%) scale(1.1);
  background: #e02020;
}

/* overlay info */
.fnd-yt-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.fnd-yt-badge {
  display: inline-block;
  background: #c81e1e;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 5px;
}
.fnd-yt-id-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}

/* iframe embed */
.fnd-yt-iframe-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
}
.fnd-yt-iframe-wrap iframe {
  width: 100%; height: 100%;
  border: none;
}

/* grid of smaller videos */
.fnd-yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fnd-yt-card {
  background: #1a1a1a;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity .2s;
}
.fnd-yt-card:hover { opacity: .8; }
.fnd-yt-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.fnd-yt-card-thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fnd-yt-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(200,30,30,.85);
  display: flex; align-items: center; justify-content: center;
}
.fnd-yt-card-info { padding: 8px 10px 10px; }
.fnd-yt-card-id {
  font-size: 10px;
  color: #666;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ════════════════════════════════
   PRESS
═══════════════════════════════ */
.fnd-press-list { display: flex; flex-direction: column; gap: 10px; }

.fnd-pcard {
  display: flex;
  gap: 14px;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  align-items: flex-start;
}
.fnd-pcard:hover { background: #212121; border-color: #c81e1e; }

.fnd-pcard-img {
  flex-shrink: 0;
  width: 100px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}
.fnd-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fnd-pcard-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #333;
}

.fnd-pcard-body { flex: 1; min-width: 0; }
.fnd-pcard-source {
  display: inline-block;
  background: rgba(200,30,30,.15);
  border: 1px solid rgba(200,30,30,.35);
  color: #c81e1e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.fnd-pcard-title {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fnd-pcard-domain {
  font-size: 11px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ════════════════════════════════
   BLOG
═══════════════════════════════ */

/* featured post */
.fnd-blog-featured {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 16/7;
}
.fnd-blog-feat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.7);
  transition: filter .4s, transform .5s;
}
.fnd-blog-featured:hover .fnd-blog-feat-img {
  filter: brightness(.5);
  transform: scale(1.04);
}
.fnd-blog-feat-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 100%);
}
.fnd-blog-cat {
  display: inline-block;
  background: #c81e1e;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.fnd-blog-feat-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.15;
}
.fnd-blog-feat-meta { font-size: 11px; color: rgba(255,255,255,.5); }

/* red top accent on hover */
.fnd-blog-featured::before, .fnd-blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #c81e1e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
  z-index: 4;
}
.fnd-blog-featured:hover::before, .fnd-blog-card:hover::before { transform: scaleX(1); }

/* blog grid */
.fnd-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fnd-blog-card {
  display: block;
  background: #1a1a1a;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: opacity .2s;
}
.fnd-blog-card:hover { opacity: .85; }
.fnd-blog-card-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.fnd-blog-card-cat {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(200,30,30,.85);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
.fnd-blog-card-body { padding: 10px 12px 12px; }
.fnd-blog-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #ddd;
  margin: 0 0 5px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fnd-blog-card-meta { font-size: 10px; color: #555; }

/* ── responsive ── */
@media (max-width: 760px) {
  .fnd-yt-grid, .fnd-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .fnd-tabbar { padding: 0 8px; }
  .fnd-tab { padding: 12px 10px; font-size: 11px; }
  .fnd-yt-grid, .fnd-blog-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fnd-pcard-img { width: 72px; height: 50px; }
  .fnd-panel { padding: 12px; }
}
