* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --bg: #fff7ed;
    --bg-soft: #fffbeb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(251, 146, 60, 0.22);
    --orange: #f97316;
    --amber: #f59e0b;
    --yellow: #facc15;
    --dark: #111827;
    --white: #ffffff;
    --shadow: 0 20px 55px rgba(124, 45, 18, 0.14);
    --radius: 24px;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 48%, #fff7ed 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    box-shadow: 0 10px 30px rgba(124, 45, 18, 0.08);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 21px;
    color: transparent;
    background: linear-gradient(90deg, #ea580c, #d97706);
    background-clip: text;
    -webkit-background-clip: text;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 700;
    color: #374151;
}

.site-nav a,
.mobile-nav a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.mobile-nav a:hover {
    color: var(--orange);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #9a3412;
    background: #ffedd5;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    gap: 12px;
    font-weight: 700;
}

.mobile-nav.is-open {
    display: grid;
}

.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.36), transparent 28%), linear-gradient(135deg, #fb923c 0%, #f59e0b 50%, #facc15 100%);
}

.float-shape {
    position: absolute;
    color: rgba(255, 255, 255, 0.28);
    font-size: 72px;
    animation: float 6s ease-in-out infinite;
}

.shape-one {
    top: 80px;
    left: 8%;
}

.shape-two {
    right: 11%;
    top: 120px;
    animation-delay: 1.1s;
}

.shape-three {
    bottom: 100px;
    left: 24%;
    animation-delay: 2s;
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 44px;
    align-items: center;
    padding: 72px 0 96px;
}

.hero-copy h1,
.page-hero h1 {
    margin: 18px 0;
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    text-shadow: 0 12px 32px rgba(120, 53, 15, 0.24);
}

.hero-copy p,
.page-hero p {
    margin: 0 0 28px;
    max-width: 620px;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 16px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0;
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: #c2410c;
    background: white;
    box-shadow: 0 16px 36px rgba(124, 45, 18, 0.2);
}

.secondary-button {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-button {
    color: white;
    background: rgba(124, 45, 18, 0.16);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-3px);
}

.primary-button.full {
    width: 100%;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats span {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero-stage {
    position: relative;
    min-height: 430px;
}

.hero-slides {
    position: relative;
    min-height: 430px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 24px;
    align-items: stretch;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    box-shadow: 0 28px 70px rgba(124, 45, 18, 0.28);
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    backdrop-filter: blur(18px);
}

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

.hero-poster,
.category-hero-poster,
.detail-poster,
.poster-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fdba74, #f59e0b);
}

.hero-poster {
    min-height: 388px;
    border-radius: 24px;
}

.hero-image,
.poster-image,
.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.25s ease;
}

.hero-slide:hover .hero-image,
.movie-card:hover .poster-image,
.category-tile:hover .tile-image {
    transform: scale(1.08);
}

.hero-slide-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-kicker {
    color: #fff7ed;
    font-size: 14px;
    font-weight: 800;
}

.hero-slide-copy h2 {
    margin: 14px 0 12px;
    color: white;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.12;
}

.hero-slide-copy p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

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

.hero-tags span,
.tag-row span {
    padding: 6px 10px;
    color: #c2410c;
    background: #ffedd5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 20px;
    padding: 12px 18px;
    color: #c2410c;
    background: white;
    border-radius: 999px;
    font-weight: 900;
}

.hero-controls {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-controls button,
.carousel-button {
    pointer-events: auto;
    border: 0;
    cursor: pointer;
}

.hero-controls > button,
.carousel-button {
    width: 48px;
    height: 48px;
    color: #c2410c;
    background: white;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.22);
    font-size: 28px;
    font-weight: 900;
}

.hero-dots {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

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

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

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(0deg, #fff7ed, transparent);
}

.section-block,
.category-section,
.carousel-section,
.link-strip {
    padding: 72px 0;
}

.soft-section,
.carousel-section {
    background: linear-gradient(90deg, rgba(255, 237, 213, 0.72), rgba(254, 243, 199, 0.72));
}

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

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.section-heading > span {
    flex: 1;
    height: 4px;
    min-width: 120px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--amber), transparent);
}

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

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

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

.related-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.movie-card {
    min-width: 0;
}

.movie-card > a {
    display: block;
    height: 100%;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.16);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(124, 45, 18, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-frame {
    aspect-ratio: 16 / 10;
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.duration-pill,
.type-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 9px;
    color: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.duration-pill {
    right: 10px;
    bottom: 10px;
    background: rgba(17, 24, 39, 0.78);
    backdrop-filter: blur(8px);
}

.type-pill {
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.rank-badge {
    top: 10px;
    right: 10px;
    min-width: 34px;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

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

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: #6b7280;
    font-size: 12px;
}

.card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #f97316;
}

.category-section {
    background: linear-gradient(180deg, white 0%, #fff7ed 100%);
}

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

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    padding: 24px;
    color: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.01);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(245, 158, 11, 0.86));
}

.category-tile strong {
    display: block;
    position: relative;
    margin-bottom: 10px;
    font-size: 24px;
}

.category-tile span {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.category-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.33;
}

.category-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.accent-purple::before {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(236, 72, 153, 0.82));
}

.accent-blue::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.82));
}

.accent-green::before {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.9), rgba(20, 184, 166, 0.82));
}

.accent-cyan::before {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.9), rgba(59, 130, 246, 0.82));
}

.accent-rose::before {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.9), rgba(249, 115, 22, 0.82));
}

.accent-indigo::before {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(124, 58, 237, 0.82));
}

