/* =================================================

 MissAI AppleCMS Theme

 UI Framework

 不包含字体加载

 依赖:
 font-sans
 font-title
 font-cinzel

================================================= */


/* =====================
 全局变量
===================== */


:root{


--bg-main:#050505;


--bg-card:

rgba(255,255,255,.06);



--bg-glass:

rgba(255,255,255,.08);



--border:

rgba(255,255,255,.12);



--text-main:#ffffff;


--text-sub:#a1a1aa;



--primary:#8b5cf6;


--primary-light:#c4b5fd;


--radius-xl:28px;


--radius-lg:20px;


--radius-md:14px;



--shadow:

0 20px 60px rgba(0,0,0,.45);



}





/* =====================
 页面基础
===================== */


html{


scroll-behavior:smooth;


}



body{


margin:0;


background:


radial-gradient(

circle at top,

rgba(139,92,246,.22),

transparent 35%

),


linear-gradient(

180deg,

#050505,

#09090b

);



color:var(--text-main);


}




a{


color:inherit;


text-decoration:none;


}




img{


max-width:100%;


display:block;


}




/* =====================
 主容器
===================== */


.wrapper-row{


max-width:1400px;


margin:auto;


padding:

0 30px;


}





.main-wrapper-row{


padding-top:90px;


}




@media(max-width:768px){


.wrapper-row{


padding:

0 15px;


}


}






/* =====================
 顶部导航
===================== */


.header-row{


position:fixed;


top:0;


left:0;


right:0;


height:76px;


z-index:999;



display:flex;


align-items:center;


padding:

0 35px;



background:

rgba(5,5,5,.65);



backdrop-filter:

blur(25px);



border-bottom:

1px solid var(--border);



}





.logo a{


font-size:32px;


font-weight:800;


font-family:

var(--font-cinzel);



letter-spacing:2px;


}



.logo span{


background:

linear-gradient(

90deg,

#fff,

#a78bfa

);



-webkit-background-clip:text;


color:transparent;


}






/* 导航菜单 */


.header-list-row{


margin-left:60px;


}



.header-list-row ul{


display:flex;


gap:35px;


list-style:none;


padding:0;


margin:0;


}



.header-list-row a{


font-family:

var(--font-noto-sans-sc);



color:#aaa;


transition:.3s;


}



.header-list-row a:hover{


color:#fff;


}





/* 搜索 */


.search-row{


margin-left:auto;


}




.search-form{


display:flex;


align-items:center;


background:

rgba(255,255,255,.08);



border:

1px solid var(--border);



border-radius:50px;


padding:4px;


}



.input-search{


width:260px;


padding:

12px 20px;


background:none;


border:0;


outline:none;


color:white;


}



.search-form button{


width:42px;


height:42px;


border-radius:50%;


border:0;


background:#fff;


color:#000;


}




@media(max-width:768px){

.header-row{
height:auto;
min-height:65px;
padding:0 15px;
flex-wrap:wrap;
}

.header-list-row{
display:block;
width:100%;
order:3;
margin:10px 0 5px;
}

.header-list-row ul{
display:flex;
gap:20px;
overflow-x:auto;
white-space:nowrap;
}

.header-list-row ul::-webkit-scrollbar{
display:none;
}

.header-list-row a{
font-size:14px;
}

.input-search{
width:100px;
}

.search-row{
margin-left:auto;
}

}






/* =====================
 首页 Hero
===================== */


.hero{


min-height:650px;


display:flex;


align-items:center;


justify-content:center;


text-align:center;


}





.hero h1{


font-family:

var(--font-noto-serif-sc);



font-size:

72px;



line-height:1.2;


background:

linear-gradient(

90deg,

#fff,

#a78bfa

);



-webkit-background-clip:text;


color:transparent;



}



.hero p{


color:var(--text-sub);


font-size:20px;


}




@media(max-width:768px){


.hero h1{


font-size:40px;


}



}
/* =================================================

 MissAI Video UI System

 Part 2 修正版

 视频卡片 / 分类 / 搜索 / 分页

================================================= */


/* =====================
 视频列表布局
===================== */


.thumbs-row{


display:grid;


grid-template-columns:

repeat(4,1fr);



gap:22px;



margin-top:30px;


}




@media(max-width:1200px){


.thumbs-row{


grid-template-columns:

repeat(3,1fr);


}


}



@media(max-width:900px){


.thumbs-row{


grid-template-columns:

repeat(2,1fr);


}


}



@media(max-width:550px){


.thumbs-row{


grid-template-columns:

repeat(2,1fr);


gap:12px;


}


}







