/* ═════════════════════════════════════════════════════════════
   PROJECTOR STYLES
   1. Colours & fonts    → change the look of everything at once
   2. Basics             → the 1280×720 stage, shared pieces
   3. Animations         → reusable animation classes
   4. One block per slide
   ═════════════════════════════════════════════════════════════ */


/* ── 1. COLOURS & FONTS ─────────────────────────────────────── */
:root {
  --navy:        #0B1640;   /* background */
  --navy-light:  #142266;   /* cards */
  --navy-lighter:#1B2C7A;
  --shadow:      #050A22;
  --blue:        #1F4FD8;
  --blue-line:   #2A4FC4;
  --blue-light:  #5B8CFF;
  --yellow:      #F6B44C;   /* main accent */
  --yellow-light:#FAD08E;
  --orange:      #FF8A1F;
  --red:         #E5322D;
  --text-soft:   #D7E0FA;
  --text-muted:  #AFC0F0;

  --font-fun:  'Righteous', sans-serif;   /* titles, numbers */
  --font-text: 'Inter', sans-serif;       /* normal text */
}


/* ── 2. BASICS ──────────────────────────────────────────────── */
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; cursor: none; }
body.show-mouse { cursor: default; }
[hidden] { display: none !important; }

/* The stage: always 1280×720, scaled up or down to fit the projector */
#screen {
  position: absolute; left: 50%; top: 50%;
  width: 1280px; height: 720px;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  background: var(--navy); color: #FFFFFF;
  font-family: var(--font-text);
  overflow: hidden;
}

/* Only the active slide is visible. Showing a slide replays its animations. */
.slide {
  display: none;
  position: absolute; inset: 0;
  box-sizing: border-box;
  padding: 44px 72px;
  flex-direction: column; gap: 24px;
}
.slide.active { display: flex; }
.slide.center { align-items: center; justify-content: center; text-align: center; }

#hint, #offline {
  position: fixed; bottom: 12px; right: 16px; z-index: 10; margin: 0;
  font: 600 13px var(--font-text); color: #FFFFFF;
  background: rgba(0, 0, 0, .4); padding: 6px 12px; border-radius: 999px;
}
#offline { left: 16px; top: 12px; right: auto; bottom: auto; background: var(--red); }

/* Shared pieces */
h1, h2, p, ol { margin: 0; }
.font-fun { font-family: var(--font-fun); font-weight: 400; }
.yellow { color: var(--yellow); }
.orange { color: var(--orange); }
.title {
  font-family: var(--font-fun); font-weight: 400; font-size: 68px; line-height: 1;
  color: var(--yellow); text-shadow: 0 5px 0 var(--shadow);
}
.huge { font-family: var(--font-fun); font-weight: 400; font-size: 156px; line-height: .95; position: relative; }
.subtitle { position: relative; font-size: 26px; line-height: 1.45; color: var(--text-soft); max-width: 760px; }
.pill { position: relative; font-weight: 700; font-size: 22px; letter-spacing: .04em; padding: 10px 26px; border-radius: 999px; }
.pill.blue { background: var(--blue); }
.pill.red  { background: var(--red); }
.pill.navy { background: var(--navy); color: var(--yellow); }
.dot {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy); font: 24px var(--font-fun);
}

