:root {
    --pink: #ec4899;
    --purple: #7c3aed;
    --blue: #2563eb;
    --green: #10b981;
    --orange: #f97316;
    --red: #ef4444;
    --gold: #d97706;
    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #f8fafc;
    --line: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
    --shadow-soft: 0 10px 28px rgba(31, 41, 55, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: linear-gradient(135deg, #fff1f7 0%, #f5f3ff 45%, #eff6ff 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.ribbon-line {
    height: 4px;
    background: linear-gradient(90deg, #f472b6, #a855f7, #38bdf8);
}

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

.nav-container {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.26);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #4b5563;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
    background: #fdf2f8;
}

.top-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.hero-search input,
.filter-field input,
.filter-field select {
    border: 1px solid var(--line);
    outline: none;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    transition: 0.2s ease;
}

.top-search input {
    width: 170px;
    padding: 10px 14px;
}

.top-search button,
.mobile-search button,
.hero-search button,
.primary-btn,
.ghost-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.22s ease;
}

.top-search button,
.mobile-search button,
.hero-search button,
.primary-btn {
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 12px 24px rgba(168, 85, 247, 0.22);
}

.ghost-btn {
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.top-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(168, 85, 247, 0.24);
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: #fdf2f8;
    color: var(--pink);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 22px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-nav-link {
    padding: 12px 10px;
    border-radius: 14px;
}

.mobile-nav-link.active {
    color: var(--pink);
    background: #fdf2f8;
    font-weight: 700;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 84px 0 72px;
}

.hero-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.42;
    animation: floatGlow 7s ease-in-out infinite alternate;
}

.hero-glow-one {
    left: 5%;
    top: 8%;
    background: #f9a8d4;
}

.hero-glow-two {
    right: 6%;
    bottom: 6%;
    background: #93c5fd;
    animation-delay: 1.2s;
}

@keyframes floatGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(18px, -22px, 0) scale(1.08);
    }
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 42px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 9px 16px;
    margin-bottom: 18px;
    color: #be185d;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.hero-copy h1,
.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.85;
}

.hero-search {
    max-width: 560px;
    padding: 8px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 0;
    background: transparent;
}

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

.hero-stage {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
}

.hero-slides {
    position: relative;
    height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide img {
    height: 100%;
    object-fit: cover;
}

.hero-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.78));
}

.hero-slide-copy {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #fff;
}

.hero-slide-copy h2 {
    margin: 14px 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.hero-slide-copy p {
    max-width: 620px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.hero-slide-copy a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--pink);
    font-weight: 800;
}

.hero-control-row {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-control-row button {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.36);
    cursor: pointer;
    font-size: 26px;
    backdrop-filter: blur(8px);
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

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

.section-block {
    padding: 62px 0;
}

.soft-panel {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
}

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

.section-heading.centered {
    display: block;
    text-align: center;
}

.section-heading span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--pink);
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
}

.section-heading a {
    color: var(--pink);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
}

.standard-card a,
.featured-card a,
.category-card a {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.standard-card a:hover,
.featured-card a:hover,
.category-card a:hover,
.compact-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.poster-wrap,
.featured-poster,
.minimal-poster,
.compact-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf2f8, #eef2ff);
}

.poster-wrap {
    height: 250px;
}

