:root {
    --red: #dc2626;
    --red-dark: #b91c1c;
    --rose: #e11d48;
    --orange: #ea580c;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #fee2e2;
    --soft: #fff1f2;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(127, 29, 29, 0.12);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(254, 226, 226, 0.75);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 36px rgba(127, 29, 29, 0.12);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--rose));
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.28);
    font-size: 15px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand strong {
    font-size: 22px;
    color: #111827;
    letter-spacing: -0.04em;
}

.brand-text em {
    margin-top: 4px;
    font-size: 11px;
    color: #9ca3af;
    font-style: normal;
}

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

.nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--red);
}

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

.dropdown-panel {
    position: absolute;
    top: 70px;
    left: 0;
    width: 190px;
    padding: 10px;
    border: 1px solid #fee2e2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

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

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 600;
}

.dropdown-panel a:hover {
    color: var(--red);
    background: #fef2f2;
}

.top-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 260px;
    padding: 5px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #ffffff;
}

.top-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
    outline: none;
}

.top-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 8px 8px 8px 14px;
    color: var(--ink);
}

.top-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--rose));
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fef2f2;
}

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

.mobile-panel {
    display: none;
    border-top: 1px solid #fee2e2;
    background: #ffffff;
    padding: 18px 20px 24px;
}

.mobile-panel.is-open {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 11px 12px;
}

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

.mobile-panel nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7f7;
    color: #4b5563;
    font-weight: 700;
}

.main-content {
    overflow: hidden;
}

.page-main {
    padding-top: 76px;
    background: #f9fafb;
}

.hero-section {
    position: relative;
    min-height: 720px;
    padding: 118px 0 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 45%, #fff 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(220, 38, 38, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 38, 38, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.55;
}

.float-shape {
    position: absolute;
    color: rgba(220, 38, 38, 0.22);
    font-weight: 900;
    user-select: none;
}

.shape-one {
    top: 160px;
    left: 8%;
    font-size: 72px;
    animation: floatY 5s ease-in-out infinite;
}

.shape-two {
    right: 12%;
    bottom: 110px;
    font-size: 88px;
    animation: pulseShape 4s ease-in-out infinite;
}

.shape-three {
    top: 220px;
    right: 25%;
    font-size: 52px;
    animation: floatY 6s ease-in-out infinite reverse;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 560px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.8fr);
    align-items: center;
    gap: 48px;
}

.hero-badge,
.section-heading span,
.page-hero span,
.ranking-title span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--red);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.10);
    font-size: 14px;
    font-weight: 800;
}

.hero-badge {
    padding: 10px 16px;
    margin-bottom: 24px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #111827;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 32px;
    color: #4b5563;
    font-size: 20px;
}

.hero-actions,
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.secondary-btn,
.section-more a,
.hero-mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    border: 0;
    padding: 14px 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--rose));
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.25);
}

.secondary-btn {
    padding: 14px 28px;
    color: #111827;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(127, 29, 29, 0.10);
}

.primary-btn:hover,
.secondary-btn:hover,
.section-more a:hover,
.hero-mini-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.22);
}

.hero-chips {
    margin-top: 24px;
}

.hero-chips a {
    padding: 9px 14px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    color: #7f1d1d;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.hero-showcase {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 22px;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-poster {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
}

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

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

.hero-poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.6), transparent 55%);
}

.hero-movie-copy {
    padding: 18px 4px 8px;
}

.hero-movie-copy span {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.hero-movie-copy h2 {
    margin: 8px 0 8px;
    font-size: 26px;
    line-height: 1.25;
}

.hero-movie-copy p {
    margin: 0 0 14px;
    color: #4b5563;
}

.hero-mini-link {
    padding: 9px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-size: 14px;
}

.hero-dots {
    position: absolute;
    right: 26px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #fecaca;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
    padding: 82px 0;
}

.white-section {
    background: #ffffff;
}

.soft-section {
    background: linear-gradient(135deg, #fff7f7, #fff1f2);
}

.section-heading,
.page-hero > div,
.ranking-title {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading span,
.page-hero span,
.ranking-title span {
    padding: 8px 16px;
    margin-bottom: 14px;
}

.section-heading h2,
.page-hero h1,
.ranking-title h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.section-heading p,
.page-hero p,
.ranking-title p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

.compact-heading {
    margin-bottom: 28px;
}

.movie-grid,
.feature-grid,
.category-grid,
.overview-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: #fecaca;
    box-shadow: var(--shadow);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s ease;
}

.movie-card:hover .card-cover::after {
    background: rgba(0, 0, 0, 0.28);
}

.card-play,
.feature-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.92);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: all 0.22s ease;
}

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

.card-body {
    padding: 16px;
}

.card-meta,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.card-meta {
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-meta span,
.card-tags span {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.card-meta span:first-child {
    padding: 5px 10px;
    color: var(--red);
    background: #fef2f2;
}

.card-meta span:last-child {
    color: #9ca3af;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

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

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

.card-tags span {
    padding: 5px 9px;
    color: #4b5563;
    background: #f3f4f6;
}

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

.movie-card-wide .card-cover {
    aspect-ratio: 16 / 9;
}

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

.feature-card a {
    position: relative;
    display: block;
    min-height: 470px;
    overflow: hidden;
    border-radius: 32px;
    background: #111827;
    box-shadow: var(--shadow);
}

.feature-card img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.18), transparent);
}

.feature-info {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: #ffffff;
}

.feature-info em,
.feature-info small {
    display: block;
    font-style: normal;
}

.feature-info em {
    color: #fecaca;
    font-size: 14px;
    font-weight: 800;
}

