:root {
    --red-50: #fff1f2;
    --red-100: #ffe4e6;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --rose-600: #e11d48;
    --yellow-400: #facc15;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 18px 40px rgba(17, 24, 39, 0.14);
    --shadow-lg: 0 28px 70px rgba(127, 29, 29, 0.28);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, #fff7f7 0%, var(--white) 34%, var(--gray-50) 100%);
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--red-600), var(--red-700) 52%, var(--rose-600));
    color: var(--white);
    box-shadow: 0 14px 34px rgba(127, 29, 29, 0.22);
}

.site-nav {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-text {
    font-size: 1.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.nav-search {
    width: 286px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-search input,
.mobile-search input,
.wide-search input,
.page-filter input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
}

.nav-search input {
    width: 100%;
    padding: 11px 4px 11px 16px;
    color: var(--white);
}

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

.nav-search button,
.mobile-search button,
.wide-search button,
.page-filter button {
    border: 0;
    cursor: pointer;
    font-weight: 700;
}

.nav-search button {
    padding: 11px 16px;
    color: var(--red-700);
    background: var(--white);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--white);
}

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

.mobile-search {
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
}

.mobile-search input {
    flex: 1;
    padding: 13px 16px;
    color: var(--white);
}

.mobile-search button {
    padding: 0 18px;
    color: var(--red-700);
    background: var(--white);
}

.mobile-links {
    display: grid;
    gap: 8px;
    padding-top: 12px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
}

.mobile-link.active {
    background: rgba(255, 255, 255, 0.22);
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #120507;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 5, 7, 0.92) 0%, rgba(18, 5, 7, 0.68) 45%, rgba(18, 5, 7, 0.24) 100%), linear-gradient(0deg, rgba(18, 5, 7, 0.82) 0%, rgba(18, 5, 7, 0.05) 45%, rgba(18, 5, 7, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 0 96px;
    color: var(--white);
}

.hero-label,
.kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.28);
}

.hero-content h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.26rem);
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin: 24px 0 30px;
}

.hero-tags span,
.detail-tags span,
.movie-tags span {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
}

.hero-tags span {
    padding: 7px 11px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.17);
}

.hero-actions,
.quick-links,
.footer-links,
.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-ghost,
.section-more,
.movie-foot a,
.quick-links a,
.pill-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    padding: 0 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
    box-shadow: 0 18px 34px rgba(220, 38, 38, 0.35);
}

.btn-ghost {
    padding: 0 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.btn-ghost:hover,
.section-more:hover,
.movie-foot a:hover,
.quick-links a:hover,
.pill-links a:hover {
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    font-size: 2rem;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 28px;
}

.hero-next {
    right: 28px;
}

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

.hero-dot {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--white);
}

.quick-search-section {
    position: relative;
    z-index: 5;
    margin-top: -54px;
    padding: 0 0 30px;
}

.quick-search-card {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.quick-search-card h2 {
    margin: 14px 0 20px;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.wide-search {
    display: flex;
    min-height: 58px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gray-100);
    box-shadow: inset 0 0 0 1px var(--gray-200);
}

.wide-search input {
    flex: 1;
    padding: 0 22px;
}

.wide-search button {
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
}

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

.quick-links a,
.pill-links a {
    padding: 0 16px;
    color: var(--red-700);
    background: var(--red-50);
}

.content-section {
    padding: 76px 0;
}

.soft-bg {
    background: linear-gradient(135deg, var(--gray-50), var(--red-50));
}

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

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--gray-500);
    line-height: 1.8;
}

.section-more {
    min-width: max-content;
    padding: 0 17px;
    color: var(--red-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.movie-grid,
.featured-grid,
.category-grid,
.category-page-grid,
.stats-grid {
    display: grid;
    gap: 24px;
}

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

.catalog-grid {
    align-items: stretch;
}

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

.movie-card {
    position: relative;
}

.card-grid,
.card-featured {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-grid:hover,
.card-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #1f2937;
}

.card-featured .poster-link {
    aspect-ratio: 16 / 11;
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.08);
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.68));
    opacity: 0.72;
}

.poster-play,
.rank-badge {
    position: absolute;
    z-index: 2;
}

.poster-play {
    left: 50%;
    top: 50%;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(220, 38, 38, 0.86);
    transform: translate(-50%, -50%) scale(0.78);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-badge {
    left: 12px;
    top: 12px;
    display: grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
    font-weight: 900;
}

.movie-body {
    padding: 18px;
}

.movie-tags {
    min-height: 26px;
    margin-bottom: 12px;
}

.movie-tags span {
    padding: 5px 9px;
    color: var(--red-600);
    background: var(--red-50);
}

.movie-body h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.35;
}

.movie-body h3 a:hover {
    color: var(--red-600);
}

