:root {
    --sky: #0284c7;
    --sky-dark: #0369a1;
    --sky-soft: #e0f2fe;
    --cyan-soft: #ecfeff;
    --orange: #ea580c;
    --red: #ef4444;
    --green: #16a34a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 22px 55px rgba(15, 23, 42, 0.22);
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.header-inner {
    max-width: 1280px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gray-900);
    white-space: nowrap;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #38bdf8, var(--sky));
    color: #fff;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.26);
}

.brand-text {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    color: var(--gray-700);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

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

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -21px;
    height: 3px;
    border-radius: 99px;
    background: var(--sky);
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 280px;
}

.header-search input,
.mobile-menu input,
.large-search input,
.filter-search input {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 10px 98px 10px 16px;
    outline: none;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input:focus,
.mobile-menu input:focus,
.large-search input:focus,
.filter-search input:focus {
    border-color: #7dd3fc;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.header-search button,
.mobile-menu button,
.large-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: #fff;
    background: var(--sky);
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: var(--gray-100);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    font-size: 22px;
}

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

.mobile-menu.open {
    display: grid;
    gap: 14px;
}

.mobile-menu a {
    color: var(--gray-700);
    font-weight: 600;
}

.mobile-menu form {
    position: relative;
}

.mobile-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.mobile-category-links a {
    background: var(--sky-soft);
    color: var(--sky-dark);
    border-radius: 999px;
    padding: 6px 12px;
}

.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.12));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px 76px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.hero-content h1 {
    max-width: 780px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 0.98;
    margin: 12px 0 18px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.7;
    margin: 0 0 26px;
}

.hero-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

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

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

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #fff;
    background: var(--sky);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.34);
}

.button.primary:hover {
    background: var(--sky-dark);
}

.button.ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.button.subtle {
    color: var(--gray-900);
    background: rgba(255, 255, 255, 0.88);
}

.button.full {
    width: 100%;
}

.hero-tags,
.watch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.watch-tags span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

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

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.content-section.warm-section,
.content-section.sky-section,
.content-section.muted-section {
    max-width: none;
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
}

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

.sky-section {
    background: linear-gradient(135deg, #f0f9ff, #ecfeff);
}

.muted-section {
    background: var(--gray-100);
}

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

.section-heading.simple {
    align-items: flex-start;
}

.section-heading h2,
.sidebar-rank h2,
.detail-article h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--gray-600);
}

.section-heading a {
    color: var(--sky);
    font-weight: 800;
}

.movie-rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 4px 2px 22px;
    scroll-snap-type: x mandatory;
}

.rail-card {
    width: 320px;
    min-width: 320px;
    scroll-snap-align: start;
}

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

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

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

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

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

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb, #f9fafb);
}

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

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

.card-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 56%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%) scale(0.82);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sky);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 8px;
    padding: 4px 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-meta-row,
.card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-category {
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--sky-soft);
    color: var(--sky-dark);
    font-size: 12px;
    font-weight: 800;
}

.card-rating {
    color: #f97316;
    font-size: 13px;
    font-weight: 900;
}

.card-body h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-stats {
    color: var(--gray-500);
    font-size: 12px;
}

.compact-card .card-body {
    padding: 14px;
}

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

.rank-card {
    position: relative;
}

.rank-badge {
    position: absolute;
    left: -10px;
    top: -10px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
    font-size: 20px;
    font-weight: 900;
}

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

.category-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: #fff;
    background: var(--gray-900);
}

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

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22), transparent);
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span,
.category-tile p {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
}

.category-tile span {
    bottom: 54px;
    font-size: 20px;
    font-weight: 900;
}

.category-tile p {
    bottom: 18px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wide-poster-stack {
    display: grid;
    gap: 26px;
}

.wide-poster {
    position: relative;
    min-height: 330px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
}

.wide-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.wide-poster:hover img {
    transform: scale(1.04);
}

.wide-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
}

.wide-poster div {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 34px;
}

.wide-poster span {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 12px;
    background: var(--sky);
    font-weight: 800;
}

.wide-poster h3 {
    margin: 14px 0 8px;
    font-size: 34px;
    font-weight: 900;
}

.wide-poster p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: start;
}

.editor-list {
    display: grid;
    gap: 22px;
}

.editor-link {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 22px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.editor-cover {
    min-height: 166px;
    overflow: hidden;
}

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

.editor-copy {
    padding: 22px 22px 22px 0;
}

.editor-copy span {
    display: inline-flex;
    border-radius: 8px;
    padding: 4px 9px;
    background: var(--sky-soft);
    color: var(--sky-dark);
    font-size: 12px;
    font-weight: 900;
}

.editor-copy h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.editor-copy p {
    margin: 0 0 12px;
    color: var(--gray-600);
    line-height: 1.65;
}

.editor-copy div {
    color: var(--gray-500);
    font-size: 13px;
}

.sidebar-rank {
    position: sticky;
    top: 92px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.sidebar-rank a {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-rank a:last-child {
    border-bottom: 0;
}

.sidebar-rank span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.sidebar-rank strong {
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-rank em {
    color: #f97316;
    font-style: normal;
    font-weight: 900;
}

.page-hero,
.category-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0ea5e9, #0891b2);
    color: #fff;
}

.page-hero > div,
.category-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 24px;
}

.page-hero span,
.category-hero span,
.watch-label {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    color: #fff;
    font-weight: 800;
}

.page-hero h1,
.category-hero h1 {
    max-width: 820px;
    margin: 16px 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

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

.category-hero {
    background-image: var(--category-image);
    background-size: cover;
    background-position: center;
}

.category-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.12));
}

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

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

