:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #ef4444;
    --pink: #ec4899;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --green: #16a34a;
    --violet: #7c3aed;
    --amber: #d97706;
    --slate: #334155;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
    --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.28);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo {
    flex: 0 0 auto;
    font-size: 24px;
}

.logo-mark,
.footer-logo span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
}

.site-nav > a,
.nav-categories a {
    font-weight: 700;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav > a:hover,
.nav-categories a:hover,
.site-nav > a.active {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

.top-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 270px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.top-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 10px 74px 10px 16px;
}

.top-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.top-search button {
    position: absolute;
    right: 5px;
    border: 0;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #fff;
    padding: 6px 12px;
    font-weight: 800;
    cursor: pointer;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    padding: 8px 11px;
}

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

.hero-slider {
    position: relative;
    height: 580px;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-copy {
    position: absolute;
    left: 50%;
    bottom: 58px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    color: #fff;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 780px;
    margin: 16px 0 16px;
    font-size: clamp(34px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.hero-labels,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-labels span,
.detail-meta span {
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-labels span:first-child {
    background: #dc2626;
}

.hero-info {
    margin-bottom: 22px;
    color: #fed7aa;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.primary-btn {
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 14px 34px rgba(239, 68, 68, 0.32);
}

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

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 48px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--orange);
}

.search-panel {
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    border-bottom: 1px solid var(--gray-200);
}

.search-panel-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
    gap: 28px;
    align-items: center;
    padding: 28px 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-text h2,
.player-section h2,
.footer-shell h2 {
    margin: 0;
}

.search-panel h2,
.section-heading h2 {
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: -0.03em;
}

.wide-search,
.filter-bar {
    display: flex;
    gap: 12px;
}

.wide-search input,
.filter-bar input,
.filter-bar select {
    min-height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #fff;
    outline: 0;
    padding: 0 16px;
    box-shadow: var(--soft-shadow);
}

.wide-search input,
.filter-bar input {
    flex: 1 1 auto;
}

.wide-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.wide-search button {
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    padding: 0 24px;
    font-weight: 900;
    cursor: pointer;
}

.section-block {
    padding: 46px 0;
}

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

.section-heading > a {
    color: var(--orange-dark);
    font-weight: 900;
}

.center-heading {
    justify-content: center;
    text-align: center;
}

.compact-heading {
    align-items: center;
}

.category-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    border-radius: 24px;
    color: #fff;
    padding: 22px;
    box-shadow: var(--soft-shadow);
}

.category-tile::after,
.category-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -28px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-tile span,
.category-card h2 {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
}

.category-tile p,
.category-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card h2 {
    font-size: 30px;
}

.category-samples {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-samples span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    padding: 5px 10px;
    font-size: 13px;
}

.tone-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.tone-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.tone-pink { background: linear-gradient(135deg, #ec4899, #fb7185); }
.tone-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.tone-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.tone-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.tone-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.tone-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.tone-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.tone-slate { background: linear-gradient(135deg, #334155, #0f172a); }

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .poster-frame img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.08));
    transition: opacity 0.22s ease;
}

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

.poster-shade p {
    margin: 0;
    padding: 18px;
    color: #fff;
    font-size: 14px;
}

.poster-meta {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.poster-meta span,
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    border-radius: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 900;
}

.rank-badge {
    background: #dc2626;
}

.play-mark {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 17px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.movie-card:hover .card-body h3 {
    color: var(--orange-dark);
}

.card-subline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span {
    border-radius: 999px;
    color: var(--orange-dark);
    background: #ffedd5;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 800;
}

.compact-card .card-body {
    padding: 12px;
}

.compact-card .card-body h3 {
    font-size: 15px;
}

.soft-section {
    padding: 48px 0;
}

.pink-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
}

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

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
}

.rank-panel,
.side-panel {
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    padding: 24px;
}

.side-panel {
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-row {
    display: grid;
    grid-template-columns: 44px 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    box-shadow: inset 0 0 0 1px var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: var(--soft-shadow);
}

.rank-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

.rank-row img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-copy h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.rank-copy p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-side {
    min-width: 120px;
    color: var(--gray-500);
    font-size: 13px;
    text-align: right;
}

.rank-side strong {
    display: block;
    color: var(--gray-900);
    font-size: 20px;
}

.full-rank-list .rank-row {
    grid-template-columns: 52px 86px minmax(0, 1fr) 150px;
}

.page-hero {
    color: #fff;
    padding: 70px 0 74px;
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.breadcrumbs a:hover {
    color: #fed7aa;
}

.filter-section {
    min-height: 420px;
}

.filter-bar {
    position: sticky;
    top: 86px;
    z-index: 5;
    margin-bottom: 26px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    padding: 14px;
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(16px);
}

.filter-bar select {
    min-width: 150px;
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    border-radius: 20px;
    background: #fff;
    color: var(--gray-500);
    padding: 28px;
    text-align: center;
    box-shadow: var(--soft-shadow);
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #fff;
    background: #000;
}

.detail-bg,
.detail-bg img,
.detail-mask {
    position: absolute;
    inset: 0;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.08);
    opacity: 0.62;
}

.detail-mask {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.34) 100%);
}

.detail-shell {
    position: relative;
    z-index: 1;
    padding: 48px 0 58px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy h1 {
    max-width: 800px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.detail-line {
    max-width: 760px;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.detail-tags {
    margin: 18px 0 24px;
}

.detail-tags span {
    color: #fff;
    background: rgba(249, 115, 22, 0.82);
}

.player-section {
    scroll-margin-top: 90px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
}

.player-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 22px 50px rgba(249, 115, 22, 0.38);
    font-size: 34px;
    padding-left: 4px;
}

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

.detail-text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.detail-text article {
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    padding: 28px;
}

.detail-text h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.detail-text p {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 36px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #111827, #020617);
}

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

.footer-logo {
    margin-bottom: 14px;
    color: #fff;
    font-size: 22px;
}

.footer-brand p,
.footer-shell p {
    margin: 0;
    color: #94a3b8;
}

.footer-shell h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
}

.footer-shell ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-shell li + li {
    margin-top: 8px;
}

.footer-shell a:hover {
    color: #fb923c;
}

.copyright {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding: 18px 0;
    color: #64748b;
    text-align: center;
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 30;
    width: 44px;
    height: 44px;
    display: none;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: var(--soft-shadow);
    cursor: pointer;
}

.back-top.is-visible {
    display: block;
}

@media (max-width: 1100px) {
    .nav-categories,
    .top-search {
        display: none;
    }

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

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

    .split-layout,
    .footer-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        height: auto;
        min-height: 66px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

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

    .site-nav {
        display: none;
        flex: 1 0 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        padding-top: 14px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-slider {
        height: 540px;
    }

    .hero-copy {
        bottom: 72px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-dots {
        right: 18px;
        bottom: 30px;
    }

    .search-panel-inner,
    .detail-grid,
    .detail-text,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .wide-search,
    .filter-bar {
        flex-direction: column;
    }

    .filter-bar {
        position: static;
    }

    .large-grid,
    .six-grid,
    .category-grid,
    .category-movie-grid,
    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rank-row,
    .full-rank-list .rank-row {
        grid-template-columns: 42px 64px minmax(0, 1fr);
    }

    .rank-side {
        grid-column: 3;
        text-align: left;
    }

    .detail-poster {
        max-width: 260px;
    }
}

@media (max-width: 520px) {
    .logo {
        font-size: 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .large-grid,
    .six-grid,
    .category-grid,
    .category-movie-grid,
    .mini-grid {
        gap: 14px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h3 {
        font-size: 15px;
    }

    .category-tile,
    .category-card,
    .rank-panel,
    .side-panel,
    .detail-text article {
        border-radius: 20px;
        padding: 18px;
    }

    .player-overlay span {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
