:root{
    --bg:#07111f;
    --bg2:#0b1628;
    --panel:#0f1d33;
    --panel2:#13243d;
    --card:#0f1b2d;
    --text:#eaf2ff;
    --text2:#b8c7dd;
    --muted:#7890ad;
    --line:#1e3556;
    --blue:#2f8cff;
    --blue2:#00c2ff;
    --blue3:#7dd3fc;
    --shadow:0 18px 40px rgba(0,0,0,.35);
    --glow:0 0 28px rgba(47,140,255,.26);
}

*{box-sizing:border-box}
html{font-size:16px}
body{
    margin:0;
    background:
        radial-gradient(circle at top left, rgba(47,140,255,.18), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(0,194,255,.10), transparent 26%),
        linear-gradient(180deg,var(--bg),#050a13 75%);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
    line-height:1.65;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{width:min(1400px,94%);margin:0 auto}

.site-header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(7,17,31,.88);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(47,140,255,.18);
}
.header-inner{
    height:74px;
    display:flex;
    align-items:center;
    gap:22px;
}
.logo{
    display:flex;
    align-items:center;
    gap:11px;
    flex-shrink:0;
}
.logo-icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    color:#fff;
    font-size:24px;
    font-weight:900;
    box-shadow:var(--glow);
}
.logo-text{
    font-size:30px;
    font-weight:900;
    letter-spacing:.2px;
}
.logo-text span{
    color:var(--blue3);
}
.search-form{
    flex:1;
    max-width:620px;
    margin-left:auto;
    height:46px;
    display:flex;
    border:1px solid rgba(125,211,252,.35);
    border-radius:999px;
    overflow:hidden;
    background:rgba(15,29,51,.86);
}
.search-form input{
    flex:1;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    padding:0 18px;
    font-size:15px;
}
.search-form input::placeholder{color:#6f86a3}
.search-form button{
    border:0;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    color:#fff;
    padding:0 25px;
    font-weight:800;
    cursor:pointer;
}
.menu-toggle{
    display:none;
    border:1px solid rgba(125,211,252,.35);
    background:rgba(15,29,51,.9);
    color:var(--blue3);
    border-radius:12px;
    padding:9px 13px;
    font-weight:800;
}
.site-nav{
    border-top:1px solid rgba(47,140,255,.08);
}
.nav-scroll{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:0 0 13px;
}
.nav-scroll::-webkit-scrollbar{height:0}
.nav-scroll a,
.nav-scroll li a{
    display:block;
    padding:8px 15px;
    border-radius:999px;
    color:var(--text2);
    background:rgba(15,29,51,.78);
    border:1px solid rgba(47,140,255,.16);
    white-space:nowrap;
    font-size:14px;
}
.nav-scroll a:hover,
.nav-scroll .active{
    color:#fff;
    background:linear-gradient(135deg,var(--blue),#1557d8);
    border-color:rgba(125,211,252,.55);
    box-shadow:var(--glow);
}
.nav-scroll ul,
.nav-scroll li{
    list-style:none;
    margin:0;
    padding:0;
    display:contents;
}

.page-main{padding:24px 0 56px}
.site-intro,
.archive-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin-bottom:24px;
    padding:28px 30px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(15,29,51,.96),rgba(10,32,62,.9));
    border:1px solid rgba(47,140,255,.22);
    box-shadow:var(--shadow);
}
.site-intro h1,
.archive-head h1{
    margin:0 0 8px;
    font-size:34px;
    line-height:1.25;
}
.site-intro p,
.archive-head p{
    margin:0;
    color:var(--text2);
}
.intro-badge{
    flex-shrink:0;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(47,140,255,.13);
    border:1px solid rgba(125,211,252,.45);
    color:var(--blue3);
    font-weight:900;
}

.section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:28px 0 18px;
}
.section-title h2{
    margin:0;
    font-size:26px;
    line-height:1.2;
}
.section-title h2:before{
    content:"";
    display:inline-block;
    width:7px;
    height:24px;
    border-radius:99px;
    background:linear-gradient(180deg,var(--blue2),var(--blue));
    margin-right:10px;
    vertical-align:-4px;
    box-shadow:var(--glow);
}
.section-title a{
    color:var(--blue3);
    font-weight:800;
}

.video-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.video-card{
    background:linear-gradient(180deg,rgba(19,36,61,.96),rgba(12,24,42,.98));
    border:1px solid rgba(47,140,255,.16);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.26);
    transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.video-card:hover{
    transform:translateY(-4px);
    border-color:rgba(125,211,252,.55);
    box-shadow:0 20px 46px rgba(0,0,0,.36), var(--glow);
}
.video-link{display:block}
.thumb{
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#020611;
}
.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}
.video-card:hover .thumb img{
    transform:scale(1.04);
}
.quality,
.duration{
    position:absolute;
    top:10px;
    padding:4px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    color:#fff;
    backdrop-filter:blur(8px);
}
.quality{
    left:10px;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
}
.duration{
    right:10px;
    background:rgba(0,0,0,.72);
}
.play-icon{
    position:absolute;
    left:50%;
    top:50%;
    width:48px;
    height:48px;
    margin-left:-24px;
    margin-top:-24px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:rgba(47,140,255,.82);
    box-shadow:var(--glow);
    opacity:0;
    transform:scale(.9);
    transition:.2s ease;
}
.video-card:hover .play-icon{
    opacity:1;
    transform:scale(1);
}
.card-body{padding:14px}
.card-body h2{
    margin:0;
    font-size:16px;
    line-height:1.48;
    height:48px;
    overflow:hidden;
    color:#f3f8ff;
}
.card-meta{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:10px;
    color:var(--muted);
    font-size:13px;
}
.card-meta span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.card-meta em{
    flex-shrink:0;
    font-style:normal;
    color:var(--blue3);
}

.breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:16px;
    color:var(--muted);
    font-size:14px;
}
.breadcrumb a{color:var(--blue3)}
.single-video{
    padding:24px;
    background:linear-gradient(180deg,rgba(19,36,61,.96),rgba(10,20,36,.98));
    border:1px solid rgba(47,140,255,.22);
    border-radius:24px;
    box-shadow:var(--shadow);
}
.single-title{
    margin:0 0 18px;
    font-size:34px;
    line-height:1.32;
}
.player-box{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    border-radius:20px;
    overflow:hidden;
    background:#000;
    box-shadow:0 18px 44px rgba(0,0,0,.42);
}
.player-box iframe{
    display:block;
    width:100%;
    height:100%;
    border:0;
}
.no-video{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:18px;
}
.video-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0;
}
.video-meta span{
    padding:7px 12px;
    border-radius:999px;
    background:rgba(47,140,255,.10);
    border:1px solid rgba(125,211,252,.24);
    color:#c9d9ee;
    font-size:14px;
}
.video-meta a{
    color:var(--blue3);
    font-weight:800;
}
.actor-field{
    border-radius:14px !important;
}
.content-body{
    color:#d7e4f5;
    border-top:1px solid rgba(47,140,255,.15);
    padding-top:18px;
    font-size:16px;
}
.content-body p{margin:0 0 14px}
.post-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(47,140,255,.15);
}
.post-tags strong{color:#dcecff}
.post-tags a{
    display:inline-flex;
    padding:6px 11px;
    border-radius:999px;
    background:rgba(47,140,255,.10);
    border:1px solid rgba(125,211,252,.28);
    color:var(--blue3);
    font-size:13px;
    font-weight:700;
}
.post-tags span{color:var(--muted)}

.mj-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:36px 0 8px;
}
.mj-pagination .page-numbers{
    min-width:40px;
    height:40px;
    padding:0 13px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:999px;
    background:rgba(15,29,51,.92);
    border:1px solid rgba(47,140,255,.22);
    color:var(--text2);
    font-weight:800;
}
.mj-pagination .current,
.mj-pagination a:hover{
    color:#fff;
    background:linear-gradient(135deg,var(--blue),#1557d8);
    border-color:rgba(125,211,252,.55);
    box-shadow:var(--glow);
}

.empty-box{
    grid-column:1/-1;
    padding:52px 20px;
    text-align:center;
    border-radius:22px;
    background:rgba(15,29,51,.92);
    border:1px solid rgba(47,140,255,.18);
    color:var(--text2);
}
.empty-box h2{margin-top:0;color:var(--text)}

.site-footer{
    margin-top:48px;
    padding:34px 0;
    border-top:1px solid rgba(47,140,255,.15);
    background:rgba(5,10,19,.86);
    color:var(--muted);
}
.footer-grid{
    display:flex;
    justify-content:space-between;
    gap:24px;
}
.footer-grid strong{
    color:#fff;
    font-size:18px;
}
.footer-grid p{margin:6px 0 0}
.footer-links,
.footer-links ul,
.footer-links li{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.footer-links a{color:var(--blue3)}

@media(max-width:1200px){
    .video-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
    .header-inner{
        height:auto;
        padding:13px 0;
        flex-wrap:wrap;
    }
    .logo-text{font-size:25px}
    .logo-icon{width:40px;height:40px}
    .search-form{
        order:3;
        flex-basis:100%;
        max-width:none;
        margin-left:0;
    }
    .menu-toggle{
        display:block;
        margin-left:auto;
    }
    .site-nav{display:none}
    .site-nav.open{display:block}
    .nav-scroll{padding:10px 0 13px}
    .site-intro,
    .archive-head{
        align-items:flex-start;
        flex-direction:column;
        padding:22px;
    }
    .site-intro h1,
    .archive-head h1{
        font-size:27px;
    }
    .video-grid{
        grid-template-columns:repeat(2,1fr);
        gap:13px;
    }
    .single-video{padding:15px;border-radius:18px}
    .single-title{font-size:23px}
    .player-box{border-radius:16px}
    .video-meta span{font-size:13px;border-radius:12px}
    .footer-grid{flex-direction:column}
}
@media(max-width:420px){
    .container{width:94%}
    .card-body{padding:11px}
    .card-body h2{
        font-size:14px;
        height:42px;
    }
    .card-meta{font-size:12px}
    .search-form button{padding:0 16px}
}
