/*
  Static movie website stylesheet.
  Visual direction follows the uploaded Doraemon-blue/yellow Tailwind bundle:
  bright blue navigation, yellow accent buttons, rounded cards, soft shadows,
  hero overlay gradients, responsive grids, hover lift transitions.
*/
:root {
    --blue: #0096dc;
    --blue-dark: #0077b6;
    --blue-light: #4db8e8;
    --yellow: #ffd700;
    --yellow-dark: #ffc700;
    --cream: #fff9e6;
    --red: #e63946;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(0, 73, 125, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--cream) 0%, #ffffff 28%, #f8fafc 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.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: 100;
    color: #ffffff;
    background: rgba(0, 150, 220, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 35px rgba(0, 89, 150, 0.22);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--blue);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 24px;
    font-weight: 900;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.brand-text {
    display: grid;
    gap: 0;
}

.brand-text strong {
    font-size: 22px;
    line-height: 1.1;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.12);
}

.header-search,
.mobile-search,
.wide-search,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search {
    min-width: 320px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.header-search input,
.mobile-search input,
.wide-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 999px;
}

.header-search input,
.mobile-search input {
    color: #ffffff;
    background: transparent;
    padding: 8px 10px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.header-search button,
.mobile-search button,
.wide-search button,
.filter-bar button {
    border: 0;
    cursor: pointer;
    color: var(--blue-dark);
    background: var(--yellow);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.wide-search button:hover {
    transform: translateY(-1px) scale(1.02);
    background: var(--yellow-dark);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #ffffff;
    border-radius: 4px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-panel.is-open {
    display: block;
    animation: slideUp 0.24s ease both;
}

.mobile-panel-inner {
    display: grid;
    gap: 8px;
    padding: 14px 0 18px;
}

.mobile-search {
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.hero-carousel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #ffffff;
    background: var(--blue-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 215, 0, 0.22), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(77, 184, 232, 0.34), transparent 34%);
}

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

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 360px;
    align-items: center;
    gap: 56px;
    min-height: 640px;
    padding: 64px 0;
}

.hero-copy {
    max-width: 720px;
    animation: fadeIn 0.7s ease both;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 13px;
    color: var(--blue-dark);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 690px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2.2vw, 23px);
}

.hero-tags,
.tag-row,
.tag-cloud,
.footer-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span,
.tag-cloud a,
.footer-chip-row a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    padding: 7px 12px;
}

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

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

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

.button-primary {
    color: var(--blue-dark);
    background: var(--yellow);
    box-shadow: 0 14px 32px rgba(255, 215, 0, 0.26);
}

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

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4.2;
    background: linear-gradient(135deg, var(--blue), var(--yellow));
    border: 8px solid rgba(255, 255, 255, 0.28);
    border-radius: 34px;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: var(--blue-dark);
    background: var(--yellow);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--yellow);
}

.quick-search-band {
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
    box-shadow: 0 16px 40px rgba(0, 119, 182, 0.18);
}

.quick-search-inner {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    align-items: center;
    gap: 28px;
    padding: 34px 0;
}

.quick-search-inner h2 {
    margin: 10px 0 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
}

.wide-search {
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.wide-search input {
    padding: 12px 16px;
    color: var(--ink);
    background: transparent;
}

.page-section {
    padding: 66px 0;
}

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

.section-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
}

.section-action {
    color: var(--blue-dark);
    font-weight: 900;
}

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

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

.all-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.movie-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(0, 150, 220, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0, 73, 125, 0.2);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 215, 0, 0.28), transparent 36%),
        linear-gradient(135deg, var(--blue), var(--blue-dark));
}

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

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.poster:hover img {
    transform: scale(1.08);
}

.image-error {
    opacity: 0;
}

.quality-badge,
.score-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.quality-badge {
    left: 12px;
    color: var(--blue-dark);
    background: var(--yellow);
}

.score-badge {
    right: 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.poster-mask {
    position: absolute;
    inset: auto 12px 12px 12px;
    display: flex;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 150, 220, 0.88);
    border-radius: 999px;
    padding: 9px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.poster:hover .poster-mask {
    opacity: 1;
    transform: translateY(0);
}

.movie-info {
    padding: 18px;
}

.compact-card .movie-info {
    padding: 14px;
}

.movie-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.compact-card .movie-info h3 {
    font-size: 16px;
}

.movie-info h3 a:hover {
    color: var(--blue);
}

.movie-meta {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span,
.tag-cloud a,
.footer-chip-row a {
    color: var(--blue-dark);
    background: rgba(0, 150, 220, 0.1);
    padding: 5px 9px;
}

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

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

.category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 73, 125, 0.2);
}

.category-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

.category-card:hover .category-bg {
    transform: scale(1.06);
}

.category-content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 190px;
    padding: 22px;
}

.category-content strong {
    font-size: 25px;
    line-height: 1.1;
}

.category-content em {
    margin: 8px 0;
    color: var(--yellow);
    font-style: normal;
    font-weight: 900;
}

.category-content small {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

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

.rank-list,
.info-panel,
.sidebar-card,
.detail-article,
.detail-side,
.episode-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 150, 220, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.rank-list {
    overflow: hidden;
}

.rank-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.rank-item:last-child {
    border-bottom: 0;
}

.rank-item:hover {
    background: rgba(0, 150, 220, 0.07);
}

.rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--blue-dark);
    background: var(--yellow);
    border-radius: 999px;
    font-weight: 900;
}