/* =====================
 视频卡片主体
===================== */


.th{


position:relative;


aspect-ratio:16 / 9;


overflow:hidden;



border-radius:24px;



background:#111;



border:

1px solid rgba(255,255,255,.15);



transition:.35s;



cursor:pointer;


}



.th:hover{


transform:

translateY(-8px);



box-shadow:

0 25px 60px rgba(0,0,0,.55);



border-color:

rgba(139,92,246,.8);


}






/* =====================
 图片区域 修正版
===================== */


.th-image{

position:absolute;

left:0;

top:0;

right:0;

bottom:0;

width:100%;

height:100%;

overflow:hidden;

background:#111;

}




.th-image a{

display:block;

width:100%;

height:100%;

}




.th-image img{


width:100%;


height:100%;


display:block;



object-fit:cover;



object-position:center center;



transition:.5s;



}


/* =====================
 底部渐变遮罩
===================== */


.th-image:after{


content:"";


position:absolute;


left:0;


right:0;


bottom:0;


height:50%;



background:

linear-gradient(

transparent,

rgba(0,0,0,.92)

);



z-index:2;



pointer-events:none;


}







/* =====================
 自动播放按钮
 不修改PHP
===================== */


/* =====================
 视频播放按钮
 悬停显示
===================== */


.play-icon{


position:absolute;


left:50%;


top:50%;


transform:

translate(-50%,-50%)
scale(.7);



width:72px;


height:72px;



display:flex!important;


align-items:center;


justify-content:center;



font-size:38px;



color:white;



opacity:0;



visibility:hidden;



border-radius:50%;



background:

rgba(139,92,246,.45);



border:

1px solid rgba(255,255,255,.35);



backdrop-filter:

blur(15px);



-webkit-backdrop-filter:

blur(15px);



box-shadow:

0 10px 40px rgba(139,92,246,.5);



z-index:20;



transition:.35s;



}




/* 鼠标移入卡片 */

.th:hover .play-icon{


opacity:1;


visibility:visible;



transform:

translate(-50%,-50%)
scale(1);



}



/* 图片轻微放大 */

.th:hover .th-image img{


transform:

scale(1.08);



}



.th:hover .th-image a:before{


transform:

translate(-50%,-50%)
scale(1.12);



}





/* =================================
 顶部视频信息标签
================================= */


.th-videos,
.th-duration{


position:absolute;


top:12px;



z-index:20;



height:26px;



padding:0 12px;



display:flex;



align-items:center;



justify-content:center;



border-radius:20px;



background:

rgba(0,0,0,.55);



border:

1px solid rgba(255,255,255,.18);



backdrop-filter:

blur(12px);



-webkit-backdrop-filter:

blur(12px);



color:#fff;



font-family:

var(--font-source-sans);



font-size:12px;



font-weight:600;



line-height:1;



}




/* 左上 清晰度 */


.th-videos{


left:12px;


}




/* 右上 时长 */


.th-duration{


right:12px;


}






/* =====================
 底部标题
===================== */


.th-title{


position:absolute;



left:15px;



right:15px;



bottom:18px;



z-index:8;



font-family:

var(--font-noto-sans-sc);



font-size:16px;



font-weight:700;



line-height:1.5;



color:#fff;



overflow:hidden;



text-overflow:ellipsis;



white-space:nowrap;



}





.th-title:hover{


color:#c4b5fd;



}








/* =====================
 移动端卡片
===================== */


/* 手机端单列 */

@media(max-width:550px){


.thumbs-row{


display:grid;


grid-template-columns:1fr;


gap:18px;



}



.th{


width:100%;


aspect-ratio:16 / 9;


height:auto;



}



.th-image{


width:100%;


height:100%;


}



}




.th-image a:before{


width:50px;


height:50px;


font-size:20px;


}



.th-title{


font-size:14px;


left:12px;


right:12px;


bottom:15px;


}



.th-videos,


.th-duration{


font-size:11px;


padding:

5px 10px;


}



}





/* =====================
 手机头部导航修复
===================== */


@media(max-width:640px){



.header-row{


height:65px;


display:flex;


align-items:center;


justify-content:space-between;



padding:0 15px;


}



.b-menu,
.b-search{


display:flex!important;


align-items:center;


justify-content:center;



width:42px;


height:42px;



border-radius:50%;



background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.15);



color:white;


}



.b-menu i,
.b-search i{


font-size:20px;


}





.logo{


position:absolute;


left:50%;


transform:

translateX(-50%);



}


}

@media(max-width:640px){

.header-list-row{
display:block!important;
}

}

