:root {
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #f8fafc;
    --color-line: #e5e7eb;
    --color-orange: #f97316;
    --color-pink: #ec4899;
    --color-red: #ef4444;
    --color-dark: #111827;
    --shadow-card: 0 16px 45px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 10px 30px rgba(249, 115, 22, 0.18);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand__mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
    font-size: 15px;
}

.brand__text {
    font-size: 23px;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--color-orange), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

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

.header-search input,
.mobile-search input,
.search-panel input {
    width: 220px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 16px;
    outline: none;
    color: var(--color-text);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-panel input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.header-search button,
.mobile-search button,
.search-panel button,
.button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-search button,
.mobile-search button,
.search-panel button,
.button--accent {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel button:hover,
.button:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #374151;
    border-radius: 999px;
}

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

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

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

.mobile-link {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    color: #4b5563;
}

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--color-orange);
    background: #fff7ed;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c 0%, #ec4899 48%, #ef4444 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.38) 0 2px, transparent 2px), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.22), transparent 32%), radial-gradient(circle at 0% 80%, rgba(255, 255, 255, 0.18), transparent 38%);
    background-size: 68px 68px, 620px 620px, 560px 560px;
}

.hero-shell {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    padding: 70px 0 88px;
}

.hero-slide {
    display: none;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 0.55s ease both;
}

.hero-slide__image {
    aspect-ratio: 3 / 4;
    max-height: 500px;
    border: 10px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 35px 80px rgba(127, 29, 29, 0.34);
    transform: rotate(-2deg);
}

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

.hero-slide__image:hover img {
    transform: scale(1.06);
}

.hero-slide__content h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-slide__content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2vw, 24px);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 700;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.button--light {
    color: var(--color-orange);
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.22);
}

.button--ghost {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.84);
    background: transparent;
}

.button--ghost:hover {
    color: var(--color-orange);
    background: #ffffff;
}

