:root {
    --color-teal: #0d9488;
    --color-cyan: #0891b2;
    --color-blue: #2563eb;
    --color-dark: #111827;
    --color-muted: #6b7280;
    --color-light: #f8fafc;
    --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.22);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.main-nav {
    max-width: 1200px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
    color: #fff;
    font-size: 14px;
    box-shadow: 0 12px 25px rgba(13, 148, 136, 0.28);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 700;
    color: #374151;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .nav-active {
    color: var(--color-teal);
}

.nav-dropdown {
    position: relative;
    padding: 21px 0;
}

.dropdown-panel {
    position: absolute;
    left: -22px;
    top: 58px;
    min-width: 190px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
    color: #4b5563;
}

.dropdown-panel a:hover {
    background: #ecfeff;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #0f172a;
}

.mobile-panel {
    display: none;
    padding: 0 22px 18px;
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-panel a {
    padding: 11px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

.mobile-panel a:hover {
    background: #ecfeff;
    color: var(--color-teal);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 48%, #2563eb 100%);
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.36));
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.45;
}

.hero-orb-one {
    width: 220px;
    height: 220px;
    background: #facc15;
    top: 60px;
    right: 15%;
}

.hero-orb-two {
    width: 180px;
    height: 180px;
    background: #ec4899;
    bottom: 40px;
    left: 7%;
}

.hero-inner {
    position: relative;
    max-width: 1200px;
    min-height: 630px;
    margin: 0 auto;
    padding: 76px 22px 54px;
    display: grid;
    align-content: center;
    gap: 34px;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 510px);
    align-items: center;
    gap: 50px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 0.42s ease both;
}

.hero-copy {
    display: grid;
    gap: 20px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fef3c7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    max-width: 700px;
}

.hero-copy p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
}

.hero-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-cloud span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

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

.btn-primary:hover {
    background: #fde047;
}

.btn-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.86);
}

.btn-ghost:hover {
    color: var(--color-teal);
    background: #fff;
}

.hero-poster {
    position: relative;
    min-height: 420px;
    display: block;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateZ(0);
}

.poster-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, #facc15, #ec4899);
    filter: blur(20px);
    opacity: 0.55;
}

.hero-poster img {
    position: relative;
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
}

.hero-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-teal);
    font-size: 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
}

.hero-poster-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px;
    display: grid;
    gap: 5px;
}

.hero-poster-text strong {
    font-size: 27px;
}

.hero-poster-text span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.hero-dots {
    margin-top: 26px;
    display: flex;
    gap: 10px;
}

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

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

.hero-search {
    display: flex;
    max-width: 700px;
    border-radius: 999px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    background: transparent;
    color: #111827;
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 68px 22px;
}

.compact-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-kicker {
    background: #ccfbf1;
    color: var(--color-teal);
}

.section-heading a {
    color: var(--color-teal);
    font-weight: 900;
}

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    aspect-ratio: 4 / 3;
}

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

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.card-label,
.rank-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.card-label {
    right: 12px;
    padding: 5px 10px;
    background: rgba(13, 148, 136, 0.94);
}

.rank-badge {
    left: 12px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 10px 18px rgba(239, 68, 68, 0.26);
}

.play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-teal);
    font-size: 24px;
    transform: translate(-50%, -50%) scale(0.84);
    opacity: 0;
    transition: all 0.22s ease;
}

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

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

.card-body h3 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.card-meta {
    display: grid;
    gap: 4px;
    color: #9ca3af;
    font-size: 12px;
}

.category-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -50px;
    bottom: -60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.category-icon {
    display: block;
    font-size: 44px;
    margin-bottom: 12px;
}

.category-card h3,
.category-overview-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 23px;
}