.rank-title {
    font-weight: 900;
}

.rank-meta {
    color: var(--muted);
    font-size: 13px;
}

.info-panel {
    padding: 32px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.info-panel h2 {
    margin: 16px 0 12px;
    font-size: 34px;
    line-height: 1.15;
}

.info-panel p {
    color: rgba(255, 255, 255, 0.84);
}

.filter-bar {
    margin-bottom: 16px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 150, 220, 0.1);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.filter-bar input,
.filter-bar select {
    padding: 12px 16px;
    color: var(--ink);
    background: #f8fafc;
}

.filter-bar select {
    max-width: 230px;
}

.sticky-filter {
    position: sticky;
    top: 86px;
    z-index: 30;
}

.result-count {
    margin: 0 0 20px;
    color: var(--muted);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.simple-hero,
.category-hero,
.ranking-hero,
.search-hero {
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 215, 0, 0.24), transparent 34%),
        linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.page-hero .container {
    padding: 86px 0;
}

.page-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(40px, 7vw, 70px);
    line-height: 1.05;
}

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

.layout-with-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
}

.sidebar-card {
    position: sticky;
    top: 102px;
    padding: 20px;
}

.sidebar-card h2 {
    margin: 0 0 14px;
}

.side-nav {
    display: grid;
    gap: 7px;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 16px;
    color: #4b5563;
    font-weight: 800;
}

.side-link:hover,
.side-link.active {
    color: var(--blue-dark);
    background: rgba(0, 150, 220, 0.09);
}

.ranking-table {
    display: grid;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 150, 220, 0.08);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.ranking-row {
    display: grid;
    grid-template-columns: 70px 1.1fr 1fr 90px 130px;
    gap: 16px;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}

.ranking-row:hover {
    background: rgba(0, 150, 220, 0.07);
}

.ranking-index {
    font-weight: 900;
    color: var(--blue);
}

.ranking-name {
    font-weight: 900;
}

.ranking-tags,
.ranking-views {
    color: var(--muted);
    font-size: 13px;
}

.ranking-score {
    color: var(--red);
    font-weight: 900;
}

.detail-hero {
    position: relative;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42));
}

.detail-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 70px 0;
}

.detail-poster-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4.25;
    background: linear-gradient(135deg, var(--blue), var(--yellow));
    border: 8px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
}

.detail-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-poster-card span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    color: var(--blue-dark);
    background: var(--yellow);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
}

.detail-one-line {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-weight: 800;
}

.player-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: stretch;
}

.player-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

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

.big-play-button {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    border: 0;
    background: rgba(0, 0, 0, 0.38);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.big-play-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    color: var(--blue-dark);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 32px;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.28);
}

.big-play-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.player-status {
    position: absolute;
    left: 14px;
    bottom: 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

.episode-panel {
    padding: 22px;
}

.episode-panel h2 {
    margin: 0 0 14px;
}

.episode-list {
    display: grid;
    gap: 10px;
}

.episode-button {
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 12px;
    color: var(--ink);
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 900;
}

.episode-button:hover,
.episode-button.active {
    color: var(--blue-dark);
    background: var(--yellow);
}

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

.detail-article,
.detail-side {
    padding: 28px;
}

.detail-article h2 {
    margin: 16px 0;
    font-size: 32px;
    line-height: 1.25;
}

.detail-article p {
    color: #374151;
    font-size: 17px;
}

.detail-side h2,
.detail-side h3 {
    margin: 0 0 14px;
}

.detail-side h3 {
    margin-top: 22px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.detail-side dt {
    color: var(--muted);
}

.detail-side dd {
    margin: 0;
    font-weight: 800;
}

.site-footer {
    color: #ffffff;
    background: #111827;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 50px 0;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--yellow);
}

.footer-grid a {
    display: block;
    width: fit-content;
    margin: 7px 0;
    color: #d1d5db;
}

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

.footer-brand p,
.footer-grid p {
    color: #aeb6c2;
}

.footer-logo .brand-text small {
    color: #aeb6c2;
}

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hidden-by-filter {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

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

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

    .mobile-menu-button {
        display: block;
    }

    .hero-carousel,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid,
    .quick-search-inner,
    .detail-grid,
    .layout-with-sidebar,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 64px 0 92px;
    }

    .hero-poster {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .sidebar-card {
        position: static;
    }

    .ranking-row {
        grid-template-columns: 48px 1fr 60px;
    }

    .ranking-tags,
    .ranking-views {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, 1200px);
    }

    .page-section {
        padding: 44px 0;
    }

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

    .movie-grid,
    .featured-grid,
    .all-grid,
    .category-grid,
    .large-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info h3 {
        font-size: 15px;
    }

    .movie-desc,
    .tag-row {
        display: none;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
        border-radius: 24px;
    }

    .filter-bar select {
        max-width: none;
    }

    .rank-item {
        grid-template-columns: 48px 1fr;
    }

    .rank-meta {
        display: none;
    }

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

    .player-status {
        display: none;
    }
}
