:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --card: rgba(30, 41, 59, 0.58);
    --card-strong: rgba(30, 41, 59, 0.88);
    --line: rgba(148, 163, 184, 0.16);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --cyan: #22d3ee;
    --cyan-deep: #06b6d4;
    --cyan-soft: rgba(34, 211, 238, 0.12);
    --shadow: 0 24px 70px rgba(8, 47, 73, 0.22);
    --radius: 24px;
    --header-height: 64px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(8, 145, 178, 0.18), transparent 34rem),
        linear-gradient(135deg, #020617 0%, #0f172a 48%, #020617 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -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(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
}

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

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #00111a;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.3);
    font-size: 14px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong,
.footer-brand strong {
    font-size: 20px;
    letter-spacing: 0.01em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--cyan);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

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

.nav-dropdown {
    position: relative;
    padding: 22px 0;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 190px;
    padding: 8px;
    display: grid;
    gap: 2px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a,
.mobile-menu a {
    padding: 10px 12px;
    color: #cbd5e1;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-panel a:hover,
.mobile-menu a:hover {
    color: var(--cyan);
    background: rgba(15, 23, 42, 0.8);
}

.header-search {
    position: relative;
    width: min(300px, 25vw);
}

.header-search input,
.large-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    height: 40px;
    padding: 0 44px 0 16px;
}

.header-search input:focus,
.large-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    color: var(--cyan);
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.mobile-menu-button span {
    width: 18px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 10px;
}

.mobile-menu {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.mobile-menu.is-open {
    display: grid;
    gap: 6px;
}

.mobile-menu-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

main {
    padding-top: var(--header-height);
}

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--bg-soft);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.hero-slide.is-active .hero-bg {
    transform: scale(1.0);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.12) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-copy h1,
.page-hero h1,
.detail-title-block h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-title-block p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
}

.hero-tags,
.movie-meta-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.hero-tags span,
.movie-meta-row span,
.poster-badge,
.poster-score,
.detail-meta span,
.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.hero-tags span,
.detail-meta span,
.detail-tags a {
    padding: 7px 12px;
}

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

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

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

.btn-primary {
    color: #00111a;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 12px 34px rgba(34, 211, 238, 0.24);
}

.btn-ghost {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid var(--line);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.34);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan);
}

.hero-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(96px, 1fr));
    gap: 10px;
    width: min(720px, 60vw);
}

.hero-mini-card {
    position: relative;
    min-height: 74px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.58;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-mini-card.is-active,
.hero-mini-card:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.48);
}

.hero-mini-card img {
    width: 100%;
    height: 74px;
    object-fit: cover;
}

.hero-mini-card span {
    position: absolute;
    inset: auto 8px 8px 8px;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 2px 12px #000;
}

.stats-strip {
    border-block: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.74);
}

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

.stats-grid div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.45);
}

.stats-grid strong {
    display: block;
    color: #fff;
    font-size: 28px;
}

.stats-grid span {
    color: var(--muted);
}

.content-section {
    margin-top: 74px;
}

.category-feature-section {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
    padding: 34px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.36));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

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

.section-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

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

.section-more {
    color: var(--cyan);
    font-weight: 800;
}

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

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

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    background: var(--card-strong);
    border-color: rgba(34, 211, 238, 0.24);
    box-shadow: var(--shadow);
}

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

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

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), transparent 58%);
}

.poster-badge,
.poster-score {
    position: absolute;
    z-index: 1;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.poster-badge {
    top: 12px;
    right: 12px;
}

.poster-score {
    bottom: 12px;
    right: 12px;
    color: #fef3c7;
    border-color: rgba(251, 191, 36, 0.32);
}

.movie-card-body {
    padding: 16px;
}

.movie-card-body h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
    color: var(--cyan);
}

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

.movie-meta-row span,
.tag-row span {
    padding: 4px 8px;
    color: var(--muted);
    font-size: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-row span {
    color: #a5f3fc;
    background: var(--cyan-soft);
}

.ranking-band {
    padding: 34px;
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
}

.rank-mini-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-mini-list a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.54);
    border: 1px solid var(--line);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00111a;
    background: var(--cyan);
    border-radius: 14px;
    font-weight: 900;
}

