:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --red-600: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 10px 24px rgba(120, 53, 15, 0.13);
    --shadow-xl: 0 22px 48px rgba(120, 53, 15, 0.22);
    --radius-lg: 18px;
    --radius-xl: 28px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-700);
    background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 50%, var(--amber-50));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
    border-bottom: 2px solid var(--amber-200);
    box-shadow: 0 8px 26px rgba(120, 53, 15, 0.12);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.24);
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.08) rotate(-4deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: -0.03em;
    color: transparent;
    background: linear-gradient(90deg, var(--amber-800), var(--orange-700));
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-text small {
    margin-top: 4px;
    color: var(--amber-600);
    font-size: 12px;
    font-weight: 700;
}

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

.nav-link {
    position: relative;
    padding: 10px 0;
    border: 0;
    color: var(--amber-900);
    background: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--orange-600);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 210px;
    padding: 10px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-drop-menu a {
    display: block;
    padding: 11px 14px;
    color: var(--amber-900);
    border-radius: 12px;
    font-weight: 600;
}

.nav-drop-menu a:hover {
    color: var(--orange-600);
    background: var(--amber-50);
}

.header-search {
    width: 290px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(120, 53, 15, 0.08);
}

.header-search input,
.mobile-search input,
.big-search input,
.page-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--amber-900);
}

.header-search input {
    padding: 10px 8px 10px 16px;
}

.header-search button,
.mobile-search button,
.big-search button,
.page-search button {
    border: 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    font-weight: 700;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.header-search button {
    margin-right: 4px;
    padding: 8px 14px;
    border-radius: 999px;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.page-search button:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-100);
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--amber-900);
}

.mobile-panel {
    display: none;
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--amber-200);
    box-shadow: var(--shadow-md);
}

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

.mobile-panel a {
    display: block;
    padding: 12px 4px;
    color: var(--amber-900);
    font-weight: 700;
}

.mobile-search {
    display: flex;
    margin-top: 12px;
    overflow: hidden;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
}

.mobile-search input {
    padding: 12px 16px;
}

.mobile-search button {
    padding: 0 18px;
}

.site-main {
    min-height: 70vh;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(180deg, var(--amber-900), var(--orange-700));
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.06));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(100%, 680px);
}

.hero-kicker,
.detail-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-kicker span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(217, 119, 6, 0.32);
    border: 1px solid rgba(253, 230, 138, 0.28);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 16px;
    color: var(--white);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.75;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 16px 32px rgba(234, 88, 12, 0.32);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.ghost-button {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.32);
    font-size: 36px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.52);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dots button.is-active {
    width: 34px;
    background: var(--amber-500);
}

.quick-search-panel {
    margin-top: -42px;
    position: relative;
    z-index: 4;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(18px);
}

.big-search {
    display: flex;
    max-width: 760px;
    margin: 0 auto 22px;
    overflow: hidden;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
    background: var(--white);
}

.big-search input {
    padding: 18px 22px;
    font-size: 18px;
}

.big-search button {
    padding: 0 30px;
}

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

.category-pill {
    min-height: 94px;
    padding: 18px;
    border-radius: 18px;
    color: var(--amber-900);
    background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
    border: 1px solid var(--amber-200);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-pill:hover,
.category-card:hover,
.movie-card:hover,
.rank-row:hover,
.mini-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.category-pill span {
    display: block;
    font-size: 17px;
    font-weight: 900;
}

.category-pill small {
    display: block;
    margin-top: 8px;
    color: var(--gray-600);
    line-height: 1.5;
}

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

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

.section-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.22);
}

.section-head h2 {
    margin: 0;
    color: var(--amber-900);
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

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

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

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

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

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

.movie-card {
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card a {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-200), var(--orange-100));
}

.card-large .poster-frame {
    aspect-ratio: 16 / 9;
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 56%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .poster-frame::after {
    opacity: 1;
}

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

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

.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-600);
    font-size: 12px;
    font-weight: 800;
}

