:root {
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --bluestone-50: #f8fafc;
    --bluestone-100: #f1f5f9;
    --bluestone-200: #e2e8f0;
    --bluestone-600: #475569;
    --bluestone-700: #334155;
    --bluestone-800: #1e293b;
    --bluestone-900: #0f172a;
    --accent-50: #fef3c7;
    --accent-100: #fde68a;
    --accent-400: #f59e0b;
    --accent-500: #d97706;
    --accent-600: #b45309;
    --accent-700: #92400e;
    --earth-50: #fdf8f6;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bluestone-900);
    background: var(--stone-50);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.08);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bluestone-900);
    font-weight: 800;
    font-size: 21px;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
    font-size: 13px;
}

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

.nav-link,
.mobile-link {
    color: var(--bluestone-700);
    font-weight: 650;
    transition: color 0.2s ease;
}

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

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

.header-search input,
.mobile-search input,
.filter-card input {
    border: 1px solid var(--stone-200);
    outline: none;
    background: var(--stone-100);
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--bluestone-900);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 240px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-card input:focus,
.filter-card select:focus {
    background: #fff;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16);
}

.header-search button,
.mobile-search button,
.filter-card select,
.primary-btn,
.ghost-btn,
.section-more {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.header-search button,
.mobile-search button,
.primary-btn {
    color: #fff;
    background: var(--accent-500);
    font-weight: 750;
    padding: 10px 18px;
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.22);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover {
    background: var(--accent-600);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(180, 83, 9, 0.28);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--bluestone-800);
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--stone-200);
    padding: 16px;
    background: #fff;
}

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

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

.mobile-search input {
    width: 100%;
}

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

.quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.quick-link {
    display: inline-flex;
    background: var(--accent-50);
    color: var(--accent-700);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--bluestone-900);
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.10));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: max(24px, calc((100vw - 1180px) / 2));
    width: min(650px, calc(100% - 48px));
    transform: translateY(-50%);
    color: #fff;
}

.hero-label,
.section-kicker,
.page-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent-400);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    max-width: 620px;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.10);
    padding: 6px 12px;
    backdrop-filter: blur(8px);
    font-size: 14px;
}

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

.hero-tags {
    margin-bottom: 28px;
}

.hero-tags span,
.genre-line span,
.tag-cloud span,
.tag-row span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 650;
}

.hero-actions,
.compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 750;
    padding: 10px 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
    transition: background 0.2s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

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

.home-search-band {
    width: min(1180px, calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-xl);
    padding: 28px;
}

.home-search-band h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.home-search-band p {
    margin: 0;
    color: var(--stone-600);
}

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

.home-search-band input {
    min-width: 0;
    border: 1px solid var(--stone-200);
    border-radius: 999px;
    padding: 13px 18px;
    outline: none;
}

.home-search-band button {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--accent-500);
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
}

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

.home-wrap {
    padding-top: 80px;
}

.content-section {
    margin-bottom: 76px;
}

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

.section-head h2 {
    margin: 0;
    color: var(--bluestone-900);
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--stone-600);
}

.section-more {
    display: inline-flex;
    white-space: nowrap;
    color: var(--accent-700);
    background: var(--accent-50);
    padding: 10px 16px;
    font-weight: 750;
}

.highlight-panel {
    border-radius: 28px;
    background: linear-gradient(135deg, var(--accent-50), var(--earth-50));
    padding: 36px;
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.card-poster {
    position: relative;
    height: 238px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bluestone-200), var(--stone-100));
}

.card-large .card-poster {
    height: 300px;
}

.card-small .card-poster {
    height: 170px;
}

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

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

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

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

.rating-badge,
.duration-badge {
    position: absolute;
    z-index: 1;
    right: 10px;
    border-radius: 9px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    padding: 4px 8px;
    font-size: 12px;
    backdrop-filter: blur(7px);
}

.rating-badge {
    top: 10px;
    color: var(--accent-400);
}

.duration-badge {
    bottom: 10px;
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(217, 119, 6, 0.92);
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--bluestone-900);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--accent-600);
}

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

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--stone-500);
    font-size: 12px;
}

.card-meta span:first-child {
    border-radius: 7px;
    background: var(--stone-100);
    padding: 3px 7px;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span,
.genre-line span,
.tag-cloud span {
    color: var(--accent-700);
    background: var(--accent-50);
}

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

.category-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    background: var(--bluestone-900);
}

.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-card:hover .category-cover img {
    opacity: 0.86;
    transform: scale(1.06);
}

