:root {
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --pink: #ec4899;
    --pink-dark: #db2777;
    --amber: #f59e0b;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --round: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 46%, #fdf2f8 100%);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-logo span:last-child {
    font-size: clamp(20px, 2.2vw, 28px);
    background: linear-gradient(90deg, var(--sky-dark), var(--pink-dark));
    -webkit-background-clip: text;
    color: transparent;
}

.logo-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--sky);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(236, 72, 153, 0.15));
}

.logo-mark svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--sky-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search,
.mobile-search,
.page-filter {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input,
.mobile-search input,
.page-filter input {
    width: 230px;
    min-height: 42px;
    padding: 0 48px 0 18px;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.page-filter input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.header-search button,
.page-filter button {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    background: transparent;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    color: #374151;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

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

.mobile-menu nav {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.mobile-search input {
    width: 100%;
    padding-right: 86px;
}

.mobile-search button {
    position: absolute;
    right: 5px;
    min-height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--sky), var(--pink));
    cursor: pointer;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #38bdf8 0%, #f9a8d4 52%, #fde68a 100%);
}

.hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.35), transparent 32%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(50px);
    opacity: 0.35;
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-glow-a {
    top: 52px;
    left: 7%;
    width: 170px;
    height: 170px;
}

.hero-glow-b {
    top: 190px;
    right: 11%;
    width: 230px;
    height: 230px;
    animation-delay: 1s;
}

.hero-glow-c {
    bottom: 52px;
    left: 38%;
    width: 260px;
    height: 260px;
    animation-delay: 1.8s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.28;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.48;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    align-items: center;
    gap: 58px;
    padding: 56px 68px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-copy {
    color: #ffffff;
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.hero-pill {
    display: inline-flex;
    max-width: 100%;
    padding: 9px 16px;
    margin-bottom: 20px;
    color: var(--sky-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    backdrop-filter: blur(10px);
}

.hero h1,
.hero h2,
.hero-title-small {
    margin: 0;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 900;
}

.hero h2 {
    margin-top: 10px;
    font-size: clamp(28px, 4.6vw, 56px);
    line-height: 1.06;
    font-weight: 900;
}

.hero-title-small {
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 850;
}

.hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.93);
    font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions,
.detail-actions,
.center-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

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

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

.btn-light {
    color: var(--sky-dark);
    background: #ffffff;
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.18);
}

.btn-soft {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.btn-gradient {
    color: #ffffff;
    background: linear-gradient(90deg, var(--sky), var(--pink));
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.22);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 34px 70px rgba(15, 23, 42, 0.28);
    transform: rotate(1.4deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: transparent;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #111827;
    font-size: 34px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

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

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

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

.section {
    padding: 72px 0;
}

.white-section {
    background: #ffffff;
}

.tint-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
}

.soft-section {
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 50%, #f0f9ff 100%);
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 780px;
    margin-bottom: 32px;
}

.section-heading span {
    color: var(--sky-dark);
    font-weight: 850;
}

.section-heading h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

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

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

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

.card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.card-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: transparent;
}

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

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

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

.card-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.05));
    transition: opacity 0.25s ease;
}

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

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.88);
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 18px;
}

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

.card-link:hover h3 {
    color: var(--sky-dark);
}

.card-body p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.card-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 44px 116px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(90deg, #ffffff, #f8fafc);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.ranking-no,
.rank-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.25);
}

.ranking-item img {
    width: 116px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-info {
    min-width: 0;
}

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

.ranking-info strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 17px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info em {
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.center-action {
    justify-content: center;
}

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

.category-card,
.overview-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before,
.overview-card::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(244, 114, 182, 0.18));
    transition: opacity 0.2s ease;
}

.category-card:hover,
.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.category-card:hover::before,
.overview-card:hover::before {
    opacity: 1;
}

.category-card span,
.category-card strong,
.category-card p,
.overview-card a,
.overview-links {
    position: relative;
    z-index: 1;
}