/* =================================================

 首页模块标题

================================================= */


.section-title{


display:flex;


justify-content:space-between;


align-items:center;


margin:

60px 0 25px;


}




.section-title h2{


font-family:

var(--font-noto-serif-sc);



font-size:38px;



font-weight:700;



background:

linear-gradient(

90deg,

#fff,

#a78bfa

);



-webkit-background-clip:text;



color:transparent;



}





/* =================================================

 分类按钮

================================================= */


.category-list{


display:flex;


flex-wrap:wrap;


gap:12px;


}



.category-list a{


padding:

10px 22px;



border-radius:

50px;



background:

rgba(255,255,255,.06);



border:

1px solid rgba(255,255,255,.12);



color:#aaa;



transition:.3s;



}




.category-list a:hover,


.category-list .active{


background:

linear-gradient(

90deg,

#8b5cf6,

#6366f1

);



color:#fff;



}







/* =================================================

 搜索标题

================================================= */


.search-title{


font-family:

var(--font-noto-serif-sc);



font-size:36px;



background:

linear-gradient(

90deg,

#fff,

#a78bfa

);



-webkit-background-clip:text;



color:transparent;



margin:

40px 0;



}







/* =================================================

 分页

================================================= */


.pages-row{


margin:

60px 0;


}



.pages-row ul{


display:flex;


justify-content:center;


gap:10px;


list-style:none;


padding:0;


}




.pages-row li{


display:inline-flex !important;

width:auto !important;

float:none !important;


}




.pages-row a,


.pages-row span{


height:42px;


min-width:42px;


padding:

0 16px;



display:flex;



align-items:center;



justify-content:center;



border-radius:

50px;



background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.12);



color:#fff;



transition:.3s;



}




.pages-row a:hover{


background:#fff;


color:#000;


}





.pages-row .active,


.pages-row .current{


background:

linear-gradient(

90deg,

#8b5cf6,

#6366f1

);



border:0;


}







/* =================================================

 标签

================================================= */


.tag-list{


display:flex;


flex-wrap:wrap;


gap:10px;


}




.tag-list a{


padding:

8px 18px;


border-radius:

50px;



background:

rgba(255,255,255,.06);



border:

1px solid rgba(255,255,255,.12);



color:#aaa;



}



.tag-list a:hover{


background:#fff;


color:#000;


}






/* =================================================

 空状态

================================================= */


.empty-box{


padding:

100px 20px;


text-align:center;


color:#888;


}



.empty-box h2{


font-family:

var(--font-noto-serif-sc);



font-size:36px;


color:white;


}
/* =================================================

 MissAI Player & Detail UI

 Part 3

 播放器 / 详情 / 推荐 / Footer

================================================= */



/* ==========================
 播放页面整体
========================== */


.player-page{


padding-top:100px;


}




/* ==========================
 播放器外层
========================== */


.player-box{


width:100%;


background:#000;



border-radius:

30px;



overflow:hidden;



border:

1px solid rgba(255,255,255,.1);



box-shadow:

0 30px 80px rgba(0,0,0,.6);



position:relative;



}




/* iframe播放器 */


.player-box iframe,


.player-box video{


width:100%;


height:720px;


display:block;


border:0;


background:#000;


}





@media(max-width:768px){


.player-box{


border-radius:18px;


}



.player-box iframe,


.player-box video{


height:260px;


}



}






/* ==========================
 播放器顶部标签
========================== */


.player-header{


position:absolute;


top:20px;


left:20px;


z-index:5;


display:flex;


gap:10px;


}





.player-badge{


padding:

8px 18px;



border-radius:

50px;



background:

rgba(255,255,255,.12);



backdrop-filter:

blur(15px);



border:

1px solid rgba(255,255,255,.15);



font-size:13px;



color:white;


}







/* ==========================
 播放按钮
========================== */


.play-button{


width:80px;


height:80px;


border-radius:50%;


display:flex;


align-items:center;


justify-content:center;


background:white;


color:#000;



font-size:30px;



position:absolute;


left:50%;


top:50%;


transform:

translate(-50%,-50%);



transition:.3s;



}




.play-button:hover{


transform:

translate(-50%,-50%)
scale(1.15);


background:#c4b5fd;


}







/* ==========================
 视频详情 Hero
========================== */


.detail-hero{


position:relative;


margin-top:40px;


padding:

60px;


border-radius:

35px;



overflow:hidden;



background:

rgba(255,255,255,.06);



border:

1px solid rgba(255,255,255,.1);



backdrop-filter:

blur(25px);



}




