/* FF Video Platform — Find Your Video */
/* Edit then run: python3 webflow-push.py  */

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

/* ── Base ─────────────────────────────────────────────────── */
body {
  min-height:100vh;
  font-family:'Roboto',sans-serif;
  background:
    linear-gradient(to bottom,
      #ffffff   0%,
      #ffffff  60%,
      #E3E6E7 100%
    ) fixed !important;
}

/* ── Photo background layer ───────────────────────────────── */
.fyv-bg-photo {
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url('https://raw.githack.com/isaxaudio/fatfish-video-search/main/hero-bg.png');
  background-size:cover;
  background-position:center -780px;
  background-repeat:no-repeat;
  opacity:0.20;
  -webkit-mask-image:linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
  mask-image:linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
}
@media (max-width:767px) {
  .fyv-bg-photo {
    background-size:auto 100vh;
    background-position:center top;
  }
}

.fyv-bg-photo img { display:none; }

/* All page content sits above the photo */
.fyv-header,
.fyv-page {
  position:relative;
  z-index:1;
}

/* ── Header ───────────────────────────────────────────────── */
.fyv-header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:0 32px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,0.18);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  border-bottom:1px solid rgba(255,255,255,0.28);
  box-shadow:0 2px 24px rgba(0,0,0,0.07);
}

.fyv-logo {
  height:38px;
  display:block;
  object-fit:contain;
}

/* Sub-header bar */
.fyv-subheader {
  position:fixed;
  top:60px;
  left:0;
  right:0;
  z-index:999;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:#DB3725;
}

.fyv-subheader-year {
  font-size:12px;
  font-weight:700;
  letter-spacing:0.14em;
  color:#ffffff;
}

.fyv-subheader-divider {
  width:1px;
  height:12px;
  background:rgba(255,255,255,0.35);
  display:inline-block;
}

.fyv-subheader-label {
  font-size:12px;
  font-weight:400;
  letter-spacing:0.20em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.85);
}

/* Questions button */
.fyv-header-btn,
a.fyv-header-btn {
  padding:7px 26px !important;
  border-radius:9999px !important;
  background:#DB3725 !important;
  border:none !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700 !important;
  font-family:'Roboto',sans-serif !important;
  letter-spacing:0.06em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
  text-decoration:none !important;
  transition:background .18s ease !important;
  white-space:nowrap !important;
  box-shadow:0 2px 10px rgba(219,55,37,0.3) !important;
}

.fyv-header-btn:hover,
a.fyv-header-btn:hover {
  background:#bf2e1e !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.fyv-hero {
  max-width:860px;
  margin:0 auto;
  padding:160px 32px 72px;
  text-align:center;
}

.fyv-headline {
  font-size:clamp(56px,11vw,104px);
  font-weight:900;
  letter-spacing:-0.04em;
  line-height:0.92;
  margin:0 0 36px;
  color:#001823;
}

.fyv-headline em {
  font-style:normal;
  font-weight:900;
  color:#DB3725;
}

.fyv-subhead {
  font-size:15px;
  color:#5E7079;
  margin:0 0 48px;
  line-height:1.6;
}

/* ── Search ───────────────────────────────────────────────── */
.fyv-search-wrap {
  max-width:520px;
  margin:0 auto;
  position:relative;
}

.fyv-search-icon {
  position:absolute;
  left:22px;
  top:50%;
  transform:translateY(-50%);
  color:rgba(219,55,37,0.45);
  pointer-events:none;
  display:flex;
}

.fyv-input {
  width:100%;
  padding:18px 24px 18px 52px;
  border-radius:9999px;
  border:1px solid rgba(255,255,255,0.38);
  background:linear-gradient(
    to bottom,
    rgba(255,255,255,0.62) 0%,
    rgba(255,255,255,0.28) 100%
  );
  backdrop-filter:blur(24px) saturate(1.8);
  -webkit-backdrop-filter:blur(24px) saturate(1.8);
  font-size:15px;
  font-family:'Roboto',sans-serif;
  color:#001823;
  outline:none;
  box-sizing:border-box;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,0,0,0.06),
    inset 1px 0 0 rgba(255,255,255,0.4),
    inset -1px 0 0 rgba(255,255,255,0.4),
    0 4px 24px rgba(219,55,37,0.10),
    0 1px 4px rgba(0,0,0,0.1);
  transition:all .25s ease;
}

.fyv-input::placeholder { color:rgba(219,55,37,0.35); }