.category-cover span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: #fff;
    font-size: 20px;
    font-weight: 850;
}

.category-body {
    padding: 18px;
}

.category-body h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.category-body p {
    margin: 0 0 14px;
    color: var(--stone-600);
    font-size: 14px;
}

.category-samples {
    display: grid;
    gap: 6px;
}

.category-samples a {
    overflow: hidden;
    color: var(--bluestone-700);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.category-samples a:hover {
    color: var(--accent-600);
}

.latest-list {
    display: grid;
    gap: 16px;
}

.latest-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.latest-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.latest-content {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
}

.latest-content strong {
    font-size: 21px;
}

.latest-content em {
    color: var(--stone-600);
    font-style: normal;
}

.latest-content small {
    color: var(--stone-500);
}

.page-hero {
    color: #fff;
    background: linear-gradient(135deg, var(--bluestone-700), var(--bluestone-900));
}

.page-hero-inner {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 720px;
    margin: 0 0 26px;
    color: var(--bluestone-200);
    font-size: 18px;
}

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

.main-column {
    min-width: 0;
}

.side-column {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 92px;
}

.side-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 20px;
}

.side-card h2 {
    margin: 0 0 16px;
    font-size: 21px;
}

.side-link {
    display: block;
    margin-top: 10px;
    border-radius: 12px;
    background: var(--stone-100);
    color: var(--bluestone-700);
    padding: 12px;
    font-weight: 700;
}

.side-link:hover {
    color: var(--accent-700);
    background: var(--accent-50);
}

.filter-card {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 18px;
    margin-bottom: 24px;
}

.filter-card select {
    border: 1px solid var(--stone-200);
    outline: none;
    color: var(--bluestone-800);
    background: #fff;
    padding: 10px 14px;
}

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

.compact-link {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
}

.compact-link img {
    width: 96px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--stone-100);
}

.compact-link strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bluestone-900);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.35;
}

.compact-link em {
    display: block;
    margin-top: 4px;
    color: var(--stone-500);
    font-size: 12px;
    font-style: normal;
}

.compact-link:hover strong {
    color: var(--accent-600);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--stone-600);
    font-size: 14px;
}

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

.detail-wrap {
    padding-top: 34px;
}

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

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

.watch-player {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
}

.watch-player video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.watch-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(217, 119, 6, 0.22), rgba(15, 23, 42, 0.72));
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.watch-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-500);
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.38);
}

.watch-message {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: none;
    width: min(90%, 520px);
    transform: translateX(-50%);
    border-radius: 12px;
    color: #fff;
    background: rgba(15, 23, 42, 0.86);
    padding: 12px 16px;
    text-align: center;
}

.watch-message.is-visible {
    display: block;
}

.detail-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
}

.detail-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    color: var(--stone-700);
    font-size: 16px;
}

.detail-card .detail-meta span {
    color: var(--stone-700);
    background: var(--stone-100);
}

.genre-line,
.tag-cloud {
    margin: 0 0 22px;
}

.poster-card img {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--stone-100);
    margin-bottom: 16px;
}

.full-btn {
    width: 100%;
    justify-content: center;
}

.site-footer {
    color: var(--stone-200);
    background: var(--bluestone-900);
    margin-top: 30px;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 52px 0;
}

.footer-logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    max-width: 330px;
    color: var(--stone-400);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
}

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

.site-footer a {
    color: var(--stone-400);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid var(--bluestone-800);
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    color: var(--stone-400);
    font-size: 14px;
}

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

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

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

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

    .side-column,
    .detail-side {
        position: static;
    }
}

@media (max-width: 780px) {
    .hero-carousel {
        min-height: 620px;
        height: 82vh;
    }

    .hero-content {
        top: 54%;
        left: 20px;
        width: calc(100% - 40px);
    }

    .hero-nav {
        display: none;
    }

    .home-search-band {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .home-search-band form,
    .filter-card {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .section-more {
        margin-top: 14px;
    }

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

    .latest-item {
        grid-template-columns: 1fr;
    }

    .latest-item img {
        height: 220px;
    }

    .highlight-panel {
        padding: 22px;
    }

    .detail-card {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .header-inner,
    .page-wrap,
    .home-search-band,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .site-logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

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

    .card-poster,
    .card-large .card-poster {
        height: 260px;
    }

    .compact-link {
        grid-template-columns: 86px 1fr;
    }

    .compact-link img {
        width: 86px;
    }
}
