:root {
  --navy: #082b55;
  --blue: #087cc1;
  --cyan: #28c4d1;
  --green: #16845b;
  --ink: #12263c;
  --muted: #60758b;
  --paper: #f7fbff;
  --cursor-film: url('/static/cursor-film.svg') 1 1, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='translate(1.5, 1.5)'%3E%3Crect x='1' y='1' width='16' height='26' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3C/g%3E%3Crect x='1' y='1' width='16' height='26' rx='2' fill='%23081a2e' stroke='%23ffffff' stroke-width='1.2'/%3E%3Crect x='2.5' y='3' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='2.5' y='7.5' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='2.5' y='12' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='2.5' y='16.5' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='2.5' y='21' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='13.5' y='3' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='13.5' y='7.5' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='13.5' y='12' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='13.5' y='16.5' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='13.5' y='21' width='2' height='2.5' rx='0.5' fill='%23ffffff'/%3E%3Crect x='5.5' y='3' width='7' height='9.5' rx='1' fill='%230c335e' stroke='%2328c4d1' stroke-width='0.8'/%3E%3Cpolygon points='8,6.5 11,7.8 8,9.1' fill='%23ffffff'/%3E%3Cline x1='5.5' y1='14' x2='12.5' y2='14' stroke='%231a4b7a' stroke-width='0.8'/%3E%3Crect x='5.5' y='15.5' width='7' height='9.5' rx='1' fill='%230c335e' stroke='%2316845b' stroke-width='0.8'/%3E%3Ccircle cx='9' cy='20.2' r='2.2' fill='%2328c4d1'/%3E%3C/svg%3E") 1 1, auto;
  --cursor-film-pointer: url('/static/cursor-film-pointer.svg') 1 1, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='translate(1.5, 1.5)'%3E%3Crect x='1' y='1' width='16' height='26' rx='2' fill='rgba(0,0,0,0.5)'/%3E%3C/g%3E%3Crect x='1' y='1' width='16' height='26' rx='2' fill='%230c335e' stroke='%2328c4d1' stroke-width='1.8'/%3E%3Crect x='2.5' y='3' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='2.5' y='7.5' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='2.5' y='12' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='2.5' y='16.5' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='2.5' y='21' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='13.5' y='3' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='13.5' y='7.5' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='13.5' y='12' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='13.5' y='16.5' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='13.5' y='21' width='2' height='2.5' rx='0.5' fill='%2328c4d1'/%3E%3Crect x='5.5' y='3' width='7' height='9.5' rx='1' fill='%23087cc1' stroke='%23ffffff' stroke-width='0.9'/%3E%3Cpolygon points='8,6.5 11,7.8 8,9.1' fill='%23ffffff'/%3E%3Cline x1='5.5' y1='14' x2='12.5' y2='14' stroke='%2328c4d1' stroke-width='0.8'/%3E%3Crect x='5.5' y='15.5' width='7' height='9.5' rx='1' fill='%23087cc1' stroke='%2328c4d1' stroke-width='0.8'/%3E%3Cpolygon points='9,18.5 9.7,20 11.2,20.2 10.1,21.3 10.4,22.8 9,22 7.6,22.8 7.9,21.3 6.8,20.2 8.3,20' fill='%23ffffff'/%3E%3C/svg%3E") 1 1, pointer;
}

html,
body {
  cursor: var(--cursor-film);
}

a,
button,
[role="button"],
.button,
.nav-cta,
input[type="submit"],
input[type="button"],
input[type="reset"],
select,
summary {
  cursor: var(--cursor-film-pointer);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #f5f9fc;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

.topbar {
  height: 76px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid #dce8f2;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em
}

.brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  color: white;
  font-size: 19px
}

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #3c536b
}

nav a:hover {
  color: var(--blue)
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  font-size: 14px;
  border: 0;
  cursor: var(--cursor-film-pointer);
  transition: .2s
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background: #0c4c85
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 15%, rgba(45, 202, 215, .18), transparent 28%), linear-gradient(130deg, #edf8ff 0%, #fff 48%, #eaf8f3 100%);
  padding: 72px max(6vw, 24px) 80px
}

.hero:before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(0, 119, 190, .12);
  border-radius: 50%;
  right: -120px;
  top: -200px;
  box-shadow: 0 0 0 35px rgba(0, 119, 190, .025), 0 0 0 75px rgba(0, 119, 190, .025)
}