.fyv-input:focus {
  border-color:rgba(219,55,37,0.35);
  background:linear-gradient(
    to bottom,
    rgba(255,255,255,0.72) 0%,
    rgba(255,255,255,0.38) 100%
  );
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 0 0 3px rgba(219,55,37,0.10),
    0 0 28px rgba(219,55,37,0.16),
    0 4px 20px rgba(0,0,0,0.08);
}

/* ── Scroll indicator ─────────────────────────────────────── */
.fyv-scroll-hint {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  margin-top:36px;
  opacity:0.45;
}

.fyv-scroll-hint-label {
  font-size:9px;
  font-weight:600;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:#001823;
}

.fyv-scroll-hint-arrow {
  width:20px;
  height:20px;
  color:#DB3725;
  animation:fyv-bounce 1.6s ease-in-out infinite;
}

@keyframes fyv-bounce {
  0%, 100% { transform:translateY(0); opacity:0.5; }
  50%       { transform:translateY(6px); opacity:1; }
}

/* ── Results ──────────────────────────────────────────────── */
.fyv-results {
  max-width:1080px;
  margin:0 auto;
  padding:40px 24px 120px;
}

.fyv-status {
  text-align:center;
  font-size:10px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:#DB3725;
  min-height:14px;
  margin-top:6px;
}

/* ── Grid ─────────────────────────────────────────────────── */
.fyv-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
  align-items:start;
}

/* ── Card ─────────────────────────────────────────────────── */
.fyv-card {
  background:rgba(255,255,255,0.48);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.65);
  border-radius:22px;
  overflow:hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 40px rgba(0,0,0,0.09),
    inset 0 1px 0 rgba(255,255,255,0.82);
  transition:transform .25s ease, box-shadow .25s ease;
}

.fyv-card:hover {
  transform:translateY(-5px);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.07),
    0 24px 56px rgba(0,0,0,0.13),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

/* ── Thumbnail ────────────────────────────────────────────── */
.fyv-thumb-wrap {
  position:relative;
  width:100%;
  padding-bottom:58%;
  background:#001823;
  overflow:hidden;
  cursor:pointer;
}

.fyv-thumb {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .25s ease, transform .4s ease;
  z-index:1;
}

.fyv-card:hover .fyv-thumb { transform:scale(1.04); }

.fyv-preview {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .3s ease;
  pointer-events:none;
  z-index:2;
}

.fyv-card:hover .fyv-preview { opacity:1; }
.fyv-card:hover .fyv-thumb.has-preview { opacity:0; }

