:root {
    --teal: #0d9488;
    --teal-light: #2dd4bf;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #f8fafc;
    --line: #dbeafe;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(135deg, #f8fafc 0%, #ecfeff 48%, #eff6ff 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(20, 184, 166, 0.18);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-light), var(--blue));
    box-shadow: 0 0 28px rgba(45, 212, 191, 0.45);
    font-size: 14px;
}

.brand-text {
    font-size: clamp(20px, 2.2vw, 26px);
    background: linear-gradient(90deg, var(--teal), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #334155;
    font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--teal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search,
.mobile-search {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 999px;
    background: #ffffff;
}

.nav-search input,
.mobile-search input {
    width: 190px;
    border: 0;
    outline: 0;
    padding: 11px 12px 11px 18px;
    color: var(--ink);
    background: transparent;
}

.nav-search button,
.mobile-search button {
    border: 0;
    padding: 11px 16px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(13, 148, 136, 0.08);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid rgba(13, 148, 136, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155;
    font-weight: 650;
}

.mobile-nav a:hover {
    background: #f0fdfa;
}

.mobile-search {
    margin-bottom: 6px;
}

.mobile-search input {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 500px;
    height: 70vh;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-slide img,
.page-hero img,
.detail-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay,
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.56) 48%, rgba(15, 23, 42, 0.14));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 780px;
    margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.eyebrow span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(45, 212, 191, 0.45);
    border-radius: 999px;
    color: #99f6e4;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 0 0 20px;
    max-width: 860px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-hero p {
    max-width: 780px;
    margin: 0 0 26px;
    color: #e2e8f0;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-meta span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.glass-btn,
.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-light), var(--blue));
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.30);
}

.primary-btn:hover,
.glass-btn:hover,
.text-btn:hover {
    transform: translateY(-2px);
}

.glass-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.text-btn {
    min-height: 40px;
    padding: 10px 16px;
    color: var(--teal);
    background: #ecfeff;
}

.block-btn {
    width: 100%;
    margin-top: 18px;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: var(--teal-light);
}

.section {
    padding: 72px 0;
}

.white-section {
    background: rgba(255, 255, 255, 0.68);
}

.gradient-section {
    background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
}

.category-section {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2,
.mini-heading h3,
.rank-column h2,
.content-panel h2,
.info-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.18;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-link,
.mini-heading a {
    color: var(--teal);
    font-weight: 800;
    white-space: nowrap;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.movie-card-large .poster-wrap {
    aspect-ratio: 16 / 8;
}

.poster-wrap img,
.list-poster img,
.side-poster img,
.rank-card img,
.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .poster-wrap img,
.category-tile:hover .category-cover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.08));
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.play-badge,
.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-light), var(--blue));
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-badge {
    width: 58px;
    height: 58px;
    font-size: 22px;
}

.play-mark {
    width: 42px;
    height: 42px;
    font-size: 16px;
}

.movie-card:hover .play-badge,
.movie-card-list:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-category,
.card-duration {
    position: absolute;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.card-category {
    left: 12px;
    top: 12px;
    background: rgba(20, 184, 166, 0.92);
}

.card-duration {
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, 0.78);
}

.card-body {
    padding: 16px;
}

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-title,
.movie-card-list:hover .movie-title {
    color: var(--teal);
}

.card-body p,
.list-body p,
.category-info p,
.content-panel p,
.info-card dd {
    color: var(--muted);
}

.card-body p {
    display: -webkit-box;
    min-height: 46px;
    margin: 8px 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row,
.genre-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span,
.genre-row span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--teal);
    background: #ecfeff;
    font-size: 12px;
    font-weight: 750;
}

.movie-stats,
.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #64748b;
    font-size: 13px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.list-stack {
    display: grid;
    gap: 14px;
}

.movie-card-list {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px;
}

.list-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.list-body .movie-title {
    min-height: auto;
}

.category-feature {
    margin-bottom: 44px;
}

.category-feature:last-child {
    margin-bottom: 0;
}

.mini-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mini-heading h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
}

