:root {
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --white: #ffffff;
    --shadow: 0 18px 60px rgba(28, 25, 23, 0.16);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #fafaf9 0%, #ffffff 42%, #fafaf9 100%);
    color: var(--stone-900);
}

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

img {
    display: block;
    max-width: 100%;
    background: linear-gradient(135deg, var(--stone-800), var(--amber-600));
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.86), rgba(28, 25, 23, 0));
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.open {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 40px rgba(28, 25, 23, 0.12);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: 1180px;
    height: 78px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.site-header.scrolled .brand,
.site-header.open .brand {
    color: var(--stone-900);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.34);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-400);
    transform: translateY(-1px);
}

.site-header.scrolled .nav-link,
.site-header.open .nav-link {
    color: var(--stone-700);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.open .nav-link:hover,
.site-header.open .nav-link.active {
    color: var(--amber-600);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.nav-search input,
.mobile-search input,
.search-panel input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 11px 16px;
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.site-header.scrolled .nav-search input,
.site-header.open .nav-search input,
.mobile-search input,
.search-panel input,
.filter-panel input,
.filter-panel select {
    background: var(--stone-100);
    color: var(--stone-900);
}

.nav-search button,
.mobile-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: var(--white);
    background: var(--amber-500);
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.site-header.scrolled .menu-toggle,
.site-header.open .menu-toggle {
    color: var(--stone-900);
    background: var(--stone-100);
}

.mobile-panel {
    display: none;
    max-width: 1180px;
    margin: 0 auto 14px;
    padding: 16px 24px;
}

.site-header.open .mobile-panel {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

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

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

.mobile-nav .nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--stone-700);
    background: var(--stone-100);
}

.hero-carousel {
    position: relative;
    min-height: 76vh;
    overflow: hidden;
    background: var(--stone-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg,
.hero-bg img,
.hero-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    object-fit: cover;
    transform: scale(1.04);
}

.hero-mask {
    background:
        radial-gradient(circle at 78% 40%, rgba(245, 158, 11, 0.22), transparent 32%),
        linear-gradient(0deg, rgba(12, 10, 9, 0.96) 0%, rgba(12, 10, 9, 0.54) 46%, rgba(12, 10, 9, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 76vh;
    max-width: 1180px;
    margin: 0 auto;
    padding: 160px 24px 86px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
}

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

.hero-tags span,
.hero-keywords span,
.tag-row span,
.detail-meta span,
.card-meta span {
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span:first-child,
.detail-meta span:first-child,
.card-meta span:first-child {
    color: var(--white);
    background: var(--amber-500);
}

.hero-tags span:not(:first-child),
.hero-keywords span,
.detail-meta span,
.card-meta span,
.tag-row span {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    max-width: 820px;
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.38);
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.hero-actions,
.detail-copy .primary-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.primary-btn,
.ghost-btn,
.text-link,
.rank-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.rank-watch {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.rank-watch:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2 + 24px));
    bottom: 42px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.hero-dots button.active {
    width: 34px;
    background: var(--amber-500);
}

.quick-search-panel,
.content-section,
.rank-band,
.page-main,
.detail-shell,
.player-section,
.article-section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.quick-search-panel {
    margin-top: -34px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    gap: 22px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--stone-900), var(--stone-800));
    box-shadow: var(--shadow);
}

.quick-search-panel strong {
    font-size: 22px;
}

.quick-search-panel p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.quick-search-panel form,
.search-panel form {
    display: flex;
    gap: 10px;
}

.quick-search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 14px 18px;
}

.quick-search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    color: var(--white);
    background: var(--amber-500);
    cursor: pointer;
    font-weight: 800;
}

.content-section {
    padding-top: 74px;
}

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

.section-kicker {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--amber-600);
    font-weight: 900;
    letter-spacing: 0.16em;
    font-size: 12px;
    text-transform: uppercase;
}

.section-head h2,
.page-hero h1,
.article-section h2 {
    margin: 0;
    color: var(--stone-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-head > a,
.text-link {
    color: var(--amber-600);
    font-weight: 800;
}

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

.video-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(28, 25, 23, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(28, 25, 23, 0.16);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--stone-800);
}

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

.video-card:hover .poster-link img {
    transform: scale(1.08);
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%) scale(0.86);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(245, 158, 11, 0.9);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    padding: 18px;
}

.card-meta span,
.tag-row span {
    color: var(--stone-600);
    background: var(--stone-100);
}

.card-body h3 {
    margin: 13px 0 10px;
    color: var(--stone-900);
    font-size: 19px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--amber-600);
}

.card-body p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--stone-600);
    line-height: 1.65;
    font-size: 14px;
}

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