.filter-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.filter-search input {
    border-radius: 14px;
    padding-right: 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 800;
    cursor: pointer;
}

.filter-buttons button.active,
.filter-buttons button:hover {
    background: var(--sky);
    color: #fff;
}

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

.overview-card a {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-card a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.overview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: var(--gray-200);
}

.overview-images img:first-child {
    grid-row: span 2;
}

.overview-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-copy {
    padding: 30px;
}

.overview-copy h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 900;
}

.overview-copy p {
    color: var(--gray-600);
    line-height: 1.7;
}

.overview-copy span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--sky);
    font-weight: 900;
}

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

.ranking-row a {
    display: grid;
    grid-template-columns: 64px 180px 1fr 110px;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.ranking-index {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    font-weight: 900;
}

.ranking-row img {
    width: 180px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
}

.ranking-copy h2 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 900;
}

.ranking-copy p {
    margin: 0 0 8px;
    color: var(--gray-600);
    line-height: 1.55;
}

.ranking-copy div {
    color: var(--gray-500);
    font-size: 13px;
}

.ranking-row strong {
    color: var(--sky);
    text-align: right;
}

.large-search {
    position: relative;
    max-width: 640px;
    margin-top: 26px;
}

.large-search input {
    min-height: 54px;
    font-size: 16px;
}

.watch-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: #fff;
    background: var(--gray-900);
}

.watch-bg,
.watch-overlay {
    position: absolute;
    inset: 0;
}

.watch-bg {
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.08);
    opacity: 0.48;
}

.watch-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.46));
}

.watch-layout {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 76px;
}

.player-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.8fr);
    gap: 34px;
    align-items: center;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-cover-button {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.10));
    cursor: pointer;
}

.player-cover-button.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-cover-button span {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky);
    background: rgba(255, 255, 255, 0.94);
    font-size: 34px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
    transition: transform 0.2s ease;
}

.player-cover-button:hover span {
    transform: scale(1.07);
}

.watch-info h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.watch-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.75;
}

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

.watch-meta-grid div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.watch-meta-grid strong {
    display: block;
    font-size: 22px;
    color: #fff;
}

.watch-meta-grid span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    align-items: start;
}

.detail-article {
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.detail-article h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.detail-article h2:not(:first-child) {
    margin-top: 34px;
}

.detail-article p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
    font-size: 16px;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.detail-facts span {
    border-radius: 12px;
    padding: 9px 12px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 700;
    font-size: 13px;
}

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

.detail-side img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.site-footer {
    background: var(--gray-900);
    color: #d1d5db;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1fr;
    gap: 40px;
}

.footer-logo {
    color: #fff;
}

.footer-brand p {
    max-width: 420px;
    margin: 16px 0 0;
    color: #9ca3af;
    line-height: 1.7;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
}

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

.site-footer a:hover {
    color: #7dd3fc;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.hidden-by-filter {
    display: none !important;
}

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

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .editor-layout,
    .player-panel,
    .detail-layout,
    .footer-inner,
    .overview-grid,
    .overview-card a {
        grid-template-columns: 1fr;
    }

    .overview-images {
        min-height: 220px;
    }

    .sidebar-rank,
    .detail-side {
        position: static;
    }

    .ranking-row a {
        grid-template-columns: 50px 130px 1fr;
    }

    .ranking-row strong {
        display: none;
    }
}

@media (max-width: 720px) {
    .header-inner {
        padding: 0 16px;
    }

    .brand-text {
        font-size: 18px;
    }

    .hero-carousel {
        height: 540px;
    }

    .hero-content {
        padding: 0 18px 64px;
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .content-section,
    .content-section.warm-section,
    .content-section.sky-section,
    .content-section.muted-section {
        padding: 48px 16px;
    }

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

    .movie-grid,
    .movie-grid.four-col,
    .movie-grid.three-col,
    .rank-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .rail-card {
        width: 280px;
        min-width: 280px;
    }

    .editor-link {
        grid-template-columns: 1fr;
    }

    .editor-copy {
        padding: 20px;
    }

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

    .filter-buttons {
        justify-content: flex-start;
    }

    .ranking-row a {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .ranking-row img {
        display: none;
    }

    .watch-layout {
        padding: 28px 16px 50px;
    }

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

    .detail-article {
        padding: 24px;
    }

    .wide-poster {
        min-height: 280px;
    }

    .wide-poster div {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .wide-poster h3 {
        font-size: 26px;
    }
}