.category-card p,
.category-overview-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.accent-red { background: linear-gradient(135deg, #ef4444, #f97316); }
.accent-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.accent-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.accent-purple { background: linear-gradient(135deg, #7c3aed, #db2777); }
.accent-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.accent-cyan { background: linear-gradient(135deg, #0891b2, #14b8a6); }
.accent-green { background: linear-gradient(135deg, #059669, #10b981); }
.accent-yellow { background: linear-gradient(135deg, #eab308, #f97316); }

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 36px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.mini-card img {
    width: 110px;
    height: 82px;
    border-radius: 14px;
    object-fit: cover;
}

.mini-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
}

.mini-rank {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #fff;
    font-weight: 900;
}

.ranking-panel {
    margin: -12px 0;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.light-heading a,
.light-heading h2 {
    color: #fff;
}

.light-heading .section-kicker {
    background: rgba(255, 255, 255, 0.18);
    color: #fde68a;
}

.rank-list .mini-card {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.rank-list .mini-card p {
    color: rgba(255, 255, 255, 0.72);
}

.sub-hero {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0891b2, #2563eb);
    overflow: hidden;
}

.sub-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 76px 22px;
}

.sub-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.sub-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.breadcrumb {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.filter-panel label {
    min-width: 180px;
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.grow-filter {
    flex: 1;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 12px;
    outline: 0;
    background: #fff;
    color: #111827;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.empty-state {
    display: none;
    text-align: center;
    margin: 40px 0 0;
    color: var(--color-muted);
    font-size: 18px;
}

.empty-state.is-visible {
    display: block;
}

.category-overview-card {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-main-link {
    display: block;
}

.category-sample-links {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.category-sample-links a {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.rank-hero,
.search-hero {
    background: linear-gradient(135deg, #111827, #0f766e, #0891b2);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.26;
    filter: blur(18px) saturate(1.2);
    transform: scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(15, 118, 110, 0.72), rgba(8, 145, 178, 0.62));
}

.detail-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 22px 64px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.player-card,
.detail-info,
.article-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.62));
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-teal);
    font-size: 34px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
    font-size: 18px;
}

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

.detail-info {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    align-items: start;
}

.detail-poster {
    width: 160px;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.detail-copy h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.detail-copy p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detail-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 800;
}

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

.article-card {
    padding: 28px;
    background: #fff;
    border-color: #e5e7eb;
    color: #1f2937;
    box-shadow: var(--shadow-sm);
}

.article-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 26px;
}

.article-card p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.related-grid .movie-card {
    min-height: 100%;
}

.compact-card .poster-wrap {
    aspect-ratio: 5 / 3;
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 22px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
    gap: 34px;
}

.footer-logo {
    margin-bottom: 14px;
    -webkit-background-clip: initial;
    color: #fff;
    background: none;
}

.footer-inner h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.footer-inner p {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
}

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

.footer-inner a:hover {
    color: #2dd4bf;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 22px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #9ca3af;
    font-size: 14px;
}

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

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

    .hero-slide,
    .detail-grid,
    .two-column-section {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        margin: 0;
    }
}

@media (max-width: 760px) {
    .main-nav {
        height: 62px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .brand {
        font-size: 21px;
    }

    .hero-inner {
        min-height: auto;
        padding: 46px 18px 42px;
    }

    .hero-slide {
        gap: 28px;
    }

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

    .hero-poster,
    .hero-poster img {
        min-height: 320px;
        height: 320px;
    }

    .hero-search {
        border-radius: 22px;
        flex-direction: column;
    }

    .hero-search input {
        min-height: 42px;
    }

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

    .content-section {
        padding: 48px 18px;
    }

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

    .mini-card {
        grid-template-columns: 92px minmax(0, 1fr) auto;
    }

    .mini-card img {
        width: 92px;
        height: 72px;
    }

    .filter-panel {
        display: grid;
    }

    .filter-panel label {
        min-width: 0;
    }

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

    .detail-poster {
        width: 150px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .category-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .player-overlay span {
        width: 68px;
        height: 68px;
    }

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