.card-content {
    padding: 16px;
}

.card-content h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--amber-900);
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--orange-600);
}

.card-content p {
    display: -webkit-box;
    min-height: 40px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 12px;
}

.card-meta span:first-child {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--amber-700);
    background: var(--amber-100);
    font-weight: 800;
}

.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-line span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--orange-700);
    background: var(--orange-100);
    font-size: 11px;
    font-weight: 700;
}

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 14px;
    scrollbar-width: none;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.feature-section {
    padding: 34px;
    margin-top: 54px;
    border-radius: var(--radius-xl);
    background: linear-gradient(90deg, var(--amber-100), var(--orange-100));
    box-shadow: var(--shadow-md);
}

.feature-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
}

.feature-side,
.horizontal-list {
    display: grid;
    gap: 16px;
}

.card-horizontal a {
    display: grid;
    grid-template-columns: 170px 1fr;
}

.card-horizontal .poster-frame {
    aspect-ratio: auto;
    min-height: 150px;
}

.card-horizontal .card-content p {
    -webkit-line-clamp: 2;
}

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

.page-hero {
    margin-top: 32px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    box-shadow: var(--shadow-xl);
}

.compact-hero,
.search-hero,
.ranking-hero {
    background: linear-gradient(135deg, var(--amber-700), var(--orange-700));
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--amber-100);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--amber-50);
    line-height: 1.8;
}

.page-search {
    min-width: min(100%, 430px);
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(120, 53, 15, 0.2);
}

.page-search input {
    padding: 16px 18px;
}

.page-search button {
    padding: 0 26px;
}

.category-overview {
    padding-top: 34px;
}

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

.category-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 150px;
    overflow: hidden;
}

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

.category-body {
    padding: 20px;
}

.category-body h2 {
    margin: 0 0 10px;
    color: var(--amber-900);
    font-size: 21px;
}

.category-body p {
    min-height: 54px;
    margin: 0 0 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.category-body span {
    color: var(--orange-600);
    font-weight: 900;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding-top: 34px;
}

.filter-panel {
    align-self: start;
    position: sticky;
    top: 104px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.filter-panel h2 {
    margin: 0 0 14px;
    color: var(--amber-900);
    font-size: 19px;
}

.filter-panel nav {
    display: grid;
    gap: 8px;
}

.filter-panel a {
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--amber-900);
    font-weight: 700;
}

.filter-panel a:hover,
.filter-panel a.is-current {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-chips button {
    border: 0;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--amber-900);
    background: var(--amber-100);
    font-weight: 800;
}

.filter-chips button.is-active,
.filter-chips button:hover {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

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

.rank-row {
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row a {
    display: grid;
    grid-template-columns: 70px 90px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
}

.rank-number {
    color: var(--orange-600);
    font-size: 28px;
    text-align: center;
}

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

.rank-info {
    display: grid;
    gap: 8px;
}

.rank-info b {
    color: var(--amber-900);
    font-size: 19px;
}

.rank-info em {
    color: var(--gray-500);
    font-style: normal;
}

.rank-info small {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.5;
}

.rank-play {
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    color: var(--gray-600);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amber-700);
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 30px;
    padding-top: 24px;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: var(--shadow-xl);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background-position: center;
    background-size: cover;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    font-size: 38px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
    transition: transform 0.25s ease;
}

.player-play:hover {
    transform: scale(1.1);
}

.player-loading,
.player-error {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.72);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.player-error {
    color: #fecaca;
}

.player-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-shell:hover .player-controls,
.player-controls:focus-within {
    opacity: 1;
    transform: translateY(0);
}

.player-controls button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
}

.player-controls button:hover {
    background: rgba(245, 158, 11, 0.8);
}

.detail-card,
.side-panel,
.poster-panel {
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.detail-card {
    padding: 26px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.detail-title-row h1 {
    margin: 0;
    color: var(--amber-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.detail-type {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--amber-900);
    background: var(--amber-100);
    font-weight: 900;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--amber-700);
    background: var(--amber-100);
    font-weight: 800;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--orange-700);
    background: var(--orange-100);
    font-size: 13px;
    font-weight: 800;
}

.text-block,
.review-block {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--gray-200);
}

.text-block h2,
.review-block h2,
.side-panel h2 {
    margin: 0 0 12px;
    color: var(--amber-900);
    font-size: 22px;
}

.text-block p,
.review-block p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.95;
}

