:root {
    color-scheme: light;
    --site-orange: #f97316;
    --site-amber: #f59e0b;
    --site-yellow: #facc15;
    --site-dark: #111827;
    --site-muted: #6b7280;
    --site-soft: #fff7ed;
    --site-border: rgba(251, 146, 60, 0.24);
    --site-shadow: 0 18px 48px rgba(124, 45, 18, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.16);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--site-orange), var(--site-amber));
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.site-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo-copy strong {
    font-size: 21px;
    font-weight: 800;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: #ea580c;
    background: #ffedd5;
    transform: translateY(-1px);
}

.site-menu-toggle {
    display: none;
    border: 0;
    border-radius: 14px;
    width: 44px;
    height: 44px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 22px;
    cursor: pointer;
}

.site-mobile-nav {
    display: none;
    padding: 0 20px 16px;
    border-top: 1px solid rgba(251, 146, 60, 0.16);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(245, 158, 11, 0.88) 52%, rgba(250, 204, 21, 0.82));
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(0deg, #fff7ed, rgba(255, 247, 237, 0));
}

.hero-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(6px);
}

.hero-glow-one {
    top: 60px;
    left: -80px;
    animation: float 7s ease-in-out infinite;
}

.hero-glow-two {
    right: -110px;
    bottom: 70px;
    animation: float-delay-1 9s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 680px;
    margin: 0 auto;
    padding: 82px 20px 104px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 44px;
    align-items: center;
}

.hero-copy {
    color: #ffffff;
}

.hero-label,
.page-hero-copy span,
.section-heading span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(46px, 8vw, 86px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 18px 52px rgba(124, 45, 18, 0.28);
}

.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.8;
}

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

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

.primary-button,
.hero-button {
    background: #ffffff;
    color: #ea580c;
    box-shadow: 0 16px 34px rgba(124, 45, 18, 0.18);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.detail-card .secondary-button,
.page-hero .secondary-button,
.split-heading a {
    color: #ea580c;
    background: #ffedd5;
    border: 1px solid rgba(251, 146, 60, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(124, 45, 18, 0.22);
}

.hero-badges {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.hero-slider {
    position: relative;
    height: min(62vw, 520px);
    min-height: 430px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(124, 45, 18, 0.28);
    background: rgba(17, 24, 39, 0.24);
}

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

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

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

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.34) 54%, rgba(17, 24, 39, 0.12));
}

.hero-slide-copy {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-copy h2 {
    max-width: 680px;
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.hero-slide-copy p {
    max-width: 620px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    right: 28px;
    bottom: 28px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

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

.compact-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-heading {
    margin-bottom: 34px;
}

.center-heading {
    text-align: center;
}

.center-heading span,
.split-heading span {
    margin: 0 auto 14px;
    background: #ffedd5;
    color: #ea580c;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.split-heading span {
    margin-left: 0;
}

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

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

.split-heading a {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
}

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

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

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

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

.movie-card-link {
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.14);
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.38);
    box-shadow: 0 24px 56px rgba(124, 45, 18, 0.18);
}

.movie-cover-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.movie-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

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

.movie-cover-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.02) 56%);
    pointer-events: none;
}

.movie-duration,
.movie-category-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.movie-duration {
    right: 12px;
    bottom: 12px;
    padding: 6px 9px;
    background: rgba(17, 24, 39, 0.75);
}

.movie-category-badge {
    left: 12px;
    top: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--site-orange), var(--site-amber));
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.movie-card-body h3 {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
    color: #ea580c;
}

.movie-card-body p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.movie-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
}

.movie-card-meta {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #9ca3af;
    font-size: 13px;
}

.category-section,
.carousel-section {
    background: linear-gradient(90deg, rgba(255, 237, 213, 0.78), rgba(254, 243, 199, 0.7), rgba(255, 247, 237, 0.95));
}

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

.category-tile {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fb923c, #f59e0b);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 56px rgba(249, 115, 22, 0.28);
}

.category-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
}

.category-tile strong {
    margin-bottom: 9px;
    font-size: 20px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.84);
    font-style: normal;
    line-height: 1.55;
}

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

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

.rank-link {
    display: grid;
    grid-template-columns: 54px 86px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 10px 26px rgba(124, 45, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(124, 45, 18, 0.16);
}

.rank-number {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--site-orange), var(--site-amber));
    color: #ffffff;
    font-weight: 900;
}

.rank-link img {
    width: 86px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    background: #fed7aa;
}

.rank-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rank-info strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    overflow: hidden;
    color: #6b7280;
    font-style: normal;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    color: #9ca3af;
    font-size: 13px;
    white-space: nowrap;
}

