:root {
    --page-bg: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --soft: #fef3c7;
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --orange: #f97316;
    --green: #16a34a;
    --card: #ffffff;
    --line: rgba(229, 231, 235, 0.92);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #fff7ed 45%, #fff1f2 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
    object-fit: cover;
}

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

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 78px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.28);
}

.logo-badge span {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #ffffff;
    margin-left: 4px;
}

.logo-text-wrap strong,
.footer-logo strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(90deg, #dc2626, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text-wrap em {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
}

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

.top-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 5px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.top-search input,
.mobile-search input,
.search-page-form input,
.hero-search-form input,
.filter-panel input {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.top-search input {
    width: 180px;
    padding: 9px 8px 9px 14px;
}

.top-search button,
.mobile-search button,
.search-page-form button,
.hero-search-form button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-weight: 800;
    padding: 9px 16px;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #f3f4f6;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 18px;
    border-top: 1px solid rgba(229, 231, 235, 0.9);
}

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

.mobile-nav-link {
    display: block;
    padding: 12px 6px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.mobile-search input {
    flex: 1;
    padding: 9px 12px;
}

.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #ef4444, #f97316 55%, #db2777);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-backdrop,
.detail-hero::before,
.category-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(239, 68, 68, 0.58), rgba(249, 115, 22, 0.2)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(253, 224, 71, 0.26), transparent 28%), radial-gradient(circle at 88% 78%, rgba(248, 113, 113, 0.24), transparent 32%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 72px 24px 88px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 420px;
    align-items: center;
    gap: 56px;
}

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

.hero-pill,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.section-kicker {
    color: var(--primary-dark);
    background: #fee2e2;
    padding: 6px 12px;
    font-size: 13px;
}

.hero-copy h1 {
    margin: 22px 0 20px;
    font-size: clamp(46px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.05em;
}

.hero-copy h1 strong {
    display: inline-block;
    max-width: 100%;
    margin-top: 10px;
    background: linear-gradient(90deg, #fef08a, #fed7aa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 710px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.75;
}

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

.hero-meta {
    margin-top: 24px;
}

.hero-meta span,
.detail-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-btn,
.ghost-btn,
.section-more,
.category-strip-head a,
.category-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.category-strip-head a:hover,
.category-enter:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 4 / 5;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster img {
    width: 100%;
    height: 100%;
}

.hero-play,
.play-mark,
.mini-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
}

.hero-play::after,
.play-mark::after,
.mini-play::after,
.player-button span {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid var(--primary-dark);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

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

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

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

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.soft-panel {
    max-width: none;
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: rgba(255, 255, 255, 0.42);
}

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

.section-heading h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    color: #1f2937;
}

.section-heading p {
    max-width: 720px;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.75;
}

.section-more,
.category-strip-head a,
.category-enter {
    background: #ffffff;
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.16);
    box-shadow: 0 12px 22px rgba(22, 163, 74, 0.08);
    white-space: nowrap;
}

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

.video-card,
.rank-card,
.category-overview-card,
.side-card,
.text-panel,
.search-panel,
.category-strip {
    background: var(--card);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.video-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.video-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.video-cover img,
.mini-card img,
.rank-cover img,
.detail-poster img,
.player-cover img {
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease;
}

.video-card:hover .video-cover img,
.mini-card:hover img,
.hero-poster:hover img {
    transform: scale(1.08);
}

.cover-gradient,
.mini-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74));
}

