:root {
  --ink: #0d0d0c;
  --ink-soft: #171714;
  --paper: #f3eee4;
  --paper-deep: #e8e1d4;
  --white: #fffdf8;
  --muted: #726d64;
  --line: rgba(13, 13, 12, 0.16);
  --accent: #ee5b3f;
  --acid: #c9f56a;
  --gold: #f0be54;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(15, 14, 11, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 16px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 76px; padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid rgba(13, 13, 12, 0.1); backdrop-filter: blur(20px);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 96%, transparent); border-color: rgba(13,13,12,.16); box-shadow: 0 12px 32px rgba(13,13,12,.07); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 20px; font-weight: 900; letter-spacing: -0.05em; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.site-header nav a { position: relative; padding: 28px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 18px; height: 2px; background: var(--accent); transition: .2s ease; }
.site-header nav a:hover::after, .site-header nav a.is-active::after { left: 0; right: 0; }
.site-header nav a.is-active { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.language-picker { position: relative; z-index: 60; }
.language-trigger { min-width: 144px; height: 44px; padding: 0 12px; display: grid; grid-template-columns: 20px 1fr 13px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: rgba(255,255,255,.28); cursor: pointer; text-align: left; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.language-trigger svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.language-current { min-width: 0; display: grid; gap: 1px; }
.language-current small { color: var(--muted); font-size: 6px; line-height: 1; font-weight: 900; letter-spacing: .17em; }
.language-current strong { overflow: hidden; font-size: 11px; line-height: 1.2; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.language-chevron { color: var(--muted); font-size: 15px; line-height: 1; transform: translateY(-2px); transition: transform .2s ease; }
.language-picker.is-open .language-trigger { color: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: 5px 5px 0 var(--accent); }
.language-picker.is-open .language-trigger svg { stroke: var(--acid); }
.language-picker.is-open .language-current small, .language-picker.is-open .language-chevron { color: #8d8a82; }
.language-picker.is-open .language-chevron { transform: translateY(2px) rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 11px); right: 0; width: 292px; padding: 10px; color: var(--paper); background: var(--ink); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 28px 70px rgba(13,13,12,.28), 8px 8px 0 var(--accent); animation: language-menu-in .2s ease both; }
.language-menu[hidden] { display: none; }
.language-menu::before { content: ""; position: absolute; right: 25px; top: -6px; width: 11px; height: 11px; background: var(--ink); border-left: 1px solid rgba(255,255,255,.13); border-top: 1px solid rgba(255,255,255,.13); transform: rotate(45deg); }
.language-menu-head { height: 34px; padding: 0 6px 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); color: #8a877f; font-size: 7px; font-weight: 900; letter-spacing: .18em; }
.language-menu-head i { color: var(--accent); font-family: Georgia, serif; font-size: 13px; font-style: normal; letter-spacing: 0; }
.language-options { padding-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.language-options button { min-height: 52px; padding: 8px 9px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; border: 1px solid transparent; color: #aaa69d; background: transparent; cursor: pointer; text-align: left; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.language-options button span { color: #66645f; font-family: Georgia, serif; font-size: 9px; }
.language-options button b { font-size: 10px; font-weight: 800; white-space: nowrap; }
.language-options button i { color: transparent; font-size: 7px; font-style: normal; }
.language-options button:hover, .language-options button:focus-visible { color: var(--paper); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); transform: translateY(-1px); }
.language-options button.is-selected { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.language-options button.is-selected span { color: rgba(13,13,12,.55); }
.language-options button.is-selected i { color: var(--accent); }
.icon-button { justify-self: end; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-weight: 900; letter-spacing: 2px; }
.icon-button:hover { color: var(--paper); background: var(--ink); }

.hero { --spot-x: 72%; --spot-y: 28%; --hero-rotate-x: 0deg; --hero-rotate-y: 0deg; position: relative; isolation: isolate; min-height: 670px; padding: 88px 0 80px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr); align-items: center; gap: 9vw; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 3% 0; background: radial-gradient(circle 260px at var(--spot-x) var(--spot-y), rgba(238,91,63,.16), transparent 72%); opacity: .82; transition: opacity .3s ease; pointer-events: none; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 17px; font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .section-heading h2, .leaderboard-copy h2, .closing-cta h2 {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em;
}
.hero h1 { font-size: clamp(48px, 5.7vw, 84px); line-height: .98; }
.hero h1 em, .closing-cta em { color: var(--accent); font-weight: 400; }
.hero-description { margin: 30px 0 0; color: #5b574f; font-size: 16px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; }
.primary-button, .secondary-button, .load-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 3px; font-size: 13px; font-weight: 850; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-button { color: var(--paper); background: var(--ink); }
.primary-button span { color: var(--acid); font-size: 18px; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--accent); }
.text-button { padding: 10px 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.trust-list { margin: 38px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 11px; list-style: none; }
.trust-list span { color: var(--accent); font-weight: 900; }

.progress-card { position: relative; padding: 25px 28px 24px; color: var(--paper); background: var(--ink); box-shadow: 18px 18px 0 var(--accent); overflow: hidden; transform: perspective(1100px) rotateX(var(--hero-rotate-x)) rotateY(var(--hero-rotate-y)); transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .25s ease; }
.progress-card:hover { box-shadow: 23px 23px 0 var(--accent), 0 30px 70px rgba(13,13,12,.18); }
.progress-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; top: -90px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.018); }
.card-kicker { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(201,245,106,.12); }
.progress-orbit { width: 230px; aspect-ratio: 1; margin: 34px auto 26px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--progress) * 1%), rgba(255,255,255,.12) 0); transform: rotate(-90deg); }
.progress-orbit::before { content: ""; position: absolute; width: 212px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.orbit-inner { position: relative; z-index: 1; display: grid; place-items: center; transform: rotate(90deg); }
.orbit-inner strong { font-family: Georgia, serif; font-size: 68px; font-weight: 400; line-height: .8; }
.orbit-inner > span { margin-top: 10px; color: #7e7c75; font-size: 15px; }
.orbit-inner small { margin-top: 12px; color: var(--acid); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.progress-summary { padding: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255,255,255,.12); }
.progress-summary div { display: grid; justify-items: center; gap: 6px; border-right: 1px solid rgba(255,255,255,.1); }
.progress-summary div:last-child { border: 0; }
.progress-summary strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.progress-summary span { color: #85837c; font-size: 9px; font-weight: 800; }
.next-milestone { padding-top: 18px; }
.next-milestone > div:first-child { display: flex; justify-content: space-between; font-size: 11px; }
.next-milestone strong { color: var(--acid); }
.mini-progress { height: 3px; margin: 12px 0 9px; background: rgba(255,255,255,.12); }
.mini-progress i { display: block; width: 0; height: 100%; background: var(--acid); transition: width .35s ease; }
.next-milestone small { color: #77756f; font-size: 9px; }

.ad-wrap { padding: 6px 0 64px; }
.ad-slot { min-height: 94px; display: grid; place-items: center; align-content: center; border: 1px dashed #aaa398; color: #918b80; background: rgba(255,255,255,.22); text-align: center; }
.ad-slot span { font-size: 8px; letter-spacing: .25em; }
.ad-slot p { margin: 8px 0 0; font-family: Georgia, serif; font-size: 14px; font-style: italic; }

.catalog-section { padding: 70px 0 110px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: right; }
.filter-panel { margin-bottom: 32px; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.27); }
.search-field { height: 54px; padding: 0 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.search-field > span { font-size: 24px; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; color: #8a8479; font-family: inherit; font-size: 10px; }
.filter-row { padding: 15px 8px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.filter-row label { display: grid; gap: 7px; }
.filter-row label > span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.filter-row select { width: 100%; height: 40px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 2px; outline: none; color: var(--ink); background: var(--paper); font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-row select:focus { border-color: var(--accent); }
.filter-meta { padding: 14px 8px 0; display: flex; align-items: center; justify-content: space-between; }
.filter-meta p { margin: 0; color: var(--muted); font-size: 11px; }
.reset-filters { border: 0; background: transparent; color: var(--muted); font-size: 11px; text-decoration: underline; cursor: pointer; }

.movie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.movie-card { --tilt-x: 0deg; --tilt-y: 0deg; --glare-x: 50%; --glare-y: 50%; --poster-x: 0px; --poster-y: 0px; position: relative; min-height: 185px; padding: 16px; display: grid; grid-template-columns: 105px 1fr; gap: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.35); transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .16s ease-out, box-shadow .22s ease, border-color .18s ease, background .18s ease; overflow: hidden; will-change: transform; }
.movie-card::before { content: ""; position: absolute; z-index: 3; inset: 0; background: radial-gradient(circle 170px at var(--glare-x) var(--glare-y), rgba(255,255,255,.32), transparent 70%); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.movie-card:hover { z-index: 2; transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px) scale(1.008); border-color: rgba(13,13,12,.45); box-shadow: 0 26px 55px rgba(15,14,11,.18); }
.movie-card:hover::before { opacity: .72; }
.movie-card.is-watched { border-color: rgba(13,13,12,.65); background: var(--white); }
.movie-card.is-watched::after { content: "WATCHED"; position: absolute; right: -26px; top: 14px; width: 100px; padding: 4px 0; color: var(--ink); background: var(--acid); font-size: 7px; font-weight: 950; letter-spacing: .12em; text-align: center; transform: rotate(45deg); }
.poster-wrap { position: relative; width: 105px; height: 150px; align-self: center; background: #252522; overflow: hidden; }
.poster-wrap img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.03); transform: translate3d(var(--poster-x), var(--poster-y), 0) scale(1.04); transition: transform .18s ease-out, filter .2s ease; }
.movie-card:hover .poster-wrap img { filter: saturate(1) contrast(1); transform: translate3d(var(--poster-x), var(--poster-y), 0) scale(1.09); }
.poster-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.4); font-family: Georgia, serif; font-size: 30px; background: radial-gradient(circle at 20% 20%, #555 0, #1b1b19 60%); }
.rank-badge { position: absolute; z-index: 2; top: 6px; left: 6px; min-width: 30px; padding: 4px 6px; color: white; background: rgba(13,13,12,.86); font-size: 9px; font-weight: 900; text-align: center; backdrop-filter: blur(5px); }
.movie-card-main { min-width: 0; display: flex; flex-direction: column; }
.movie-meta-top { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
.imdb-score { color: #a36b00; }
.movie-card h3 { margin: 9px 22px 6px 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.08; font-weight: 600; letter-spacing: -.025em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.director { margin: 0; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag-list span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 20px; color: #5f5a51; font-size: 8px; font-weight: 700; }
.card-bottom { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.watch-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; border: 0; background: transparent; font-size: 10px; font-weight: 850; cursor: pointer; }
.watch-toggle i { width: 17px; height: 17px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font-style: normal; }
.is-watched .watch-toggle i { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.quick-rating { display: flex; gap: 1px; }
.quick-rating button { padding: 2px; border: 0; color: #c0b9ac; background: transparent; font-size: 12px; cursor: pointer; }
.quick-rating button.active, .quick-rating button:hover { color: var(--accent); }
.details-button { border: 0; color: var(--muted); background: transparent; font-size: 9px; text-decoration: underline; cursor: pointer; }
.empty-results { padding: 70px 20px; border: 1px dashed var(--line); text-align: center; }
.empty-results > span { font-size: 42px; }
.empty-results h3 { margin: 14px 0 6px; font-family: Georgia, serif; font-size: 24px; }
.empty-results p { color: var(--muted); font-size: 13px; }
.load-more { min-width: 230px; margin: 34px auto 0; background: transparent; }
.load-more:hover { color: var(--paper); background: var(--ink); }
.load-more[hidden] { display: none; }

.analysis-section { padding: 104px 0 116px; color: var(--paper); background: var(--ink); }
.light-heading { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 35px; }
.light-heading > p { color: #96938b; }
.analysis-empty { min-height: 320px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.empty-reel { width: 130px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--acid); font-family: Georgia, serif; font-size: 58px; box-shadow: inset 0 0 0 20px var(--ink), inset 0 0 0 21px rgba(255,255,255,.1); }
.analysis-empty h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.analysis-empty p { max-width: 540px; margin: 0 0 25px; color: #9b9890; font-size: 13px; line-height: 1.7; }
.analysis-empty .primary-button { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.analysis-dashboard { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; }
.feature-panel, .chart-panel, .insight-panel { min-height: 350px; padding: 30px; border: 1px solid rgba(255,255,255,.13); }
.feature-panel { position: relative; background: var(--accent); overflow: hidden; }
.feature-panel::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 280px; height: 280px; border: 1px solid rgba(13,13,12,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(13,13,12,.05), 0 0 0 80px rgba(13,13,12,.035); }
.panel-label { font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.profile-mark { position: absolute; top: 26px; right: 28px; color: rgba(13,13,12,.16); font-family: Georgia, serif; font-size: 94px; line-height: 1; }
.profile-overline { margin: 58px 0 5px; color: rgba(13,13,12,.62); font-size: 11px; font-weight: 800; }
.taste-profile h3 { margin: 0 0 16px; color: var(--ink); font-family: Georgia, serif; font-size: 46px; font-weight: 400; letter-spacing: -.05em; }
.taste-profile > p:not(.profile-overline) { max-width: 480px; margin: 0; color: rgba(13,13,12,.75); font-size: 13px; line-height: 1.7; }
.signal-chips { position: relative; z-index: 1; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.signal-chips span { padding: 6px 9px; border: 1px solid rgba(13,13,12,.3); border-radius: 20px; color: var(--ink); font-size: 9px; font-weight: 850; }
.chart-panel { background: #141411; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 33px; }
.panel-head > div { display: flex; align-items: center; gap: 13px; }
.panel-head span { color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.panel-head h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.panel-head small { color: #76746d; font-size: 8px; }
.bar-chart { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 12px; }
.bar-row label { font-size: 10px; font-weight: 750; }
.bar-track { height: 5px; background: rgba(255,255,255,.1); }
.bar-track i { display: block; height: 100%; background: var(--acid); transform-origin: left; animation: chart-grow-x .62s cubic-bezier(.2,.7,.2,1) both; }
.bar-row strong { font-family: Georgia, serif; font-size: 13px; text-align: right; }
.decade-chart { height: 210px; display: flex; align-items: end; gap: 11px; }
.decade-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; }
.decade-bar i { width: min(30px, 70%); min-height: 3px; background: var(--accent); transform-origin: bottom; animation: chart-grow-y .68s cubic-bezier(.2,.7,.2,1) both; }
.decade-bar strong { font-family: Georgia, serif; font-size: 12px; }
.decade-bar span { color: #74726c; font-size: 8px; writing-mode: vertical-rl; transform: rotate(180deg); }
.compact-panel { min-height: 280px; }
.country-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 25px; }
.country-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 8px; }
.country-item span { font-size: 10px; }
.country-item strong { color: var(--acid); font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.insight-panel { min-height: 280px; color: var(--ink); background: var(--acid); }
.insight-panel blockquote { margin: 45px 0 23px; font-family: Georgia, serif; font-size: 25px; line-height: 1.35; letter-spacing: -.035em; }
.insight-panel > p { margin: 0; color: rgba(13,13,12,.65); font-size: 11px; line-height: 1.7; }

.recommend-section { padding: 110px 0; }
.recommend-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.recommend-card { position: relative; padding: 0; border: 0; background: var(--ink); overflow: hidden; cursor: pointer; text-align: left; transform: translateY(0); transition: transform .25s ease, box-shadow .25s ease; }
.recommend-card:hover { z-index: 2; transform: translateY(-8px); box-shadow: 0 24px 50px rgba(13,13,12,.25); }
.recommend-card img { width: 100%; aspect-ratio: .69; object-fit: cover; opacity: .82; transition: transform .35s ease, opacity .35s ease; }
.recommend-card:hover img { transform: scale(1.04); opacity: .55; }
.recommend-card-info { position: absolute; inset: auto 0 0; padding: 55px 15px 16px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.recommend-card-info span { color: var(--acid); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.recommend-card h3 { margin: 7px 0 5px; font-family: Georgia, serif; font-size: 17px; line-height: 1.1; font-weight: 500; }
.recommend-card p { margin: 0; color: #bbb8b0; font-size: 9px; line-height: 1.4; }

.leaderboard-section { padding: 110px 0; color: var(--paper); background: var(--accent); }
.leaderboard-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.leaderboard-copy h2 { color: var(--ink); font-size: clamp(52px, 6vw, 80px); line-height: .9; }
.leaderboard-copy > p:not(.eyebrow) { max-width: 420px; margin: 27px 0; color: rgba(13,13,12,.66); font-size: 13px; line-height: 1.75; }
.my-rank-card { margin-top: 40px; padding: 20px 0; border-block: 1px solid rgba(13,13,12,.3); }
.my-rank-card > span { font-size: 10px; font-weight: 850; }
.my-rank-card > strong { display: block; margin: 9px 0; font-family: Georgia, serif; font-size: 52px; font-weight: 400; }
.my-rank-card p { margin: 0; font-size: 11px; }
.leaderboard-table-wrap { padding: 28px; color: var(--paper); background: var(--ink); box-shadow: 14px 14px 0 var(--acid); }
.leaderboard-note { margin-bottom: 17px; color: #87847c; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.leaderboard-list { margin: 0; padding: 0; list-style: none; }
.leaderboard-row { min-height: 58px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.leaderboard-row.is-me { margin-inline: -10px; padding-inline: 10px; color: var(--ink); background: var(--acid); border: 0; }
.leaderboard-row .place { color: #74726c; font-family: Georgia, serif; font-size: 14px; }
.leaderboard-row.is-me .place { color: var(--ink); }
.leaderboard-row .person { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; }
.avatar { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--paper-deep); font-family: Georgia, serif; font-size: 10px; }
.leaderboard-row .score { font-family: Georgia, serif; font-size: 18px; }
.leaderboard-row .score small { color: #77746d; font-family: sans-serif; font-size: 8px; }
.leaderboard-row.is-me .score small { color: rgba(13,13,12,.6); }
.full-button { width: 100%; margin-top: 20px; color: var(--paper); border-color: rgba(255,255,255,.3); background: transparent; }
.full-button:hover { color: var(--ink); background: var(--paper); }

.closing-cta { padding: 130px 0; text-align: center; }
.closing-cta h2 { font-size: clamp(48px, 6vw, 76px); line-height: 1.04; }
.closing-cta .primary-button { margin-top: 38px; }
footer { padding: 60px 0 20px; color: #8e8a81; background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-brand { color: var(--paper); font-family: Georgia, serif; font-size: 27px; }
.footer-inner p, .footer-inner a, .footer-inner button { margin: 0; color: #8e8a81; font-size: 10px; }
.footer-inner strong { margin-bottom: 7px; color: var(--paper); font-size: 9px; letter-spacing: .15em; }
.footer-inner button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.footer-inner a:hover, .footer-inner button:hover { color: var(--acid); }
.footer-bottom { margin-top: 55px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; }

dialog { max-width: calc(100vw - 28px); border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.55); }
dialog::backdrop { background: rgba(5,5,4,.78); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 4; top: 13px; right: 15px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 22px; cursor: pointer; }
.quiz-dialog { width: min(960px, calc(100vw - 30px)); padding: 0; color: var(--paper); background: var(--ink); overflow: hidden; }
.quiz-close { color: var(--paper); background: rgba(255,255,255,.1); }
.quiz-shell { min-height: 610px; padding: 26px; }
.quiz-topline { display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.quiz-topline > div { display: flex; align-items: center; gap: 9px; }
.quiz-topline strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.quiz-topline small { color: #77746d; font-family: sans-serif; font-size: 9px; }
.quiz-progress { height: 3px; margin: 18px 0 27px; background: rgba(255,255,255,.1); }
.quiz-progress i { display: block; height: 100%; background: var(--acid); transition: width .25s ease; }
.quiz-movie { display: grid; grid-template-columns: 330px 1fr; gap: 48px; align-items: center; }
.quiz-poster { position: relative; height: 485px; background: #242420; overflow: hidden; }
.quiz-poster::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.quiz-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.04); }
.quiz-poster > span { position: absolute; left: 12px; top: 12px; padding: 6px 8px; color: var(--ink); background: var(--acid); font-size: 9px; font-weight: 900; }
.quiz-copy { min-width: 0; padding-right: 22px; }
.quiz-copy .eyebrow { color: #8d8981; }
.quiz-question { margin: 0; font-family: Georgia, serif; font-size: 29px; line-height: 1.1; }
.quiz-question em { color: var(--accent); font-weight: 400; }
.quiz-copy h2 { margin: 15px 0 8px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 60px); line-height: .98; font-weight: 400; letter-spacing: -.055em; }
.quiz-director { margin: 0; color: #8b8880; font-size: 11px; }
.quiz-tags { margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.quiz-tags span, .result-chips span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: #b1ada4; font-size: 8px; font-weight: 800; }
.quiz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz-answer { min-height: 95px; padding: 15px 18px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,.18); color: var(--paper); background: transparent; text-align: left; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.quiz-answer b { font-family: Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1; }
.quiz-answer span { display: grid; gap: 5px; font-size: 11px; font-weight: 850; }
.quiz-answer small { color: #74716a; font-size: 8px; font-weight: 500; }
.quiz-answer.yes:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); transform: translateY(-3px); }
.quiz-answer.no:hover { color: white; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.quiz-answer:hover small { color: currentColor; opacity: .6; }
.quiz-bottom { margin-top: 18px; display: flex; justify-content: space-between; color: #68665f; font-size: 8px; }
.quiz-bottom button { padding: 0; border: 0; color: #aaa69d; background: transparent; font-size: 9px; cursor: pointer; }
.quiz-bottom button:disabled { opacity: .25; cursor: default; }
.quiz-result { position: relative; min-height: 610px; padding: 45px 70px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; overflow: hidden; }
.quiz-result::before, .quiz-result::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.quiz-result::before { left: -230px; top: -130px; }
.quiz-result::after { right: -250px; bottom: -170px; }
.result-kicker { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.result-mark { position: absolute; right: 52px; top: 25px; color: rgba(238,91,63,.18); font-family: Georgia, serif; font-size: 150px; line-height: 1; }
.result-count { margin: 38px 0 6px; color: #88857e; font-size: 10px; }
.result-count strong { color: var(--acid); font-family: Georgia, serif; font-size: 35px; font-weight: 400; }
.result-overline { margin: 0; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.quiz-result h2 { position: relative; z-index: 1; margin: 6px 0 13px; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 76px); line-height: 1; font-weight: 400; letter-spacing: -.055em; }
.result-description { position: relative; z-index: 1; max-width: 590px; margin: 0; color: #9d9990; font-size: 12px; line-height: 1.75; }
.result-chips { position: relative; z-index: 1; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.result-summary { position: relative; z-index: 1; width: min(500px, 100%); margin: 27px 0 20px; padding: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255,255,255,.12); }
.result-summary div { display: grid; gap: 5px; border-right: 1px solid rgba(255,255,255,.1); }
.result-summary div:last-child { border: 0; }
.result-summary strong { font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.result-summary span { color: #74716a; font-size: 8px; }
.result-continue { position: relative; z-index: 1; color: var(--ink); background: var(--acid); border-color: var(--acid); }
.result-restart { position: relative; z-index: 1; margin-top: 13px; padding: 3px; border: 0; color: #74716a; background: transparent; font-size: 9px; text-decoration: underline; cursor: pointer; }
.movie-dialog { width: min(760px, calc(100vw - 30px)); padding: 0; }
.dialog-movie-layout { display: grid; grid-template-columns: 270px 1fr; min-height: 440px; }
.dialog-poster { position: relative; min-height: 440px; background: var(--ink); }
.dialog-poster img { width: 100%; height: 100%; object-fit: cover; }
.dialog-rank { position: absolute; left: 16px; top: 16px; padding: 7px 9px; color: white; background: var(--ink); font-size: 10px; font-weight: 900; }
.dialog-copy { padding: 50px 38px 34px; }
.dialog-copy h2 { margin: 12px 0 8px; font-family: Georgia, serif; font-size: 38px; line-height: 1.03; font-weight: 400; letter-spacing: -.04em; }
.dialog-meta { color: var(--muted); font-size: 11px; }
.dialog-director { margin: 20px 0 0; font-size: 12px; }
.dialog-cast { margin: 7px 0 24px; color: var(--muted); font-size: 10px; }
.dialog-rating { padding: 18px 0; border-block: 1px solid var(--line); }
.dialog-rating > span { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 800; }
.star-picker { display: flex; gap: 5px; }
.star-picker button { padding: 0; border: 0; color: #c5bfb3; background: transparent; font-size: 27px; cursor: pointer; }
.star-picker button.active { color: var(--accent); }
.dialog-actions { margin-top: 22px; display: flex; gap: 9px; }
.dialog-actions .primary-button, .dialog-actions .secondary-button { flex: 1; }
.settings-dialog, .privacy-dialog { width: min(520px, calc(100vw - 30px)); padding: 42px; }
.settings-dialog h2, .privacy-dialog h2 { margin: 0 0 24px; font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.settings-dialog h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 22px; }
.settings-dialog p, .privacy-dialog p { color: var(--muted); font-size: 12px; line-height: 1.75; }
.profile-field { display: grid; gap: 8px; }
.profile-field span { font-size: 10px; font-weight: 800; }
.profile-field input { height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); outline: 0; }
.profile-field input:focus { border-color: var(--accent); }
.settings-save { width: 100%; margin-top: 10px; }
.settings-divider { height: 1px; margin: 28px 0; background: var(--line); }
.settings-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.danger-button { padding: 5px 0; border: 0; color: #bd3428; background: transparent; font-size: 11px; text-decoration: underline; cursor: pointer; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; max-width: calc(100% - 30px); padding: 12px 18px; color: var(--ink); background: var(--acid); font-size: 11px; font-weight: 800; box-shadow: 0 12px 40px rgba(0,0,0,.25); transform: translate(-50%, 140px); opacity: 0; transition: .28s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal-ready { opacity: 0; translate: 0 26px; }
.reveal-ready.is-revealed { animation: reveal-in .68s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms) both; }
.has-ripple { position: relative; overflow: hidden; }
.interaction-ripple { position: absolute; z-index: 8; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.55); transform: translate(-50%, -50%) scale(0); pointer-events: none; animation: interaction-ripple .62s ease-out forwards; mix-blend-mode: screen; }
:where(a, button, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes reveal-in {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes interaction-ripple {
  70% { opacity: .24; }
  to { opacity: 0; transform: translate(-50%, -50%) scale(28); }
}
@keyframes chart-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes chart-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes language-menu-in { from { opacity: 0; transform: translateY(-7px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 360px; gap: 55px; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .recommend-grid { grid-template-columns: repeat(3, 1fr); }
  .recommend-card:nth-child(n+4) { display: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 620px); }
  .site-header { height: 64px; padding-inline: 14px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-actions { gap: 6px; }
  .language-trigger { min-width: 112px; height: 38px; padding: 0 9px; grid-template-columns: 17px 1fr 11px; gap: 6px; }
  .language-trigger svg { width: 16px; height: 16px; }
  .language-current small { display: none; }
  .language-menu { right: -47px; width: min(292px, calc(100vw - 28px)); }
  .language-menu::before { right: 72px; }
  .brand { font-size: 18px; }
  .brand svg { width: 26px; height: 26px; }
  .hero { min-height: auto; padding: 58px 0 70px; grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(44px, 10.5vw, 60px); line-height: 1.02; word-break: normal; overflow-wrap: anywhere; }
  html:lang(ko) .hero h1 { word-break: keep-all; }
  .hero-description { font-size: 14px; }
  .desktop-only { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-button { align-self: flex-start; }
  .trust-list { gap: 10px 16px; }
  .progress-card { box-shadow: 9px 9px 0 var(--accent); }
  .progress-orbit { width: 210px; }
  .progress-orbit::before { width: 193px; }
  .ad-wrap { padding-bottom: 35px; }
  .catalog-section { padding: 55px 0 80px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 27px; }
  .section-heading > p { text-align: left; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-row label:last-child { grid-column: 1 / -1; }
  .movie-grid { grid-template-columns: 1fr; }
  .movie-card { grid-template-columns: 100px 1fr; }
  .poster-wrap { width: 100px; height: 144px; }
  .analysis-section { padding: 80px 0; }
  .analysis-empty { padding: 30px 0; align-items: flex-start; flex-direction: column; gap: 25px; }
  .analysis-dashboard { grid-template-columns: 1fr; }
  .feature-panel, .chart-panel, .insight-panel { padding: 25px; }
  .taste-profile h3 { font-size: 38px; }
  .country-list { grid-template-columns: 1fr; }
  .recommend-section { padding: 80px 0; }
  .recommend-grid { grid-template-columns: 1fr 1fr; }
  .recommend-card:nth-child(3) { display: none; }
  .leaderboard-section { padding: 80px 0; }
  .leaderboard-layout { grid-template-columns: 1fr; gap: 45px; }
  .leaderboard-table-wrap { padding: 18px; box-shadow: 8px 8px 0 var(--acid); }
  .closing-cta { padding: 90px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 15px; flex-direction: column; }
  .dialog-movie-layout { grid-template-columns: 1fr; }
  .quiz-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .quiz-shell { min-height: auto; padding: 18px; }
  .quiz-topline { padding-right: 38px; }
  .quiz-progress { margin: 14px 0 18px; }
  .quiz-movie { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .quiz-poster { height: 210px; }
  .quiz-poster img { object-position: center 24%; }
  .quiz-poster > span { top: 7px; left: 7px; padding: 4px 5px; font-size: 7px; }
  .quiz-copy { padding: 3px 0 0; }
  .quiz-copy .eyebrow { margin-bottom: 10px; font-size: 8px; }
  .quiz-question { font-size: 20px; }
  .quiz-copy h2 { margin: 9px 0 5px; font-size: 29px; }
  .quiz-director { font-size: 9px; }
  .quiz-tags { margin: 10px 0 15px; }
  .quiz-tags span { padding: 3px 6px; font-size: 7px; }
  .quiz-answer { min-height: 78px; padding: 12px; }
  .quiz-answer b { font-size: 34px; }
  .quiz-result { min-height: calc(100dvh - 16px); padding: 45px 20px 28px; }
  .result-mark { right: 20px; top: 35px; font-size: 95px; }
  .result-count { margin-top: 25px; }
  .quiz-result h2 { font-size: 48px; }
  .result-description { font-size: 11px; }
  .dialog-poster { min-height: 270px; height: 38vh; }
  .dialog-copy { padding: 30px 22px; }
  .dialog-copy h2 { font-size: 32px; }
  .settings-dialog, .privacy-dialog { padding: 36px 22px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-ready { opacity: 1 !important; translate: 0 0 !important; }
  .movie-card, .movie-card:hover, .progress-card { transform: none !important; }
}
