:root {
    --color-bg: #f8fafc;
    --color-text: #111827;
    --color-muted: #64748b;
    --color-border: #e5e7eb;
    --color-blue: #2563eb;
    --color-blue-dark: #1d4ed8;
    --color-cyan: #06b6d4;
    --color-white: #ffffff;
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-card-hover: 0 18px 45px rgba(37, 99, 235, 0.18);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

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

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

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

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
}

.header-search input,
.mobile-search input {
    width: 210px;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    color: #111827;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: var(--color-blue);
    padding: 10px 16px;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

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

.mobile-nav-panel {
    display: grid;
    gap: 14px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 18px 0 22px;
}

.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 45%, rgba(37, 99, 235, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.66) 46%, rgba(2, 6, 23, 0.18) 100%);
}

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

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

.hero-category,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--color-blue);
    font-weight: 750;
    font-size: 14px;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 20px;
    color: #e2e8f0;
    font-size: 21px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-meta span {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 760;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    background: var(--color-blue);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.button-primary:hover {
    background: var(--color-blue-dark);
}

.button-soft {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.55);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.78);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

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

.section {
    padding: 64px 0;
}

.no-top-padding {
    padding-top: 0;
}

.section-white {
    background: #ffffff;
}

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

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

.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

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

.section-icon {
    font-size: 28px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #ecfeff);
}

.card-cover img,
.large-cover img,
.category-tile img,
.category-card-cover img,
.poster-card img,
.sidebar-related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover img,
.category-tile:hover img,
.category-card:hover img {
    transform: scale(1.055);
}

.play-mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.0);
    font-size: 42px;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    background: rgba(15, 23, 42, 0.25);
}

.duration-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.76);
    font-size: 12px;
    font-weight: 700;
}

.card-body {
    padding: 16px;
}

.card-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 28px;
    color: #64748b;
    font-size: 13px;
}

.pill {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: #2563eb;
    background: #dbeafe;
    font-size: 12px;
    font-weight: 760;
}

.pill-blue {
    color: #ffffff;
    background: var(--color-blue);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-size: 12px;
    font-weight: 800;
}

.card-body h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--color-blue);
}

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

.card-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
}

.horizontal-scroll {
    display: grid;
    grid-auto-columns: minmax(340px, 420px);
    grid-auto-flow: column;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-width: 340px;
    scroll-snap-align: start;
}

.movie-card-horizontal .card-cover {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card-large {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.large-cover {
    position: relative;
    display: block;
    min-height: 340px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.large-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.8), transparent 60%);
}

.large-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 8px;
    color: #ffffff;
}

.large-content strong {
    font-size: 27px;
    line-height: 1.2;
}

.large-content em {
    color: #e2e8f0;
    font-style: normal;
}

.featured-layout,
.rank-home-layout,
.about-layout,
.detail-layout {
    display: grid;
    gap: 28px;
}

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

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

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.76));
}

.category-icon,
.category-tile strong,
.category-tile em {
    position: absolute;
    z-index: 2;
}

.category-icon {
    top: 18px;
    left: 18px;
    font-size: 28px;
}

.category-tile strong {
    left: 18px;
    bottom: 42px;
    font-size: 23px;
}

.category-tile em {
    left: 18px;
    bottom: 18px;
    color: #e2e8f0;
    font-style: normal;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-row:hover .rank-title {
    color: var(--color-blue);
}

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

.rank-title {
    font-weight: 760;
}

.rank-meta {
    color: #64748b;
    font-size: 14px;
}

.rank-more {
    margin-top: 22px;
}

.seo-card,
.content-card,
.sidebar-card,
.poster-card,
.filter-panel {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-home-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    align-items: start;
}

.seo-card,
.content-card,
.sidebar-card,
.filter-panel {
    padding: 24px;
}

.seo-card h2,
.content-card h2,
.sidebar-card h2 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.25;
}

.page-main {
    min-height: 60vh;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 35%, rgba(6, 182, 212, 0.36), transparent 28%),
        linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0891b2);
}

.small-hero {
    padding: 72px 0;
}

.small-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.small-hero p {
    max-width: 760px;
    margin: 0;
    color: #e2e8f0;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    color: #dbeafe;
}