.category-tile,
.category-overview-card {
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 14px 42px rgba(28, 25, 23, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 60px rgba(28, 25, 23, 0.15);
}

.category-tile {
    padding: 22px;
}

.tile-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.tile-stack img {
    height: 118px;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 0 0 8px;
    color: var(--stone-900);
    font-size: 23px;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--stone-600);
    line-height: 1.7;
}

.rank-band {
    margin-top: 82px;
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 28px;
    align-items: stretch;
    color: var(--white);
}

.rank-copy,
.rank-list {
    border-radius: 32px;
    padding: 34px;
    background: linear-gradient(135deg, var(--stone-900), var(--stone-800));
    box-shadow: var(--shadow);
}

.rank-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.rank-copy p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

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

.rank-list a,
.ranking-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.08);
}

.rank-list span,
.rank-number {
    color: var(--amber-400);
    font-weight: 900;
}

.rank-list em {
    color: rgba(255, 255, 255, 0.56);
    font-style: normal;
}

.page-main {
    padding-top: 116px;
    padding-bottom: 80px;
}

.page-hero {
    border-radius: 34px;
    padding: 54px;
    margin-bottom: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at 74% 20%, rgba(245, 158, 11, 0.28), transparent 32%),
        linear-gradient(135deg, var(--stone-900), var(--stone-800));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--amber-400);
}

.filter-panel,
.search-panel {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(28, 25, 23, 0.08);
}

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

.search-panel form {
    width: 100%;
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 20px;
}

.overview-cover {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.overview-cover img {
    height: 96px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.overview-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-100);
    font-size: 13px;
}

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

.ranking-row {
    grid-template-columns: 58px 124px 1fr auto;
    padding: 14px;
    color: var(--stone-900);
    background: var(--white);
    box-shadow: 0 10px 34px rgba(28, 25, 23, 0.08);
}

.rank-thumb img {
    width: 124px;
    height: 82px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-info h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.rank-info p {
    margin: 0 0 10px;
    color: var(--stone-600);
    line-height: 1.6;
}

.detail-main {
    padding-bottom: 80px;
}

.detail-hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    color: var(--white);
    background: var(--stone-950);
}

.detail-bg,
.detail-bg img,
.detail-bg div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-bg img {
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.04);
}

.detail-bg div {
    background:
        radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.20), transparent 34%),
        linear-gradient(0deg, rgba(12, 10, 9, 0.98), rgba(12, 10, 9, 0.56));
}

.detail-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 42px;
    align-items: end;
    min-height: 72vh;
    padding-top: 138px;
    padding-bottom: 62px;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.detail-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 16px;
}

.player-section {
    padding-top: 72px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: var(--stone-950);
    box-shadow: var(--shadow);
}

.player-box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--stone-950);
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
    cursor: pointer;
}

.player-start span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    font-size: 30px;
}

.player-box.is-playing .player-start {
    display: none;
}

.article-section {
    padding-top: 58px;
}

.article-section h2 {
    margin-top: 28px;
    font-size: 30px;
}

.article-section p {
    color: var(--stone-700);
    font-size: 17px;
    line-height: 2;
}

.related-section {
    padding-top: 48px;
}

.mini-card {
    display: flex;
    gap: 12px;
    align-items: center;
}

.site-footer {
    margin-top: 86px;
    color: var(--stone-300);
    background: linear-gradient(180deg, var(--stone-900), var(--stone-950));
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 12px;
}

.site-footer p {
    color: var(--stone-500);
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: var(--stone-500);
}

.site-footer a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--stone-500);
    font-size: 14px;
}

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

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

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

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

    .rank-band,
    .detail-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 320px;
    }
}

@media (max-width: 760px) {
    .nav-shell {
        height: 66px;
        padding: 0 16px;
    }

    .brand {
        font-size: 20px;
    }

    .hero-content {
        min-height: 78vh;
        padding: 126px 18px 76px;
    }

    .quick-search-panel,
    .filter-panel,
    .category-overview-card,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .quick-search-panel form,
    .search-panel form {
        flex-direction: column;
    }

    .content-section,
    .quick-search-panel,
    .rank-band,
    .page-main,
    .detail-shell,
    .player-section,
    .article-section {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .tile-stack img {
        height: 96px;
    }

    .page-main {
        padding-top: 92px;
    }

    .page-hero {
        padding: 34px 22px;
        border-radius: 26px;
    }

    .detail-shell {
        padding-top: 100px;
    }

    .detail-copy h1 {
        font-size: 42px;
    }

    .ranking-row {
        gap: 12px;
    }

    .rank-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
