:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(148, 163, 184, 0.16);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --purple: #a855f7;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.16), transparent 32rem),
        radial-gradient(circle at 90% 12%, rgba(59, 130, 246, 0.18), transparent 34rem),
        linear-gradient(180deg, #020617 0%, #07111f 44%, #020617 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1240px, calc(100% - 28px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(34, 211, 238, 0.24);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 20px;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-copy em {
    margin-top: 4px;
    font-size: 12px;
    font-style: normal;
    color: var(--muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 12px;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a,
.quick-links a {
    color: var(--muted-strong);
    transition: color 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.quick-links a:hover {
    color: var(--cyan);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-search input,
.quick-search input,
.filter-search input,
.filter-selects select {
    border: 1px solid rgba(148, 163, 184, 0.18);
    outline: none;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-search input {
    width: 240px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
}

.header-search input:focus,
.quick-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
    border-color: rgba(34, 211, 238, 0.72);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.header-search button,
.quick-search button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button.ghost {
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: none;
    color: var(--muted-strong);
}

.header-search button:hover,
.quick-search button:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.34);
}

.button.ghost:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: white;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
}

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

.hero {
    position: relative;
    width: min(1240px, calc(100% - 28px));
    min-height: 660px;
    margin: 26px auto 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 36px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: var(--shadow);
}

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

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.58fr);
    align-items: center;
    gap: 32px;
    padding: 72px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 520ms ease, transform 700ms ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.25);
    transform: scale(1.08);
    opacity: 0.52;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.72) 48%, rgba(2, 6, 23, 0.32) 100%),
        radial-gradient(circle at 18% 28%, rgba(34, 211, 238, 0.2), transparent 28rem);
}

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

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(8, 47, 73, 0.38);
    color: #67e8f9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero h1,
.hero h2,
.sub-hero h1,
.detail-content h1 {
    margin: 0;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 860px;
    font-size: clamp(34px, 5.4vw, 72px);
}

.hero h2 {
    margin-top: 18px;
    font-size: clamp(26px, 3vw, 44px);
}

.hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted-strong);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.78);
    color: #cbd5e1;
    font-size: 12px;
    padding: 5px 9px;
}

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

.hero-poster {
    justify-self: end;
    width: min(360px, 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 34px 78px rgba(0, 0, 0, 0.52);
    transform: rotate(2deg);
    transition: transform 220ms ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: white;
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 72px;
    bottom: 34px;
    z-index: 4;
    display: flex;
    gap: 9px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(226, 232, 240, 0.42);
}

.hero-dots button.is-active {
    width: 34px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.quick-search {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(16px);
}

.quick-search form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.quick-search input {
    min-height: 52px;
    border-radius: 16px;
    padding: 0 18px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: var(--muted);
}

.section-block {
    margin-top: 64px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.section-title > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
}

.section-title h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    color: white;
}

.section-title p,
.sub-hero p,
.category-card p,
.site-footer p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

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

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

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

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

.movie-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.36);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.poster-frame {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.poster-frame img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
}

.movie-card:hover .poster-frame img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(2, 6, 23, 0.72);
    color: white;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.card-body strong {
    color: white;
    font-size: 17px;
    line-height: 1.35;
}

.card-line {
    min-height: 48px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    font-size: 12px;
}

.movie-card.large {
    grid-template-columns: 42% minmax(0, 1fr);
}

.movie-card.large .poster-frame img {
    height: 100%;
    min-height: 270px;
}

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

.category-tile {
    position: relative;
    min-height: 168px;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.72);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--tile-image);
    background-size: cover;
    background-position: center;
    filter: blur(6px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.46;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.9));
}

.category-tile span {
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.6;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.62);
}

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

.rank-row strong,
.ranking-copy strong {
    display: block;
    color: white;
    line-height: 1.35;
}

.rank-row em,
.ranking-copy em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.section-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.sub-hero {
    margin-top: 42px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 30px;
    padding: clamp(28px, 5vw, 56px);
    background:
        radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.18), transparent 24rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.56));
    box-shadow: var(--shadow);
}

.sub-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 58px);
}

.sub-hero p {
    max-width: 760px;
    font-size: 17px;
}