/* Flags: pictures from flagcdn.com, cropped to a 3:2 rectangle */
.flag { display: block; flex: none; width: 30px; height: 20px; object-fit: cover; border-radius: 3px; outline: 1px solid #FFFFFF; background: var(--navy-lighter); }
.flag.medium { width: 48px; height: 32px; outline-width: 2px; }
.flag.big    { width: 66px; height: 44px; outline-width: 2px; border-radius: 6px; }
.flag.huge   { width: 96px; height: 64px; outline-width: 3px; border-radius: 8px; }

/* Dashed flight paths + little planes */
.flight-path { position: absolute; left: 0; top: 0; }
.flight-path path { fill: none; stroke-width: 3; stroke-dasharray: 10 12; }
.plane { position: absolute; left: 0; top: 0; offset-rotate: auto; }


/* ── 3. ANIMATIONS ──────────────────────────────────────────── */
/* Put one of these classes on an element in the HTML: */
.pop-in        { animation: pop .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.pop-in-late   { animation: pop .7s .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.slide-up      { animation: slide-up .6s .7s ease-out both; }
.pulse         { animation: pulse 1.6s ease-in-out infinite; }
.wiggle        { animation: wiggle 2.4s ease-in-out infinite; transform-origin: 50% 30%; }
.spin          { animation: spin 2.6s ease-in-out infinite; }
.dash          { animation: dash 1.6s linear infinite; }
.pop-word      { display: inline-block; animation: pop-word .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.pop-word.late { animation: pop-word .7s .35s cubic-bezier(.3, 1.6, .5, 1) both, word-wiggle 1.4s 1.2s ease-in-out infinite; }

/* On a list: its items appear one after the other */
.pop-in-list > *   { animation: pop .5s calc(.15s + var(--i, 0) * .07s) cubic-bezier(.3, 1.4, .5, 1) both; }
.slide-in-list > * { animation: slide-in .5s calc(.15s + var(--i, 0) * .07s) ease-out both; }

@keyframes pop         { 0% { opacity: 0; transform: scale(.6) } 70% { opacity: 1; transform: scale(1.05) } 100% { opacity: 1; transform: scale(1) } }
@keyframes slide-up    { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
@keyframes slide-in    { from { opacity: 0; transform: translateX(-40px) } to { opacity: 1; transform: none } }
@keyframes pulse       { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.04) } }
@keyframes wiggle      { 0%, 60%, 100% { transform: rotate(0) } 10% { transform: rotate(-12deg) } 20% { transform: rotate(10deg) } 30% { transform: rotate(-6deg) } 40% { transform: rotate(3deg) } }
@keyframes spin        { 0% { transform: rotate(0) scale(1) } 50% { transform: rotate(180deg) scale(1.15) } 100% { transform: rotate(360deg) scale(1) } }
@keyframes dash        { to { stroke-dashoffset: -88 } }
@keyframes pop-word    { 0% { transform: scale(0) rotate(-10deg); opacity: 0 } 60% { transform: scale(1.15) rotate(3deg); opacity: 1 } 100% { transform: none; opacity: 1 } }
@keyframes word-wiggle { 0%, 100% { transform: rotate(-3deg) scale(1) } 50% { transform: rotate(3deg) scale(1.07) } }
@keyframes flip        { from { opacity: 0; transform: perspective(600px) rotateX(90deg) } to { opacity: 1; transform: none } }
@keyframes slam        { 0% { transform: scale(3) rotate(-20deg); opacity: 0 } 60% { transform: scale(.9) rotate(4deg); opacity: 1 } 80% { transform: scale(1.05) rotate(-2deg) } 100% { transform: none; opacity: 1 } }
@keyframes fly-along   { 0% { offset-distance: 0%; opacity: 0 } 6% { opacity: 1 } 92% { opacity: 1 } 100% { offset-distance: 100%; opacity: 0 } }

/* People who turned off motion on their computer get no animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}


/* ── 4. SLIDES ──────────────────────────────────────────────── */

/* 1 · Welcome */
.fly-welcome { offset-path: path('M -40 620 C 260 480, 980 700, 1160 160'); animation: fly-along 9s linear infinite; }
.trophy { position: absolute; right: 74px; top: 40px; width: 120px; }
.buzzer { position: absolute; left: 34px; bottom: 175px; width: 170px; }
.logo-text { font-family: Anton, sans-serif; text-anchor: middle; stroke: #FFFFFF; stroke-linejoin: round; paint-order: stroke fill; letter-spacing: 1px; }

/* 2 · Scan to join */
.join-top { flex: 1; display: flex; gap: 56px; align-items: center; }
.join-left { flex: 1; display: flex; flex-direction: column; gap: 28px; }
#join .title { font-size: 72px; line-height: .95; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; align-items: center; gap: 16px; font-size: 22px; color: var(--text-soft); }
.steps .dot { width: 48px; height: 48px; font-size: 28px; }
.qr-card {
  width: 400px; box-sizing: border-box; padding: 28px; border-radius: 28px;
  background: #FFFFFF; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.qr-card img { width: 240px; height: 240px; }
.qr-card p { font-size: 36px; line-height: 1; }
.qr-card small { font-size: 14px; font-weight: 600; color: #4A5680; }
.ready-count { font-size: 30px; }
.join-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.join-team {
  height: 46px; box-sizing: border-box; padding: 0 10px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
  border: 2px dashed var(--blue-line); opacity: .5;
}
.join-team.ready { border: 2px solid var(--yellow); background: var(--navy-light); opacity: 1; }
.join-team .name { flex: 1; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.join-team .check { display: none; fill: none; stroke: var(--yellow); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.join-team.ready .check { display: block; }

/* 3 · Rules */
#rules { padding-top: 40px; }
#rules .title { font-size: 64px; }
.rules-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 16px; }
.rule { background: var(--navy-light); border: 3px solid var(--blue-line); border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.rule h2 { display: flex; align-items: center; gap: 12px; font: 28px var(--font-fun); line-height: 1; }
.rule p { font-size: 17px; line-height: 1.45; color: var(--text-soft); }
.rule.highlight { background: var(--yellow); border-color: var(--yellow-light); color: var(--navy); }
.rule.highlight p { color: var(--navy); }
.rule.highlight .dot { background: var(--navy); color: var(--yellow); }

/* 4 · Teams (bonus points fly in for the top 3 of the warm-up) */
#teams { padding-top: 48px; gap: 28px; }
#teams .title { font-size: 72px; }
.empty-message { align-self: center; margin-top: 120px; }
/* Up to 4 cards per row; rows are centred, so 2 or 3 teams still look good */
.teams-grid { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 16px; }
.teams-grid > .team-card { width: calc((100% - 48px) / 4); height: 150px; box-sizing: border-box; }
.team-card {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: var(--navy-light); border: 3px solid var(--blue-line); border-radius: 20px; padding: 18px 20px;
}
.team-card > div { display: grid; gap: 4px; justify-items: start; }
.team-card .name { font: 23px var(--font-fun); line-height: 1; }
.team-card .points { font-size: 15px; color: var(--text-muted); grid-row: 2; grid-column: 1; }
.team-card .bonus-pill { grid-row: 2; grid-column: 1; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 15px; padding: 3px 10px; border-radius: 999px; }
.bonus-ring { position: absolute; inset: -3px; border: 3px solid var(--yellow); border-radius: 20px; }
.bonus-fly { position: absolute; right: 14px; top: -14px; font: 40px var(--font-fun); color: var(--yellow); text-shadow: 0 3px 0 var(--shadow); }
.team-card:not(.has-bonus) :is(.bonus-pill, .bonus-ring, .bonus-fly) { display: none; }
.team-card.has-bonus .points     { animation: fade-out .25s var(--delay) ease-in both; }
.team-card.has-bonus .bonus-pill { animation: bonus-in .6s var(--delay) cubic-bezier(.3, 1.6, .5, 1) both; }
.team-card.has-bonus .bonus-ring { animation: ring-in .6s var(--delay) ease-out both; }
.team-card.has-bonus .bonus-fly  { animation: fly-up 1.3s var(--delay) ease-out both; }
@keyframes fade-out { to { opacity: 0; transform: translateY(-8px) } }
@keyframes bonus-in { 0% { opacity: 0; transform: scale(0) } 60% { opacity: 1; transform: scale(1.35) } 100% { opacity: 1; transform: scale(1) } }
@keyframes ring-in  { 0% { opacity: 0; transform: scale(1.15) } 50% { opacity: 1; transform: scale(.97) } 100% { opacity: 1; transform: scale(1) } }
@keyframes fly-up   { 0% { opacity: 0; transform: translateY(20px) scale(.5) } 25% { opacity: 1; transform: translateY(0) scale(1.2) } 70% { opacity: 1; transform: translateY(-30px) } 100% { opacity: 0; transform: translateY(-60px) } }

/* 5 · Are you ready? */
#ready { gap: 28px; }
.fly-ready { offset-path: path('M 80 640 C 360 420, 900 760, 1220 140'); animation: fly-along 6s linear infinite; }
#ready .huge { text-shadow: 0 8px 0 var(--shadow); }

/* 6 · Question board */
#board { padding: 32px 48px 40px; }
.board-header { height: 56px; display: flex; align-items: center; gap: 12px; }
.board-header > :first-child { font-size: 28px; margin-right: auto; }
.board-header .pill { font-size: 30px; padding: 6px 28px; letter-spacing: 0; }
.board-main { flex: 1; min-height: 0; display: flex; gap: 24px; }
.board { flex: 1; position: relative; padding: 20px; background: var(--navy-light); border: 5px solid var(--yellow); border-radius: 28px; }

.tiles { height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows), 1fr); grid-auto-flow: column; gap: 16px; }
.tile {
  min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--blue); border: 4px solid var(--blue-light); border-radius: 18px;
}
.tile-number {
  width: 110px; height: 72px; border-radius: 999px; background: var(--navy); border: 3px solid var(--blue-light);
  display: flex; align-items: center; justify-content: center; color: var(--yellow); font: 48px var(--font-fun);
}
.tile-answer, .tile-points { display: none; }
/* A revealed answer */
.tile.shown { background: var(--yellow); border-color: var(--yellow-light); color: var(--navy); justify-content: flex-start; padding: 0 16px 0 24px; animation: flip .7s cubic-bezier(.3, 1.3, .5, 1) both; }
.tile.shown .tile-number { display: none; }
.tile.shown .tile-answer { display: block; flex: 1; font: 32px var(--font-fun); line-height: 1.05; }
.tile.shown .tile-points {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 96px; height: 80px; border-radius: 14px; background: var(--navy); color: var(--yellow); font: 48px var(--font-fun);
}

/* The big red X */
.big-x { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(11, 22, 64, .55); border-radius: 22px; }
.big-x.show { display: flex; }
.big-x.show svg { animation: slam .6s .1s cubic-bezier(.3, 1.3, .5, 1) both; }

/* Side panel */
.panel { width: 330px; box-sizing: border-box; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--navy-light); border: 3px solid var(--yellow); border-radius: 24px; }
.panel.locked { padding: 28px; border-color: var(--blue-line); align-items: center; justify-content: center; gap: 18px; text-align: center; }
.panel.locked strong { font-size: 36px; line-height: 1; }
.panel.locked span { font-size: 20px; line-height: 1.5; color: var(--text-soft); }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-radius: 14px; background: var(--yellow); color: var(--navy); font-size: 14px; font-weight: 700; }
.panel-header .font-fun { font-size: 26px; }
.no-buzz { font-size: 18px; line-height: 1.5; color: var(--text-soft); text-align: center; padding: 24px 8px; }
.buzz-order { display: flex; flex-direction: column; gap: 4px; }
.buzz-row { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; color: var(--text-muted); }
.buzz-row .rank { width: 22px; text-align: right; font-weight: 700; }
.buzz-row .name { flex: 1; font-size: 17px; font-weight: 600; }
.buzz-row .status { font-size: 14px; font-weight: 800; }
.buzz-row.answering { background: var(--yellow); color: var(--navy); animation: answer-glow 1.4s ease-in-out infinite; }
/* the answering row glows instead of growing, so it stays in line with the others */
@keyframes answer-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(246, 180, 76, .7) } 50% { box-shadow: 0 0 0 5px rgba(246, 180, 76, .25) } }
.buzz-row.correct, .buzz-row.wrong { background: var(--navy-lighter); color: #FFFFFF; animation: none; }
.buzz-row.correct .status { background: var(--yellow); color: var(--navy); padding: 2px 9px; border-radius: 999px; font-size: 15px; }
.buzz-row.wrong .status { color: #FF6B66; font-size: 18px; }

/* 7 · Scoreboard */
/* Two columns; each row is at most 80px high, so a few teams don't become huge bars */
.score-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows), minmax(0, 80px)); grid-auto-flow: column; align-content: start; gap: 12px 28px; }
.score-row { min-height: 0; display: flex; align-items: center; gap: 16px; padding: 0 22px; background: var(--navy-light); border-radius: 16px; }
.score-row.top-3 { background: var(--yellow); color: var(--navy); }
.score-row .rank  { width: 34px; font: 30px var(--font-fun); }
.score-row .name  { flex: 1; font: 28px var(--font-fun); }
.score-row .this-round { font-size: 16px; font-weight: 600; opacity: .8; }
.score-row .total { width: 70px; text-align: right; font: 34px var(--font-fun); }