.mini-heading h3::before {
    content: "";
    width: 5px;
    height: 30px;
    border-radius: 999px;
    background: var(--teal);
}

.rank-board {
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rank-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 140px 120px;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-row:hover {
    background: #f0fdfa;
}

.rank-no {
    color: var(--teal);
    font-weight: 900;
}

.rank-name,
.rank-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-kind,
.rank-score,
.rank-card-meta {
    color: var(--muted);
    font-size: 14px;
}

.page-hero,
.detail-hero {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.small-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 18% 20%, rgba(45, 212, 191, 0.30), transparent 36%), linear-gradient(135deg, #0f172a, #0f766e 55%, #1d4ed8);
}

.page-hero .container,
.detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

.category-hero > img {
    position: absolute;
    inset: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #d1fae5;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.category-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.category-tile {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.category-cover {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.category-cover span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    font-weight: 850;
}

.category-info {
    padding: 22px;
}

.category-info h2 {
    margin: 0;
    font-size: 24px;
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.sample-links a {
    display: inline-flex;
    max-width: 100%;
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 999px;
    color: #0f766e;
    background: #ecfeff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-search input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    outline: 0;
    padding: 14px 18px;
    background: #f8fafc;
}

.filter-search input:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.14);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #334155;
    cursor: pointer;
    background: #f1f5f9;
    font-weight: 750;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}

.ranking-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rank-column {
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rank-column h2 {
    padding: 22px 22px 12px;
    font-size: 26px;
}

.rank-card-list {
    display: grid;
}

.rank-card {
    display: grid;
    grid-template-columns: 42px 64px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 12px;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
}

.rank-card:hover {
    background: #f0fdfa;
}

.rank-card img {
    grid-row: span 2;
    width: 64px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.rank-card .rank-no {
    grid-row: span 2;
}

.detail-hero {
    min-height: 420px;
}

.detail-hero > img {
    position: absolute;
    inset: 0;
}

.detail-section {
    padding-top: 42px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 24px 55px rgba(2, 6, 23, 0.32);
}

.player-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.22), rgba(2, 6, 23, 0.68));
    transition: opacity 0.22s ease;
}

.player-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.player-play-button {
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--teal-light), var(--blue));
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
    font-size: 34px;
}

.content-panel,
.info-card {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.content-panel h2,
.info-card h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.content-panel p {
    margin: 0 0 16px;
    font-size: 17px;
}

.detail-side {
    position: sticky;
    top: 96px;
}

.side-poster {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    box-shadow: var(--shadow);
}

.info-card dl {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0 0 18px;
}

.info-card dt {
    color: #0f766e;
    font-weight: 850;
}

.info-card dd {
    margin: 0;
}

.detail-tags {
    margin-bottom: 12px;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #134e4a 70%, #1e3a8a);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 220px minmax(0, 1fr);
    gap: 34px;
    padding: 46px 0 34px;
}

.footer-logo .brand-text {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.footer-brand p {
    max-width: 560px;
    color: #d1d5db;
}

.footer-col,
.footer-tags {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-col h3 {
    margin: 0 0 6px;
    color: #ffffff;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: #99f6e4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 16px;
    text-align: center;
    color: #94a3b8;
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 14px;
        font-size: 14px;
    }

    .nav-search input {
        width: 160px;
    }

    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ranking-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .nav-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-content {
        margin-left: 16px;
        width: calc(100% - 32px);
    }

    .movie-grid,
    .compact-grid,
    .spotlight-grid,
    .category-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-tile,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .category-cover {
        min-height: 180px;
    }

    .detail-side {
        position: static;
    }

    .rank-row {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .rank-kind,
    .rank-score {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 66px;
    }

    .brand-text {
        font-size: 20px;
    }

    .hero {
        height: auto;
        min-height: 560px;
    }

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 34px;
    }

    .section {
        padding: 48px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .movie-grid,
    .compact-grid,
    .spotlight-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-list {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .movie-card-list .movie-meta {
        display: none;
    }

    .footer-inner {
        padding-top: 34px;
    }

    .player-play-button {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
