:root {
    --sky: #0284c7;
    --sky-dark: #0369a1;
    --pink: #db2777;
    --pink-soft: #f9a8d4;
    --amber: #f59e0b;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

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

.brand-icon,
.footer-brand span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--pink));
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.25);
}

.brand-text {
    font-size: clamp(20px, 2vw, 28px);
    background: linear-gradient(90deg, var(--sky-dark), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--sky-dark);
}

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

.nav-search,
.mobile-search,
.big-search {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-search input {
    width: 220px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 42px 10px 16px;
    outline: none;
    background: #ffffff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.nav-search button {
    position: absolute;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    background: transparent;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 26px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-search {
    gap: 8px;
    margin-bottom: 16px;
}

.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 12px 16px;
    outline: none;
    background: #ffffff;
}

.mobile-search button,
.big-search button {
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--pink));
    font-weight: 700;
}

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

.hero-slider {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    background: linear-gradient(135deg, #38bdf8 0%, #f9a8d4 52%, #fde68a 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(45px);
    opacity: 0.42;
    background: #ffffff;
    animation: pulse 4.8s ease-in-out infinite;
}

.hero-orb-one {
    width: 160px;
    height: 160px;
    top: 40px;
    left: 8%;
}

.hero-orb-two {
    width: 220px;
    height: 220px;
    top: 200px;
    right: 12%;
    background: #fbcfe8;
    animation-delay: 0.8s;
}

.hero-orb-three {
    width: 260px;
    height: 260px;
    bottom: 40px;
    left: 38%;
    background: #bae6fd;
    animation-delay: 1.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.34;
    }
    50% {
        transform: scale(1.14);
        opacity: 0.58;
    }
}

.hero-stage {
    position: relative;
    min-height: 580px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 56px;
    padding: 56px 0 82px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-copy {
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.24);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--sky-dark);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
    text-shadow: none;
}

.hero-copy h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 22px;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero-copy p {
    margin: 0 0 26px;
    max-width: 720px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.93);
}

.hero-tags,
.genre-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.genre-row span,
.tag-row a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 13px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(10px);
    font-weight: 700;
    font-size: 13px;
}

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

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

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-light {
    color: var(--sky-dark);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

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

.hero-poster {
    position: relative;
    justify-self: end;
    width: min(390px, 100%);
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.36);
    transform: rotate(1deg);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(15, 23, 42, 0.28));
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #111827;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    font-size: 30px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 0;
}

.hero-next {
    right: 0;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

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

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

.section {
    padding: 72px 0;
}

.white-section {
    background: #ffffff;
}

.gradient-soft {
    background: linear-gradient(135deg, #eff6ff, #fdf2f8);
}

.gradient-soft-alt {
    background: linear-gradient(135deg, #fdf2f8, #ffffff 48%, #eff6ff);
}

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

.section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2,
.page-hero h1,
.cta-section h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.more-link {
    color: var(--sky-dark);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card > a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card > a:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 54px rgba(15, 23, 42, 0.16);
}

.card-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e0f2fe, #fce7f3);
}

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

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.46));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.card-badge,
.card-score {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 6px 11px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.card-badge {
    right: 12px;
    background: rgba(2, 132, 199, 0.88);
}

.card-score {
    left: 12px;
    background: rgba(245, 158, 11, 0.92);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card > a:hover h3 {
    color: var(--sky-dark);
}

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

.card-meta,
.ranking-meta,
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 13px;
}

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

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

.ranking-item a {
    display: grid;
    grid-template-columns: 46px 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border-radius: var(--radius);
    padding: 16px;
    background: linear-gradient(90deg, #ffffff, #f9fafb);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-item a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.13);
}

.ranking-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), #f97316);
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.25);
}

.ranking-item img {
    width: 150px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ranking-item p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    border-radius: var(--radius);
    padding: 24px;
    background: linear-gradient(135deg, #ffffff, #f3f4f6);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.category-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(244, 114, 182, 0.2));
    transition: opacity 0.2s ease;
}

.category-card:hover .category-glow {
    opacity: 1;
}

.category-card strong,
.category-card p,
.category-card span:last-child {
    position: relative;
    z-index: 1;
}

.category-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.category-card span:last-child,
.category-overview span {
    color: var(--sky-dark);
    font-weight: 800;
}

.cta-section,
.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--pink));
}

.cta-section {
    padding: 76px 0;
    text-align: center;
}

.cta-section p,
.page-hero p {
    max-width: 780px;
    margin: 18px auto 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.page-hero {
    padding: 86px 0 76px;
    text-align: center;
}

.small-hero {
    background: linear-gradient(135deg, #0ea5e9, #db2777);
}

.category-hero {
    background: linear-gradient(135deg, #0284c7, #f472b6 68%, #f59e0b);
}

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

.category-overview {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.category-overview img {
    width: 150px;
    height: 112px;
    border-radius: 16px;
    object-fit: cover;
}

.category-overview h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.category-overview p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px;
    gap: 14px;
    margin-bottom: 28px;
}

.empty-state {
    display: none;
    margin-top: 24px;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    color: var(--muted);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

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

.search-panel {
    margin-bottom: 26px;
}

.big-search {
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 18px;
}

.search-status {
    color: var(--muted);
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 0;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--sky-dark);
    font-weight: 700;
}

.detail-page {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 28px;
    align-items: start;
    margin-bottom: 70px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.62));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--pink));
    box-shadow: 0 18px 42px rgba(219, 39, 119, 0.35);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 18px;
}

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

.detail-card,
.detail-side {
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-card {
    margin-top: 24px;
    padding: 28px;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 14px;
    color: var(--sky-dark);
    background: #e0f2fe;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta-row {
    margin-bottom: 18px;
}

.genre-row {
    margin-bottom: 24px;
}

.genre-row span,
.tag-row a {
    color: var(--sky-dark);
    background: #e0f2fe;
    text-shadow: none;
}

.text-block {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 22px;
}

.text-block h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.text-block p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
}

.tag-row {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 22px;
}

.detail-side {
    position: sticky;
    top: 98px;
    overflow: hidden;
}

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

.detail-side dl {
    margin: 0;
    padding: 22px;
}

.detail-side div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-side div:last-child {
    border-bottom: 0;
}

.detail-side dt {
    color: var(--muted);
}

.detail-side dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.detail-side a {
    color: var(--sky-dark);
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937 50%, #111827);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 54px 0 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.site-footer p {
    max-width: 520px;
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a:hover {
    color: #7dd3fc;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(156, 163, 175, 0.25);
    padding: 22px 0;
    color: #9ca3af;
    font-size: 14px;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .hero-poster {
        justify-self: center;
        width: min(320px, 82vw);
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

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

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

    .detail-side {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 66px;
    }

    .nav-search {
        display: none;
    }

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

    .hero-slider,
    .hero-stage {
        min-height: 690px;
    }

    .hero-slide {
        padding: 38px 0 86px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

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

    .hero-arrow {
        top: auto;
        bottom: 24px;
        transform: none;
    }

    .hero-arrow:hover {
        transform: scale(1.05);
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .section {
        padding: 52px 0;
    }

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

    .three-col,
    .four-col,
    .category-grid,
    .category-overview-grid,
    .ranking-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item a {
        grid-template-columns: 40px 108px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-item img {
        width: 108px;
        height: 82px;
    }

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

    .category-overview img {
        width: 112px;
        height: 96px;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 22px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
