* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #2f2933;
    background: linear-gradient(180deg, #fff5f8 0%, #fff7ed 42%, #fffaf4 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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: 80;
    background: rgba(255, 248, 249, 0.9);
    box-shadow: 0 12px 32px rgba(244, 114, 182, 0.12);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb7185, #fb923c);
    box-shadow: 0 10px 24px rgba(251, 113, 133, 0.35);
}

.brand-name {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.03em;
    background: linear-gradient(90deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: #5d5260;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #ec4899;
}

.header-search {
    display: flex;
    width: min(280px, 26vw);
    overflow: hidden;
    border: 1px solid rgba(244, 114, 182, 0.22);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #453944;
    background: transparent;
}

.header-search input {
    padding: 10px 4px 10px 16px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-button,
.primary-button,
.ghost-button {
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-button,
.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #ec4899, #fb923c);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.25);
}

.header-search button {
    margin: 5px;
    padding: 0 15px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
}

.primary-button:hover,
.ghost-button:hover,
.hero-search button:hover,
.filter-button:hover,
.header-search button:hover,
.mobile-search button:hover {
    transform: translateY(-2px);
}

.ghost-button {
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.22);
    background: rgba(255, 255, 255, 0.8);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(244, 114, 182, 0.14);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: #ec4899;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
}

.mobile-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

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

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

.mobile-search input {
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
}

.mobile-search button {
    padding: 0 16px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 15% 15%, rgba(244, 114, 182, 0.28), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.26), transparent 30%),
        linear-gradient(135deg, #f472b6 0%, #fb923c 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(3px);
}

.hero::before {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -90px;
}

.hero::after {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -140px;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.hero-slider {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 34px;
    background: rgba(26, 20, 30, 0.18);
    box-shadow: 0 30px 70px rgba(124, 45, 18, 0.22);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.98fr 1.02fr;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-image-wrap {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.hero-image-wrap::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(41, 20, 34, 0.18), rgba(41, 20, 34, 0.86));
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 42px;
    color: #ffffff;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: 0 6px 28px rgba(73, 30, 53, 0.25);
}

.hero-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.12;
}

.hero-copy p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.hero-actions .ghost-button {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
}

.hero-search {
    display: flex;
    width: min(100%, 560px);
    margin-top: 24px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(124, 45, 18, 0.18);
}

.hero-search input {
    padding: 0 16px;
    min-height: 46px;
}

.hero-search button {
    padding: 0 22px;
}

.hero-side {
    display: grid;
    gap: 18px;
}

.side-panel,
.category-card,
.detail-card,
.movie-card,
.search-panel,
.ranking-panel,
.watch-section {
    border: 1px solid rgba(244, 114, 182, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 45px rgba(244, 114, 182, 0.13);
    backdrop-filter: blur(14px);
}

.side-panel {
    padding: 22px;
}

.side-panel h2 {
    margin: 0 0 16px;
    color: #3d303c;
    font-size: 24px;
}

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

.hero-mini-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 247, 237, 0.86);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
}

.hero-mini-card img {
    width: 76px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}

.hero-mini-card h3 {
    margin: 0 0 6px;
    color: #3d303c;
    font-size: 16px;
}

.hero-mini-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #7c6a76;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 44px;
    bottom: 34px;
    display: flex;
    gap: 10px;
}

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

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

.section {
    padding: 60px 0;
}

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

.section-title {
    margin: 0;
    color: #342a35;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.18;
}

.section-desc {
    max-width: 700px;
    margin: 10px 0 0;
    color: #756474;
    line-height: 1.8;
}

.section-kicker,
.detail-kicker {
    color: #ec4899;
    background: #fff0f6;
}

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

.movie-card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(236, 72, 153, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

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

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(31, 18, 28, 0.7), transparent);
}

.card-score,
.card-year {
    position: absolute;
    z-index: 2;
    top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.card-score {
    right: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #fb7185, #f97316);
}

.card-year {
    left: 12px;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.88);
}

.card-body {
    padding: 16px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #ec4899;
    font-size: 13px;
    font-weight: 800;
}

.card-meta span {
    color: #9a8794;
    font-weight: 700;
}

.card-body h2 {
    margin: 0 0 8px;
    color: #332732;
    font-size: 18px;
    line-height: 1.35;
}

.card-body h2 a:hover,
.rank-info h2 a:hover,
.detail-related h2 a:hover {
    color: #ec4899;
}

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

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-row span,
.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: #be185d;
    background: #fdf2f8;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card::after {
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    content: "";
    border-radius: 999px;
    background: rgba(251, 146, 60, 0.14);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(244, 114, 182, 0.18);
}

.category-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #3b303a;
    font-size: 24px;
}

.category-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: #756474;
    line-height: 1.75;
}

.category-samples {
    position: relative;
    z-index: 1;
    display: flex;
    margin-bottom: 18px;
}

.category-samples img {
    width: 54px;
    height: 72px;
    margin-right: -12px;
    border: 3px solid #ffffff;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(124, 45, 18, 0.14);
}

.category-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-panel {
    padding: 22px;
    margin-bottom: 26px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 150px auto;
    gap: 12px;
    align-items: center;
}