.feature-info strong {
    display: block;
    margin: 8px 0;
    font-size: 24px;
    line-height: 1.25;
}

.feature-info small {
    color: #e5e7eb;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 68px max(16px, calc((100vw - 1180px) / 2));
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--rose));
}

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

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

.stats-band span {
    color: #ffe4e6;
}

.ranking-list {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

.rank-item {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.rank-link {
    display: grid;
    grid-template-columns: 56px 78px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px;
}

.rank-number {
    color: var(--red);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.rank-link img {
    width: 78px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-info strong,
.rank-info em {
    display: block;
}

.rank-info strong {
    margin-bottom: 8px;
    font-size: 17px;
}

.rank-info em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 26px;
    background: #111827;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.category-tile span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 65%);
}

.category-tile strong,
.category-tile em {
    position: absolute;
    left: 18px;
    right: 18px;
    color: #ffffff;
}

.category-tile strong {
    bottom: 48px;
    font-size: 22px;
}

.category-tile em {
    bottom: 20px;
    color: #e5e7eb;
    font-size: 13px;
    font-style: normal;
}

.section-more {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 0;
    text-align: center;
}

.section-more a {
    padding: 12px 24px;
    color: #111827;
    background: #f3f4f6;
}

.page-hero {
    padding: 80px 0 70px;
    color: #111827;
    background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.category-hero {
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

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

.overview-card {
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.overview-link {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 230px;
}

.overview-covers {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background: #111827;
}

.overview-covers img {
    position: absolute;
    width: 120px;
    height: 160px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.overview-covers img:nth-child(1) {
    left: 22px;
    top: 32px;
    transform: rotate(-8deg);
}

.overview-covers img:nth-child(2) {
    left: 72px;
    top: 48px;
    z-index: 2;
}

.overview-covers img:nth-child(3) {
    left: 122px;
    top: 26px;
    transform: rotate(8deg);
}

.overview-copy {
    padding: 30px;
}

.overview-copy span {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.overview-copy h2 {
    margin: 10px 0;
    font-size: 28px;
}

.overview-copy p {
    margin: 0;
    color: var(--muted);
}

.filter-bar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 14px;
}

.search-filter {
    grid-template-columns: 1fr 170px 170px 150px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 13px 14px;
    color: #374151;
    background: #ffffff;
}

.empty-state {
    width: min(1180px, calc(100% - 32px));
    margin: 26px auto 0;
    padding: 24px;
    border-radius: 22px;
    color: #7f1d1d;
    background: #fef2f2;
    text-align: center;
    font-weight: 800;
}

.rankings-wrap {
    display: grid;
    gap: 72px;
}

.ranking-block {
    width: 100%;
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #6b7280;
    font-size: 14px;
}

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

.breadcrumb em {
    color: #111827;
    font-style: normal;
}

.detail-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: 34px;
    align-items: start;
}

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

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

.movie-video {
    width: 100%;
    height: 100%;
    background: #020617;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.16), rgba(127, 29, 29, 0.38));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    font-size: 30px;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff1f2, #ffedd5);
    box-shadow: var(--shadow);
}

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

.detail-info {
    position: sticky;
    top: 104px;
    border-radius: 32px;
    padding: 34px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-badges,
.detail-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.detail-badges span,
.detail-tags span {
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
}

.detail-badges span:nth-child(1) {
    color: var(--red);
    background: #fef2f2;
}

.detail-badges span:nth-child(2) {
    color: #2563eb;
    background: #eff6ff;
}

.detail-badges span:nth-child(3) {
    color: #7c3aed;
    background: #f5f3ff;
}

.detail-info h1 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.detail-line {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 18px;
    font-weight: 700;
}

.detail-field {
    margin-bottom: 22px;
    color: #374151;
}

.summary-box {
    margin: 24px 0;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.summary-box h2,
.detail-tags h2,
.review-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.summary-box p,
.review-card p {
    margin: 0;
    color: #4b5563;
}

.detail-tags {
    margin: 0 0 26px;
}

.detail-tags span {
    color: #374151;
    background: #f3f4f6;
}

.detail-section,
.related-section {
    padding-top: 0;
}

.review-card {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff1f2, #fff7ed);
    box-shadow: var(--shadow);
}

.review-avatar {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

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

.site-footer {
    border-top: 1px solid #fee2e2;
    background: linear-gradient(to bottom, #fff7f7, #ffffff);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

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

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

.footer-grid a {
    color: #4b5563;
}

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

.footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #fee2e2;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #6b7280;
    font-size: 14px;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-22px);
    }
}

@keyframes pulseShape {
    0%, 100% {
        transform: scale(1);
        opacity: 0.22;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.34;
    }
}

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

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

    .hero-showcase {
        min-height: 520px;
    }

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

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

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

    .detail-info {
        position: static;
    }
}

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

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

    .header-inner {
        height: 68px;
    }

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

    .page-main {
        padding-top: 68px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .movie-grid,
    .feature-grid,
    .overview-grid,
    .related-grid,
    .ranking-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-link {
        grid-template-columns: 1fr;
    }

    .search-filter,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .stats-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero-inner,
    .movie-grid,
    .feature-grid,
    .mini-grid,
    .category-grid,
    .overview-grid,
    .related-grid,
    .ranking-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase,
    .hero-slides {
        min-height: 500px;
    }

    .hero-poster {
        min-height: 280px;
    }

    .rank-link {
        grid-template-columns: 44px 68px 1fr;
    }

    .rank-link img {
        width: 68px;
        height: 86px;
    }

    .detail-info,
    .review-card {
        padding: 22px;
        border-radius: 24px;
    }

    .review-card {
        grid-template-columns: 1fr;
    }

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