:root {
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --teal: #14b8a6;
    --blue-soft: #eff6ff;
    --cyan-soft: #ecfeff;
    --text: #1f2937;
    --muted: #64748b;
    --line: rgba(8, 145, 178, 0.16);
    --card: #ffffff;
    --dark: #0f172a;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    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", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(236, 254, 255, 0.96), rgba(239, 246, 255, 0.96), rgba(240, 253, 250, 0.96));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(8, 145, 178, 0.08);
}

.header-inner {
    max-width: 1200px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: var(--cyan-dark);
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.28);
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    font-weight: 700;
    color: #334155;
}

.main-nav a {
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--cyan);
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--cyan-dark);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    width: 300px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.08);
}

.header-search input,
.large-search-form input,
.filter-bar input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.header-search input {
    padding: 9px 12px 9px 16px;
}

.header-search button,
.large-search-form button,
.search-shell button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-radius: 999px;
    padding: 9px 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.large-search-form button:hover,
.search-shell button:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(20, 184, 166, 0.25);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #334155;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 1s ease;
    transform: scale(1.04);
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 26%, rgba(6, 182, 212, 0.38), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.22) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 46%);
}

.hero-content {
    position: absolute;
    left: max(28px, calc((100vw - 1200px) / 2 + 22px));
    bottom: 96px;
    width: min(650px, calc(100vw - 56px));
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: #a7f3d0;
    background: rgba(6, 182, 212, 0.12);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 8vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.hero-content p {
    max-width: 620px;
    margin: 0 0 30px;
    color: #e0f2fe;
    font-size: 20px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-btn,
.ghost-btn,
.section-more,
.filter-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    padding: 14px 24px;
}

.primary-btn.full {
    width: 100%;
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 13px 22px;
}

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

.hero-dots button {
    width: 34px;
    height: 6px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.is-active {
    background: #ffffff;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.quick-search-section {
    padding: 34px 0;
    background: linear-gradient(90deg, var(--cyan-soft), var(--blue-soft), #f0fdfa);
    border-bottom: 1px solid var(--line);
}

.search-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 28px;
    align-items: center;
}

.search-shell h2,
.section-title h2,
.category-panel h2,
.side-card h2,
.archive-group h2 {
    margin: 0;
    color: var(--text);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 950;
}

.search-shell p,
.section-title p,
.category-panel p,
.page-hero span,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.75;
}

.search-shell form,
.large-search-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.search-shell input,
.large-search-form input {
    padding: 14px 18px;
}

.content-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}

.section-title > span {
    width: 5px;
    min-height: 46px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--cyan), var(--teal));
}

.compact-title h2 {
    font-size: 26px;
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(20, 184, 166, 0.18));
}

.poster-link img,
.rank-poster img,
.category-tile img,
.category-cover img,
.poster-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.movie-card:hover .poster-link img,
.rank-card:hover .rank-poster img,
.category-tile:hover img,
.category-cover:hover img {
    transform: scale(1.08);
}

.poster-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.6));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-dot,
.rank-poster span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--cyan);
    border-radius: 999px;
    box-shadow: 0 18px 34px rgba(6, 182, 212, 0.35);
}

.badge-left,
.badge-right {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 10px;
}

.badge-left {
    left: 12px;
    background: var(--cyan);
}

.badge-right {
    right: 12px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 18px;
}

.card-body h2,
.rank-info h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.card-body h2 a:hover,
.rank-info h2 a:hover,
.archive-links a:hover,
.mini-link-row a:hover {
    color: var(--cyan-dark);
}

.card-body p,
.rank-info p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-line,
.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.meta-line span:first-child,
.detail-meta span:first-child {
    color: #f59e0b;
}

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

.tag-row span,
.detail-tags span {
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

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

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

.rank-card {
    position: relative;
    display: grid;
    grid-template-columns: 36px 178px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rank-card:hover {
    transform: translateX(5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.rank-no {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-radius: 12px;
    padding: 8px 0;
    text-align: center;
    font-weight: 950;
}

.rank-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(20, 184, 166, 0.16));
}

.rank-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.rank-card:hover .rank-poster span {
    opacity: 1;
}

.section-more,
.filter-bar a {
    margin-top: 22px;
    color: var(--cyan-dark);
    background: #ecfeff;
    padding: 12px 18px;
}

.category-panel,
.side-card,
.detail-card,
.player-card,
.search-page-panel {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.category-panel {
    padding: 24px;
}

.category-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.category-tile {
    position: relative;
    min-height: 138px;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background: #0f172a;
}

.category-tile::after,
.category-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.82));
}

