/* 
 * 海角视频 - 核心样式表
 * 品牌：海角视频 | 域名：iohnhp9.cn
 */

:root {
    --pink: #FF6B8B;
    --pink-dark: #E55A7A;
    --purple: #9B5DE5;
    --dark: #12122A;
    --dark-light: #1A1A3A;
    --light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #A0AAB2;
    --border: #EEEEEE;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--pink);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 辅助类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: white !important; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.bg-pink { background-color: var(--pink); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.p-4 { padding: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-md-8 { flex: 0 0 66.666%; padding: 0 15px; }
.col-md-4 { flex: 0 0 33.333%; padding: 0 15px; }
.align-items-center { align-items: center; }

/* 按钮样式 */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--pink);
    color: white;
}

.btn-primary:hover {
    background-color: var(--pink-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
}

.btn-outline:hover {
    background-color: var(--pink);
    color: white;
}

.btn-large {
    padding: 12px 36px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn-text {
    color: var(--pink);
    font-weight: 500;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-menu a.active {
    color: var(--pink);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--pink);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    padding-right: 35px;
    border: 1px solid var(--border);
    border-radius: 20px;
    outline: none;
    width: 200px;
    transition: width 0.3s;
}

.search-input:focus {
    border-color: var(--pink);
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: white;
    padding: 15px;
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 页面通用结构 */
.section {
    padding: 60px 0;
}

.igsnopsu {
    margin-bottom: 40px;
    position: relative;
}

.igsnopsu h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.igsnopsu p {
    color: var(--text-muted);
}

.q1xolf86 {
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--pink);
    font-weight: 500;
}

.aoqza4gh {
    padding: 60px 0;
    background-color: var(--light);
    text-align: center;
}

.fzafptd {
    padding: 15px 0;
    background-color: var(--light);
    font-size: 14px;
    color: var(--text-muted);
}

.fzafptd a {
    color: var(--text-main);
}

/* Hero Section */
.bn7u3da6 {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.y68gek {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.pooh7cp {
    position: relative;
    z-index: 2;
}

.ftm9njs {
    max-width: 600px;
}

.ftm9njs h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.blym96 {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.pu1tkx9j {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.bjlu5uka {
    display: flex;
    gap: 40px;
}

.lbqjqqg {
    display: flex;
    flex-direction: column;
}

.c8257 {
    font-size: 24px;
    font-weight: bold;
    color: var(--pink);
}

.xodye {
    font-size: 14px;
    opacity: 0.8;
}

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* 直播卡片 */
.nllztfq {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.e88tllj {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 140%; /* 直播封面比例 */
    cursor: pointer;
}

.e88tllj img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.e88tllj:hover img {
    transform: scale(1.05);
}

.cswab6an {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.8) 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.jn3bssa {
    background: #FF3B30;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    align-self: flex-start;
}

.uk7zmba {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
}

.t5zl7 {
    font-size: 16px;
    margin-bottom: 5px;
}

.a6p4ns {
    font-size: 13px;
    opacity: 0.8;
}

/* 社区特性 */
.nzareii {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.z70tb3 {
    text-align: center;
    padding: 30px 20px;
    background: var(--light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.z70tb3:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

.jemo8b5d {
    font-size: 40px;
    margin-bottom: 15px;
}

.z70tb3 h3 {
    margin-bottom: 10px;
}

.z70tb3 p {
    font-size: 14px;
    color: var(--text-muted);
}

/* AI功能区 */
.mufqt {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.jrmrw8s8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cbzd8fe9 {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.cbzd8fe9 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hb2b9r {
    padding: 20px;
}

.hb2b9r h3 {
    color: var(--pink);
    margin-bottom: 10px;
}

.hb2b9r p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* 两列布局 (专家与合作) */
.q4lw3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sxt1y62 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.dustx95n {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dustx95n img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.mn7754 h4 {
    margin-bottom: 5px;
}

.mn7754 p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.j0l07 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.j0l07 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 用户评价 */
.nkzps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vr0q9ihf {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.tdaxb {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.yucrdnl {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.i9wkrgp {
    font-weight: bold;
}

.z9dkn31 {
    color: #FFC107;
}

.ch9m8 {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-q h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-icon {
    font-size: 24px;
    color: var(--pink);
    transition: transform 0.3s;
}

.faq-a {
    margin-top: 15px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-a {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 创作者中心布局 */
.omejf {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.n3o6u6 li {
    margin-bottom: 10px;
}

.n3o6u6 a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--text-main);
}

.n3o6u6 li.active a, .n3o6u6 a:hover {
    background: var(--light);
    color: var(--pink);
}

.oh62d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gefs8asm {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* 底部区域 */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.nxd03ezw {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.dk33t0xi .wua4d {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 15px 0;
}

.oemkh0e6 {
    display: flex;
    gap: 10px;
}

.share-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.share-btn:hover {
    background: var(--pink);
}

.x4si1bu h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.i0nvwk li, .l0yyu li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.i0nvwk a:hover {
    color: var(--pink);
}

.epby8d {
    display: flex;
    gap: 15px;
}

.c5jaqvkn {
    text-align: center;
}

.c5jaqvkn img {
    width: 100px;
    height: 100px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.c5jaqvkn span {
    display: block;
    font-size: 14px;
}

.c5jaqvkn small {
    color: rgba(255,255,255,0.5);
}

.rqvl89kn {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.video-container {
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    max-height: 60vh;
    display: block;
}

.video-modal .video-info {
    padding: 20px;
    color: white;
}

.video-modal .video-meta {
    margin: 10px 0;
}

.pwus6ppe {
    background: var(--pink);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

/* 选项卡与分页 */
.filter-bar, .cat-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn, .cat-tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .cat-tab.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
}

.page-btn.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.page-btn.next {
    width: auto;
    padding: 0 15px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nxd03ezw {
        grid-template-columns: 1fr 1fr;
    }
    .dk33t0xi, .epby8d {
        grid-column: span 2;
    }
    .q4lw3 {
        grid-template-columns: 1fr;
    }
    .ftm9njs h1 {
        font-size: 32px;
    }
    .nzareii {
        grid-template-columns: repeat(2, 1fr);
    }
    .jrmrw8s8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .search-box, .header-actions .btn-primary {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .bjlu5uka {
        flex-direction: column;
        gap: 15px;
    }
    .igsnopsu .q1xolf86 {
        position: static;
        display: block;
        margin-top: 10px;
    }
    .oh62d {
        grid-template-columns: 1fr;
    }
    .nzareii, .jrmrw8s8 {
        grid-template-columns: 1fr;
    }
    .nxd03ezw {
        grid-template-columns: 1fr;
    }
    .dk33t0xi, .epby8d {
        grid-column: span 1;
    }
    .rqvl89kn {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