/* 8 · Double points */
.yellow-bg { background: var(--yellow); color: var(--navy); }
#double { gap: 26px; }
#double .huge { font-size: 168px; line-height: .9; text-shadow: 0 8px 0 var(--orange); }
#double .row { display: flex; align-items: center; gap: 18px; font-size: 28px; font-weight: 600; }
.times-two { width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #FFFFFF; font: 48px var(--font-fun); }

/* 9 · Podium: change the seconds below to make the reveal faster or slower */
#podium { padding: 40px 72px 0; align-items: center; gap: 6px; }
#podium .title { position: relative; }
.drumroll { position: relative; font-size: 22px; font-weight: 700; letter-spacing: .06em; color: var(--text-soft); animation: blink .5s .4s 6 ease-in-out, fade-out .3s 3.3s forwards; }
.tease { position: absolute; top: 190px; left: 0; right: 0; text-align: center; font: 76px var(--font-fun); color: var(--orange); text-shadow: 0 6px 0 var(--shadow); animation: tease 3s 9s both; }
.podium { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 24px; }
.place { width: 300px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.place-info { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: pop-word .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.place-teams { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.podium-team { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.podium-team .name, .place-info .name { font: 40px var(--font-fun); line-height: 1; }
/* two or more teams on the same place: a bit smaller so they fit next to each other */
.place-teams:has(> .podium-team:nth-of-type(2)) .flag { width: 64px; height: 43px; }
.place-teams:has(> .podium-team:nth-of-type(2)) .name { font-size: 26px; }
.place-info .points { font-size: 22px; font-weight: 600; color: var(--text-soft); }
.block { width: 100%; box-sizing: border-box; padding-top: 18px; border-radius: 20px 20px 0 0; display: flex; justify-content: center; font: 80px var(--font-fun); line-height: 1; transform-origin: bottom; animation: rise .7s cubic-bezier(.3, 1.3, .5, 1) both; }
.place-1 .block { height: 270px; background: var(--yellow); color: var(--navy); }
.place-2 .block { height: 200px; background: var(--blue); }
.place-3 .block { height: 150px; background: var(--orange); color: var(--navy); }
/* the order: 3rd → 2nd → 1st */
.place-3 .block { animation-delay: 3.5s; }  .place-3 .place-info { animation-delay: 4.3s; }
.place-2 .block { animation-delay: 6.5s; }  .place-2 .place-info { animation-delay: 7.3s; }
.place-1 .block { animation-duration: 1.3s; animation-delay: 12s; }  .place-1 .place-info { animation-delay: 13.3s; }
.podium-trophy { animation: drop .9s 13.9s cubic-bezier(.3, 1.2, .5, 1) both, float 2s 14.8s ease-in-out infinite; }
.mystery { position: absolute; left: 50%; bottom: 0; width: 300px; height: 270px; margin-left: -150px; box-sizing: border-box; border: 4px dashed var(--yellow); border-bottom: none; border-radius: 20px 20px 0 0; display: flex; align-items: center; justify-content: center; font: 120px var(--font-fun); color: var(--yellow); animation: mystery 12s both; }
.podium-glow { position: absolute; left: 640px; top: 470px; width: 560px; height: 560px; border-radius: 50%; background: rgba(246, 180, 76, .16); animation: glow .6s 13s ease-out both, glow-pulse 2.4s 13.6s ease-in-out infinite; }
.flash { position: absolute; inset: 0; background: #FFFFFF; pointer-events: none; animation: flash .7s 13.1s ease-out both; }
.confetti i { position: absolute; top: 0; width: 12px; height: 20px; border-radius: 3px; opacity: 0; animation: fall 3.2s linear infinite; }
.confetti i:nth-child(4n+1) { background: var(--yellow); }
.confetti i:nth-child(4n+2) { background: var(--orange); }
.confetti i:nth-child(4n+3) { background: var(--blue-light); }
.confetti i:nth-child(4n+4) { background: #FFFFFF; }
.confetti i:nth-child(1)  { left: 6%;  animation-delay: 14s; }    .confetti i:nth-child(2)  { left: 14%; animation-delay: 14.6s; }
.confetti i:nth-child(3)  { left: 22%; animation-delay: 14.2s; }  .confetti i:nth-child(4)  { left: 30%; animation-delay: 15.1s; }
.confetti i:nth-child(5)  { left: 38%; animation-delay: 14.4s; }  .confetti i:nth-child(6)  { left: 46%; animation-delay: 15.4s; }
.confetti i:nth-child(7)  { left: 54%; animation-delay: 14.1s; }  .confetti i:nth-child(8)  { left: 62%; animation-delay: 14.9s; }
.confetti i:nth-child(9)  { left: 70%; animation-delay: 14.3s; }  .confetti i:nth-child(10) { left: 78%; animation-delay: 15.2s; }
.confetti i:nth-child(11) { left: 86%; animation-delay: 14.5s; }  .confetti i:nth-child(12) { left: 94%; animation-delay: 15s; }
.confetti i:nth-child(13) { left: 10%; animation-delay: 15.7s; }  .confetti i:nth-child(14) { left: 42%; animation-delay: 16s; }
.confetti i:nth-child(15) { left: 66%; animation-delay: 15.8s; }  .confetti i:nth-child(16) { left: 90%; animation-delay: 16.2s; }

@keyframes blink      { 0%, 100% { opacity: 1; transform: scale(1) } 50% { opacity: .45; transform: scale(.96) } }
@keyframes rise       { 0% { transform: scaleY(0) } 70% { transform: scaleY(1.08) } 100% { transform: scaleY(1) } }
@keyframes drop       { 0% { transform: translateY(-260px) rotate(-20deg); opacity: 0 } 60% { transform: translateY(12px) rotate(6deg); opacity: 1 } 80% { transform: translateY(-6px) } 100% { transform: none; opacity: 1 } }
@keyframes float      { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes flash      { 0% { opacity: 0 } 30% { opacity: .7 } 100% { opacity: 0 } }
@keyframes glow       { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0 } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1 } }
@keyframes glow-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1) } 50% { transform: translate(-50%, -50%) scale(1.08) } }
@keyframes fall       { 0% { transform: translateY(-40px) rotate(0); opacity: 1 } 100% { transform: translateY(780px) rotate(720deg); opacity: 1 } }
@keyframes mystery    { 0%, 70% { opacity: 0 } 75% { opacity: 1 } 80% { opacity: .4 } 85% { opacity: 1 } 90% { opacity: .4 } 95% { opacity: 1 } 100% { opacity: 0 } }
@keyframes tease      { 0% { opacity: 0; transform: scale(.5) } 15% { opacity: 1; transform: scale(1.1) } 25% { transform: scale(1) } 50% { transform: scale(1.06) } 75% { opacity: 1; transform: scale(1) } 100% { opacity: 0; transform: scale(1.3) } }