.review-block {
    padding: 22px;
    border-top: 0;
    border-left: 5px solid var(--amber-600);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
}

.detail-aside {
    display: grid;
    align-content: start;
    gap: 20px;
}

.poster-panel {
    padding: 18px;
}

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

.primary-button.wide {
    width: 100%;
    margin-top: 16px;
}

.side-panel {
    padding: 20px;
}

.side-rank-item {
    display: grid;
    grid-template-columns: 28px 62px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
}

.side-rank-item span {
    color: var(--orange-600);
    font-size: 20px;
    font-weight: 900;
}

.side-rank-item img {
    width: 62px;
    height: 82px;
    border-radius: 10px;
    object-fit: cover;
}

.side-rank-item b {
    color: var(--amber-900);
    line-height: 1.45;
}

.mini-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-card img {
    width: 60px;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
}

.mini-card span {
    color: var(--amber-900);
    font-weight: 800;
}

.site-footer {
    margin-top: 70px;
    color: var(--amber-50);
    background: linear-gradient(180deg, var(--amber-900), #451a03);
}

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

.footer-logo .brand-text strong {
    color: var(--amber-100);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-logo .brand-text small,
.footer-brand p,
.site-footer a,
.footer-bottom {
    color: var(--amber-200);
}

.footer-brand p {
    max-width: 560px;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--amber-100);
    font-size: 18px;
}

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

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(253, 230, 138, 0.18);
    text-align: center;
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

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

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

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

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

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

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

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

    .hero-slider {
        height: 560px;
    }

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

    .hero-arrow {
        display: none;
    }

    .quick-search-panel {
        margin-top: 18px;
    }

    .big-search,
    .page-search {
        border-radius: 20px;
    }

    .category-strip,
    .category-grid,
    .feature-grid,
    .catalog-layout,
    .footer-grid,
    .detail-aside {
        grid-template-columns: 1fr;
    }

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

    .filter-panel {
        position: static;
    }

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

    .rank-row a {
        grid-template-columns: 46px 74px 1fr;
    }

    .rank-play {
        display: none;
    }
}

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

    .header-inner {
        height: 68px;
    }

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

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .hero-slider {
        height: 520px;
    }

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

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

    .hero-actions {
        gap: 10px;
    }

    .primary-button,
    .ghost-button {
        min-height: 42px;
        padding: 0 18px;
    }

    .quick-search-panel,
    .feature-section,
    .page-hero,
    .detail-card {
        padding: 20px;
        border-radius: 20px;
    }

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

    .big-search button,
    .page-search button {
        min-height: 46px;
    }

    .six-col,
    .five-col,
    .four-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-content {
        padding: 12px;
    }

    .card-content p,
    .tag-line {
        display: none;
    }

    .card-horizontal a {
        grid-template-columns: 112px 1fr;
    }

    .card-horizontal .poster-frame {
        min-height: 126px;
    }

    .rank-row a {
        grid-template-columns: 40px 62px 1fr;
        gap: 12px;
    }

    .rank-row img {
        width: 62px;
        height: 84px;
    }

    .rank-info small {
        display: none;
    }

    .detail-title-row {
        flex-direction: column;
    }

    .player-play {
        width: 74px;
        height: 74px;
        font-size: 30px;
    }
}
