:root {
    --primary-50: #f0f9f4;
    --primary-100: #dcf0e3;
    --primary-200: #bce0ca;
    --primary-400: #5dab7d;
    --primary-500: #3a8f5f;
    --primary-600: #2a724c;
    --primary-700: #225b3e;
    --primary-800: #1d4933;
    --secondary-50: #fdf8f3;
    --secondary-100: #f9ede0;
    --secondary-600: #c96c3a;
    --secondary-700: #a85632;
    --accent-50: #f5f8fa;
    --accent-100: #e8eef3;
    --accent-600: #6083b5;
    --accent-800: #475d88;
    --night-50: #f4f6f8;
    --night-100: #e3e8ed;
    --night-300: #a5b5c5;
    --night-400: #7991a8;
    --night-700: #3b4c61;
    --night-900: #2e3946;
    --text: #111827;
    --muted: #4b5563;
    --line: #e5e7eb;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
}

* {
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--text);
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--primary-50), #ffffff 620px);
    min-width: 320px;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 0.95);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    backdrop-filter: blur(8px);
}

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

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

.brand-mark,
.footer-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    color: #ffffff;
    box-shadow: 0 8px 22px rgb(42 114 76 / 0.22);
}

.brand-text {
    font-size: 21px;
    background: linear-gradient(90deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
}

.header-search input,
.mobile-search input,
.quick-search input,
.filter-panel input,
.filter-panel select,
.search-panel input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 16px;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgb(188 224 202 / 0.75);
}

.header-search button,
.mobile-search button,
.quick-search button,
.search-panel button,
.button-primary {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--primary-600);
    color: #ffffff;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover,
.search-panel button:hover,
.button-primary:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
}

.button-ghost {
    border: 1px solid rgb(255 255 255 / 0.55);
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 700;
    background: rgb(255 255 255 / 0.16);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.button-ghost:hover {
    background: rgb(255 255 255 / 0.28);
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 28px;
    line-height: 1;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: #ffffff;
}

.mobile-nav.open {
    display: block;
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 0;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.44), rgb(0 0 0 / 0.12));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: clamp(64px, 9vw, 112px);
    color: #ffffff;
}

.hero-pill {
    display: inline-flex;
    margin-bottom: 16px;
    border-radius: 999px;
    padding: 7px 13px;
    background: var(--primary-600);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.hero-content h1 {
    max-width: 850px;
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 820px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
    border-radius: 999px;
    padding: 5px 10px;
    background: rgb(255 255 255 / 0.20);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.20);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgb(255 255 255 / 0.32);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.52);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: center;
    margin-top: -46px;
    position: relative;
    z-index: 10;
    border-radius: 26px;
    padding: 28px;
    background: rgb(255 255 255 / 0.92);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.quick-copy span,
.page-hero span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-copy h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
}

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

.quick-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.category-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chips a {
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.category-chips a:hover {
    background: var(--primary-200);
}

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

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

.section-heading h2,
.ranking-head h2,
.side-card h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    max-width: 720px;
    color: var(--muted);
}

.section-more,
.ranking-head a {
    color: var(--primary-600);
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--night-100);
}

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

.movie-card:hover .movie-cover img,
.ranking-card:hover img,
.related-row:hover img,
.wide-item:hover img,
.category-card:hover img {
    transform: scale(1.08);
}

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 0.58), transparent 62%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
    opacity: 1;
}

.card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 8px;
    padding: 5px 8px;
    background: var(--primary-600);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.rank-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgb(0 0 0 / 0.75);
    color: #ffffff;
    font-weight: 800;
}

.movie-card-body {
    padding: 16px;
}

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

.movie-card h3 a:hover,
.ranking-info h2 a:hover {
    color: var(--primary-600);
}

.movie-meta {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
}

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

.soft-band {
    background: linear-gradient(90deg, var(--primary-50), var(--accent-50));
}

.wide-scroll-band {
    background: var(--night-50);
}

.two-column-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.ranking-panel,
.side-card,
.detail-content-card,
.player-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.ranking-panel {
    position: sticky;
    top: 86px;
    padding: 22px;
}

.ranking-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ranking-head h2 {
    font-size: 24px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 30px 68px 1fr;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 8px;
    transition: background 0.2s ease;
}

.ranking-row:hover {
    background: #f9fafb;
}

.ranking-row img {
    width: 68px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.ranking-number {
    font-size: 18px;
    font-weight: 900;
    color: var(--secondary-600);
}

.ranking-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.ranking-row small {
    grid-column: 3;
    margin-top: -4px;
    color: #6b7280;
    font-size: 12px;
}

.wide-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
}