.category-list {
    display: grid;
    gap: 24px;
    margin-top: 34px;
}

.category-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.62fr);
    gap: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    padding: 26px;
    background: rgba(15, 23, 42, 0.74);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.64)),
        var(--tile-image);
    background-size: cover;
    background-position: center;
    opacity: 0.58;
}

.category-card span {
    color: #67e8f9;
    font-size: 13px;
    font-weight: 800;
}

.category-card h2 {
    margin: 10px 0 0;
    color: white;
    font-size: 30px;
}

.category-card .button {
    margin-top: 22px;
}

.category-preview {
    display: grid;
    gap: 10px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.66);
}

.filter-search input {
    width: 100%;
    height: 48px;
    border-radius: 16px;
    padding: 0 16px;
}

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

.filter-selects select {
    min-width: 132px;
    height: 48px;
    border-radius: 16px;
    padding: 0 12px;
}

.empty-state {
    margin: 32px 0 0;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 20px;
    padding: 26px;
    background: rgba(15, 23, 42, 0.66);
    color: var(--muted);
    text-align: center;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 54px 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 22px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.68);
    transition: transform 180ms ease, border-color 180ms ease;
}

.ranking-card:hover {
    transform: translateX(4px);
    border-color: rgba(34, 211, 238, 0.36);
}

.ranking-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    font-size: 20px;
    font-weight: 900;
}

.ranking-card img {
    width: 88px;
    height: 118px;
    border-radius: 15px;
    object-fit: cover;
}

.ranking-copy span {
    display: block;
    margin-top: 8px;
    color: var(--muted-strong);
    line-height: 1.65;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.detail-hero {
    margin-top: 34px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    padding: 24px;
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 50% 46%, rgba(34, 211, 238, 0.24), transparent 18rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.86));
    transition: opacity 180ms ease, visibility 180ms ease;
}

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

.play-symbol {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 48px rgba(34, 211, 238, 0.32);
    font-size: 34px;
}

.player-overlay strong {
    max-width: 720px;
    font-size: clamp(20px, 3vw, 32px);
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    margin-top: 34px;
}

.detail-cover img {
    width: 100%;
    border-radius: 26px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.detail-content {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 42px);
    background: rgba(15, 23, 42, 0.66);
}

.detail-content h1 {
    font-size: clamp(30px, 4.4vw, 52px);
}

.detail-one-line {
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta div {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 14px;
    background: rgba(2, 6, 23, 0.32);
}

.detail-meta dt {
    color: var(--muted);
    font-size: 12px;
}

.detail-meta dd {
    margin: 6px 0 0;
    color: white;
    font-weight: 800;
}

.detail-content h2 {
    margin: 28px 0 12px;
    color: white;
    font-size: 24px;
}

.detail-content p {
    color: var(--muted-strong);
    line-height: 1.9;
}

.site-footer {
    margin-top: 76px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.68);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0;
}

.footer-brand {
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 16px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .cards-5,
    .cards-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-slide {
        padding: 56px;
    }
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero {
        min-height: 760px;
        border-radius: 26px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 34px 28px 74px;
    }

    .hero-poster {
        justify-self: start;
        width: min(260px, 70vw);
    }

    .hero-dots {
        left: 28px;
    }

    .cards-3,
    .cards-4,
    .cards-5,
    .category-grid,
    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .movie-card.large {
        grid-template-columns: 1fr;
    }

    .category-card,
    .detail-layout,
    .filter-panel {
        grid-template-columns: 1fr;
    }

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

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

    .detail-cover {
        max-width: 280px;
    }
}

@media (max-width: 620px) {
    .wrap,
    .hero,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 22px, 1180px);
    }

    .brand-copy em {
        display: none;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .hero {
        min-height: 700px;
        margin-top: 14px;
    }

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

    .hero h2 {
        font-size: 25px;
    }

    .hero-control {
        display: none;
    }

    .quick-search form,
    .cards-3,
    .cards-4,
    .cards-5,
    .category-grid,
    .rank-grid,
    .filter-selects {
        grid-template-columns: 1fr;
    }

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

    .ranking-card {
        grid-template-columns: 44px 76px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-card img {
        width: 76px;
        height: 104px;
    }

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

    .footer-inner {
        display: grid;
    }
}