.detail-hero:before{


content:"";


position:absolute;


inset:0;



background:

linear-gradient(

90deg,

rgba(0,0,0,.9),

transparent

);



z-index:0;


}





.detail-content{


position:relative;


z-index:2;


}





.detail-title{


font-family:

var(--font-noto-serif-sc);



font-size:50px;



font-weight:800;



line-height:1.3;



background:

linear-gradient(

90deg,

#fff,

#a78bfa

);



-webkit-background-clip:text;


color:transparent;


}



@media(max-width:768px){


.detail-title{


font-size:32px;


}



.detail-hero{


padding:30px;


}



}






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


.video-meta{


display:flex;


flex-wrap:wrap;



gap:12px;



margin-top:25px;


}



.video-meta span{


padding:

8px 18px;



border-radius:

50px;



background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.12);



font-size:14px;


}





/* ==========================
 播放按钮区域
========================== */


.play-actions{


margin-top:35px;


display:flex;


gap:15px;


}



.play-actions a{


padding:

14px 35px;



border-radius:

50px;



background:white;



color:#000;



font-weight:600;


}



.play-actions a:hover{


background:#c4b5fd;


}



.play-actions .secondary{


background:

rgba(255,255,255,.1);



color:white;


}





/* ==========================
 视频简介
========================== */


.video-description{


margin-top:40px;


padding:

35px;



border-radius:

25px;



background:

rgba(255,255,255,.05);



border:

1px solid rgba(255,255,255,.1);



color:#ccc;



line-height:2;


}




.video-description h3{


font-family:

var(--font-noto-serif-sc);



font-size:28px;


color:white;


}






/* ==========================
 演员 / 分类标签
========================== */


.actor-box{


margin-top:30px;


}




.actor-box a{


display:inline-flex;


padding:

10px 20px;



margin:

5px;



border-radius:

50px;



background:

rgba(139,92,246,.15);



color:#c4b5fd;


}





.actor-box a:hover{


background:#8b5cf6;


color:white;


}






/* ==========================
 推荐视频
========================== */


.recommend-title{


margin:

70px 0 30px;


font-family:

var(--font-noto-serif-sc);



font-size:38px;


}





.recommend-list{


display:grid;


grid-template-columns:

repeat(2,1fr);



gap:25px;


}




@media(max-width:768px){


.recommend-list{


grid-template-columns:

1fr;


}



}








/* ==========================
 播放线路
========================== */


.player-from{


display:flex;


flex-wrap:wrap;



gap:12px;



margin:

30px 0;


}




.player-from a{


padding:

12px 25px;



border-radius:

50px;



background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.1);


}



.player-from a:hover,


.player-from .active{


background:white;


color:#000;


}








/* ==========================
 评论区域
========================== */


.comment-box{


margin-top:50px;


padding:

35px;



border-radius:

30px;



background:

rgba(255,255,255,.05);



border:

1px solid rgba(255,255,255,.1);



}





.comment-box textarea{


width:100%;


height:120px;


padding:20px;


border-radius:20px;


background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.15);



color:white;



resize:none;


}



.comment-box button{


margin-top:20px;


padding:

12px 35px;



border-radius:

50px;



border:0;



background:white;



color:#000;


}







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


.footer-row{


margin-top:100px;


padding:

60px 20px;



background:


linear-gradient(

180deg,

#050505,

#111

);



border-top:

1px solid rgba(255,255,255,.1);



text-align:center;


color:#777;


}




.footer-inner span{


font-family:

var(--font-cinzel);



font-size:28px;



background:

linear-gradient(

90deg,

white,

#a78bfa

);



-webkit-background-clip:text;


color:transparent;


}




.footer-row a{


color:#999;


margin:0 10px;


}



.footer-row a:hover{


color:white;


}







/* ==========================
 手机底部导航
========================== */


.mobile-nav{


display:none;


}



@media(max-width:768px){


.mobile-nav{


display:flex;


position:fixed;


bottom:0;


left:0;


right:0;


height:65px;



background:

rgba(0,0,0,.8);



backdrop-filter:

blur(20px);



border-top:

1px solid rgba(255,255,255,.1);



z-index:999;


}



.mobile-nav a{


flex:1;


display:flex;


align-items:center;


justify-content:center;



color:#aaa;



font-size:13px;


}



.mobile-nav a:hover{


color:white;


}



}

/* =====================
最终手机端兼容修复
===================== */

@media(max-width:768px){

body{
padding-bottom:65px;
}

.header-row{
overflow:visible;
}

.logo a{
font-size:24px;
}

}