.play-mark {
    width: 58px;
    height: 58px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.play-mark::after {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
}

.video-card:hover .play-mark {
    opacity: 1;
}

.card-category,
.card-duration {
    position: absolute;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
}

.card-category {
    left: 14px;
    bottom: 14px;
    background: #22c55e;
}

.card-duration {
    right: 14px;
    top: 14px;
    background: rgba(0, 0, 0, 0.68);
}

.video-body {
    padding: 18px;
}

.video-body h3,
.rank-info h3,
.mini-card-title {
    font-weight: 900;
    color: #1f2937;
}

.video-body h3 {
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-body p,
.rank-info p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta,
.card-meta-row {
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}

.video-meta span:not(:last-child)::after,
.card-meta-row span:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: #d1d5db;
}

.video-tags,
.quick-tags,
.genre-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-tags {
    margin-top: 12px;
}

.tag-pill,
.quick-tags a,
.genre-filter {
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 380px;
    gap: 34px;
    align-items: start;
}

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

.rank-list li,
.ranking-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.rank-index,
.ranking-number {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(239, 68, 68, 0.2);
}

.rank-card-link {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    min-height: 132px;
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
}

.rank-info {
    min-width: 0;
    padding: 18px 18px 18px 0;
}

.search-panel {
    padding: 30px;
    position: sticky;
    top: 104px;
}

.search-panel h2 {
    margin-top: 14px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

.search-panel p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.75;
}

.hero-search-form,
.search-page-form {
    display: flex;
    margin-top: 24px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.hero-search-form input,
.search-page-form input {
    flex: 1;
    padding: 12px 16px;
}

.quick-tags {
    margin-top: 18px;
}

.category-strip-list {
    display: grid;
    gap: 26px;
}

.category-strip {
    padding: 24px;
}

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

.category-strip-head h3 {
    font-size: 24px;
    font-weight: 900;
}

.category-strip-head p {
    margin-top: 6px;
    color: var(--muted);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.mini-card-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    background: #111827;
}

.mini-card-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-play {
    width: 42px;
    height: 42px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mini-play::after {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
}

.mini-card:hover .mini-play {
    opacity: 1;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(135deg, #ef4444, #f97316 50%, #db2777);
}

.compact-hero,
.ranking-hero,
.search-hero {
    background: radial-gradient(circle at 20% 20%, rgba(254, 240, 138, 0.38), transparent 28%), linear-gradient(135deg, #ef4444, #f97316 55%, #db2777);
}

.category-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.page-hero-inner,
.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 92px 24px;
    color: #ffffff;
}

.page-hero h1 {
    margin: 20px 0 12px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.breadcrumb,
.detail-breadcrumb a,
.detail-breadcrumb span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 240px;
}

.category-overview-cover {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.45)), var(--category-image);
    background-size: cover;
    background-position: center;
}

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

.category-overview-body h2 {
    margin-top: 14px;
    font-size: 26px;
    font-weight: 900;
}

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

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-weight: 900;
}

.filter-panel input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 13px 18px;
    background: #ffffff;
}

.genre-filter {
    border: 0;
    cursor: pointer;
}

.genre-filter.is-active {
    background: #16a34a;
    color: #ffffff;
}

.movie-card.is-filtered-hidden {
    display: none;
}

.detail-hero {
    min-height: 560px;
}

.detail-hero::before {
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.55), rgba(239, 68, 68, 0.28)), var(--detail-image);
}

.detail-breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.detail-hero-content {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 4 / 5;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
    margin: 22px 0 16px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.detail-info p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.75;
}

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

.detail-tags .tag-pill {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.detail-section {
    padding-top: 48px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
    aspect-ratio: 16 / 9;
}

.player-shell video {
    width: 100%;
    height: 100%;
    background: #000000;
    display: block;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    background: #000000;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.68));
}

.player-cover.is-hidden {
    display: none;
}

.player-button {
    position: relative;
    z-index: 3;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.player-button span {
    border-top-width: 17px;
    border-bottom-width: 17px;
    border-left-width: 26px;
}

.text-panel,
.side-card {
    margin-top: 24px;
    padding: 28px;
}

.text-panel h2,
.side-card h2 {
    margin-top: 12px;
    font-size: 26px;
    font-weight: 900;
}

.text-panel p {
    margin-top: 16px;
    color: #374151;
    line-height: 1.9;
    font-size: 17px;
}

.side-card {
    position: sticky;
    top: 104px;
    margin-top: 0;
}

.side-card dl {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.side-card dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    color: #1f2937;
    font-weight: 800;
    line-height: 1.55;
}

.related-section {
    padding-top: 24px;
}

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

.search-page-form {
    max-width: 720px;
}

.site-footer {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #d1d5db;
    margin-top: 44px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 24px 34px;
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1fr;
    gap: 34px;
}

.footer-logo strong {
    color: #ffffff;
    -webkit-text-fill-color: transparent;
}

.footer-inner p {
    max-width: 520px;
    margin-top: 16px;
    color: #9ca3af;
    line-height: 1.75;
}

.footer-inner h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: #9ca3af;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px 30px;
    border-top: 1px solid rgba(75, 85, 99, 0.8);
    color: #9ca3af;
}

@media (max-width: 1100px) {
    .video-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-content,
    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

    .search-panel,
    .side-card {
        position: static;
    }

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

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

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

    .site-header-inner {
        min-height: 68px;
        padding: 0 16px;
    }

    .logo-text-wrap em {
        display: none;
    }

    .hero-carousel {
        height: 560px;
    }

    .hero-content {
        padding: 52px 18px 92px;
    }

    .hero-copy p,
    .detail-info p,
    .page-hero p {
        font-size: 17px;
    }

    .section-heading,
    .category-strip-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .category-overview-card a,
    .detail-hero-content {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        max-width: 260px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .content-section,
    .page-hero-inner,
    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .hero-actions,
    .hero-search-form,
    .search-page-form {
        flex-direction: column;
        border-radius: 24px;
    }

    .primary-btn,
    .ghost-btn,
    .hero-search-form button,
    .search-page-form button {
        width: 100%;
    }

    .video-grid,
    .mini-grid,
    .related-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .rank-card-link {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .rank-list li,
    .ranking-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .rank-index,
    .ranking-number {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .rank-info {
        padding: 12px 12px 12px 0;
    }
}