.movie-body p {
    min-height: 4.8em;
    margin: 0;
    color: var(--gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.movie-foot a {
    min-height: 34px;
    padding: 0 12px;
    color: var(--white);
    background: var(--red-600);
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: var(--radius-md);
    background: #1f2937;
    box-shadow: var(--shadow-sm);
}

.category-tile img,
.category-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.35s ease;
}

.category-tile:hover img,
.category-card:hover img {
    transform: scale(1.08);
}

.category-tile span,
.category-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    gap: 8px;
    padding: 18px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.category-tile strong,
.category-card strong {
    font-size: 1.25rem;
}

.category-tile em,
.category-card em,
.category-samples span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.5;
}

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

.category-card {
    min-height: 280px;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.category-samples span {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.stats-band {
    padding: 42px 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--red-600), var(--rose-600));
}

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

.stats-grid div {
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 3.3rem);
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.82);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 68px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.rank-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
    font-weight: 900;
}

.rank-row img {
    width: 68px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-main {
    display: grid;
    gap: 7px;
}

.rank-main strong {
    font-size: 1.05rem;
}

.rank-main em {
    color: var(--gray-500);
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.side-panel,
.side-card,
.detail-text-card,
.player-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.side-panel {
    padding: 28px;
    position: sticky;
    top: 92px;
}

.side-panel h2 {
    margin: 16px 0 12px;
    font-size: 2rem;
}

.side-panel p {
    color: var(--gray-500);
    line-height: 1.8;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, var(--red-700), #7f1d1d 54%, #111827);
}

.small-hero,
.category-hero,
.rank-hero {
    padding: 88px 0 60px;
}

.page-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -0.05em;
}

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

.page-filter {
    display: flex;
    width: min(680px, 100%);
    min-height: 54px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.page-filter input {
    flex: 1;
    padding: 0 20px;
    color: var(--white);
}

.page-filter input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.page-filter button {
    padding: 0 22px;
    color: var(--red-700);
    background: var(--white);
}

.narrow-filter {
    margin: 0 0 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.narrow-filter input {
    color: var(--gray-900);
}

.narrow-filter input::placeholder {
    color: var(--gray-500);
}

.pill-links {
    margin-top: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.breadcrumbs a:hover {
    color: var(--white);
}

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

.detail-backdrop,
.detail-shade {
    position: absolute;
    inset: 0;
}

.detail-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(1.1);
    transform: scale(1.04);
    opacity: 0.52;
}

.detail-shade {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 29, 29, 0.68)), linear-gradient(0deg, rgba(17, 24, 39, 0.96), transparent 55%);
}

.detail-top {
    position: relative;
    z-index: 2;
    padding: 74px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

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

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-info h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.lead-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
    line-height: 1.85;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span,
.detail-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.detail-info .btn-primary {
    margin-top: 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

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

.player-card {
    padding: 14px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #050505;
    aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player {
    background: #000;
}

.player-cover {
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000;
    z-index: 3;
}

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

.player-cover img {
    object-fit: cover;
    opacity: 0.64;
}

.big-play {
    position: relative;
    z-index: 2;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
    font-size: 2rem;
}

.detail-text-card {
    padding: 26px;
}

.detail-text-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.detail-text-card p,
.side-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
}

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

.detail-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 92px;
}

.side-card {
    padding: 22px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 15px;
    background: var(--gray-50);
    transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
    transform: translateX(4px);
    background: var(--red-50);
}

.compact-card img {
    width: 72px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
}

.compact-info {
    display: grid;
    gap: 7px;
}

.compact-info strong {
    line-height: 1.35;
}

.compact-info small {
    color: var(--gray-500);
}

.gradient-card {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--rose-600));
}

.gradient-card p {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer {
    padding: 44px 0;
    color: rgba(255, 255, 255, 0.78);
    background: #111827;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}

.footer-brand {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-inner p {
    margin: 0;
}

.footer-links a:hover {
    color: var(--white);
}

.is-hidden-card {
    display: none !important;
}

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

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

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

    .side-panel,
    .detail-sidebar {
        position: static;
    }
}

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

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

    .hero-carousel,
    .hero-content {
        min-height: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .featured-grid,
    .category-grid,
    .category-page-grid,
    .stats-grid,
    .detail-layout {
        grid-template-columns: 1fr 1fr;
    }

    .detail-layout {
        align-items: start;
    }

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

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

    .brand-text {
        font-size: 1rem;
    }

    .hero-carousel,
    .hero-content {
        min-height: 520px;
    }

    .hero-content {
        padding: 58px 0 82px;
    }

    .quick-search-card {
        padding: 20px;
    }

    .wide-search,
    .page-filter {
        border-radius: 18px;
        flex-direction: column;
    }

    .wide-search input,
    .page-filter input {
        min-height: 52px;
    }

    .wide-search button,
    .page-filter button {
        min-height: 46px;
    }

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

    .movie-grid,
    .featured-grid,
    .category-grid,
    .category-page-grid,
    .stats-grid,
    .detail-layout,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 38px 58px 1fr;
    }

    .rank-row img {
        width: 58px;
        height: 78px;
    }

    .rank-meta {
        display: none;
    }

    .detail-top {
        padding: 52px 0;
    }

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

    .content-section {
        padding: 54px 0;
    }
}