.poster-wrap img,
.featured-poster img,
.minimal-poster img,
.compact-poster img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.standard-card a:hover img,
.featured-card a:hover img,
.minimal-link:hover img,
.compact-link:hover img {
    transform: scale(1.06);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 6px 10px;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poster-wrap .category-badge {
    position: absolute;
    left: 14px;
    top: 14px;
}

.tone-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.tone-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.tone-blue { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.tone-green { background: linear-gradient(135deg, #059669, #34d399); }
.tone-orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.tone-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.tone-red { background: linear-gradient(135deg, #dc2626, #f97316); }
.tone-indigo { background: linear-gradient(135deg, #4f46e5, #8b5cf6); }
.tone-dark { background: linear-gradient(135deg, #111827, #4b5563); }
.tone-gold { background: linear-gradient(135deg, #b45309, #f59e0b); }

.card-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.card-body strong {
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.standard-card a:hover strong,
.minimal-link:hover strong,
.compact-link:hover strong {
    color: var(--pink);
}

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

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: #5b6473;
    background: #f3f4f6;
    font-size: 12px;
    font-style: normal;
}

.card-meta,
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.card-meta span,
.detail-meta-row span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f9fafb;
}

.featured-poster {
    height: 320px;
    border-radius: var(--radius);
}

.featured-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8));
}

.featured-poster .category-badge {
    position: absolute;
    left: 18px;
    top: 18px;
}

.featured-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
}

.featured-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.featured-copy small {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

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

.compact-link {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.compact-poster {
    height: 112px;
    border-radius: 14px;
}

.compact-body {
    display: grid;
    align-content: center;
    gap: 6px;
}

.compact-body strong,
.compact-body em {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-body strong {
    -webkit-line-clamp: 1;
}

.compact-body small {
    color: var(--muted);
}

.compact-body em {
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
    -webkit-line-clamp: 2;
}

.minimal-card {
    position: relative;
}

.minimal-link {
    display: grid;
    gap: 10px;
}

.minimal-poster {
    aspect-ratio: 1 / 1.28;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.minimal-link strong {
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.minimal-link small {
    color: var(--muted);
}

.rank-badge {
    position: absolute;
    left: -8px;
    top: -8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.22);
}

.category-grid,
.category-card-grid {
    display: grid;
    gap: 22px;
}

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

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

.category-tile {
    display: grid;
    gap: 10px;
    min-height: 170px;
    padding: 22px;
    color: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile span,
.category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-weight: 900;
}

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

.category-tile small,
.category-tile em {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    font-style: normal;
}

.category-card a {
    padding: 28px;
    color: #fff;
}

.category-card h2 {
    margin: 18px 0 10px;
    font-size: 28px;
}

.category-card p {
    min-height: 54px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

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

.category-preview img {
    aspect-ratio: 1 / 1.3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.tag-section {
    padding-bottom: 78px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag-cloud a {
    padding: 10px 16px;
    color: #4b5563;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    transition: 0.22s ease;
}

.tag-cloud a:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transform: translateY(-3px);
}

.page-hero {
    padding: 66px 0 54px;
    position: relative;
    overflow: hidden;
}

.simple-hero {
    background: radial-gradient(circle at 20% 10%, rgba(244, 114, 182, 0.2), transparent 32%), radial-gradient(circle at 85% 0%, rgba(96, 165, 250, 0.22), transparent 36%);
}

.category-hero,
.detail-hero {
    color: #fff;
}

.category-hero .hero-kicker,
.detail-hero .hero-kicker {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.category-hero h1,
.detail-hero h1 {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
}

.category-hero p,
.detail-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: inherit;
    opacity: 0.9;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr 1fr;
    gap: 14px;
    align-items: end;
    padding: 18px;
    margin-bottom: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.filter-title {
    align-self: center;
    color: var(--pink);
    font-weight: 900;
    font-size: 18px;
}

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

.filter-field span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.filter-field input,
.filter-field select {
    width: 100%;
    padding: 12px 14px;
}

.filter-field input:focus,
.filter-field select:focus,
.top-search input:focus {
    border-color: #f472b6;
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.16);
}

.movie-card[hidden] {
    display: none;
}

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

.ranking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.ranking-tabs button {
    border: 0;
    padding: 11px 18px;
    border-radius: 999px;
    color: #4b5563;
    background: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-weight: 800;
}

.ranking-tabs button.active {
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.ranking-panel {
    display: none;
}

.ranking-panel.active {
    display: block;
}

.detail-hero {
    padding: 58px 0;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.24);
}

.detail-poster img {
    aspect-ratio: 1 / 1.36;
    object-fit: cover;
}

.detail-intro h1 {
    margin: 14px 0 18px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.08;
}

.detail-intro p {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-tags .tag-pill {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.detail-meta-row span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

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

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

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

.content-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.content-card p {
    margin: 0 0 14px;
    color: #374151;
    line-height: 1.85;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #0f172a;
}

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.78));
    cursor: pointer;
    font-weight: 900;
    font-size: 18px;
}

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

.play-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 18px 38px rgba(236, 72, 153, 0.32);
    font-size: 30px;
}

.info-card dl {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px 18px;
    margin: 0;
}

.info-card dt {
    color: var(--muted);
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: #374151;
}

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

.sticky-card {
    position: sticky;
    top: 92px;
}

.site-footer {
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(229, 231, 235, 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 26px;
    padding: 42px 0;
}

.footer-grid p {
    color: var(--muted);
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #6b7280;
}

.footer-grid a:hover {
    color: var(--pink);
}

.footer-bottom {
    padding: 16px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

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

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

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

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

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

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

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        height: 64px;
    }

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

    .hero-section {
        padding: 52px 0;
    }

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

    .hero-stage,
    .hero-slides {
        min-height: 420px;
        height: 420px;
    }

    .hero-search {
        display: grid;
        border-radius: 22px;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    .section-heading {
        display: block;
    }

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

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

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

    .detail-intro h1 {
        font-size: 34px;
    }

    .compact-link {
        grid-template-columns: 94px minmax(0, 1fr);
    }

    .compact-poster {
        height: 96px;
    }
}

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

    .movie-grid,
    .featured-grid,
    .category-movie-grid,
    .minimal-grid,
    .category-grid,
    .category-card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .poster-wrap {
        height: 280px;
    }

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

    .hero-slide-copy {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .hero-slide-copy h2 {
        font-size: 28px;
    }

    .content-card {
        padding: 18px;
        border-radius: 18px;
    }
}
