* {
    box-sizing: border-box;
}

:root {
    --pink-50: #fff1f2;
    --pink-100: #ffe4e6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(219, 39, 119, 0.08);
    --shadow-md: 0 18px 45px rgba(219, 39, 119, 0.14);
    --shadow-lg: 0 28px 70px rgba(17, 24, 39, 0.18);
    --radius-lg: 20px;
    --radius-xl: 28px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--pink-50), #ffffff 42%, #fff7ed);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--pink-100), #ffffff);
}

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.32);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.nav-links a {
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--pink-600);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.header-search input,
.mobile-menu input,
.library-search {
    width: 190px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gray-800);
    padding: 8px 12px;
}

.header-search button,
.mobile-menu button {
    border: 0;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--gray-800);
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 20px;
}

.mobile-menu form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: var(--gray-100);
    margin-bottom: 12px;
}

.mobile-menu input {
    flex: 1;
    width: auto;
}

.mobile-menu a {
    display: block;
    padding: 12px 4px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    font-weight: 700;
}

main {
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, var(--pink-600), var(--rose-500) 48%, #be185d);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 54px;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px 110px;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.22;
    filter: blur(8px) saturate(1.15);
    transform: scale(1.06);
}

.hero-backdrop::after,
.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(190, 24, 93, 0.94), rgba(225, 29, 72, 0.74));
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-kicker,
.detail-kicker,
.section-head span,
.panel-head span,
.article-card span,
.page-hero span {
    display: inline-flex;
    color: var(--pink-100);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 900;
}

.hero-content h1 {
    margin: 16px 0 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2.4vw, 24px);
}

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

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    font-size: 12px;
    font-weight: 800;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-light {
    color: var(--pink-600);
    background: var(--white);
    box-shadow: 0 16px 30px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 16px 35px rgba(236, 72, 153, 0.28);
}

.hero-poster {
    position: relative;
    z-index: 2;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    pointer-events: none;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 44px;
    z-index: 5;
    width: min(var(--container), calc(100% - 40px));
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-controls button,
.hero-dots button {
    border: 0;
    cursor: pointer;
    color: var(--white);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.hero-controls button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 28px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-dots button.is-active {
    width: 28px;
    background: var(--white);
    opacity: 1;
}

.hero-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(28px);
    mix-blend-mode: screen;
    animation: floatOrb 9s ease-in-out infinite;
}

.orb-one {
    top: 80px;
    left: 4%;
}

.orb-two {
    right: 8%;
    top: 180px;
    animation-delay: 2s;
}

.orb-three {
    bottom: 20px;
    left: 42%;
    animation-delay: 4s;
}

.quick-stats,
.section-block,
.split-block,
.category-index,
.library-section,
.ranking-list,
.content-layout,
.breadcrumb {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.quick-stats {
    position: relative;
    z-index: 10;
    margin-top: -48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-stats a {
    display: grid;
    gap: 4px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-stats a:hover,
.category-card:hover,
.movie-card:hover,
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.quick-stats strong {
    color: var(--gray-900);
    font-size: 22px;
}

.quick-stats span {
    color: var(--gray-500);
}

.section-block,
.split-block,
.category-index,
.library-section,
.ranking-list,
.content-layout {
    padding-top: 72px;
    padding-bottom: 10px;
}

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

.section-head span,
.panel-head span,
.article-card span,
.page-hero span {
    color: var(--pink-600);
}

.section-head h2,
.panel-head h2,
.category-index h2,
.article-card h2 {
    margin: 4px 0 0;
    color: var(--gray-900);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

.section-head a {
    color: var(--pink-600);
    font-weight: 900;
}

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

.category-card,
.movie-card,
.article-card,
.ranking-panel,
.ranking-row {
    border: 1px solid rgba(229, 231, 235, 0.92);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
    min-height: 230px;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.category-top {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gray-900);
}

.category-top span {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    font-size: 24px;
    font-weight: 900;
}

.category-top strong {
    font-size: 20px;
}

.category-card p {
    margin: 18px 0;
    color: var(--gray-600);
}

.category-samples {
    display: grid;
    gap: 8px;
}

.category-samples a {
    color: var(--pink-600);
    font-size: 14px;
    font-weight: 800;
}

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

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

.compact-grid,
.library-grid {
    grid-template-columns: repeat(6, 1fr);
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--pink-100);
}

.movie-card.is-compact .card-cover {
    aspect-ratio: 1 / 1.18;
}

.card-cover img {
    transition: transform 0.55s ease;
}

.movie-card:hover .card-cover img {
    transform: scale(1.09);
}

.card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.68));
}

.card-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.card-year {
    right: 12px;
    top: 12px;
    min-height: 28px;
    padding: 0 10px;
    color: var(--white);
    background: rgba(219, 39, 119, 0.9);
}

.rank-badge {
    left: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
    color: var(--pink-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 18px;
}

.card-meta {
    margin-bottom: 6px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.card-body h3 {
    margin: 0 0 10px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.25;
}

.movie-card.is-compact .card-body h3 {
    font-size: 15px;
}

.card-body h3 a:hover,
.ranking-info h2 a:hover {
    color: var(--pink-600);
}

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

.movie-card.is-compact .card-body p {
    display: none;
}

.card-body .tag-list span,
.detail-tags span {
    color: var(--pink-600);
    background: var(--pink-50);
}

.split-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 94px;
    padding: 24px;
    border-radius: var(--radius-xl);
}

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

.mini-movie {
    display: grid;
    grid-template-columns: auto 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.mini-movie img {
    width: 58px;
    height: 72px;
    border-radius: 12px;
}

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

.mini-movie strong {
    color: var(--gray-900);
    font-size: 15px;
}

.mini-movie em {
    color: var(--gray-500);
    font-size: 12px;
    font-style: normal;
}

.mini-rank {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    font-weight: 900;
}

.panel-link {
    width: 100%;
    margin-top: 22px;
}

.category-index {
    padding-bottom: 76px;
}

.category-index > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.category-index a {
    display: grid;
    gap: 5px;
    padding: 22px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: var(--shadow-sm);
    font-weight: 900;
}

.category-index span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
}

.page-hero {
    max-width: var(--container);
    margin: 30px auto 0;
    padding: 64px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.soft-hero,
.ranking-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-600), var(--rose-500));
    box-shadow: var(--shadow-md);
}

