:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(6, 182, 212, 0.34);
}

.brand-name {
    font-size: 21px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 10px 13px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(148, 163, 184, 0.18);
    transform: translateY(-1px);
}

.nav-search,
.search-large {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-search input,
.search-large input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(148, 163, 184, 0.34);
    outline: 0;
    border-radius: 999px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
    width: 250px;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.nav-search input:focus,
.search-large input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.nav-search button,
.search-large button,
.primary-action,
.secondary-action,
.section-heading > a {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.search-large button,
.primary-action {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.nav-search button {
    padding: 10px 18px;
}

.nav-search button:hover,
.search-large button:hover,
.primary-action:hover,
.secondary-action:hover,
.section-heading > a:hover {
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.18);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 99px;
}

.hero {
    position: relative;
    height: 72vh;
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 32%, rgba(6, 182, 212, 0.18), transparent 28%), linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.74) 45%, rgba(2, 6, 23, 0.18));
}

.hero-overlay {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 720px;
    transform: translateX(calc((100vw - min(1240px, calc(100vw - 32px))) / -2));
}

.hero-kicker,
.detail-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.hero-content h1 {
    margin: 22px 0 20px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
}

.hero-meta,
.detail-meta,
.rank-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-meta span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 48px;
    padding: 0 26px;
}

.secondary-action {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    backdrop-filter: blur(14px);
}

.hero-control {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.site-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
}

.site-stats div {
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.site-stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 950;
}

.site-stats span {
    color: rgba(255, 255, 255, 0.68);
}

.section-block,
.category-overview-item,
.detail-content,
.player-section {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.soft-bg {
    position: relative;
}

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

.section-heading h1,
.section-heading h2 {
    margin: 0 0 9px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
}

.light-heading h2,
.light-heading p,
.light-heading > a {
    color: #ffffff;
}

.light-heading p {
    color: rgba(255, 255, 255, 0.68);
}

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

.category-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #ffffff;
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.04);
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.14);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.82), rgba(37, 99, 235, 0.8));
}

.category-card span {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 78px;
    font-size: 24px;
    font-weight: 950;
}

.category-card p {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    font-size: 14px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.movie-card-compact .card-cover {
    aspect-ratio: 16 / 10;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 54%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 1;
}

.card-year,
.card-play {
    position: absolute;
    z-index: 2;
}

.card-year {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-play {
    left: 50%;
    top: 50%;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    padding: 18px;
}

.card-category,
.rank-category {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-body h2,
.rank-info h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.card-body h2 a,
.rank-info h2 a {
    transition: color 0.2s ease;
}

.card-body h2 a:hover,
.rank-info h2 a:hover {
    color: var(--blue);
}

.card-body p {
    display: -webkit-box;
    margin: 0 0 14px;
    min-height: 48px;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.card-tags span,
.detail-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
}

.card-meta {
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
}

.dark-rank {
    width: 100%;
    max-width: none;
    padding: 70px max(16px, calc((100% - 1240px) / 2));
    background: linear-gradient(135deg, #0f172a, #111827 48%, #1e293b);
}

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

.home-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-card {
    display: grid;
    grid-template-columns: auto 116px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.11);
}

.dark-rank .rank-card {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.rank-num {
    color: var(--cyan);
    font-size: 26px;
    font-weight: 950;
}

.rank-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
}

.rank-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info p {
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dark-rank .rank-info p,
.dark-rank .rank-meta {
    color: rgba(255, 255, 255, 0.72);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.page-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 70px max(16px, calc((100% - 1240px) / 2));
}

.page-hero h1 {
    margin: 20px 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 950;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.74);
}

.breadcrumb a {
    color: #67e8f9;
}

.filter-panel {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.filter-panel input,
.filter-panel select,
.search-large input {
    min-height: 48px;
    padding: 0 16px;
    background: #f8fafc;
    color: var(--text);
}

.filter-panel input {
    flex: 1;
}

.search-page {
    min-height: 460px;
}

.search-large {
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.search-large input {
    flex: 1;
    border: 1px solid var(--line);
}

.search-large button {
    min-height: 48px;
    padding: 0 26px;
    border: 0;
}

.detail-hero {
    min-height: 610px;
    background-image: var(--detail-image);
    background-position: center;
    background-size: cover;
}

.detail-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.8) 48%, rgba(2, 6, 23, 0.34)), linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 54%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    align-items: center;
    margin-top: 36px;
}

.poster-card {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
}

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

.detail-intro h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-intro p {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 20px;
}

.player-section {
    padding-top: 60px;
    padding-bottom: 25px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
    aspect-ratio: 16 / 9;
}

.video-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #020617;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.16), rgba(2, 6, 23, 0.55)), rgba(2, 6, 23, 0.48);
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-size: 34px;
    box-shadow: 0 20px 46px rgba(6, 182, 212, 0.34);
}

.play-text {
    font-size: 18px;
    font-weight: 900;
}

.detail-content {
    padding-top: 35px;
}

.detail-text {
    margin-bottom: 34px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.detail-text h2 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 950;
}

.detail-text p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 58px max(16px, calc((100% - 1240px) / 2)) 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 24px;
}

.site-footer p {
    max-width: 460px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #67e8f9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
}

.is-filtered-out {
    display: none !important;
}

.empty-result {
    grid-column: 1 / -1;
    padding: 36px;
    border-radius: 22px;
    background: #ffffff;
    color: var(--muted);
    text-align: center;
    box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 12px;
    }

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

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

    .home-rank-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .nav-wrap {
        min-height: 64px;
    }

    .menu-button {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 22px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow);
    }

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

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

    .nav-search {
        width: 100%;
    }

    .nav-search input {
        width: 100%;
        flex: 1;
    }

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

    .hero-content {
        width: min(100% - 32px, 680px);
        min-height: 620px;
        transform: none;
    }

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

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

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

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

    .poster-card {
        width: min(280px, 100%);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .brand-name {
        font-size: 18px;
    }

    .hero-content h1,
    .detail-intro h1 {
        font-size: 38px;
    }

    .hero-actions,
    .filter-panel,
    .search-large {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-action,
    .secondary-action,
    .search-large button {
        width: 100%;
    }

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

    .rank-card {
        grid-template-columns: auto 92px 1fr;
        gap: 12px;
        padding: 12px;
    }

    .rank-info p,
    .rank-meta {
        display: none;
    }

    .site-stats {
        grid-template-columns: 1fr;
    }
}