.rank-mini-list strong,
.rank-mini-list em {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-mini-list em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 150px 150px 170px auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.filter-search span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    padding: 0 14px;
}

.filter-panel button {
    min-height: 44px;
    padding: 0 18px;
    color: #00111a;
    background: var(--cyan);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
}

.result-count {
    margin: 0 0 20px;
    color: var(--muted);
}

.page-shell {
    padding-bottom: 80px;
}

.page-hero {
    padding: 72px 0 24px;
}

.slim-hero {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 62px);
}

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

.category-card a {
    display: block;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 120px;
    overflow: hidden;
}

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

.category-card-body {
    padding: 24px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

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

.category-card-body span {
    color: var(--cyan);
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

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

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.86fr);
    gap: 32px;
    align-items: start;
}

.video-player {
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.66), rgba(2, 6, 23, 0.22));
    border: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-player.is-playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.play-icon {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00111a;
    background: var(--cyan);
    border-radius: 999px;
    box-shadow: 0 0 46px rgba(34, 211, 238, 0.3);
}

.player-start strong {
    font-size: 22px;
}

.player-start em {
    color: #cbd5e1;
    font-style: normal;
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: none;
    padding: 10px 12px;
    color: #fde68a;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 12px;
    font-size: 14px;
}

.player-message:not(:empty) {
    display: block;
}

.detail-title-block {
    margin-top: 28px;
}

.detail-title-block h1 {
    font-size: clamp(32px, 5vw, 50px);
}

.detail-meta {
    margin: 24px 0;
}

.detail-card,
.side-card {
    margin-top: 22px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.9;
    white-space: pre-line;
}

.accent-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.68), rgba(8, 47, 73, 0.22));
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.poster-side-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.side-related {
    display: grid;
    gap: 14px;
}

.side-related .movie-card-body p,
.side-related .tag-row,
.side-related .movie-meta-row {
    display: none;
}

.side-related .poster-frame {
    aspect-ratio: 16 / 9;
}

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

.rank-row a {
    display: grid;
    grid-template-columns: 74px 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.rank-row a:hover {
    border-color: rgba(34, 211, 238, 0.32);
    background: var(--card-strong);
}

.rank-big {
    color: var(--cyan);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

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

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em,
.rank-info {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.large-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(720px, 100%);
    margin: 30px auto 0;
}

.large-search input {
    min-height: 52px;
    padding: 0 18px;
}

.large-search button {
    min-height: 52px;
    padding: 0 24px;
    color: #00111a;
    background: var(--cyan);
    border: 0;
    border-radius: 999px;
    font-weight: 900;
}

.site-footer {
    margin-top: 80px;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--line);
}

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

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

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

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

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    border-top: 1px solid var(--line);
}

[data-movie-card].is-hidden {
    display: none;
}

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

    .header-search {
        width: min(360px, 40vw);
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero-rail {
        display: none;
    }

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

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

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

    .detail-side {
        position: static;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 62px;
    }

    .container {
        width: min(100% - 24px, 1200px);
    }

    .header-search {
        display: none;
    }

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

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

    .hero-shade {
        background:
            linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.72) 65%, rgba(15, 23, 42, 0.24) 100%);
    }

    .hero-content {
        align-items: end;
        padding-bottom: 118px;
    }

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

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

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

    .section-heading {
        display: block;
    }

    .section-more {
        display: inline-flex;
        margin-top: 12px;
    }

    .category-feature-section,
    .ranking-band {
        padding: 20px;
    }

    .grid-five,
    .grid-four,
    .category-grid,
    .rank-mini-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .rank-info {
        grid-column: 2 / -1;
    }

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

@media (max-width: 480px) {
    .mobile-menu-categories {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        display: grid;
    }

    .category-preview {
        grid-template-columns: repeat(3, 1fr);
        height: 160px;
    }
}
