* {
    box-sizing: border-box;
}

:root {
    --orange: #f97316;
    --red: #ef4444;
    --pink: #ec4899;
    --amber: #f59e0b;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: #e5e7eb;
    --dark: #111827;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.container.narrow {
    width: min(980px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444, #ec4899);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

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

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.brand strong {
    display: block;
    font-size: 24px;
    line-height: 1.05;
}

.brand small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.88;
}

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

.nav-link,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-weight: 650;
    opacity: 0.94;
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle:hover {
    color: #fef3c7;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: grid;
    min-width: 210px;
    padding: 10px;
    color: #374151;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.dropdown-panel a:hover {
    color: var(--orange);
    background: #fff7ed;
}

.header-search {
    display: flex;
    align-items: center;
    width: 240px;
    padding: 7px 10px 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.menu-toggle {
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    font-size: 24px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
}

.mobile-panel.open {
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 650;
}

.mobile-link.active {
    color: #fef3c7;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    outline: 0;
}

.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--orange);
    background: #fff;
    font-weight: 800;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg, #fb923c 0%, #ef4444 52%, #ec4899 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(18px);
}

.hero-glow.one {
    top: 50px;
    left: 6%;
    width: 280px;
    height: 280px;
}

.hero-glow.two {
    right: 8%;
    bottom: 20px;
    width: 420px;
    height: 420px;
}

.hero-shell {
    position: relative;
    min-height: 620px;
    padding: 66px 0 58px;
}

.hero-slide {
    display: none;
    align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 54px;
    min-height: 480px;
}

.hero-slide.active {
    display: grid;
    animation: fadeUp 0.55s ease both;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 34px);
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    font-size: clamp(17px, 2vw, 22px);
    opacity: 0.95;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 700;
}

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

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

.btn.primary {
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(239, 68, 68, 0.36);
}

.btn.ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.btn.light {
    color: var(--orange);
    background: #fff;
}

.btn.block {
    width: 100%;
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 380px;
    justify-self: center;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 32px 70px rgba(31, 41, 55, 0.35);
    transform: rotate(2deg);
}

.hero-poster::after,
.poster-frame::after,
.wide-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
}

.hero-poster img,
.poster-frame img,
.wide-cover img,
.detail-cover img,
.rank-list-item img,
.category-thumbs img,
.rank-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 30px;
    display: flex;
    gap: 10px;
}

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

.hero-dot.active {
    width: 38px;
    background: #fff;
}

.content-section {
    padding: 72px 0;
}

.bg-white {
    background: #fff;
}

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

.gray-bg {
    background: #f3f4f6;
}

