:root {
  --bg: #0c0d1b;
  --bg2: #13142a;
  --panel: #1c1b38;
  --panel2: #251f45;
  --line: rgba(255, 255, 255, 0.09);
  --text: #fee8ea;
  --muted: #b9abcb;
  --pink: #ffb2c6;
  --pink2: #fed2e0;
  --hot: #ff5e9c;
  --orange: #ffad5c;
  --purple: #8f4bff;
  --vi: linear-gradient(180deg, #ffc27a 0%, #ff7aa8 48%, #a35bff 100%);
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* CA box under the nav */
.castrip { display: flex; justify-content: center; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ca-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(255, 178, 198, 0.28);
  border-radius: 10px;
  background: var(--panel);
  color: var(--pink2);
  font: 500 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ca-box:hover { border-color: var(--pink); background: var(--panel2); }
.ca-tag { flex: none; padding: 4px 7px; border-radius: 6px; background: var(--pink); color: #160b1f; font: 800 13px/1 var(--display); letter-spacing: 0.08em; }
.ca-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ca-done {
  position: absolute;
  inset: -1px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--pink);
  color: #160b1f;
  font: 800 16px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ca-done.show { opacity: 1; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 24px;
  background: rgba(12, 13, 27, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255, 178, 198, 0.45);
  transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1);
  cursor: pointer;
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
.brand-logo.spin { animation: peek 0.9s ease; }
@keyframes peek {
  0% { transform: scale(1); }
  30% { transform: scale(1.35) rotate(-10deg); }
  60% { transform: scale(1.2) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}
/* same font and colors as the big BIRDWATCHER title */
.brand-name {
  font: 400 24px/1 "Anton", Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #c3a2ff 0%, #ff9fd2 40%, #ffb488 72%, #ffe2a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.6px rgba(255, 243, 234, 0.5);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
/* every item the same height so they sit on one line */
.nav-links a { display: inline-flex; align-items: center; justify-content: center; height: 32px; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1; color: var(--pink2); }
.nav-links .nav-x { width: 32px; }
.nav-links a:hover { color: #fff; }
.nav-x svg { width: 18px; height: 18px; fill: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-pink { background: var(--pink); color: #160b1f !important; }
.btn-pink:hover { background: #ffc6d5; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 120, 170, 0.35); }
.btn-sm { height: 32px; padding: 0 18px; font-size: 15px; line-height: 1; }
.btn-big { padding: 18px 30px; font: 800 24px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }

/* Hero collage: slanted panels cut with clip-path (no transforms, so media stays sharp) */
.hero { position: relative; overflow: hidden; background: #1a1030; }
.collage { position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 420px; max-height: 76vh; --g: 4px; }
.p { position: absolute; inset: 0; margin: 0; }
.p img, .p video {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  object-fit: cover;
}
/* Gutters: three "/" dividers (x at top -> x at bottom) 23->19, 57->53, 79->75 */
.pl1 { clip-path: polygon(0 0, calc(23% - var(--g)) 0, calc(21% - var(--g)) calc(50% - var(--g)), 0 calc(55% - var(--g))); }
.pl2 { clip-path: polygon(0 calc(55% + var(--g)), calc(21% - var(--g)) calc(50% + var(--g)), calc(19% - var(--g)) 100%, 0 100%); }
.pc  { clip-path: polygon(calc(23% + var(--g)) 0, calc(57% - var(--g)) 0, calc(53% - var(--g)) 100%, calc(19% + var(--g)) 100%); }
.pm1 { clip-path: polygon(calc(57% + var(--g)) 0, calc(79% - var(--g)) 0, calc(76.92% - var(--g)) calc(52% - var(--g)), calc(54.68% + var(--g)) calc(58% - var(--g))); }
.pm2 { clip-path: polygon(calc(54.68% + var(--g)) calc(58% + var(--g)), calc(76.92% - var(--g)) calc(52% + var(--g)), calc(75% - var(--g)) 100%, calc(53% + var(--g)) 100%); }
.pr1 { clip-path: polygon(calc(79% + var(--g)) 0, 100% 0, 100% calc(56% - var(--g)), calc(76.6% + var(--g)) calc(60% - var(--g))); }
.pr2 { clip-path: polygon(calc(76.6% + var(--g)) calc(60% + var(--g)), 100% calc(56% + var(--g)), 100% 100%, calc(75% + var(--g)) 100%); }
.p-logo .logo-fill { filter: blur(18px) saturate(1.3); transform: scale(1.3); }
.p-logo img:last-child { object-fit: contain; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 27, 0) 70%, rgba(12, 13, 27, 0.6) 88%, var(--bg) 100%);
  pointer-events: none;
}
.hero-title {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 56%;
  width: min(54%, 920px);
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero-title h1 { margin: 0; line-height: 0; }
.wordmark { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 30px rgba(10, 4, 24, 0.55)); }
.wordmark text { font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-size: 210px; letter-spacing: 2px; }
.hero-sub {
  display: inline-block;
  margin: 6px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 13, 27, 0.78);
  font-size: clamp(14px, 1.4vw, 18px);
  color: #fff;
}
.hero-sub b { color: var(--pink); }
.tick {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255, 178, 198, 0.16);
  border: 1px solid rgba(255, 178, 198, 0.4);
  font: 800 18px/1.3 var(--display);
  letter-spacing: 0.05em;
  color: var(--pink2);
}

/* Countdown */
.launch { background: var(--bg); border-bottom: 1px solid var(--line); }
.launch-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px 10px;
}
.count-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.count-game { padding: 0.04em 0.14em 0.04em 0.02em; font: italic 900 30px/1 var(--display); background: var(--vi); -webkit-background-clip: text; background-clip: text; color: transparent; }
.count-label, .count-date { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.count-label { padding: 0 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--pink2); }
.count-nums { display: flex; gap: 28px; }
.count-nums div { display: flex; flex-direction: column; }
.count-nums b { font: 800 clamp(48px, 6vw, 72px)/0.95 var(--display); font-variant-numeric: tabular-nums; color: #fff; }
.count-nums i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.count-nums.open b { color: var(--pink); }
.launch-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 300px; }
.launch-links { display: flex; justify-content: center; gap: 20px; font-size: 14px; }
.launch-links a { color: var(--pink2); text-decoration: none; border-bottom: 1px solid rgba(255, 178, 198, 0.35); }
.launch-links a:hover { color: #fff; }
.fanline { margin: 0; padding: 8px 16px 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* Sections */
.sec-head { max-width: 1200px; margin: 0 auto 22px; padding: 0 24px; }
.sec-head h2 {
  display: inline-block;
  margin: 0 0 6px;
  padding: 0.04em 0.14em 0.04em 0.02em;
  font: italic 900 clamp(40px, 5vw, 60px)/1 var(--display);
  text-transform: uppercase;
  background: var(--vi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head p { margin: 0; display: block; max-width: 640px; color: var(--muted); }

.clips { padding: 64px 0 24px; }
.clip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.clip {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.clip:hover { transform: translateY(-3px); border-color: rgba(255, 178, 198, 0.45); }
.clip-media { position: relative; aspect-ratio: 4 / 3; background: #000; }
.clip-media video { width: 100%; height: 100%; object-fit: cover; }
.clip-media video[data-src*="gulls"] { object-position: 50% 30%; }
.clip-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 178, 198, 0.92);
  opacity: 0;
  transform: scale(0.8);
  transition: 0.2s;
}
.clip-play::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  border: 7px solid transparent;
  border-left: 11px solid #1a0d24;
  border-right: 0;
}
.clip:hover .clip-play { opacity: 1; transform: none; }
.clip-text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.clip-text b { font: 800 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.clip-text span { font-size: 13px; color: var(--muted); }

/* Bird list */
.birds { padding: 56px 0 80px; }
.log-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
}
.log-meter { flex: 1; max-width: 420px; }
.log-meter-top { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.log-meter-top b { font: 800 26px/1 var(--display); color: #fff; }
.log-track { height: 10px; border-radius: 99px; background: var(--panel2); overflow: hidden; }
.log-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--hot), var(--purple)); transition: width 1.2s ease; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--pink2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.chip:hover { border-color: rgba(255, 178, 198, 0.5); }
.chip.on { background: var(--pink); border-color: var(--pink); color: #160b1f; font-weight: 700; }

.bird-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.bird {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}
.bird:hover { transform: translateY(-3px); border-color: rgba(255, 178, 198, 0.4); }
.bird-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel2); }
.bird-img img { width: 100%; height: 100%; object-fit: cover; }
.bird-no {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(12, 13, 27, 0.8);
  font: 800 15px/1 var(--display);
  letter-spacing: 0.04em;
}
.bird-src {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(12, 13, 27, 0.75);
  font-size: 11px;
  color: #ddd;
  text-decoration: none;
}
.bird-src.game { background: rgba(255, 94, 156, 0.85); color: #fff; font-weight: 700; }
a.bird-src:hover { color: #fff; }
.bird-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.bird-name { margin: 0; font: 800 21px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.bird-where { font-size: 12px; color: var(--muted); }
.bird-note { margin: 0; font-size: 14px; color: #e9dcef; }

.tag { display: inline-block; align-self: flex-start; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.t-trailer { background: rgba(255, 94, 156, 0.18); color: #ff9cc2; }
.t-preview { background: rgba(255, 173, 92, 0.18); color: #ffc58f; }
.t-official { background: rgba(120, 200, 255, 0.16); color: #9fd8ff; }
.t-fan { background: rgba(163, 91, 255, 0.2); color: #cfa9ff; }
.t-leak { background: rgba(255, 255, 255, 0.1); color: #cfc6d8; }

.bird.hidden { background: linear-gradient(160deg, #191834, #120f26); }
.bird.hidden .bird-img {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 94, 156, 0.22), transparent 60%),
    linear-gradient(180deg, #221d43, #151330);
}
.bird.hidden .bird-img svg { width: 46%; height: auto; fill: #2e2754; }
.bird.hidden .q {
  position: absolute;
  font: italic 900 54px/1 var(--display);
  color: rgba(255, 178, 198, 0.55);
}
.bird.hidden .bird-name { color: #8d80a6; }
.bird.hidden:hover .bird-img svg { fill: #3a3168; }

.tag-key { max-width: 1200px; margin: 22px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.tag-key .tag { margin-left: 8px; }

/* Footer */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 24px 56px;
  border-top: 1px solid var(--line);
  background: var(--bg2);
  text-align: center;
}
.foot-logo { width: 64px; height: 64px; border-radius: 14px; }
.foot-ca { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); }
.foot-copy {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 500 13px/1 ui-monospace, Menlo, monospace;
  cursor: pointer;
}
.foot-copy:hover { border-color: var(--pink); }
.foot p { max-width: 720px; margin: 0; font-size: 13px; color: var(--muted); }

/* Tablet */
@media (max-width: 980px) {
  .collage { aspect-ratio: 16 / 9; min-height: 0; }
  .hero-title { width: 80%; }
  .clip-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-inner { flex-direction: column; align-items: stretch; }
  .count-head { flex-wrap: wrap; }
  .count-nums { justify-content: space-between; }
  .launch-actions { min-width: 0; }
}

/* Phone */
@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }
  .castrip { padding: 10px 16px; }
  .ca-box { font-size: 10.5px; gap: 7px; padding: 8px 10px; }
  .nav { padding: 6px 16px; }
  .brand-logo { width: 28px; height: 28px; border-radius: 7px; }
  .brand-name { font-size: 21px; }
  .nav-links { gap: 12px; }
  .nav-links a { height: 32px; }
  .nav-links .nav-x { width: 30px; }
  .btn-sm { height: 32px; }
  .nav-links a[href="#clips"] { display: none; }
  .collage { aspect-ratio: 4 / 5; min-height: 0; max-height: none; --g: 3px; }
  .pl2, .pm1, .pr2 { display: none; }
  .pc  { --x: 0 !important; --y: 0 !important; --w: 100% !important; --h: 60% !important;
         clip-path: polygon(0 0, 100% 0, 100% calc(52% - var(--g)), 0 calc(60% - var(--g))); }
  .pl1 { --x: 0 !important; --y: 54% !important; --w: 36% !important; --h: 46% !important;
         clip-path: polygon(0 calc(60% + var(--g)), calc(36% - var(--g)) calc(57.1% + var(--g)), calc(31% - var(--g)) 100%, 0 100%); }
  .pr1 { --x: 31% !important; --y: 53% !important; --w: 39% !important; --h: 47% !important;
         clip-path: polygon(calc(36% + var(--g)) calc(57.1% + var(--g)), calc(70% - var(--g)) calc(54.4% + var(--g)), calc(65% - var(--g)) 100%, calc(31% + var(--g)) 100%); }
  .pm2 { --x: 65% !important; --y: 52% !important; --w: 35% !important; --h: 48% !important;
         clip-path: polygon(calc(70% + var(--g)) calc(54.4% + var(--g)), 100% calc(52% + var(--g)), 100% 100%, calc(65% + var(--g)) 100%); }
  .hero::after { background: linear-gradient(180deg, rgba(12, 13, 27, 0) 78%, rgba(12, 13, 27, 0.6) 92%, var(--bg) 100%); }
  .hero-title { width: 94%; top: 47%; }
  .hero-sub { font-size: 13px; padding: 5px 12px; }
  .p-logo img:last-child { object-position: 50% 30%; }
  .count-label { border-right: 0; }
  .count-nums { gap: 4px; }
  .count-nums div { align-items: center; flex: 1; }
  .fanline { font-size: 12px; }
  .hero-sub { font-size: 15px; }
  .tick { font-size: 15px; }
  .launch-inner { padding: 20px 16px 6px; gap: 18px; }
  .count-head { gap: 8px; }
  .count-label { padding: 0 8px; }
  .count-nums { gap: 8px; }
  .count-nums b { font-size: 46px; }
  .btn-big { padding: 16px 20px; font-size: 21px; }
  .sec-head, .clip-grid, .bird-grid, .log-bar, .tag-key { padding-left: 16px; padding-right: 16px; }
  .clips { padding-top: 44px; }
  .clip-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .clip-text { padding: 10px 12px 12px; }
  .clip-text b { font-size: 17px; }
  .clip-text span { font-size: 12px; }
  .log-bar { flex-direction: column; align-items: stretch; }
  .log-meter { max-width: none; }
  .bird-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bird-body { padding: 10px 11px 12px; }
  .bird-name { font-size: 17px; }
  .bird-note { font-size: 13px; }
  .bird.hidden .q { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .log-fill { transition: none; }
}