.accent-yellow::before {
    background: linear-gradient(135deg, rgba(202, 138, 4, 0.92), rgba(249, 115, 22, 0.82));
}

.accent-red::before {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(251, 113, 133, 0.82));
}

.accent-slate::before {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.92), rgba(15, 23, 42, 0.82));
}

.accent-pink::before {
    background: linear-gradient(135deg, rgba(219, 39, 119, 0.9), rgba(244, 114, 182, 0.82));
}

.accent-teal::before {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.9), rgba(16, 185, 129, 0.82));
}

.carousel-wrap {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    padding: 8px 2px 18px;
}

.carousel-track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s ease;
}

.carousel-item {
    flex: 0 0 calc((100% - 66px) / 4);
}

.carousel-button {
    position: absolute;
    top: 42%;
    z-index: 3;
}

.carousel-prev {
    left: -18px;
}

.carousel-next {
    right: -18px;
}

.page-hero {
    position: relative;
    padding: 82px 0;
    color: white;
    background: linear-gradient(135deg, #fb923c, #f59e0b 58%, #facc15);
    overflow: hidden;
}

.compact-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(0deg, #fff7ed, transparent);
}

.page-hero .shell {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 820px;
}

.split-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 42px;
    align-items: center;
}

.category-hero-poster {
    min-height: 260px;
    border-radius: 28px;
    box-shadow: 0 25px 55px rgba(124, 45, 18, 0.25);
}

.category-hero-poster strong {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: white;
    font-size: 22px;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
}

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

.category-overview-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(124, 45, 18, 0.08);
}

.overview-main strong {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 22px;
}

.overview-main span {
    display: block;
    color: var(--muted);
    line-height: 1.7;
}

.overview-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.overview-links a {
    color: #c2410c;
    font-weight: 700;
}

.link-strip {
    background: white;
    border-top: 1px solid rgba(251, 146, 60, 0.14);
}

.link-strip .shell {
    display: grid;
    gap: 18px;
}

.link-strip h2 {
    margin: 0;
}

.link-strip div div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-strip a {
    padding: 9px 13px;
    color: #9a3412;
    background: #ffedd5;
    border-radius: 999px;
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 64px minmax(150px, 1fr) minmax(240px, 0.8fr) 120px;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.14);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(124, 45, 18, 0.06);
}

.rank-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    border-radius: 999px;
    font-weight: 900;
}

.rank-row strong {
    color: #1f2937;
}

.rank-row em {
    color: var(--muted);
    font-style: normal;
}

.rank-row b {
    color: #c2410c;
    text-align: right;
}

.search-panel {
    max-width: 880px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 26px;
    backdrop-filter: blur(16px);
}

.search-panel input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 0;
    outline: none;
    border-radius: 16px;
    color: #1f2937;
    background: white;
    box-shadow: 0 10px 26px rgba(124, 45, 18, 0.12);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.filter-chips button {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.filter-chips button.is-active {
    color: #c2410c;
    background: white;
}

.detail-hero {
    padding: 32px 0 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    color: #9a3412;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb strong {
    color: #1f2937;
}

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

.player-card,
.detail-info-card,
.detail-side {
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.16);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
    padding: 12px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border-radius: 20px;
}

.movie-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f172a;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.25), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.player-cover.is-hidden {
    display: none;
}

.play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    padding-left: 5px;
    color: #c2410c;
    background: white;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
    font-size: 34px;
}

.player-cover strong {
    font-size: 20px;
}

.detail-side {
    padding: 16px;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    margin-bottom: 16px;
    border-radius: 20px;
}

.detail-info-section {
    padding-top: 34px;
}

.detail-content {
    max-width: 940px;
}

.detail-info-card {
    padding: clamp(24px, 5vw, 46px);
}

.detail-info-card .eyebrow {
    color: #c2410c;
    background: #ffedd5;
    border-color: rgba(249, 115, 22, 0.18);
}

.detail-info-card h1 {
    margin: 18px 0 14px;
    color: #1f2937;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
}

.one-line {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.7;
}

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

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

.tag-row.large span {
    font-size: 13px;
}

.detail-info-card h2 {
    margin: 30px 0 12px;
    color: #1f2937;
    font-size: 26px;
}

.detail-info-card p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.95;
}

.site-footer {
    color: white;
    background: linear-gradient(180deg, #111827, #0f172a);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 54px 0 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-grid a:hover {
    color: #fdba74;
}

.footer-brand {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@media (max-width: 1100px) {
    .hero-shell,
    .split-hero,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .movie-grid.featured,
    .movie-grid.dense,
    .related-grid,
    .category-grid,
    .category-grid.wide,
    .overview-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-side {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 18px;
        align-items: center;
    }

    .carousel-item {
        flex-basis: calc((100% - 22px) / 2);
    }
}

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

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
    }

    .hero-shell {
        padding: 48px 0 80px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        position: relative;
        min-height: auto;
    }

    .hero-slides {
        min-height: auto;
    }

    .hero-poster {
        min-height: 240px;
    }

    .hero-controls {
        position: static;
        margin-top: 18px;
    }

    .movie-grid,
    .movie-grid.featured,
    .movie-grid.dense,
    .related-grid,
    .category-grid,
    .category-grid.wide,
    .overview-grid,
    .footer-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: grid;
    }

    .section-heading > span {
        width: 100%;
    }

    .rank-row {
        grid-template-columns: 44px 1fr;
    }

    .rank-row em,
    .rank-row b {
        grid-column: 2;
        text-align: left;
    }

    .carousel-item {
        flex-basis: 100%;
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