.category-card span,
.overview-badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--sky-dark);
    font-size: 13px;
    font-weight: 850;
}

.category-card strong,
.overview-card h2 {
    display: block;
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 20px;
}

.category-card p,
.overview-card p,
.overview-links {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

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

.overview-card {
    min-height: 220px;
}

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

.overview-links a {
    color: var(--sky-dark);
    font-weight: 700;
}

.cta-section {
    padding: 78px 0;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, var(--sky-dark), var(--pink-dark));
}

.cta-section h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
}

.cta-section p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.page-hero,
.detail-hero {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--pink));
}

.page-hero {
    padding: 54px 0 62px;
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.breadcrumb a:hover {
    color: #ffffff;
}

.category-hero,
.search-hero,
.ranking-hero {
    background: linear-gradient(135deg, #0ea5e9, #ec4899 65%, #f59e0b);
}

.page-filter {
    max-width: 420px;
    margin-top: 24px;
}

.page-filter input {
    width: 100%;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 16px;
    padding: 18px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 750;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
}

.empty-result {
    display: none;
    padding: 28px;
    color: #64748b;
    text-align: center;
    border-radius: 18px;
    background: #f8fafc;
}

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

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

.detail-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.28);
}

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

.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
}

.detail-copy p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.detail-meta,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 750;
}

.detail-meta span {
    color: var(--sky-dark);
    background: rgba(255, 255, 255, 0.9);
}

.player-section {
    padding: 54px 0;
    background: #0f172a;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
    aspect-ratio: 16 / 9;
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    border: 0;
    text-align: center;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.75), rgba(15, 23, 42, 0.28));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-layer strong {
    max-width: min(760px, 88%);
    font-size: clamp(22px, 4vw, 44px);
    line-height: 1.2;
}

.play-icon {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    padding-left: 5px;
    color: var(--sky-dark);
    font-size: 34px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.detail-article,
.detail-side {
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 26px;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.9;
}

.detail-tags {
    margin-top: 24px;
}

.detail-tags span {
    color: var(--pink-dark);
    background: #fdf2f8;
}

.detail-side dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.detail-side dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.detail-side dd {
    margin: -8px 0 0;
    color: #1f2937;
    font-weight: 750;
}

.rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rank-card a {
    display: grid;
    grid-template-columns: 44px 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 132px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.rank-card img {
    width: 112px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-copy {
    min-width: 0;
}

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

.rank-copy strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.rank-copy small {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: #64748b;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 42px;
    padding: 48px 0;
}

.footer-logo {
    color: #ffffff;
    font-size: 22px;
}

.site-footer p {
    max-width: 440px;
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 18px;
}

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

.site-footer a:hover {
    color: #7dd3fc;
}

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

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 52px 58px 76px;
        text-align: center;
    }

    .hero-copy {
        order: 2;
    }

    .hero-poster {
        width: min(280px, 64vw);
        margin: 0 auto;
    }

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

    .filter-panel,
    .detail-layout,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(340px, 78vw);
    }

    .rank-list,
    .ranking-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

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

    .header-inner {
        min-height: 66px;
    }

    .site-logo span:last-child {
        font-size: 20px;
    }

    .hero {
        height: 640px;
    }

    .hero-slide {
        padding: 38px 28px 76px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .hero-prev {
        left: 8px;
    }

    .hero-next {
        right: 8px;
    }

    .section {
        padding: 52px 0;
    }

    .movie-grid,
    .featured-grid,
    .latest-grid,
    .related-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item,
    .rank-card a {
        grid-template-columns: 36px 90px minmax(0, 1fr);
    }

    .ranking-item img,
    .rank-card img {
        width: 90px;
        height: 70px;
    }

    .filter-panel {
        gap: 12px;
        padding: 14px;
    }

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

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

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

    .player-section {
        padding: 32px 0;
    }

    .movie-player {
        border-radius: 16px;
    }
}