.button--outline {
    color: var(--color-orange);
    border: 2px solid rgba(249, 115, 22, 0.35);
    background: #ffffff;
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 32px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

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

.feature-strip {
    background: #ffffff;
    padding: 44px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    text-align: center;
    padding: 26px 18px;
    border: 1px solid #fee2e2;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.08);
}

.feature-card span {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    color: var(--color-orange);
    border-radius: 50%;
    background: #ffedd5;
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.section {
    padding: 76px 0;
    background: #ffffff;
}

.section--soft {
    background: #f8fafc;
}

.section--warm {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.section--detail {
    padding-top: 44px;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-heading span,
.page-hero span,
.detail-kicker {
    display: inline-block;
    padding: 5px 13px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    font-weight: 800;
    font-size: 14px;
}

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

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

.section-head-row .section-heading {
    margin-bottom: 0;
    text-align: left;
}

.text-link {
    color: var(--color-orange);
    font-weight: 900;
}

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

.category-card {
    min-height: 184px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.category-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -44px;
    bottom: -54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
}

.category-card__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    font-size: 14px;
}

.category-card strong {
    position: relative;
    z-index: 1;
    font-size: 23px;
}

.category-card small {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.84);
}

.category-card--suspense,
.category-card--urban {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.category-card--comedy,
.category-card--family {
    background: linear-gradient(135deg, #34d399, #059669);
}

.category-card--romance,
.category-card--youth {
    background: linear-gradient(135deg, #fb7185, #db2777);
}

.category-card--action,
.category-card--history {
    background: linear-gradient(135deg, #fb923c, #ea580c);
}

.category-card--scifi,
.category-card--drama {
    background: linear-gradient(135deg, #22d3ee, #0891b2);
}

.category-card--costume {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.movie-grid {
    display: grid;
    gap: 24px;
}

.movie-grid--home {
    grid-template-columns: repeat(4, 1fr);
}

.movie-grid--wide {
    grid-template-columns: repeat(4, 1fr);
}

.movie-grid--catalog {
    grid-template-columns: repeat(5, 1fr);
}

.movie-grid--ranking {
    grid-template-columns: repeat(4, 1fr);
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.media-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #fee2e2);
}

.movie-card__poster {
    display: block;
    aspect-ratio: 3 / 4;
}

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

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

.img-hidden {
    opacity: 0;
}

.movie-card__year,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.movie-card__year {
    right: 12px;
    padding: 5px 9px;
    background: var(--color-orange);
}

.rank-badge {
    left: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--color-orange);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

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

.movie-card__body {
    padding: 16px;
}

.movie-card__title {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.movie-card__title--compact {
    font-size: 16px;
}

.movie-card:hover .movie-card__title {
    color: var(--color-orange);
}

.movie-card__meta,
.movie-card__desc {
    margin: 7px 0 0;
    color: var(--color-muted);
    font-size: 13px;
}

.movie-card__desc {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card--compact .movie-card__body {
    padding: 14px;
}

.cta-panel {
    color: #ffffff;
    padding: clamp(34px, 7vw, 64px);
    border-radius: 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -0.04em;
}

.cta-panel p {
    margin: 0 auto;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
}

.cta-actions {
    justify-content: center;
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ec4899 55%, #ef4444);
}

.page-hero--small {
    padding: 70px 0;
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

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

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

.category-overview-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.category-overview-card__main {
    display: block;
    min-height: 168px;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.category-overview-card__main span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 800;
}

.category-overview-card__main strong {
    display: block;
    font-size: 19px;
    line-height: 1.45;
}

.category-overview-card__links {
    display: grid;
    gap: 8px;
    padding: 18px 22px 22px;
}

.category-overview-card__links a {
    color: #4b5563;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-overview-card__links a:hover {
    color: var(--color-orange);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 34px;
}

.filter-button {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 9px 16px;
    color: #4b5563;
    background: #ffffff;
    cursor: pointer;
    font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.search-panel {
    margin-top: 26px;
    max-width: 640px;
}

.search-panel input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
}

.search-panel button {
    padding: 14px 24px;
}

.empty-state {
    padding: 42px;
    color: var(--color-muted);
    border-radius: var(--radius-lg);
    text-align: center;
    background: #f9fafb;
    font-weight: 800;
}

.watch-section {
    padding: 34px 0 58px;
    background: radial-gradient(circle at top left, #fff7ed, transparent 42%), #111827;
    color: #ffffff;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.36);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
}

.player-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.20), rgba(17, 24, 39, 0.72));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-layer__icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-orange);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    font-size: 26px;
}

.player-layer__title {
    max-width: min(82%, 680px);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.player-layer__meta {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.watch-info {
    padding: 6px 0;
}

.watch-info h1 {
    margin: 16px 0 14px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 26px 0;
}

.detail-meta-grid span {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.10);
}

.detail-meta-grid strong {
    color: #ffffff;
    font-size: 13px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag-cloud a,
.tag-cloud span {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--color-orange);
    background: #fff7ed;
    font-weight: 800;
    font-size: 13px;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.prose-card {
    padding: clamp(24px, 4vw, 34px);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.prose-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.prose-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.site-footer {
    color: #e5e7eb;
    background: #111827;
}

.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 38px;
    padding: 54px 0;
}

.brand--footer .brand__text {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p {
    max-width: 460px;
    margin: 16px 0 0;
    color: #9ca3af;
}

.footer-links {
    display: grid;
    gap: 8px;
    align-content: start;
}

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

.footer-links a {
    color: #d1d5db;
}

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

.site-footer__bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .nav-toggle {
        display: block;
    }

    .hero-shell {
        min-height: 0;
    }

    .hero-slide,
    .hero-slide.is-active {
        grid-template-columns: 1fr;
    }

    .hero-slide__image {
        width: min(360px, 82vw);
        margin: 0 auto;
        max-height: none;
    }

    .feature-grid,
    .category-grid,
    .movie-grid--home,
    .movie-grid--wide,
    .movie-grid--ranking {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .watch-layout,
    .detail-content,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header__inner {
        height: 62px;
    }

    .brand__text {
        font-size: 19px;
    }

    .hero-shell {
        padding: 44px 0 72px;
    }

    .hero-slide__content {
        text-align: center;
    }

    .hero-meta,
    .hero-actions {
        justify-content: center;
    }

    .feature-grid,
    .category-grid,
    .movie-grid--home,
    .movie-grid--wide,
    .movie-grid--catalog,
    .movie-grid--ranking,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    .section-head-row {
        display: block;
    }

    .section-head-row .section-heading {
        text-align: center;
    }

    .text-link {
        display: inline-block;
        margin: 12px auto 0;
    }

    .search-panel {
        flex-direction: column;
        align-items: stretch;
    }

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

    .player-card {
        border-radius: 22px;
    }

    .player-layer__icon {
        width: 58px;
        height: 58px;
        font-size: 20px;
    }
}