.page-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.library-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.wide-tools {
    align-items: stretch;
}

.library-search {
    width: min(480px, 100%);
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--gray-100);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-buttons button {
    border: 0;
    cursor: pointer;
    color: var(--gray-700);
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--gray-100);
    font-weight: 900;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.empty-state {
    margin: 24px 0;
    padding: 28px;
    color: var(--gray-500);
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding-top: 24px;
    padding-bottom: 20px;
    color: var(--gray-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink-600);
    font-weight: 800;
}

.detail-hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-600), var(--rose-500));
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    filter: blur(10px) saturate(1.15);
    transform: scale(1.07);
}

.detail-wrap {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    min-height: 560px;
    margin: 0 auto;
    padding: 68px 20px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.detail-poster {
    height: 470px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.detail-info h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.lead-text {
    max-width: 760px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

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

.detail-meta div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-meta span,
.detail-meta strong {
    display: block;
}

.detail-meta span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.detail-meta strong {
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-section {
    max-width: var(--container);
    margin: 64px auto 0;
    padding: 0 20px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #050505;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 24px;
    color: var(--white);
    text-align: center;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.78));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay strong {
    max-width: 780px;
    font-size: clamp(24px, 4vw, 46px);
    line-height: 1.1;
}

.player-overlay em {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.play-pulse {
    width: 86px;
    height: 86px;
    display: inline-grid;
    place-items: center;
    padding-left: 5px;
    color: var(--pink-600);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.16);
    animation: pulsePlay 1.8s ease-in-out infinite;
    font-size: 34px;
}

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

.article-card {
    min-height: 270px;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.article-card p {
    margin: 16px 0 0;
    color: var(--gray-600);
    font-size: 17px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 56px 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 20px;
}

.ranking-number {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    font-weight: 900;
}

.ranking-thumb {
    width: 82px;
    height: 104px;
    overflow: hidden;
    border-radius: 14px;
}

.ranking-info h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.25;
}

.ranking-info p {
    margin: 0 0 10px;
    color: var(--gray-600);
}

.score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 40px;
    color: var(--pink-600);
    border-radius: 999px;
    background: var(--pink-50);
    font-size: 20px;
}

.site-footer {
    margin-top: 70px;
    color: rgba(255, 255, 255, 0.72);
    background: var(--gray-900);
}

.footer-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 46px 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand {
    color: var(--white);
    font-size: 24px;
}

.footer-wrap p {
    max-width: 420px;
    margin: 12px 0 0;
}

.footer-wrap nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.footer-wrap nav a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(26px, -18px, 0) scale(1.08);
    }
}

@keyframes pulsePlay {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.16);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.08);
    }
}

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-search {
        display: none;
    }

    .hero-slide {
        grid-template-columns: 1fr 300px;
    }

    .category-grid,
    .large-grid,
    .category-index > div {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .split-block {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 780px) {
    .nav-wrap {
        height: 64px;
    }

    .hero-carousel {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: start;
        padding-top: 54px;
        gap: 28px;
    }

    .hero-poster {
        height: 310px;
        transform: none;
    }

    .hero-controls {
        justify-content: center;
        bottom: 28px;
    }

    .hero-dots {
        bottom: 84px;
    }

    .quick-stats,
    .category-grid,
    .large-grid,
    .compact-grid,
    .library-grid,
    .category-index > div,
    .content-layout,
    .footer-wrap,
    .footer-wrap nav {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        margin-top: -30px;
    }

    .page-hero,
    .library-tools,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .detail-poster {
        height: 420px;
        max-width: 310px;
    }

    .detail-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-row {
        grid-template-columns: 44px 70px minmax(0, 1fr);
    }

    .score-pill {
        grid-column: 3;
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 18px;
    }

    .hero-content h1,
    .detail-info h1 {
        letter-spacing: -0.04em;
    }

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

    .player-shell {
        border-radius: 18px;
    }

    .play-pulse {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