.hero-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.02fr .78fr;
  gap: 70px;
  align-items: center;
  position: relative
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase
}

.eyebrow:before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan)
}

h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -.07em;
  color: var(--navy);
  margin: 22px 0 20px;
  font-weight: 950
}

h1 span {
  display: block;
  color: var(--blue)
}

.lead {
  font-size: 18px;
  max-width: 540px;
  color: #4d6378;
  margin: 0 0 28px
}

.date-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--navy);
  font-weight: 850;
  margin: 25px 0 30px
}

.date-chip {
  background: white;
  border: 1px solid #d9e9f4;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 5px 20px rgba(16, 66, 108, .04)
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid #cbdce9
}

.poster-wrap {
  justify-self: center;
  width: min(100%, 390px);
  position: relative
}

.poster-frame {
  background: white;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(5, 43, 85, .18);
  transform: rotate(1.3deg);
  border: 1px solid rgba(255, 255, 255, .9)
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px
}

.poster-tag {
  position: absolute;
  bottom: 28px;
  left: -35px;
  background: white;
  border: 1px solid #dce9f1;
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: 0 12px 30px rgba(7, 43, 85, .12);
  font-size: 12px;
  color: var(--muted)
}

.poster-tag strong {
  display: block;
  color: var(--navy);
  font-size: 15px
}

.section {
  padding: 82px max(6vw, 24px)
}

.section-inner {
  max-width: 1120px;
  margin: auto
}

.section-head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 650px
}

.kicker {
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--green)
}

h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -.055em;
  color: var(--navy);
  margin: 10px 0 12px
}

.section-head p {
  color: var(--muted);
  margin: 0
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.step {
  background: white;
  border: 1px solid #e0eaf2;
  border-radius: 20px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 54, 91, .035)
}

.step:after {
  content: attr(data-n);
  position: absolute;
  right: 18px;
  top: 2px;
  font-size: 74px;
  line-height: 1;
  color: #eef6fb;
  font-weight: 950;
  z-index: 0
}

.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e8f6ff;
  color: var(--blue);
  font-size: 23px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1
}

.step:nth-child(2) .step-icon {
  background: #e4f8f5;
  color: #008c9d
}

.step:nth-child(3) .step-icon {
  background: #e6f7ed;
  color: var(--green)
}

.step small {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .08em
}

.step h3 {
  font-size: 22px;
  margin: 4px 0 7px;
  color: var(--navy);
  letter-spacing: -.04em;
  position: relative;
  z-index: 1
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1
}

.themes {
  background: #082b55;
  color: white;
  position: relative;
  overflow: hidden
}

.themes:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  right: -150px;
  top: -170px;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02)
}

.themes h2 {
  color: white
}

.themes .section-head p {
  color: #b7cce0
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative
}

.theme-card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15)
}

.theme-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px
}

.theme-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #087cc1;
  font-size: 21px
}

.theme-card.green .theme-icon {
  background: #16845b
}

.theme-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.04em
}

.theme-card p {
  margin: 0;
  color: #c6d8e8;
  font-size: 15px
}

.theme-card .sub {
  font-size: 12px;
  color: #77dbe4;
  font-weight: 800;
  letter-spacing: .04em
}

.theme-card.green .sub {
  color: #8be0b4
}

.info {
  background: #fff
}

.info-panel {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: linear-gradient(110deg, #eef8ff, #f1fbf6);
  border: 1px solid #deebf2;
  border-radius: 24px;
  padding: 30px 34px
}

.info-panel h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 23px
}

.info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.info-date {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  white-space: nowrap
}

footer {
  padding: 28px 24px;
  background: #061e3b;
  color: #a9bfd3;
  text-align: center;
  font-size: 12px
}

footer strong {
  color: white;
  display: block;
  font-size: 15px;
  margin-bottom: 5px
}