.warm-bg {
    background: linear-gradient(135deg, #fff7ed, #fff1f2, #fffbeb);
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

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

.section-link {
    flex: 0 0 auto;
    color: var(--red);
    font-weight: 800;
}

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

.compact-grid,
.all-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

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

.movie-card,
.wide-card,
.rank-card,
.rank-list-item {
    color: inherit;
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

.movie-card:hover,
.wide-card:hover,
.rank-card:hover,
.rank-list-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

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

.poster-frame img,
.wide-cover img,
.hero-poster img,
.rank-card img,
.rank-list-item img {
    transition: transform 0.5s ease;
}

.movie-card:hover img,
.wide-card:hover img,
.rank-card:hover img,
.rank-list-item:hover img {
    transform: scale(1.08);
}

.score-badge,
.view-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 9px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    font-size: 12px;
    font-weight: 800;
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: 0.25s ease;
}

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

.card-info {
    padding: 15px;
}

.pill {
    display: inline-flex;
    margin-bottom: 8px;
    border-radius: 999px;
    padding: 4px 9px;
    color: #c2410c;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.card-info h3,
.wide-body h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.35;
}

.card-info p,
.wide-body p,
.rank-card p,
.rank-list-item p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.card-info .tag-row span,
.detail-tags span,
.rank-list-item .tag-row span {
    color: #4b5563;
    background: #f3f4f6;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

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

.wide-card {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

.wide-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

.wide-body {
    padding: 18px;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(239, 68, 68, 0.16);
}

.category-card {
    display: grid;
    min-height: 176px;
    padding: 26px;
    transition: 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.category-card span {
    font-size: 22px;
    font-weight: 900;
}

.category-card strong {
    align-self: end;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 16px;
}

.category-card em {
    font-style: normal;
    opacity: 0.88;
}

.grad-1 { background: linear-gradient(135deg, #f87171, #fb923c); }
.grad-2 { background: linear-gradient(135deg, #f472b6, #fb7185); }
.grad-3 { background: linear-gradient(135deg, #fb923c, #f59e0b); }
.grad-4 { background: linear-gradient(135deg, #facc15, #f97316); }
.grad-5 { background: linear-gradient(135deg, #ec4899, #ef4444); }
.grad-6 { background: linear-gradient(135deg, #ef4444, #7c2d12); }
.grad-7 { background: linear-gradient(135deg, #fb7185, #f97316); }
.grad-8 { background: linear-gradient(135deg, #f59e0b, #ef4444); }

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

.rank-card {
    display: grid;
    grid-template-columns: 70px 120px 1fr;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    border-radius: 22px;
    padding: 16px;
}

.rank-num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-size: 20px;
    font-weight: 900;
}

.rank-card img {
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
}

.rank-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.rank-card em {
    color: #d97706;
    font-style: normal;
    font-weight: 800;
}

.cta-section {
    padding: 72px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, #f97316, #ef4444, #ec4899);
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
}

.cta-section p {
    margin: 0 0 28px;
    font-size: 20px;
    opacity: 0.92;
}

.page-hero,
.category-hero {
    color: #fff;
    padding: 72px 0;
    background: linear-gradient(120deg, #fb923c, #ef4444, #ec4899);
}

.page-hero h1,
.category-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

.page-hero p,
.category-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 19px;
    opacity: 0.94;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-weight: 800;
    opacity: 0.92;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb.dark {
    color: rgba(255, 255, 255, 0.9);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    min-height: 260px;
    padding: 24px;
}

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

.category-thumbs img {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.category-overview-card h2 {
    margin: 12px 0;
    font-size: 30px;
}

.category-overview-card p {
    margin: 0 0 24px;
    opacity: 0.92;
}

.category-overview-card span {
    font-weight: 900;
}

.filter-box {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 220px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.filter-box input,
.filter-box select,
.big-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 16px;
    outline: 0;
    background: #fff;
}

.filter-box input:focus,
.filter-box select:focus,
.big-search input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.quick-filters {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filters button {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    color: #9a3412;
    background: #ffedd5;
    cursor: pointer;
    font-weight: 800;
}

.quick-filters button.active,
.quick-filters button:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--orange), var(--red));
}

.big-search {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin-top: 28px;
}

.big-search input {
    min-height: 54px;
    border: 0;
}

.big-search button {
    min-width: 120px;
    border: 0;
    border-radius: 999px;
    color: var(--orange);
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

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

.search-status {
    margin: 0 0 20px;
    color: var(--muted);
    font-weight: 800;
}

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

.rank-list-item {
    display: grid;
    grid-template-columns: 68px 110px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 18px;
    border-radius: 22px;
    padding: 14px 18px;
}

.rank-num.big {
    width: 52px;
    height: 52px;
    font-size: 24px;
}

.rank-list-item img {
    width: 110px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
}

.rank-main h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.rank-list-item > strong {
    color: #d97706;
    font-size: 20px;
}

.player-section {
    padding: 32px 0 44px;
    background: #030712;
}

.player-wrap {
    max-width: 1120px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: 0.2s ease;
    z-index: 3;
    font-size: 34px;
}

.center-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.player-card.playing .center-play {
    opacity: 0;
    pointer-events: none;
}

.player-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
    opacity: 0;
    transition: 0.2s ease;
}

.player-card:hover .player-controls,
.player-card.paused .player-controls {
    opacity: 1;
}

.player-controls button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #111827;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-weight: 900;
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.detail-cover {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.detail-main h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
}

.lead {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 800;
}

.detail-main section {
    margin-top: 28px;
}

.detail-main h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.text-panel {
    border-radius: 22px;
    padding: 22px;
    background: #f9fafb;
}

.text-panel.warm-panel {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.text-panel p {
    margin: 0;
    white-space: pre-wrap;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 34px;
    padding: 48px 0;
}

.footer-grid h3,
.footer-brand strong {
    color: #fff;
}

.footer-grid p {
    margin: 12px 0 0;
}

.footer-grid a:hover {
    color: #fb923c;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

.hidden-card {
    display: none !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

    .menu-toggle {
        display: block;
    }

    .header-inner {
        gap: 14px;
    }

    .hero-shell {
        min-height: auto;
        padding: 42px 0 62px;
    }

    .hero-slide,
    .hero-slide.active {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-poster {
        max-width: 320px;
        justify-self: start;
    }

    .hero-dots {
        left: 16px;
    }

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

    .poster-grid,
    .compact-grid,
    .all-grid,
    .wide-grid,
    .category-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-overview-grid,
    .rank-preview {
        grid-template-columns: 1fr;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .filter-box,
    .search-filter,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-list-item {
        grid-template-columns: 52px 84px minmax(0, 1fr);
    }

    .rank-list-item > strong {
        grid-column: 2 / -1;
    }

    .rank-list-item img {
        width: 84px;
    }
}

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

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

    .brand small {
        display: none;
    }

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

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

    .content-section,
    .cta-section {
        padding: 48px 0;
    }

    .poster-grid,
    .compact-grid,
    .all-grid,
    .wide-grid,
    .category-grid,
    .related-grid {
        gap: 14px;
    }

    .card-info {
        padding: 12px;
    }

    .card-info p,
    .tag-row {
        display: none;
    }

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

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

    .rank-card img {
        width: 90px;
    }

    .big-search {
        flex-direction: column;
    }

    .player-controls {
        opacity: 1;
    }
}