.wide-item {
    flex: 0 0 268px;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.wide-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.wide-item span,
.wide-item small {
    display: block;
    padding: 0 14px;
}

.wide-item span {
    margin-top: 12px;
    font-weight: 800;
}

.wide-item small {
    margin: 4px 0 14px;
    color: #6b7280;
}

.page-hero {
    background: linear-gradient(90deg, var(--primary-600), var(--primary-800));
    color: #ffffff;
    padding: 64px 0;
}

.accent-hero {
    background: linear-gradient(90deg, var(--accent-600), var(--accent-800));
}

.page-hero span {
    color: var(--primary-100);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: rgb(255 255 255 / 0.86);
    font-size: 18px;
    line-height: 1.75;
}

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

.category-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px;
    color: #ffffff;
    background: var(--night-900);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-card img,
.category-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-card img {
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-overlay {
    background: linear-gradient(0deg, rgb(0 0 0 / 0.80), rgb(0 0 0 / 0.10));
}

.category-card strong,
.category-card p,
.category-card small {
    position: relative;
    z-index: 1;
}

.category-card strong {
    font-size: 23px;
}

.category-card p {
    margin: 8px 0;
    color: rgb(255 255 255 / 0.84);
    font-size: 14px;
}

.category-card small {
    font-weight: 800;
    color: var(--primary-100);
}

.filter-panel,
.search-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 160px 140px auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    border-radius: 18px;
    padding: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.filter-panel select {
    border-radius: 999px;
    padding-right: 34px;
}

.filter-count {
    color: var(--primary-700);
    font-weight: 800;
    white-space: nowrap;
}

.ranking-page-list {
    display: grid;
    gap: 18px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.ranking-cover {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    background: var(--night-100);
}

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

.ranking-cover span {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--secondary-600);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 8px 18px rgb(0 0 0 / 0.18);
}

.ranking-info {
    padding: 20px 22px 20px 0;
}

.ranking-info h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ranking-info p {
    color: var(--muted);
    line-height: 1.7;
}

.ranking-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ranking-actions a {
    color: var(--primary-600);
    font-weight: 800;
}

.ranking-actions small {
    color: var(--secondary-700);
    font-weight: 800;
}

.archive-list {
    columns: 2;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-list li {
    break-inside: avoid;
    margin: 0 0 10px;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.archive-list a {
    display: block;
    font-weight: 800;
}

.archive-list a:hover {
    color: var(--primary-600);
}

.archive-list span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.search-panel {
    grid-template-columns: minmax(260px, 1fr) auto;
}

.search-tips {
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 700;
}

.detail-shell {
    background: #f9fafb;
    padding-top: 32px;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 14px;
}

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

.player-card {
    overflow: hidden;
    background: #000000;
}

.player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: #000000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.play-circle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: var(--primary-600);
    color: #ffffff;
    font-size: 34px;
    box-shadow: 0 20px 38px rgb(0 0 0 / 0.28);
    transform: translateX(2px);
}

.player-message {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    padding: 10px 14px;
    background: rgb(0 0 0 / 0.74);
    color: #ffffff;
    display: none;
}

.player-message.show {
    display: block;
}

.detail-content-card {
    margin-top: 22px;
    padding: 28px;
}

.detail-content-card h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span,
.detail-meta a {
    border-radius: 999px;
    padding: 6px 11px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 800;
}

.detail-one-line {
    border-left: 4px solid var(--primary-600);
    margin: 0 0 24px;
    padding: 12px 0 12px 16px;
    color: #374151;
    background: var(--primary-50);
    line-height: 1.8;
}

.detail-content-card h2 {
    margin: 24px 0 12px;
    font-size: 22px;
}

.detail-content-card p {
    color: #374151;
    line-height: 1.9;
}

.review-box {
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(90deg, var(--accent-50), var(--primary-50));
}

.detail-tags {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.detail-side {
    position: sticky;
    top: 86px;
}

.side-card {
    padding: 22px;
}

.side-card h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

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

.related-row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: center;
    border-radius: 12px;
    padding: 8px;
    transition: background 0.2s ease;
}

.related-row:hover {
    background: #f9fafb;
}

.related-row img {
    grid-row: span 2;
    width: 112px;
    height: 66px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.related-row span {
    align-self: end;
    font-weight: 800;
    line-height: 1.35;
}

.related-row small {
    align-self: start;
    color: #6b7280;
}

.related-section {
    padding-top: 46px;
}

.site-footer {
    background: var(--night-900);
    color: #ffffff;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0;
}

.footer-brand p,
.site-footer a,
.site-footer li,
.footer-bottom {
    color: var(--night-300);
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 9px;
}

.site-footer a:hover {
    color: var(--primary-400);
}

.footer-logo {
    margin-bottom: 14px;
    font-size: 24px;
}

.footer-logo span {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--night-700);
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
}

.hide-card {
    display: none !important;
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 14px;
    }

    .header-search {
        min-width: 220px;
    }

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

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

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero-carousel {
        height: 76vh;
        min-height: 520px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-panel {
        grid-template-columns: 1fr;
        margin-top: -28px;
        padding: 22px;
    }

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

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

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

    .ranking-cover {
        aspect-ratio: 16 / 9;
    }

    .ranking-info {
        padding: 0 18px 18px;
    }

    .archive-list {
        columns: 1;
    }

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

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

    .brand-text {
        font-size: 18px;
    }

    .hero-content p {
        -webkit-line-clamp: 4;
    }

    .hero-dots {
        bottom: 18px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        display: inline-block;
        margin-top: 12px;
    }

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

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

    .detail-content-card,
    .side-card {
        padding: 20px;
    }

    .play-circle {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}