@media(max-width:850px) {
  nav {
    display: none
  }

  .hero {
    padding-top: 48px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .hero-copy {
    text-align: center
  }

  .lead {
    margin-left: auto;
    margin-right: auto
  }

  .date-line,
  .hero-actions {
    justify-content: center
  }

  .poster-wrap {
    width: min(78%, 340px)
  }

  .poster-tag {
    left: -18px
  }

  .steps {
    grid-template-columns: 1fr
  }

  .step {
    padding: 23px
  }

  .theme-grid {
    grid-template-columns: 1fr
  }

  .info-panel {
    display: block;
    text-align: center
  }

  .info-date {
    margin-top: 16px;
    white-space: normal
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* Interactive polish */
:root {
  --mx: 50vw;
  --my: 35vh;
}

body {
  cursor: var(--cursor-film);
}

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(32, 190, 220, .10), transparent 68%);
  opacity: 0;
  transition: opacity .25s ease;
}

body.pointer-active .cursor-glow {
  opacity: 1;
}

.hero {
  isolation: isolate;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .28;
  background-image: radial-gradient(circle at 20% 20%, #1b9bc4 0 1px, transparent 2px),
    radial-gradient(circle at 80% 65%, #21b8b0 0 1.5px, transparent 2.5px);
  background-size: 42px 42px, 57px 57px;
  mask-image: linear-gradient(110deg, black, transparent 75%);
}

.poster-frame {
  will-change: transform;
  transition: transform .18s ease-out, box-shadow .25s ease;
  transform-style: preserve-3d;
}

.poster-frame:hover {
  box-shadow: 0 38px 90px rgba(5, 43, 85, .25);
}

.poster-frame img {
  transition: filter .35s ease;
}

.poster-frame:hover img {
  filter: saturate(1.06) contrast(1.02);
}

.step,
.theme-card,
.info-panel {
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
}

.step:hover,
.theme-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(12, 54, 91, .13);
  border-color: rgba(32, 164, 202, .42);
}

.step:hover .step-icon,
.theme-card:hover .theme-icon {
  transform: rotate(-5deg) scale(1.06);
}

.step-icon,
.theme-icon {
  transition: transform .28s ease;
}

.button {
  position: relative;
  overflow: hidden;
}

.button:before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -35%;
  width: 25%;
  transform: translateX(-180%) rotate(22deg);
  background: rgba(255, 255, 255, .25);
  transition: transform .55s ease;
}

.button:hover:before {
  transform: translateX(650%) rotate(22deg);
}

.nav-cta:hover {
  box-shadow: 0 8px 24px rgba(8, 43, 85, .22);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .date-line,
.hero-copy .hero-actions {
  animation: rise-in .7s both;
}

.hero-copy h1 {
  animation-delay: .08s;
}

.hero-copy .lead {
  animation-delay: .16s;
}

.hero-copy .date-line {
  animation-delay: .22s;
}

.hero-copy .hero-actions {
  animation-delay: .28s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (pointer: fine) {
  body.pointer-active {
    cursor: var(--cursor-film);
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .date-line,
  .hero-copy .hero-actions {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .poster-frame,
  .step,
  .theme-card,
  .info-panel,
  .button:before {
    transition: none !important;
  }

  .cursor-glow {
    display: none;
  }
}


/* Geometric particle canvas and film-strip motion */
#geometry-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .66;
}

.topbar,
main,
footer,
.cursor-glow {
  position: relative;
  z-index: 2;
}

.cursor-glow {
  position: fixed;
  z-index: 3;
}

.hero-grid,
.section-inner {
  position: relative;
  z-index: 2;
}

.hero {
  overflow: hidden;
}

.film-motif {
  position: absolute;
  width: 170px;
  height: 46px;
  border-radius: 7px;
  border: 5px solid rgba(255, 255, 255, .75);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .82) 0 11px, transparent 11px 25px),
    linear-gradient(90deg, #087cc1, #28c4d1);
  background-size: 100% 8px, 100% 100%;
  background-repeat: repeat-y, no-repeat;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
  animation: film-drift 18s linear infinite;
}

.film-motif:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  bottom: 8px;
  background: linear-gradient(90deg, rgba(8, 43, 85, .85), rgba(8, 124, 193, .45));
}

.film-motif.one {
  top: 16%;
  right: -52px;
  transform: rotate(-18deg);
}

.film-motif.two {
  bottom: 9%;
  left: -48px;
  transform: rotate(14deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

@keyframes film-drift {
  0% {
    translate: 0 0;
    background-position: 0 0, 0 0;
  }

  50% {
    translate: -18px 14px;
    background-position: 24px 0, 0 0;
  }

  100% {
    translate: 0 0;
    background-position: 48px 0, 0 0;
  }
}

.hero .film-motif {
  position: absolute;
}

.film-progress {
  height: 5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  background: linear-gradient(90deg, #087cc1, #28c4d1, #16845b);
  z-index: 30;
  box-shadow: 0 0 12px rgba(40, 196, 209, .4);
}

@media (max-width:850px) {
  #geometry-canvas {
    opacity: .32;
  }

  .film-motif {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  #geometry-canvas {
    display: none;
  }

  .film-motif {
    animation: none !important;
  }
}

/* ========================================================
   2026 학생영화제 상영관 & 통계 & 시네마 모달 스타일
   ======================================================== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -24px;
  margin-bottom: 45px;
  position: relative;
  z-index: 5;
}

.stat-card {
  background: white;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(8, 43, 85, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 43, 85, 0.1);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6f4fc, #edf9f7);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-num {
  font-size: 25px;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-sub {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 800;
  margin-top: 3px;
}

/* Films Section */
.films-section {
  background: linear-gradient(180deg, #f5f9fc 0%, #edf4f9 100%);
  position: relative;
  padding: 85px max(6vw, 24px);
  border-top: 1px solid #dce9f4;
  border-bottom: 1px solid #dce9f4;
}

/* Control Toolbar */
.films-toolbar {
  background: white;
  border: 1px solid #d9e7f1;
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 38px;
  box-shadow: 0 12px 36px rgba(12, 54, 91, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid #d8e5ef;
  background: white;
  color: #4a637a;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-tab.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(8, 43, 85, 0.2);
}

.filter-tab .tab-count {
  font-size: 11px;
  opacity: .85;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
}

.type-filter-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.type-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #dce8f2;
  background: #f7fafc;
  color: #466078;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
}

.type-tab:hover {
  border-color: #087cc1;
  color: #087cc1;
}

.type-tab.active {
  background: #087cc1;
  color: white;
  border-color: #087cc1;
}

.type-tab.green.active {
  background: #16845b;
  border-color: #16845b;
}

.search-sort-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  max-width: 540px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 40px;
  border-radius: 12px;
  border: 1px solid #cbdde9;
  font-size: 13.5px;
  outline: none;
  background: #fcfdfe;
  transition: border-color .2s, box-shadow .2s;
}

.search-box input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(8, 124, 193, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8da4b8;
  font-size: 15px;
  pointer-events: none;
}

.sort-select {
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbdde9;
  font-size: 13px;
  font-weight: 700;
  color: #3b5268;
  background: white;
  cursor: var(--cursor-film-pointer);
  outline: none;
}

.results-meta {
  font-size: 13px;
  color: #6a8296;
  font-weight: 600;
}

.results-meta strong {
  color: var(--navy);
  font-weight: 900;
}

/* Film Cards Grid */
.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.film-card {
  background: white;
  border: 1px solid #dce8f1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(8, 43, 85, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
}

.film-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(8, 43, 85, 0.14);
  border-color: rgba(8, 124, 193, 0.35);
}

/* Video Player in Card */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #06192d;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.badge-no {
  background: rgba(8, 43, 85, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-time {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card Body */
.film-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.film-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: -0.02em;
}

.tag-school {
  background: #eaf4fc;
  color: #0b6cb5;
}

.tag-school.mid {
  background: #f1edff;
  color: #5c35b5;
}

.tag-school.high {
  background: #fff0e6;
  color: #c9540c;
}

.tag-type1 {
  background: #e6f7ff;
  color: #0077b6;
  border: 1px solid #bee5f7;
}

.tag-type2 {
  background: #eafaf1;
  color: #16845b;
  border: 1px solid #c2ebd5;
}

.tag-genre {
  background: #f3f6f9;
  color: #556c82;
}

.film-title {
  font-size: 21px;
  font-weight: 950;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.film-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  font-size: 13px;
  color: #50687e;
  margin-bottom: 14px;
  background: #f7fafd;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5eff6;
}

.meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.meta-label {
  font-size: 11px;
  font-weight: 800;
  color: #8397a9;
  min-width: 52px;
  flex-shrink: 0;
}

.meta-val {
  font-weight: 600;
  color: #294056;
  word-break: break-all;
}

.meta-val strong {
  color: var(--navy);
  font-weight: 800;
}

.film-synopsis {
  font-size: 13.5px;
  color: #546a80;
  line-height: 1.65;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all .25s ease;
  position: relative;
}

.film-synopsis.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.synopsis-toggle {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  cursor: var(--cursor-film-pointer);
  padding: 0;
  margin-top: -10px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.synopsis-toggle:hover {
  text-decoration: underline;
}

/* Card Actions */
.film-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #eef4f9;
}

.btn-cinema {
  flex: 1;
  background: linear-gradient(135deg, var(--navy), #0c4d87);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: var(--cursor-film-pointer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .2s;
}

.btn-cinema:hover {
  background: linear-gradient(135deg, #072242, var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 43, 85, 0.2);
}

.btn-yt-link {
  background: #fff;
  color: #c92a2a;
  border: 1px solid #ffc9c9;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
}

.btn-yt-link:hover {
  background: #fff5f5;
  border-color: #ffa8a8;
}

/* Empty State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  background: white;
  border-radius: 20px;
  border: 1px dashed #cfdeeb;
  color: #6d859b;
}

.no-results-icon {
  font-size: 42px;
  margin-bottom: 12px;
  color: #9cb5cb;
}

/* Cinema Modal */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 15, 30, 0.88);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}

.cinema-modal.active {
  display: flex;
  opacity: 1;
}

.cinema-dialog {
  background: #091f3a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: min(94vw, 1080px);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 0;
  font-size: 22px;
  cursor: var(--cursor-film-pointer);
  z-index: 10;
  display: grid;
  place-items: center;
  transition: .2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.modal-video-container {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  background: black;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.modal-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-details {
  padding: 28px 34px 34px;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 28px;
  font-weight: 950;
  color: #fff;
  margin: 0;
  letter-spacing: -0.04em;
}

.modal-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-synopsis-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0;
  line-height: 1.7;
  color: #d6e4f0;
  font-size: 14.5px;
}

.modal-credits {
  font-size: 13.5px;
  color: #9cb5cb;
  line-height: 1.65;
}

.modal-credits strong {
  color: #fff;
}

@media (max-width: 850px) {
  .stats-banner {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }

  .films-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-sort-group {
    max-width: 100%;
  }

  .modal-details {
    padding: 20px;
  }

  .modal-title {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .stats-banner {
    grid-template-columns: 1fr;
  }
}


/* ========================================================
   2026 학생영화제 상영관 & 통계 & 시네마 모달 스타일
   ======================================================== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -24px;
  margin-bottom: 45px;
  position: relative;
  z-index: 5;
}

.stat-card {
  background: white;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(8, 43, 85, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 43, 85, 0.1);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6f4fc, #edf9f7);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-num {
  font-size: 25px;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-sub {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 800;
  margin-top: 3px;
}

/* Films Section */
.films-section {
  background: linear-gradient(180deg, #f5f9fc 0%, #edf4f9 100%);
  position: relative;
  padding: 85px max(6vw, 24px);
  border-top: 1px solid #dce9f4;
  border-bottom: 1px solid #dce9f4;
}

/* Control Toolbar */
.films-toolbar {
  background: white;
  border: 1px solid #d9e7f1;
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 38px;
  box-shadow: 0 12px 36px rgba(12, 54, 91, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid #d8e5ef;
  background: white;
  color: #4a637a;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-tab.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(8, 43, 85, 0.2);
}

.filter-tab .tab-count {
  font-size: 11px;
  opacity: .85;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
}

.type-filter-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.type-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #dce8f2;
  background: #f7fafc;
  color: #466078;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
}

.type-tab:hover {
  border-color: #087cc1;
  color: #087cc1;
}

.type-tab.active {
  background: #087cc1;
  color: white;
  border-color: #087cc1;
}

.type-tab.green.active {
  background: #16845b;
  border-color: #16845b;
}

.search-sort-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  max-width: 540px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 40px;
  border-radius: 12px;
  border: 1px solid #cbdde9;
  font-size: 13.5px;
  outline: none;
  background: #fcfdfe;
  transition: border-color .2s, box-shadow .2s;
}

.search-box input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(8, 124, 193, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8da4b8;
  font-size: 15px;
  pointer-events: none;
}

.sort-select {
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbdde9;
  font-size: 13px;
  font-weight: 700;
  color: #3b5268;
  background: white;
  cursor: var(--cursor-film-pointer);
  outline: none;
}

.results-meta {
  font-size: 13px;
  color: #6a8296;
  font-weight: 600;
}

.results-meta strong {
  color: var(--navy);
  font-weight: 900;
}

/* Film Cards Grid */
.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.film-card {
  background: white;
  border: 1px solid #dce8f1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(8, 43, 85, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
}

.film-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(8, 43, 85, 0.14);
  border-color: rgba(8, 124, 193, 0.35);
}

/* Video Player in Card */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #06192d;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.badge-no {
  background: rgba(8, 43, 85, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-time {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card Body */
.film-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.film-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: -0.02em;
}

.tag-school {
  background: #eaf4fc;
  color: #0b6cb5;
}

.tag-school.mid {
  background: #f1edff;
  color: #5c35b5;
}

.tag-school.high {
  background: #fff0e6;
  color: #c9540c;
}

.tag-type1 {
  background: #e6f7ff;
  color: #0077b6;
  border: 1px solid #bee5f7;
}

.tag-type2 {
  background: #eafaf1;
  color: #16845b;
  border: 1px solid #c2ebd5;
}

.tag-genre {
  background: #f3f6f9;
  color: #556c82;
}

.film-title {
  font-size: 21px;
  font-weight: 950;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.film-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  font-size: 13px;
  color: #50687e;
  margin-bottom: 14px;
  background: #f7fafd;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5eff6;
}

.meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.meta-label {
  font-size: 11px;
  font-weight: 800;
  color: #8397a9;
  min-width: 52px;
  flex-shrink: 0;
}

.meta-val {
  font-weight: 600;
  color: #294056;
  word-break: break-all;
}

.meta-val strong {
  color: var(--navy);
  font-weight: 800;
}

.film-synopsis {
  font-size: 13.5px;
  color: #546a80;
  line-height: 1.65;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all .25s ease;
  position: relative;
}

.film-synopsis.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.synopsis-toggle {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  cursor: var(--cursor-film-pointer);
  padding: 0;
  margin-top: -10px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.synopsis-toggle:hover {
  text-decoration: underline;
}

/* Card Actions */
.film-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #eef4f9;
}

.btn-cinema {
  flex: 1;
  background: linear-gradient(135deg, var(--navy), #0c4d87);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: var(--cursor-film-pointer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .2s;
}

.btn-cinema:hover {
  background: linear-gradient(135deg, #072242, var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 43, 85, 0.2);
}

.btn-yt-link {
  background: #fff;
  color: #c92a2a;
  border: 1px solid #ffc9c9;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: var(--cursor-film-pointer);
  transition: .2s;
}

.btn-yt-link:hover {
  background: #fff5f5;
  border-color: #ffa8a8;
}

/* Empty State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  background: white;
  border-radius: 20px;
  border: 1px dashed #cfdeeb;
  color: #6d859b;
}

.no-results-icon {
  font-size: 42px;
  margin-bottom: 12px;
  color: #9cb5cb;
}

/* Cinema Modal */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 15, 30, 0.88);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}

.cinema-modal.active {
  display: flex;
  opacity: 1;
}

.cinema-dialog {
  background: #091f3a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: min(94vw, 1080px);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 0;
  font-size: 22px;
  cursor: var(--cursor-film-pointer);
  z-index: 10;
  display: grid;
  place-items: center;
  transition: .2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.modal-video-container {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  background: black;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.modal-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-details {
  padding: 28px 34px 34px;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 28px;
  font-weight: 950;
  color: #fff;
  margin: 0;
  letter-spacing: -0.04em;
}

.modal-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-synopsis-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0;
  line-height: 1.7;
  color: #d6e4f0;
  font-size: 14.5px;
}

.modal-credits {
  font-size: 13.5px;
  color: #9cb5cb;
  line-height: 1.65;
}

.modal-credits strong {
  color: #fff;
}

@media (max-width: 850px) {
  .stats-banner {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }

  .films-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-sort-group {
    max-width: 100%;
  }

  .modal-details {
    padding: 20px;
  }

  .modal-title {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .stats-banner {
    grid-template-columns: 1fr;
  }
}