/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --primary: #BA834D;
  --secondary: #443526;
  --background: #FAF2E6;
  --text: #443526;
  --subtle: #8B7355;
  --muted: #D4D1C7;
  --accent: #6B4423;
  --primary-soft: #D4A574;
  --grey0: #F5F0E1;
  --grey4: #3c2e1f;
  --success: #339933;
  --error: #F44336;
  --ish: #FFD700;
  --bg-mid: #EDDBC6;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type scale (1.25 ratio) */
  --text-2xs: 0.65rem;
  --text-xs: 0.7rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-md: 1.1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

button,
.btn-download,
.filter-pill,
.direct-panel-label,
.prompt-pill,
.swipe-label,
.blob-btn-label,
.mode-label,
.mode-btn,
.username,
.footer-link {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img, video {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* ============================================
   HEADER (from v2)
   ============================================ */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-header img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.logo-header h1 {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ============================================
   HERO (from v2)
   ============================================ */
.hero {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
  position: relative;
}

.headline {
  font-family: "Limelight", cursive;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}

.subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text);
  max-width: 800px;
  width: 80%;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ============================================
   CTA BUTTONS (from v2)
   ============================================ */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  scroll-margin-top: 2rem;
  position: relative;
  z-index: 40;
  animation: fadeInUp 1.2s ease-out 0.4s both;
}

.btn-download {
  padding: 1rem 2rem;
  border: none;
  background: linear-gradient(135deg, #4a3a2a 0%, #3c2e1f 50%, #2a1f14 100%);
  color: #f5ecd8;
  border-radius: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow:
    0 4px 12px rgba(60, 46, 31, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
  background: linear-gradient(135deg, #5a4a3a 0%, #4a3a2a 50%, #3c2e1f 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(60, 46, 31, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(60, 46, 31, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.android-expand {
  position: relative;
  z-index: 45;
}

.android-expand-toggle {
  list-style: none;
}

.android-expand-toggle::-webkit-details-marker {
  display: none;
}

.android-expand-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(255, 248, 237, 0.98);
  border: 1.5px solid rgba(60, 46, 31, 0.2);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 10px 25px rgba(60, 46, 31, 0.18);
  display: grid;
  gap: 0.45rem;
  z-index: 80;
  overflow: hidden;
}

.android-expand-menu::before {
  content: "Android Testing";
  display: block;
  padding: 0.45rem 0.55rem 0.5rem;
  margin: -0.5rem -0.5rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a422c;
  background: linear-gradient(90deg, #ffe6bc 0%, #f8dfb4 50%, #fdeccc 100%);
  border-bottom: 1px solid rgba(60, 46, 31, 0.12);
}

.android-expand[open] .android-expand-menu {
  animation: androidMenuPop 220ms ease-out;
}

.android-expand-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(60, 46, 31, 0.14);
  background: #fff7ea;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.android-expand-link:hover {
  background: #f7e8cf;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(60, 46, 31, 0.14);
}

.android-expand-link > span:first-child {
  flex: 1;
}

.android-expand-note {
  order: -1;
  min-width: 3.6rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #5e422b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(119, 89, 64, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  background: rgba(255, 240, 214, 0.85);
}

@keyframes androidMenuPop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* ============================================
   HERO VISUAL (from v2)
   ============================================ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6rem;
  min-height: 600px;
  width: 150%;
  left: -25%;
  overflow: hidden;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(75%);
  bottom: 0;
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.15) 0%, var(--background));
  padding-bottom: 20px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

.cow-container {
  position: absolute;
  width: 400px;
  height: auto;
  z-index: 5;
}

.cow-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.cow-container::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 175px;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(60, 46, 31, 0.45) 0%, rgba(60, 46, 31, 0.3) 50%, transparent 80%);
  border-radius: 50%;
  z-index: -1;
}

.cow-left {
  left: 50%;
  bottom: 30%;
  transform: translateX(-110%);
}

.cow-right {
  right: 50%;
  bottom: 30%;
  transform: translateX(110%);
}

.phone-mockup {
  position: relative;
  z-index: 10;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 25px;
  border-width: 2px;
  border-color: #3c2e1f33;
  border-style: solid;
  pointer-events: none;
}

/* ============================================
   CONTENT SECTIONS - SHARED
   ============================================ */
.content-area {
  background: var(--background);
  position: relative;
  margin-top: -10px;
  padding-top: 175px;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.section-text {
  flex: 1;
}

.section-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.68;
  color: var(--subtle);
}

/* ============================================
   SECTION: CREATE A ROOM
   ============================================ */
.section-room {
  padding-top: 4rem;
}