.category-tile span,
.category-tile small,
.category-cover span {
    position: absolute;
    z-index: 1;
    left: 14px;
    right: 14px;
}

.category-tile span {
    bottom: 42px;
    font-size: 18px;
    font-weight: 950;
}

.category-tile small {
    bottom: 14px;
    color: #cffafe;
    line-height: 1.35;
}

.page-hero {
    position: relative;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.45), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #075985 52%, #0f766e 100%);
    overflow: hidden;
}

.page-hero > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 82px 22px;
}

.small-hero > div,
.category-hero > div {
    padding-top: 72px;
    padding-bottom: 72px;
}

.page-hero p {
    display: inline-flex;
    padding: 7px 13px;
    margin: 0 0 16px;
    color: #a7f3d0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    font-weight: 900;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.page-hero span {
    display: block;
    max-width: 720px;
    color: #e0f2fe;
    font-size: 18px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.category-cover {
    position: relative;
    display: block;
    min-height: 150px;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background: #0f172a;
}

.category-cover span {
    bottom: 18px;
    font-size: 22px;
    font-weight: 950;
}

.category-overview-card h2 {
    margin: 4px 0 10px;
    font-size: 24px;
}

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

.mini-link-row a,
.archive-links a {
    color: #075985;
    background: #ecfeff;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: 13px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
}

.filter-bar input {
    max-width: 520px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.08);
}

.large-rank-list .rank-card {
    grid-template-columns: 48px 220px minmax(0, 1fr);
}

.archive-section {
    display: grid;
    gap: 34px;
}

.archive-group {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.archive-group h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.archive-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-page-panel {
    margin-top: 48px;
    margin-bottom: 64px;
    padding: 26px;
}

.large-search-form {
    margin-bottom: 30px;
}

.detail-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #020617;
}

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(6, 182, 212, 0.36), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.2)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 55%);
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 22px 62px;
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #bae6fd;
    font-weight: 800;
}

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

.detail-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 74px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-hero p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #e0f2fe;
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta span {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 7px 11px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 64px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

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

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.22);
}

.video-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000000;
    cursor: pointer;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.68));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.36);
    font-size: 34px;
}

.video-shell.is-playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.detail-card h2 {
    margin: 24px 0 12px;
    font-size: 26px;
    font-weight: 950;
}

.detail-card h2:first-of-type {
    margin-top: 16px;
}

.detail-card p {
    margin: 0;
    color: #475569;
    line-height: 2;
    font-size: 16px;
}

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

.poster-side img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(20, 184, 166, 0.16));
}

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

.side-related .movie-card {
    box-shadow: none;
}

.side-related .movie-card .card-body p,
.side-related .tag-row,
.movie-card.compact .tag-row {
    display: none;
}

.side-related .movie-card .card-body,
.movie-card.compact .card-body {
    padding: 14px;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #111827 48%, #0f766e);
    margin-top: 26px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.site-footer p {
    max-width: 480px;
    line-height: 1.8;
}

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

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

.site-footer a:hover {
    color: #67e8f9;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 22px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    text-align: center;
}

.is-hidden {
    display: none !important;
}

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

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

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

    .detail-side {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

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

    .main-nav {
        order: 4;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0 12px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 11px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.72);
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        bottom: 78px;
    }

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

    .search-shell,
    .footer-grid,
    .category-overview-grid,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

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

    .rank-card,
    .large-rank-list .rank-card {
        grid-template-columns: 1fr;
    }

    .rank-no {
        width: 46px;
    }
}

@media (max-width: 560px) {
    .logo {
        font-size: 20px;
    }

    .hero {
        min-height: 540px;
    }

    .hero-content h1,
    .detail-hero h1,
    .page-hero h1 {
        letter-spacing: -0.025em;
    }

    .hero-actions,
    .filter-bar,
    .large-search-form,
    .search-shell form {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

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

    .detail-hero {
        min-height: 460px;
    }

    .player-start span {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