.fyv-thumb-fallback {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(160deg,#001823 0%,#002d40 100%);
  z-index:0;
}

/* ── Card body ────────────────────────────────────────────── */
.fyv-card-body { padding:18px 20px 22px; }

.fyv-card-meta {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.fyv-card-year {
  font-size:10px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:#DB3725;
}

.fyv-card-event-label {
  font-size:10px;
  font-weight:400;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#5E7079;
}

.fyv-card-meta-dot {
  color:#E3E6E7;
  margin:0 6px;
  font-size:10px;
}

.fyv-card-name {
  font-size:21px;
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.1;
  color:#001823;
  margin:0 0 6px;
}

.fyv-card-school {
  font-size:12px;
  color:#5E7079;
  line-height:1.45;
  margin:0 0 18px;
}

/* Watch button */
.fyv-card .fyv-btn-watch,
.fyv-card a.fyv-btn-watch {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:100% !important;
  padding:13px 0 !important;
  border-radius:9999px !important;
  background:rgba(219,55,37,0.06) !important;
  border:1.5px solid rgba(219,55,37,0.20) !important;
  color:#DB3725 !important;
  font-size:11px !important;
  font-weight:700 !important;
  font-family:'Roboto',sans-serif !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
  text-decoration:none !important;
  transition:background .18s ease, border-color .18s ease !important;
  box-sizing:border-box !important;
  margin-bottom:12px !important;
  box-shadow:none !important;
}

.fyv-card .fyv-btn-watch:hover,
.fyv-card a.fyv-btn-watch:hover {
  background:rgba(219,55,37,0.12) !important;
  border-color:rgba(219,55,37,0.32) !important;
  color:#DB3725 !important;
}

/* Download row */
.fyv-card-links {
  display:flex;
  border-top:1px solid rgba(0,24,35,0.08);
  padding-top:12px;
}

.fyv-card .fyv-link,
.fyv-card a.fyv-link {
  flex:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  font-size:10px !important;
  font-weight:600 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase !important;
  color:#5E7079 !important;
  text-decoration:none !important;
  padding:4px 0 !important;
  transition:color .15s ease !important;
}

.fyv-card a.fyv-link:hover { color:#001823 !important; }

/* ── Empty / loading ──────────────────────────────────────── */
.fyv-empty {
  grid-column:1/-1;
  text-align:center;
  padding:72px 0;
  color:rgba(0,24,35,0.4);
  font-size:14px;
}

/* ── Modal ────────────────────────────────────────────────── */
.fyv-overlay {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,24,35,0.95);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:24px;
  box-sizing:border-box;
}

.fyv-overlay.is-open { display:flex; }

/* ── Congrats section ─────────────────────────────────────── */
.fyv-congrats-section {
  max-width:1200px;
  margin:0 auto 0;
  padding:0 24px 60px;
}

.fyv-congrats-card {
  background:rgba(255,255,255,0.42);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border:none;
  border-radius:28px;
  overflow:hidden;
  box-shadow:none;
  display:grid;
  grid-template-columns:1fr 460px;
  min-height:380px;
}

.fyv-congrats-left {
  padding:52px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.fyv-congrats-headline {
  font-size:clamp(28px,4vw,44px);
  font-weight:900;
  letter-spacing:-0.03em;
  line-height:1.05;
  color:#001823;
  margin:0 0 20px;
}

.fyv-congrats-headline em {
  font-style:normal;
  font-weight:900;
  color:#DB3725;
}

.fyv-congrats-body {
  font-size:13.5px;
  line-height:1.75;
  color:#5E7079;
  margin:0 0 32px;
  max-width:440px;
}

.fyv-congrats-body p { margin:0 0 12px; }
.fyv-congrats-body p:last-child { margin:0; }

.fyv-congrats-body strong {
  font-weight:700;
  color:#001823;
}

.fyv-congrats-body a {
  color:#DB3725 !important;
  font-weight:600 !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

.fyv-congrats-body a:hover { color:#bf2e1e !important; }

.fyv-congrats-pills {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.fyv-congrats-pill {
  padding:9px 20px;
  border-radius:9999px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  white-space:nowrap;
  text-decoration:none !important;
  cursor:default;
}

.fyv-congrats-pill--dark {
  background:rgba(0,24,35,0.06);
  border:1.5px solid rgba(0,24,35,0.14);
  color:#001823 !important;
}

.fyv-congrats-pill--red {
  background:rgba(219,55,37,0.07);
  border:1.5px solid rgba(219,55,37,0.32);
  color:#DB3725 !important;
}

.fyv-congrats-right {
  position:relative;
  overflow:hidden;
}

.fyv-congrats-photo {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:72% center;
  display:block;
  filter:grayscale(30%);
  opacity:0.4;
}

/* ── Footer ───────────────────────────────────────────────── */
.fyv-footer {
  position:relative;
  z-index:1;
  margin-top:40px;
  padding:36px 32px;
  background:rgba(255,255,255,0.14);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-top:1px solid rgba(255,255,255,0.28);
  box-shadow:0 -2px 24px rgba(0,0,0,0.05);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.fyv-footer-logo {
  height:28px;
  display:block;
  object-fit:contain;
  filter:brightness(0);
  opacity:0.55;
}

.fyv-footer-copy {
  font-size:10px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(0,24,35,0.4);
  flex:1;
  text-align:center;
}

.fyv-footer-links {
  display:flex;
  align-items:center;
  gap:20px;
}

.fyv-footer-link,
a.fyv-footer-link {
  font-size:10px !important;
  font-weight:700 !important;
  letter-spacing:0.1em !important;
  text-transform:uppercase !important;
  color:rgba(0,24,35,0.4) !important;
  text-decoration:none !important;
  transition:color .15s ease !important;
  white-space:nowrap !important;
}

.fyv-footer-link:hover,
a.fyv-footer-link:hover {
  color:#DB3725 !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media(max-width:640px){
  .fyv-header  { padding:0 20px; }
  .fyv-hero    { padding:130px 20px 56px; }
  .fyv-results { padding:28px 16px 80px; }
  .fyv-grid    { gap:14px; }
  .fyv-footer  { padding:28px 20px; flex-direction:column; align-items:center; text-align:center; gap:16px; }
  .fyv-footer-copy { text-align:center; }
  .fyv-congrats-section { padding:0 16px 48px; }
  .fyv-congrats-card { grid-template-columns:1fr; }
  .fyv-congrats-left { padding:36px 28px; }
  .fyv-congrats-right { height:260px; }
}