.room-illustration {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  background: var(--bg-mid);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(68, 53, 38, 0.1);
}

.placeholder-cow {
  width: 200px;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
}

/* ============================================
   SECTION: INSTA-PICK (DIRECT)
   ============================================ */
.landing-or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem 2.25rem;
}

.landing-or-divider-line {
  flex: 1;
  min-width: 1.5rem;
  height: 1px;
  border-radius: 1px;
}

.landing-or-divider-line:first-of-type {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(68, 53, 38, 0.14) 35%,
    rgba(68, 53, 38, 0.22) 100%
  );
}

.landing-or-divider-line:last-of-type {
  background: linear-gradient(
    90deg,
    rgba(68, 53, 38, 0.22) 0%,
    rgba(68, 53, 38, 0.14) 65%,
    transparent 100%
  );
}

.landing-or-divider-word {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--subtle);
  opacity: 0.8;
}

.section-direct-wrapper {
  padding: 0 2rem;
  position: relative;
}

.section-direct-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 3 / 1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #be916530 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-direct-wrapper > * {
  position: relative;
  z-index: 1;
}

.section-direct {
  padding: 1.75rem 0 2.4rem;
  max-width: 960px;
  margin: 0 auto;
}

.direct-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 2.8vw, 1.8rem);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  border: 1.5px solid rgba(68, 53, 38, 0.16);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 8px 22px rgba(60, 46, 31, 0.06);
}

.direct-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 24rem;
  text-align: left;
}

.direct-card .section-title {
  margin-bottom: 0;
}

.direct-card .section-desc {
  max-width: 42ch;
  margin: 0;
}

.direct-stage {
  display: block;
  min-width: 0;
}

