/* ==========================================================================
   cats.tw365.ai — 方向 1：貓爪劈開・雙片聯映戲院（Double Feature Cinema）
   嚴格純三色：漆黑 #0A0A0A / 街頭鮮橘 #FF5500 / 極致純白 #FFFFFF
   零卡片模板、零圓角、零漸層、零跑馬燈
   ========================================================================== */

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --orange: #FF5500;
  --serif: 'Noto Serif TC', Georgia, serif;
  --sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   頂部懸浮戲院招牌（極簡）
   ========================================================================== */
.cinema-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  pointer-events: none;
}

.cinema-brand {
  pointer-events: auto;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--paper);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.cinema-brand em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.cinema-nav-links {
  pointer-events: auto;
  display: flex;
  background: var(--ink);
  border: 1px solid var(--paper);
}

.cinema-nav-links a {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.cinema-nav-links a:first-child {
  border-left: none;
}

.cinema-nav-links a:hover {
  background: var(--orange);
  color: var(--paper);
}

/* ==========================================================================
   首屏：貓爪劈開雙片聯映搶地盤（100vh Interactive Split）
   ========================================================================== */
.split-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  width: 100%;
  overflow: hidden;
  border-bottom: 4px solid var(--paper);
}

.hall {
  position: relative;
  flex: 1;
  min-height: 100vh;
  padding: 120px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: flex-grow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.split-stage:hover .hall {
  flex-grow: 0.72;
}

.split-stage .hall:hover {
  flex-grow: 1.55;
}

.hall-a {
  background: var(--ink);
  color: var(--paper);
}

.hall-b {
  background: var(--orange);
  color: var(--ink);
}

.hall-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
  opacity: 0.85;
}

.hall-main {
  margin: auto 0;
  padding: 32px 0;
  position: relative;
  z-index: 2;
}

.hall-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  margin-bottom: 18px;
}

.hall-a .hall-kicker {
  background: var(--orange);
  color: var(--paper);
}

.hall-b .hall-kicker {
  background: var(--ink);
  color: var(--paper);
}

.hall-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hall-slogan {
  margin: 18px 0 28px;
  font-size: 1.08rem;
  font-weight: 700;
  max-width: 440px;
}

.hall-a .hall-slogan {
  color: rgba(255, 255, 255, 0.82);
}

.hall-b .hall-slogan {
  color: var(--ink);
}

.hall-bg-sprite {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 210px;
  height: 210px;
  object-fit: contain;
  image-rendering: pixelated;
  opacity: 0.92;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.hall:hover .hall-bg-sprite {
  transform: scale(1.08) translateY(-8px);
}

.hall-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.76rem;
  z-index: 2;
}

/* 中央三道斜切貓爪撕裂痕 */
.claw-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  z-index: 15;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.claw-divider svg {
  height: 100%;
  width: 100%;
}

/* 戲院按鈕 */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.hall-a .c-btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hall-a .c-btn:hover {
  background: var(--orange);
  color: var(--paper);
  border-color: var(--orange);
}

.hall-b .c-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.hall-b .c-btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ==========================================================================
   今日聯映場次表（純白滿版底 × 台灣老戲院節目單）
   ========================================================================== */
.schedule-section {
  background: var(--paper);
  color: var(--ink);
  padding: 96px 0;
}

.theater-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 40px;
}

.theater-head .tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 6px;
}

.theater-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.theater-head p {
  margin: 0;
  max-width: 400px;
  font-size: 0.92rem;
  opacity: 0.78;
}

.timetable {
  border-top: 1px solid var(--ink);
}

.show-row {
  display: grid;
  grid-template-columns: 110px 150px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 16px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.22);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.show-row:hover {
  background: var(--ink);
  color: var(--paper);
}

.show-hall {
  font-family: var(--mono);
  font-weight: 900;
  font-size: 0.84rem;
  padding: 5px 10px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.show-hall.is-b {
  background: var(--orange);
  color: var(--paper);
}

.show-row:hover .show-hall {
  background: var(--paper);
  color: var(--ink);
}

.show-row:hover .show-hall.is-b {
  background: var(--orange);
  color: var(--paper);
}

.show-channel {
  font-weight: 900;
  font-size: 1.05rem;
}

.show-info h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 900;
}

.show-info p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.75;
}

.show-action {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 18px;
  border: 2px solid currentColor;
  white-space: nowrap;
}

.show-row:hover .show-action {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper);
}

/* ==========================================================================
   領銜主演：互動特寫大舞台（漆黑底 × 演員名單切換）
   ========================================================================== */
.cast-section {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  border-top: 4px solid var(--orange);
}

.cast-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.cast-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cast-tab {
  text-align: left;
  background: transparent;
  color: var(--paper);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 26px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  transition: background-color 0.16s ease, padding-left 0.16s ease;
}

.cast-tab:hover {
  padding-left: 30px;
}

.cast-tab.active {
  background: var(--orange);
  color: var(--ink);
  padding-left: 30px;
}

.cast-tab .cast-name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
}

.cast-tab .cast-role {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cast-spotlight {
  border: 2px solid var(--paper);
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.spotlight-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.spotlight-mid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  margin: 28px 0;
}

.spotlight-mid img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  image-rendering: pixelated;
  background: var(--paper);
  padding: 14px;
}

.spotlight-mid h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 900;
}

.spotlight-mid p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
}

.speech-bubble {
  background: var(--paper);
  color: var(--ink);
  padding: 18px 22px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 900;
  border-left: 8px solid var(--orange);
}

/* ==========================================================================
   實機遊戲大銀幕 ＋ 未來下檔預告
   ========================================================================== */
.arcade-banner {
  background: var(--orange);
  color: var(--ink);
  padding: 72px 0;
}

.arcade-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.arcade-inner img {
  width: 100%;
  border: 3px solid var(--ink);
  image-rendering: pixelated;
}

.arcade-copy h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
}

.arcade-copy p {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 700;
}

/* Footer */
.cinema-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 40px;
  border-top: 2px solid var(--paper);
}

.c-footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.78;
}

.c-footer-flex a {
  color: var(--orange);
  text-decoration: underline;
}

/* ==========================================================================
   Matt 判官極簡檢視器（含一鍵切換方向 1 ⇄ 方向 2）
   ========================================================================== */
.judge-bar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 292px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.78rem;
}

.judge-bar.is-collapsed .judge-content {
  display: none;
}

.judge-head {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
}

.judge-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.judge-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(10, 10, 10, 0.65);
  margin-bottom: 6px;
}

.judge-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.judge-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.j-btn {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.j-btn.active {
  background: var(--ink);
  color: var(--paper);
}

.j-chip {
  width: 100%;
  height: 8px;
}

.switch-link {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--orange);
  color: var(--paper);
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   響應式設計
   ========================================================================== */
@media (max-width: 960px) {
  .split-stage {
    flex-direction: column;
  }
  .hall {
    min-height: 62vh;
    padding: 96px 24px 48px;
  }
  .claw-divider {
    display: none;
  }
  .show-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cast-grid,
  .arcade-inner {
    grid-template-columns: 1fr;
  }
  .spotlight-mid {
    grid-template-columns: 1fr;
  }
  .cinema-nav-links {
    display: none;
  }
}