.breadcrumb a:hover {
    color: #ffffff;
}

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

.category-card {
    display: grid;
    grid-template-columns: 230px 1fr;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-card-cover {
    min-height: 260px;
    overflow: hidden;
    background: #dbeafe;
}

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

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

.category-card h2 {
    margin: 8px 0 10px;
    font-size: 27px;
}

.category-card p {
    margin: 0 0 12px;
    color: var(--color-muted);
}

.category-card strong {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--color-blue);
}

.category-card ul {
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.category-card a:hover {
    color: var(--color-blue);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 2fr auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 28px;
}

.filter-search,
.filter-controls label {
    display: grid;
    gap: 7px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}

.filter-search input,
.filter-controls select {
    min-height: 44px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    outline: 0;
    padding: 10px 12px;
    background: #ffffff;
}

.filter-search input:focus,
.filter-controls select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.filter-status {
    margin: 0 0 8px;
    color: #64748b;
    white-space: nowrap;
}

.filter-count {
    color: var(--color-blue);
    font-weight: 850;
}

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

.detail-main {
    min-height: 70vh;
    background: #ffffff;
}

.player-section {
    background: #020617;
}

.player-container {
    padding: 26px 0;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.video-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.42), rgba(2, 6, 23, 0.12));
    cursor: pointer;
}

.video-start span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.9);
    font-size: 32px;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.36);
}

.video-start strong {
    font-size: 19px;
}

.video-start.is-hidden {
    display: none;
}

.video-message {
    position: absolute;
    right: 18px;
    bottom: 16px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    font-size: 13px;
}

.detail-content-section {
    padding-top: 40px;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.detail-article {
    min-width: 0;
}

.detail-breadcrumb {
    margin: 0 0 22px;
    color: #64748b;
}

.detail-title-block h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-title-block p {
    margin: 0 0 24px;
    color: #475569;
    font-size: 19px;
}

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

.detail-meta-grid span {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #334155;
    background: #f8fafc;
}

.detail-meta-grid strong {
    color: #64748b;
    font-size: 13px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 8px 0 28px;
}

.tag-list span {
    padding: 6px 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 14px;
    font-weight: 700;
}

.text-section {
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
}

.text-section h2 {
    margin: 0 0 10px;
    font-size: 25px;
}

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

.detail-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 90px;
}

.poster-card {
    overflow: hidden;
    padding: 14px;
}

.poster-card img {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    background: #dbeafe;
}

.poster-card .button {
    width: 100%;
    margin-top: 14px;
}

.sidebar-related {
    display: grid;
    gap: 12px;
}

.sidebar-related-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
}

.sidebar-related-item img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: #dbeafe;
}

.sidebar-related-item span {
    display: grid;
    gap: 4px;
}

.sidebar-related-item strong {
    line-height: 1.35;
}

.sidebar-related-item em {
    color: #64748b;
    font-style: normal;
    font-size: 13px;
}

.about-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

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

.stats-card li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

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

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

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 16px 0;
}

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

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

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

    .filter-panel,
    .rank-home-layout,
    .detail-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

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

    .header-inner {
        height: 62px;
    }

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

    .hero-carousel {
        height: 540px;
    }

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

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

    .hero-arrow {
        display: none;
    }

    .section {
        padding: 44px 0;
    }

    .section-heading {
        display: block;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .featured-large {
        grid-template-columns: 1fr;
    }

    .category-card,
    .movie-card-horizontal {
        grid-template-columns: 1fr;
    }

    .category-card-cover {
        min-height: 190px;
    }

    .horizontal-scroll {
        grid-auto-columns: minmax(280px, 88vw);
    }

    .filter-panel {
        padding: 18px;
    }

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

    .filter-status {
        white-space: normal;
    }

    .rank-row {
        grid-template-columns: 42px 1fr;
    }

    .rank-meta {
        grid-column: 2;
    }

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

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

@media (max-width: 480px) {
    .brand-icon {
        width: 32px;
        height: 32px;
    }

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

    .hero-carousel {
        height: 500px;
    }

    .hero-category,
    .eyebrow {
        margin-bottom: 12px;
    }

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

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

    .button {
        width: 100%;
    }
}