.direct-flow {
  display: flex;
  align-items: flex-start;
  justify-content: start;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.direct-panel {
  border: 1px solid rgba(68, 53, 38, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.direct-panel-io {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.4vw, 0.9rem);
  padding: 0.75rem;
}

.direct-io-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.55rem;
}

.direct-panel-input {
  padding: 0;
  align-items: center;
  flex: 1 1 auto;
}

.direct-panel-output {
  padding: 0;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

/* Keep In/Out visually separated in horizontal layouts */
.direct-panel-input {
  border-right: 1px solid rgba(68, 53, 38, 0.14);
  padding-right: clamp(0.8rem, 1.8vw, 1.2rem);
  margin-right: clamp(0.45rem, 1.1vw, 0.85rem);
}

.direct-panel-output {
  padding-left: clamp(0.45rem, 1.1vw, 0.85rem);
}

.direct-panel-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  align-self: flex-start;
  margin-bottom: 0;
  line-height: 1;
  position: relative;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(68, 53, 38, 0.08);
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.direct-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  align-items: center;
}

.direct-user-card {
  padding: 0.65rem 1rem;
  width: fit-content;
  max-width: 100%;
  box-shadow: none;
  background: #fffaf2;
  border-color: rgba(68, 53, 38, 0.16);
}


.direct-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  min-width: 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: rgba(68, 53, 38, 0.08);
  color: var(--text);
  border: 1px solid rgba(68, 53, 38, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
}

.letterboxd-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.letterboxd-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.direct-poster {
  width: clamp(100px, 11vw, 128px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  border: 1.5px solid rgba(68, 53, 38, 0.15);
  flex: 0 0 auto;
}

@media screen and (max-width: 1024px) and (min-width: 781px) {
  .section-direct {
    padding: 1.4rem 0 1.9rem;
  }

  .direct-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.5rem 1.3rem;
  }

  .direct-copy {
    max-width: none;
  }

  .direct-card .section-desc {
    max-width: 44ch;
  }

  .direct-stage {
    width: 100%;
  }

  .direct-flow {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .direct-panel-io {
    width: min(100%, 32rem);
  }

  .direct-panel-input {
    max-width: 24rem;
  }

  .direct-input-group {
    width: 100%;
    align-items: center;
  }

  .direct-user-card {
    width: fit-content;
    justify-content: center;
  }

  .direct-filters {
    justify-content: center;
  }
}

@media screen and (max-width: 780px) {
  .section-direct-wrapper {
    padding: 0 1.25rem;
  }

  .landing-or-divider {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-direct {
    padding: 1.25rem 0 1.6rem;
  }

  .direct-card {
    align-items: start;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }

  .direct-copy {
    max-width: none;
    gap: 0.75rem;
  }

  .direct-card .section-desc {
    max-width: 46ch;
  }

  .direct-stage {
    display: block;
    width: 100%;
  }

  .direct-flow {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
  }

  .direct-panel-io {
    width: min(100%, 26rem);
    border-radius: 14px;
    gap: 0.5rem;
  }

  .direct-panel-input {
    max-width: 20rem;
  }

  .direct-user-card {
    width: fit-content;
    justify-content: center;
  }

  .direct-filters {
    gap: 0.5rem;
    justify-content: center;
  }

  .direct-input-group {
    width: 100%;
    margin: 0 auto;
    gap: 0.55rem;
  }

  .direct-poster {
    width: 96px;
  }
}

@media screen and (min-width: 900px) {
  .direct-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(1.2rem, 2.8vw, 2.6rem);
    row-gap: 0.9rem;
  }

  .direct-stage {
    justify-self: end;
  }

  .direct-flow {
    width: auto;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .direct-input-group {
    align-items: center;
  }

  .direct-panel-io {
    min-width: 24rem;
  }
}

/* ============================================
   SECTION: BUILD YOUR POOL
   ============================================ */
.section-pool {
  max-width: 900px;
}

.pool-heading {
  text-align: center;
  margin-bottom: -100px;
}

.pool-heading .section-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.pool-heading .section-desc {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.pool-stage {
  position: relative;
}

.pool-layout {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.pool-methods {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Last method (search): column ends flush with search UI — no extra min-height or bottom pad */
.pool-methods .method:last-child {
  min-height: auto;
  padding-bottom: 0;
}

/* Individual method */
.method {
  min-height: 50svh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem 4rem 0;
}

.method-content {
  width: 100%;
}

.method-title {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.method-desc {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #7a5c3e;
  margin-bottom: 2rem;
  max-width: 460px;
}

.method-visual {
  max-width: 500px;
  position: relative;
}

.method-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #be916599 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.method-visual > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   TRAY BLOB MENU (recreation)
   ============================================ */
.tray-blob-wrapper {
  position: sticky;
  top: calc(50vh - 160px);
  align-self: flex-start;
  width: 200px;
  z-index: 5;
  transition: opacity 0.25s ease;
}

@media screen and (min-width: 1025px) {
  .tray-blob-wrapper {
    margin-top: clamp(7rem, 18vh, 14rem);
  }
}

.tray-blob-wrapper.blob-past-end {
  opacity: 0;
  pointer-events: none;
}

.blob-shape {
	background: var(--secondary);
	border-radius: 42%;
	padding: 72px;
	box-shadow: -6px 10px 28px rgba(0, 0, 0, 0.28);
	display: flex;
	justify-content: center;
	width: 300px;
	margin-left: -100px;
}

.blob-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.blob-btn {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border: none;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--grey0);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: default;
  opacity: 0.45;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.blob-btn.active {
  opacity: 1;
  box-shadow: 0 0 16px rgba(186, 131, 77, 0.5);
  transform: scale(1.05);
}

.blob-btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-btn-icon svg {
  width: 100%;
  height: 100%;
}

.blob-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Shared watchlist composite icon */
.blob-icon-shared {
  position: relative;
  width: 32px;
}

.blob-icon-shared .blob-icon-lb {
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.blob-icon-shared .blob-icon-int {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.blob-btn-label {
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* ============================================
   METHOD VISUALS: WATCHLIST
   ============================================ */
.watchlist-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.username {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.method-arrow {
  font-size: 1.5rem;
  color: var(--primary);
}

.method-poster {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(68, 53, 38, 0.12);
}

/* Poster stage: main poster flanked by darkened side posters */
.watchlist-poster-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.watchlist-main-poster {
  width: clamp(90px, 22vw, 120px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.watchlist-side-poster {
  width: clamp(65px, 16vw, 88px);
  height: auto;
  border-radius: 8px;
  filter: brightness(0.32) saturate(0.6);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.watchlist-side-poster:first-child {
  margin-right: -20px;
  transform: rotate(-4deg);
  transform-origin: bottom right;
}

.watchlist-side-poster:last-child {
  margin-left: -20px;
  transform: rotate(4deg);
  transform-origin: bottom left;
}

/* ============================================
   METHOD VISUALS: SHARED WATCHLIST
   ============================================ */
.shared-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Venn diagram stage.
   Container: 400px ref. Circles: 68% = 272px each.
   Left: 0–272, Right: 128–400. Overlap: 128–272 (144px).
   Non-overlap per side: 128px, card centers at 12% / 88%. */
.shared-venn {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 400 / 272;
}

.shared-venn-circle {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 0;
  mix-blend-mode: multiply;
}

.shared-venn-left {
  left: 0;
  background: radial-gradient(circle at 55% 50%, rgba(212, 155, 90, 0.55), rgba(212, 155, 90, 0.22));
}

.shared-venn-right {
  right: 0;
  background: radial-gradient(circle at 45% 50%, rgba(160, 100, 45, 0.55), rgba(160, 100, 45, 0.22));
}

.shared-venn-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30%; /* ~120px at 400px — sits in the 144px overlap zone */
  height: auto;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  z-index: 5;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Users sit in each circle's exclusive region.
   Centers at 20% and 80% → 80px and 320px at 400px ref.
   Card width ~130px, so edges: 15px–145px and 255px–385px — no poster clash. */
.shared-venn-user {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  z-index: 4;
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  max-width: 37%;
}

.shared-venn-user-left {
  left: 12%;
  top: 66%;
}

.shared-venn-user-right {
  left: 88%;
  top: 33%;
}

.shared-venn-user .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.shared-venn-user .letterboxd-badge {
  width: 18px;
  height: 18px;
  bottom: -4px;
  right: -4px;
}

.shared-venn-username {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  min-width: 0;
}

/* ============================================
   METHOD VISUALS: CURATION (prompt + swipe)
   ============================================ */
.curation-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 400px;
}

/* Prompt container — matches app's promptInputContainer */
.prompt-container {
  background: var(--background);
  border-radius: 16px;
  border: 1px solid rgba(68, 53, 38, 0.2);
  padding: 8px 6px 8px 12px;
  max-width: 400px;
}

.prompt-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.prompt-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid transparent;
  cursor: default;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.08s;
}

/* Inactive pill state (matches app's off styling) */
.prompt-pill.pill-off {
  background: rgba(128, 128, 128, 0.08) !important;
  border-color: transparent !important;
  opacity: 0.55;
}
.prompt-pill.pill-off .prompt-pill-svg {
  color: var(--text) !important;
}

.prompt-pill-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.prompt-pill-svg {
  width: 14px;
  height: 14px;
}

/* Watchlist pill: active "constraint" state (default) */
.pill-watchlist {
  background: rgba(68, 53, 38, 0.12);
  border-color: var(--secondary);
}

/* Watchlist pill: "context" state (primary color) */
.pill-watchlist.pill-context {
  background: rgba(186, 131, 77, 0.15) !important;
  border-color: var(--primary) !important;
  opacity: 1 !important;
}

/* Liked pill */
.pill-liked {
  background: rgba(56, 142, 60, 0.12);
  border-color: #388E3C;
  color: var(--text);
}

.pill-liked .prompt-pill-svg {
  color: #388E3C;
}

/* Disliked pill */
.pill-disliked {
  background: rgba(198, 40, 40, 0.12);
  border-color: #C62828;
  color: var(--text);
}

.pill-disliked .prompt-pill-svg {
  color: #C62828;
}

/* Vibe pill */
.pill-vibe {
  background: rgba(184, 134, 11, 0.12);
  border-color: #B8860B;
  color: var(--text);
}

.pill-vibe .prompt-pill-svg {
  color: #B8860B;
}

/* Input row with text and find button */
.prompt-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-input-text {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 20px;
}

.prompt-text {
  font-size: 0.9375rem;
  color: rgba(68, 53, 38, 0.72);
  white-space: pre;
}

.prompt-cursor {
  color: var(--primary);
  animation: blink 1s step-end infinite;
  font-weight: 300;
  font-size: 1.1rem;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Find button — matches app's findButtonSmall */
.prompt-find-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: var(--secondary);
  color: var(--grey0);
  cursor: default;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swipe card recreation */
.swipe-recreation {
  display: flex;
  justify-content: center;
}

.swipe-card {
  position: relative;
  width: 160px;
  transform: rotate(0deg);
  transform-origin: 50% 88%;
  animation: swipeCardTilt 3.4s var(--ease-out-expo) infinite;
  margin-bottom: 100px;
}

.swipe-gesture {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 120px;
  height: 42px;
  --swipe-distance: 78px;
  pointer-events: none;
  z-index: 2;
  transform: rotate(0deg);
  transform-origin: left center;
  animation: swipeGestureCounterTilt 3.4s var(--ease-out-expo) infinite;
}

.swipe-gesture-touch {
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translate3d(0, -50%, 0);
  opacity: 0;
  animation: swipeGestureMove 3.4s var(--ease-out-expo) infinite;
}

.swipe-gesture-touch::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.swipe-gesture-touch::after {
  display: none;
}

.swipe-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.swipe-label {
  position: absolute;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1.5px solid;
  background: white;
  backdrop-filter: blur(4px);
}

.swipe-add {
  top: 12px;
  right: -14px;
  color: #2e9e2e;
  border-color: #2e9e2e;
  opacity: 0;
  animation: swipeAddReveal 3.4s var(--ease-out-expo) infinite;
}

@keyframes swipeGestureMove {
  0%,
  12% {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
  }
  18% {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }
  72% {
    opacity: 1;
    transform: translate3d(var(--swipe-distance), -50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--swipe-distance) + 12px), -50%, 0);
  }
}

@keyframes swipeCardTilt {
  0%,
  18% {
    transform: rotate(0deg);
  }
  72%,
  84% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes swipeGestureCounterTilt {
  0%,
  18% {
    transform: rotate(0deg);
  }
  72%,
  84% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes swipeAddReveal {
  0%,
  18% {
    opacity: 0;
  }
  72%,
  84% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ============================================
   METHOD VISUALS: SEARCH
   ============================================ */
.search-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
}

.search-bar {
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--secondary);
  border-radius: 25px;
  padding: 0 0 0 1.25rem;
  gap: 0.5rem;
  overflow: hidden;
}

.search-icon-left {
  color: var(--grey0);
  opacity: 0.6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.search-icon-left svg {
  width: 18px;
  height: 18px;
}

.search-input-text {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 1.2em;
}

.search-text {
  font-size: 0.95rem;
  color: var(--grey0);
  white-space: pre;
}

.search-cursor {
  color: var(--primary-soft);
  animation: blink 1s step-end infinite;
  font-weight: 300;
  font-size: 1.1rem;
}

.search-mode-btn {
  width: 20%;
  min-width: 52px;
  height: 100%;
  background: var(--primary);
  border: none;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 25px 25px 0;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.search-result.visible {
  opacity: 1;
  transform: translateY(0);
}

.search-result-poster {
  width: 48px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* ============================================
   POSTER POOL (shared between pool & pick)
   ============================================ */
.poster-pool-container {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: clamp(1.25rem, 4vw, 2.5rem) 0 0;
  padding: 0 2rem;
  /* Half-covered: clip the bottom portion */
  max-height: 190px;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.poster-pool-container.uncovered {
  margin-top: 300px;
  max-height: 600px;
  overflow: visible;
  position: relative;
}

.poster-pool {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 0 3.5rem;
}

.pool-poster-wrapper {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease;
}

.pool-poster-wrapper.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pool-poster {
  display: block;
  height: 270px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pool-poster-wrapper.picked .pool-poster {
  transform: scale(1.1);
  outline: 4px solid rgba(255, 255, 255, 0.95);
  outline-offset: -4px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

.pool-poster-wrapper.picked.pointed .pool-poster {
  outline-color: var(--success);
  box-shadow: 0 12px 32px rgba(51, 153, 51, 0.3);
}

/* Final landed state (roll lands, before pick mode) */
.pool-poster-wrapper.landed .pool-poster {
  outline-color: var(--success);
}

/* Hand pointer that appears under selected movie */
.pick-pointer {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pool-poster-wrapper.pointed .pick-pointer {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pick-pointer svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(68, 53, 38, 0.3));
}

/* ============================================
   PICK CONTROLS
   ============================================ */
.pick-controls {
  text-align: center;
  padding: 3rem 0 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.pick-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--subtle);
  max-width: 600px;
  margin: 0 auto;
}

.mode-label {
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s ease;
}

.mode-label.active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
}

/* Mode toggle pill (matches app: vertical, 38x38, borderRadius 15) */
.mode-toggle {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}

.mode-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: background-color 0.3s ease;
  color: var(--secondary);
}

.mode-btn.active {
  background: var(--primary);
  color: white;
}

.mode-btn svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   SECTION: ENJOY THE SHOW
   ============================================ */
.section-enjoy {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem;
}

.enjoy-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.enjoy-popcorn {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.enjoy-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--secondary);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   FOOTER (from v2)
   ============================================ */
.footer-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--primary-soft) 100%);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.footer-tickets-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  min-height: 280px;
  margin-bottom: 2rem;
}

.footer-ticket {
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.footer-ticket-orange {
  width: 170px;
  height: 220px;
  background: linear-gradient(135deg, #e07a3a 0%, #c75d2a 100%);
  border-radius: 12px;
  border: 3px solid #8b4513;
  transform: rotate(-15deg);
  z-index: 2;
  margin-right: -30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.footer-ticket-orange::before,
.footer-ticket-orange::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 100%;
  top: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 255, 255, 0.3) 8px, rgba(255, 255, 255, 0.3) 10px);
}

.footer-ticket-orange::before { left: 5px; }
.footer-ticket-orange::after { right: 5px; }

.footer-ticket-orange .ticket-main {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
}

.footer-ticket-orange .ticket-sub {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  color: #fff;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
}

.footer-ticket-cream {
  width: 180px;
  height: 240px;
  background: linear-gradient(135deg, #f5ecd8 0%, #e8dcc4 100%);
  border-radius: 12px;
  border: 3px solid #8b6914;
  transform: rotate(-5deg);
  z-index: 3;
  margin-right: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1rem;
  position: relative;
  overflow: visible;
}

.footer-ticket-cream .cow-peek {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: auto;
  z-index: 10;
}

.footer-ticket-cream .zzz {
  position: absolute;
  top: -30px;
  right: 20px;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: bold;
}

.footer-ticket-cream .barcode {
  width: 60px;
  height: 80px;
  background: repeating-linear-gradient(90deg, var(--text), var(--text) 2px, transparent 2px, transparent 4px);
  margin-bottom: 0.5rem;
}

.footer-ticket-cream .barcode-text {
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
  color: var(--text);
  letter-spacing: 0.2em;
}

.footer-ticket-dark {
  width: 140px;
  height: 200px;
  background: linear-gradient(135deg, #2d2016 0%, #1a1410 100%);
  border-radius: 12px;
  border: 3px solid var(--text);
  transform: rotate(5deg);
  z-index: 4;
  margin-right: -25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.footer-ticket-dark .admit-text {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #f5ecd8;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.footer-cta-center {
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, #f0d890 0%, #e6c864 100%);
  border-radius: 16px;
  border: 4px solid #8b6914;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.footer-cta-center::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed #8b6914;
  border-radius: 12px;
  pointer-events: none;
}

.footer-download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-download-buttons .btn-download {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.footer-download-buttons .btn-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-ticket-cream-right {
  width: 180px;
  height: 220px;
  background: linear-gradient(135deg, #f5ecd8 0%, #e8dcc4 100%);
  border-radius: 12px;
  border: 3px solid #c9a227;
  transform: rotate(8deg);
  z-index: 3;
  margin-left: -35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: visible;
}

.footer-ticket-cream-right .cow-peek {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: auto;
  z-index: 10;
}

.footer-ticket-cream-right .ticket-inner {
  width: 100%;
  height: 100%;
  border: 2px dashed #c9a227;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.footer-ticket-cream-right .admit-label {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-ticket-gold {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f0d890 0%, var(--primary-soft) 100%);
  border-radius: 12px;
  border: 3px solid #8b6914;
  transform: rotate(15deg);
  z-index: 2;
  margin-left: -30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.footer-ticket-gold::before,
.footer-ticket-gold::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 100%;
  top: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(139, 105, 20, 0.3) 8px, rgba(139, 105, 20, 0.3) 10px);
}

.footer-ticket-gold::before { left: 5px; }
.footer-ticket-gold::after { right: 5px; }

.footer-ticket-gold .brand-text {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: #2d2016;
  color: #f5ecd8;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px dashed rgba(60, 46, 31, 0.3);
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #5a4a3a;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media screen and (max-width: 1024px) {
  .pool-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .pool-methods {
    width: 100%;
  }

  .method {
    justify-content: flex-start;
  }

  .method-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: min(32rem, calc(100vw - 5rem));
    margin-right: auto;
  }

  .method-visual {
    width: min(100%, 30rem);
  }

  .venn-landing {
    justify-content: center;
  }

  .curation-visual .swipe-recreation {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  /* Blob becomes app-like on tablet: large circle, right side, partially off-screen */
  .tray-blob-wrapper {
    position: fixed;
    top: auto;
    /* Hang off the right edge so more of the pill sits off-screen */
    right: -58px;
    bottom: 28%;
    width: auto;
    height: auto;
    z-index: 20;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .tray-blob-wrapper.blob-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .blob-shape {
    width: auto;
    height: auto;
    min-width: min(100vw - 8px, 420px);
    /* Half-pill into the viewport + tilt like a tray sticking out */
    border-radius: 999px 0 0 999px;
    transform: rotate(22deg);
    transform-origin: 100% 50%;
    margin-right: -68px;
    justify-content: flex-start;
    filter: none;
    /* Left padding balances: pill still biased toward viewport, grid not hugging the curve */
    padding: 62px 140px 62px 58px;
    box-shadow: -10px 14px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: auto;
  }

  .blob-buttons {
    transform: rotate(-22deg);
    gap: 14px;
  }

  .blob-btn {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 0.65rem;
  }

  .blob-btn-icon {
    width: 24px;
    height: 24px;
  }

  .blob-icon-shared {
    width: 32px;
  }

  .blob-icon-shared .blob-icon-lb {
    width: 18px;
    height: 18px;
  }

  .blob-icon-shared .blob-icon-int {
    width: 20px;
    height: 20px;
  }

  .footer-tickets-row {
    flex-wrap: wrap;
    gap: 1rem;
    min-height: auto;
  }

  .footer-ticket {
    margin: 0 !important;
  }

  .footer-ticket-orange,
  .footer-ticket-cream,
  .footer-ticket-dark,
  .footer-ticket-cream-right,
  .footer-ticket-gold {
    transform: rotate(0deg) !important;
  }

  .pool-poster {
    height: 200px;
  }

  .poster-pool-container {
    max-height: 140px;
  }

  .poster-pool-container.uncovered {
    max-height: 500px;
  }
}

/* ============================================
   RESPONSIVE: MOBILE
   ============================================ */
@media screen and (max-width: 680px) {
  header {
    padding: 1rem 1.5rem;
  }
  
  .pool-heading {
    margin-bottom: -0px;
  }

  .logo-header h1 {
    font-size: 1.25rem;
  }

  .logo-header img {
    height: 40px;
    width: 40px;
  }

  .cta-buttons {
    gap: 0.75rem;
  }

  .btn-download {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 16px;
  }

  .android-expand-menu {
    width: min(280px, calc(100vw - 2rem));
    min-width: 0;
  }

  .subheadline {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 4rem;
  }

  .hero-visual::before {
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  }

  .cow-container {
    width: 240px;
  }

  .cow-container::after {
    width: 140px;
    height: 35px;
    bottom: 8px;
  }

  .cow-left { transform: translateX(-120%); }
  .cow-right { transform: translateX(120%); }

  .phone-mockup {
    max-width: 220px;
  }

  /* Sections */
  .section {
    padding: 4rem 1.5rem;
  }

  .section-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .section-desc {
    max-width: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .method-title {
    font-size: 1.9rem;
  }

  .method-desc {
    font-size: 1.02rem;
  }

  .direct-user-card {
    padding: 0.58rem 0.9rem;
  }

  .direct-user-card .user-avatar {
    width: 40px;
    height: 40px;
  }

  .direct-user-card .username {
    font-size: 0.9rem;
  }

  /* Pool methods */
  .method {
    min-height: auto;
    padding: 3rem 0;
  }

  .method-content {
    max-width: 330px;
  }

  .method-visual {
    max-width: none;
  }


  .prompt-container {
    max-width: 330px;
    padding: 7px 5px 7px 10px;
    border-radius: 14px;
  }

  .prompt-pill-row {
    gap: 5px;
    margin-bottom: 3px;
  }

  .prompt-pill {
    gap: 4px;
    padding: 5px 8px;
    border-radius: 11px;
    font-size: 0.6875rem;
  }

  .prompt-pill-icon-img {
    width: 14px;
    height: 14px;
  }

  .prompt-pill-svg {
    width: 12px;
    height: 12px;
  }

  .prompt-input-row {
    gap: 7px;
  }

  .prompt-input-text {
    min-height: 18px;
  }

  .prompt-text {
    font-size: 0.875rem;
  }

  .prompt-cursor {
    font-size: 1rem;
  }

  .prompt-find-btn {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .prompt-find-btn svg {
    width: 20px;
    height: 20px;
  }

  .search-visual {
    max-width: none;
  }

  .poster-pool {
    gap: 0.75rem;
  }

  .pool-poster {
    height: 120px;
  }

  .poster-pool-container {
    max-height: 100px;
  }

  /* Tray blob: smaller on mobile than tablet layout */
  .tray-blob-wrapper {
    bottom: 8%;
    right: -48px;
  }

  .blob-shape {
    min-width: min(100vw - 8px, 340px);
    padding: 48px 100px 48px 46px;
    margin-right: -54px;
    transform: rotate(22deg);
    box-shadow: -8px 12px 32px rgba(0, 0, 0, 0.26);
  }

  .blob-buttons {
    gap: 10px;
  }

  .blob-btn {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 0.5rem;
    gap: 3px;
  }

  .blob-btn-icon {
    width: 20px;
    height: 20px;
  }

  .blob-icon-shared {
    width: 28px;
  }

  .blob-icon-shared .blob-icon-lb {
    width: 16px;
    height: 16px;
  }

  .blob-icon-shared .blob-icon-int {
    width: 17px;
    height: 17px;
  }

  /* Pick */
  .pick-controls {
    padding: 2rem 0 4rem;
  }

  .mode-toggle {
    flex-direction: row;
  }

  /* Footer */
  .footer-section {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-tickets-row {
    flex-direction: column;
    align-items: center;
  }

  .footer-ticket-orange,
  .footer-ticket-cream,
  .footer-ticket-dark,
  .footer-ticket-gold,
  .footer-ticket-cream-right {
    display: none;
  }

  .footer-cta-center {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 2rem 1.5rem;
  }

  .footer-download-buttons {
    flex-direction: row;
    width: 100%;
  }

  .footer-download-buttons .btn-download {
    width: 100%;
    text-align: center;
  }

  .footer-links-row {
    gap: 1rem;
  }

  .footer-link {
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE
   ============================================ */
@media screen and (max-width: 480px) {
  .headline {
    font-size: 2rem;
  }

  .section-direct-wrapper {
    padding: 0 1rem;
  }

  .direct-card {
    border-radius: 22px;
    padding: 1.35rem 1rem;
    gap: 1rem;
  }

  .direct-copy {
    gap: 0.75rem;
  }

  .direct-card .section-desc {
    max-width: 34ch;
  }

  .direct-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .direct-panel-io {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .direct-panel-input {
    border-right: 1px solid rgba(68, 53, 38, 0.14);
    padding-right: 0.7rem;
    margin-right: 0.4rem;
    padding-bottom: 0;
    max-width: none;
    align-items: center;
  }

  .direct-panel-output {
    padding-left: 0.4rem;
    max-width: none;
    align-items: center;
    padding-top: 0;
    border-top: none;
  }

  .direct-io-col {
    gap: 0.45rem;
  }

  .direct-filters {
    gap: 0.45rem;
  }

  .filter-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.76rem;
  }

  .direct-panel {
    width: 100%;
    border-radius: 14px;
  }

  .direct-input-group {
    width: 100%;
    align-items: center;
  }

  .direct-user-card {
    width: fit-content;
    justify-content: center;
  }

  .direct-panel-label {
    align-self: flex-start;
    margin-left: 0.1rem;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-visual::before {
    border-radius: 50% 50% 0 0 / 50% 50% 0 0;
  }

  .cow-container {
    width: 160px;
  }

  .cow-container::after {
    width: 80px;
    height: 20px;
    bottom: 5px;
  }

  .cow-left { transform: translateX(-130%); }
  .cow-right { transform: translateX(130%); }

  .phone-mockup {
    max-width: 180px;
  }

  .section-room {
    padding-top: 4rem;
  }

  .direct-poster {
    width: 90px;
    align-self: center;
  }

  .direct-user-card .user-avatar {
    width: 38px;
    height: 38px;
  }

  .direct-user-card .username {
    font-size: 0.88rem;
  }

  .pick-poster {
    width: 70px;
  }

  .blob-shape {
    min-width: min(100vw - 8px, 300px);
    padding: 40px 78px 40px 38px;
    border-radius: 999px 0 0 999px;
    transform: rotate(24deg);
    margin-right: -70px;
    box-shadow: -6px 10px 26px rgba(0, 0, 0, 0.24);
  }

  .tray-blob-wrapper {
    bottom: 4%;
    right: -52px;
  }

  .blob-buttons {
    transform: rotate(-24deg);
    gap: 8px;
  }

  .blob-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 0.45rem;
    gap: 2px;
  }

  .blob-btn-icon {
    width: 18px;
    height: 18px;
  }

  .blob-icon-shared {
    width: 26px;
  }

  .blob-icon-shared .blob-icon-lb {
    width: 14px;
    height: 14px;
  }

  .blob-icon-shared .blob-icon-int {
    width: 15px;
    height: 15px;
  }

  .footer-cta-center {
    padding: 1.5rem 1rem;
  }

  .footer-download-buttons .btn-download {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1024px) {
  .blob-shape {
    transform: none;
    margin-right: 0;
  }

  .blob-buttons {
    transform: none;
  }
}

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */
.btn-download:focus-visible,
.footer-link:focus-visible,
.android-expand-toggle:focus-visible,
.android-expand-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .headline,
  .subheadline,
  .cta-buttons {
    animation: none;
  }

  .btn-download,
  .footer-link,
  .android-expand-link,
  .blob-btn,
  .pool-poster-wrapper,
  .search-result,
  .pick-poster,
  .mode-label,
  .mode-btn {
    transition: none;
  }

  .prompt-cursor,
  .search-cursor {
    animation: none;
    opacity: 1;
  }

  .swipe-card,
  .swipe-gesture,
  .swipe-gesture-touch,
  .swipe-add {
    animation: none;
  }

  .swipe-card {
    transform: rotate(5deg);
  }

  .swipe-gesture {
    transform: rotate(-5deg);
  }

  .swipe-gesture-touch {
    opacity: 1;
    transform: translate3d(70px, -50%, 0);
  }

  .swipe-add {
    opacity: 1;
  }

  .android-expand[open] .android-expand-menu {
    animation: none;
  }
}