.movie-carousel {
    position: relative;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 24%);
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 3px 16px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-control {
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #ea580c;
    font-size: 34px;
    line-height: 1;
    box-shadow: 0 18px 36px rgba(124, 45, 18, 0.18);
    cursor: pointer;
}

.carousel-control.prev {
    left: -10px;
}

.carousel-control.next {
    right: -10px;
}

.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 28%), linear-gradient(135deg, #f97316, #f59e0b 54%, #facc15);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78px;
    background: linear-gradient(0deg, #fff7ed, rgba(255, 247, 237, 0));
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 20px 92px;
    color: #ffffff;
}

.page-hero-copy h1 {
    max-width: 860px;
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

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

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    min-height: 230px;
    align-items: center;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(124, 45, 18, 0.18);
}

.category-poster-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-poster-stack img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: #fed7aa;
}

.category-overview-card span {
    color: #ea580c;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.category-overview-card h2 {
    margin: 10px 0;
    color: #1f2937;
    font-size: 32px;
}

.category-overview-card p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}

.search-panel {
    position: sticky;
    top: 82px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px 180px;
    gap: 14px;
    margin-bottom: 34px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--site-border);
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.1);
    backdrop-filter: blur(16px);
}

.search-panel input,
.search-panel select {
    width: 100%;
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px 16px;
    color: #1f2937;
    font: inherit;
    outline: none;
}

.search-panel input:focus,
.search-panel select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.detail-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 20px 78px;
}

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

.breadcrumb a {
    color: #ea580c;
    font-weight: 700;
}

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

.detail-main {
    min-width: 0;
}

.player-card,
.detail-card,
.side-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(251, 146, 60, 0.14);
    box-shadow: var(--site-shadow);
}

.player-card {
    margin-bottom: 24px;
    background: #111827;
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.48));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-overlay span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    font-size: 34px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.video-player.is-playing .video-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-card {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.detail-channel {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffedd5;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
}

.detail-card h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.12;
    color: #1f2937;
}

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

.detail-meta span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-block {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(251, 146, 60, 0.18);
}

.detail-block h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 23px;
}

.detail-block p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

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

.info-grid div {
    padding: 15px;
    border-radius: 18px;
    background: #fff7ed;
}

.info-grid dt {
    margin-bottom: 5px;
    color: #9ca3af;
    font-size: 13px;
}

.info-grid dd {
    margin: 0;
    color: #1f2937;
    font-weight: 800;
}

.detail-side {
    position: sticky;
    top: 100px;
}

.side-card {
    padding: 22px;
}

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

.side-related-link {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.side-related-link img {
    width: 112px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: #fed7aa;
}

.side-related-link span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-related-link strong {
    overflow: hidden;
    color: #1f2937;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-related-link em {
    color: #9ca3af;
    font-style: normal;
    font-size: 13px;
}

.inline-related {
    padding-left: 0;
    padding-right: 0;
}

.site-footer {
    background: linear-gradient(180deg, #111827, #1f2937);
    color: #ffffff;
}

.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 20px 26px;
    display: flex;
    justify-content: space-between;
    gap: 34px;
}

.footer-brand {
    max-width: 560px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand p {
    margin: 0;
    color: #d1d5db;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 12px;
}

.footer-links a {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    font-weight: 700;
}

.footer-links a:hover {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.5);
}

.site-copyright {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

    .detail-side {
        position: static;
    }

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

@media (max-width: 760px) {
    .site-header-inner {
        padding: 12px 16px;
    }

    .site-nav {
        display: none;
    }

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

    .site-mobile-nav.is-open {
        display: grid;
        gap: 8px;
    }

    .site-mobile-nav .site-nav-link {
        display: block;
    }

    .hero-section,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 54px 16px 84px;
        gap: 28px;
    }

    .hero-copy p,
    .page-hero-copy p {
        font-size: 16px;
    }

    .hero-slider {
        height: 470px;
        min-height: 470px;
        border-radius: 26px;
    }

    .hero-slide-copy {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .hero-actions,
    .site-footer-inner,
    .detail-title-row {
        flex-direction: column;
        align-items: stretch;
    }

    .content-section {
        padding: 54px 16px;
    }

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

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

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

    .search-panel {
        position: static;
        grid-template-columns: 1fr;
    }

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

    .rank-meta {
        grid-column: 3;
    }

    .detail-shell {
        padding: 24px 16px 58px;
    }

    .detail-card {
        padding: 22px;
    }

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

    .side-related-link {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .side-related-link img {
        width: 96px;
        height: 64px;
    }
}
