
/* ========================================
   JAVNight - 基础样式
   Version 1.0
   ======================================== */

:root {
    --jn-bg: #0b0b0f;
    --jn-bg-soft: #121217;
    --jn-card: #17171d;
    --jn-card-hover: #202027;
    --jn-border: rgba(255,255,255,.08);
    --jn-text: #f2f2f5;
    --jn-text-soft: #9b9ba5;
    --jn-primary: #e85d75;
    --jn-primary-hover: #f16f86;
    --jn-radius: 8px;
    --jn-container: 1400px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: var(--jn-bg);
    color: var(--jn-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Microsoft YaHei",
        "PingFang SC",
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

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

a:hover {
    color: var(--jn-primary);
}

img {
    max-width: 100%;
    border: 0;
    vertical-align: middle;
}

button,
input {
    font: inherit;
}

/* ========================================
   页面容器
   ======================================== */

.jn-container {
    width: min(var(--jn-container), calc(100% - 40px));
    margin: 0 auto;
}

/* ========================================
   Header
   ======================================== */

.jn-header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 64px;
    background: rgba(11, 11, 15, .96);
    border-bottom: 1px solid var(--jn-border);
}

.jn-header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Logo */

.jn-logo {
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #fff;
}

.jn-logo span {
    color: var(--jn-primary);
}

/* 导航 */

.jn-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.jn-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--jn-text-soft);
    border-radius: 6px;
    transition: .2s;
}

.jn-nav a:hover,
.jn-nav a.active {
    color: #fff;
    background: rgba(255,255,255,.06);
}

/* ========================================
   搜索
   ======================================== */

.jn-search {
    width: 240px;
    flex: 0 0 240px;
}

.jn-search form {
    position: relative;
    margin: 0;
}

.jn-search input {
    width: 100%;
    height: 38px;
    padding: 0 42px 0 14px;
    color: #fff;
    background: #18181e;
    border: 1px solid var(--jn-border);
    border-radius: 20px;
    outline: none;
}

.jn-search input::placeholder {
    color: #666671;
}

.jn-search input:focus {
    border-color: rgba(232,93,117,.55);
}

.jn-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 38px;
    padding: 0;
    color: var(--jn-text-soft);
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* ========================================
   语言
   ======================================== */

.jn-language {
    position: relative;
    flex: 0 0 auto;
}

.jn-language-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    color: var(--jn-text-soft);
    cursor: pointer;
    border-radius: 6px;
}

.jn-language-toggle:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.jn-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    min-width: 130px;
    padding: 6px;
    background: #18181e;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.jn-language:hover .jn-language-menu {
    display: block;
}

.jn-language-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--jn-text-soft);
    border-radius: 5px;
}

.jn-language-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}

/* ========================================
   首页内容
   ======================================== */

.jn-main {
    min-height: calc(100vh - 64px);
    padding: 32px 0 60px;
}

.jn-section {
    margin-bottom: 42px;
}

.jn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.jn-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.jn-section-more {
    color: var(--jn-text-soft);
}

/* ========================================
   影片网格
   ======================================== */

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

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

.jn-card-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--jn-card);
    border-radius: var(--jn-radius);
}

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

.jn-card:hover .jn-card-cover img {
    transform: scale(1.04);
}

.jn-card-title {
    margin: 9px 2px 0;
    overflow: hidden;
    color: var(--jn-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jn-card-meta {
    margin: 3px 2px 0;
    overflow: hidden;
    color: var(--jn-text-soft);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ========================================
   分页
   ======================================== */

.jn-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
}

.jn-pagination a,
.jn-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--jn-text-soft);
    background: var(--jn-card);
    border-radius: 6px;
}

.jn-pagination a:hover,
.jn-pagination .active {
    color: #fff;
    background: var(--jn-primary);
}

/* ========================================
   播放页面
   ======================================== */

.jn-player {
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.jn-player video {
    display: block;
    width: 100%;
    max-height: 78vh;
}

/* ========================================
   视频信息
   ======================================== */

.jn-vod-info {
    padding: 24px 0;
}

.jn-vod-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.4;
}

.jn-vod-desc {
    color: var(--jn-text-soft);
    line-height: 1.8;
}

.jn-vod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 18px;
    color: var(--jn-text-soft);
}

.jn-vod-meta a {
    color: var(--jn-text);
}

.jn-tag {
    display: inline-block;
    margin: 4px;
    padding: 4px 9px;
    color: var(--jn-text-soft);
    background: var(--jn-card);
    border-radius: 5px;
}

/* ========================================
   Footer
   ======================================== */

.jn-footer {
    padding: 30px 0;
    color: #666671;
    text-align: center;
    border-top: 1px solid var(--jn-border);
}

/* ========================================
   手机端
   ======================================== */

@media (max-width: 1200px) {
    .jn-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .jn-search {
        width: 200px;
        flex-basis: 200px;
    }
}

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

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

    .jn-search {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 600px) {
    .jn-container {
        width: calc(100% - 24px);
    }

    .jn-header,
    .jn-header-inner {
        height: 58px;
    }

    .jn-logo {
        font-size: 19px;
    }

    .jn-search {
        max-width: none;
    }

    .jn-language-toggle {
        padding: 0 6px;
    }

    .jn-main {
        padding-top: 20px;
    }

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

    .jn-section-title {
        font-size: 18px;
    }

    .jn-card-title {
        font-size: 13px;
    }

    .jn-vod-title {
        font-size: 20px;
    }
}
```

```css
/* ========================================
   JAVNight 首页 Hero
   ======================================== */

.jn-hero {
    position: relative;
    min-height: 360px;
    margin-bottom: 45px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(232, 93, 117, .20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #181820 0%,
            #0d0d12 55%,
            #09090c 100%
        );
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
}

.jn-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10,10,14,.95),
            rgba(10,10,14,.55),
            rgba(10,10,14,.15)
        );
    pointer-events: none;
}

.jn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 55px;
}

.jn-hero-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--jn-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.jn-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 42px;
    line-height: 1.2;
}

.jn-hero p {
    margin: 0 0 28px;
    color: #aaaab4;
    font-size: 16px;
}

.jn-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 42px;
    padding: 0 20px;
    color: #fff;
    background: var(--jn-primary);
    border-radius: 6px;
    transition: .2s;
}

.jn-hero-button:hover {
    color: #fff;
    background: var(--jn-primary-hover);
    transform: translateY(-1px);
}


/* ========================================
   首页占位卡片
   ======================================== */

.jn-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #1b1b23,
            #101015
        );
}

.jn-placeholder span {
    color: rgba(255,255,255,.12);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
}


/* ========================================
   手机端 Hero
   ======================================== */

@media (max-width: 600px) {

    .jn-hero {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .jn-hero-content {
        padding: 30px;
    }

    .jn-hero h1 {
        font-size: 30px;
    }

    .jn-hero p {
        font-size: 14px;
    }

}
/* ========================================
   JAVNight 分类页影片封面
   ======================================== */

.mac-catalog-show__grid .vod-show-item {
    display: block;
}

.mac-catalog-show__grid .vod-show_thumb {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;

    background-color: #17171d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 8px;
    overflow: hidden;
}

.mac-catalog-show__grid .vod-show_thumb {
    min-height: 300px;
    background-color: #17171d;
}