.filter-input,
.filter-select {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 999px;
    color: #453944;
    background: #ffffff;
    outline: 0;
}

.filter-button {
    min-height: 46px;
    padding: 0 22px;
}

.filter-empty {
    display: none;
    padding: 30px;
    color: #8d7b87;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
}

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

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

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(244, 114, 182, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 36px rgba(244, 114, 182, 0.11);
}

.rank-number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background: linear-gradient(135deg, #ec4899, #fb923c);
    font-weight: 900;
}

.rank-poster img {
    width: 92px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-info h2 {
    margin: 0 0 8px;
    color: #342a35;
    font-size: 20px;
}

.rank-info p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: #756474;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #9a8794;
    font-size: 13px;
    font-weight: 700;
}

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

.ranking-panel h2 {
    margin: 0 0 14px;
    color: #342a35;
}

.rank-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rank-chip-list a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #be185d;
    background: #fdf2f8;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: #8d7b87;
    font-size: 14px;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 34px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 24px 54px rgba(124, 45, 18, 0.18);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.detail-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.detail-card h1 {
    margin: 0 0 12px;
    color: #2f2530;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.detail-card .lead {
    margin: 0 0 22px;
    color: #695767;
    font-size: 18px;
    line-height: 1.9;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #7c2d12;
    background: #ffedd5;
    font-weight: 800;
}

.watch-section {
    overflow: hidden;
    padding: 18px;
    margin-bottom: 34px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #120d12;
    aspect-ratio: 16 / 9;
}

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

.play-mask {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(18, 13, 18, 0.18), rgba(18, 13, 18, 0.62));
    transition: opacity 0.2s ease;
}

.play-mask[hidden] {
    display: none;
}

.play-circle {
    display: grid;
    width: clamp(72px, 9vw, 108px);
    height: clamp(72px, 9vw, 108px);
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #fb923c);
    box-shadow: 0 22px 52px rgba(236, 72, 153, 0.38);
    font-size: clamp(26px, 5vw, 44px);
}

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

.article-panel,
.related-panel {
    border: 1px solid rgba(244, 114, 182, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 45px rgba(244, 114, 182, 0.12);
}

.article-panel {
    padding: 30px;
}

.article-panel h2,
.related-panel h2 {
    margin: 0 0 16px;
    color: #342a35;
    font-size: 26px;
}

.article-panel p {
    margin: 0 0 18px;
    color: #5e4f5d;
    font-size: 17px;
    line-height: 1.95;
}

.tags-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.related-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
}

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

.related-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
}

.related-item img {
    width: 70px;
    height: 92px;
    border-radius: 14px;
    object-fit: cover;
}

.related-item h3 {
    margin: 0 0 6px;
    color: #342a35;
    font-size: 15px;
    line-height: 1.35;
}

.related-item p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #8d7b87;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-hero {
    padding: 52px 0 20px;
}

.page-hero-box {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 32px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #ec4899, #fb923c);
    box-shadow: 0 24px 60px rgba(244, 114, 182, 0.22);
}

.page-hero-box h1 {
    max-width: 780px;
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
}

.page-hero-box p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.85;
}

.site-footer {
    margin-top: 60px;
    padding: 48px 0 0;
    color: #6d5c68;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(244, 114, 182, 0.14);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    margin: 0;
    max-width: 460px;
    line-height: 1.8;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #342a35;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a:hover {
    color: #ec4899;
}

.footer-bottom {
    margin-top: 34px;
    padding: 18px 0;
    color: #8d7b87;
    text-align: center;
    border-top: 1px solid rgba(244, 114, 182, 0.12);
}

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

    .hero-layout,
    .ranking-layout,
    .detail-content {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .menu-toggle {
        display: block;
    }

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

    .hero {
        padding-top: 34px;
    }

    .hero-slider {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 320px 1fr;
    }

    .hero-image-wrap img {
        min-height: 320px;
    }

    .hero-image-wrap::after {
        background: linear-gradient(0deg, rgba(41, 20, 34, 0.82), rgba(41, 20, 34, 0.08));
    }

    .hero-copy {
        justify-content: start;
        padding: 30px 24px 72px;
    }

    .hero-dots {
        left: 24px;
        bottom: 24px;
    }

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

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

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

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

    .rank-row {
        grid-template-columns: 44px 76px minmax(0, 1fr);
    }

    .rank-row .ghost-button {
        grid-column: 2 / -1;
    }

    .rank-poster img {
        width: 76px;
        height: 100px;
    }

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

    .detail-poster img {
        min-height: auto;
        max-height: 520px;
    }

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

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

    .brand-name {
        font-size: 19px;
    }

    .hero-slider {
        border-radius: 24px;
    }

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

    .hero-copy h2 {
        font-size: 25px;
    }

    .hero-search {
        display: grid;
        border-radius: 24px;
    }

    .hero-search button {
        min-height: 44px;
    }

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

    .page-hero-box,
    .detail-card,
    .article-panel {
        padding: 26px;
        border-radius: 24px;
    }

    .watch-section {
        padding: 10px;
    }
}
