/* 
 * 麻豆视频 影视传媒与视频社区
 * 设计风格：赛博霓虹与新浪潮 (Cyber Neon & New Wave)
 * 严格执行外部 CSS 规范
 */

/* 1. 变量与基础重置 */
:root {
    --bg-dark: #07070b;
    --bg-card: #11111a;
    --bg-card-hover: #161625;
    --neon-pink: #ff2a6d;
    --neon-cyan: #05d9e8;
    --neon-yellow: #f5a623;
    --text-main: #f5f5f7;
    --text-muted: #9e9eaf;
    --border-color: rgba(255, 42, 109, 0.15);
    --border-color-cyan: rgba(5, 217, 232, 0.15);
    --font-primary: 'Noto Sans SC', "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. 赛博网格与霓虹背景 */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 42, 109, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 42, 109, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    pointer-events: none;
}

.neon-glow-1 {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.neon-glow-2 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(5, 217, 232, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

/* 3. 辅助类与排版 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(5, 217, 232, 0.5);
}

.text-neon-yellow {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}

.font-display {
    font-family: var(--font-display);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

/* 4. 按钮样式 */
.btn-neon-pink, .btn-neon-cyan, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
}

.btn-neon-pink {
    background: linear-gradient(135deg, var(--neon-pink), #ff5b8f);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.4);
}

.btn-neon-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 42, 109, 0.7);
}

.btn-neon-cyan {
    background: linear-gradient(135deg, var(--neon-cyan), #3feefc);
    color: #07070b;
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.4);
}

.btn-neon-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(5, 217, 232, 0.7);
}

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

.btn-outline:hover {
    background: rgba(255, 42, 109, 0.1);
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.3);
    transform: translateY(-2px);
}

/* 5. 头部导航栏 (Header) */
.site-header {
    background-color: rgba(7, 7, 11, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 42, 109, 0.4);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-pink);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--neon-pink);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 6. 搜索栏 (Search Bar) */
.global-search-bar {
    background-color: rgba(17, 17, 26, 0.5);
    border-bottom: 1px solid rgba(5, 217, 232, 0.1);
    padding: 15px 0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: rgba(7, 7, 11, 0.8);
    border: 1px solid var(--border-color-cyan);
    border-radius: 30px;
    padding: 5px 5px 5px 20px;
    transition: var(--transition-smooth);
}

.search-input-wrapper:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.3);
}

.search-icon {
    color: var(--neon-cyan);
    font-size: 1.1rem;
    margin-right: 15px;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: linear-gradient(135deg, var(--neon-cyan), #00b0ff);
    color: #07070b;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-btn:hover {
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.6);
}

.hot-keywords {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hot-tag {
    color: var(--neon-cyan);
    border: 1px solid rgba(5, 217, 232, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    background-color: rgba(5, 217, 232, 0.05);
}

.hot-tag:hover {
    border-color: var(--neon-cyan);
    background-color: rgba(5, 217, 232, 0.15);
    box-shadow: 0 0 8px rgba(5, 217, 232, 0.2);
}

/* 7. 赛博模态弹窗 */
.t4tyaknq {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 11, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.t4tyaknq.active {
    display: flex;
}

.dlex8 {
    background-color: var(--bg-card);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.e5bp4t {
    background-color: rgba(5, 217, 232, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(5, 217, 232, 0.2);
}

.e5bp4t h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.n90bl {
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.n90bl:hover {
    color: var(--neon-pink);
}

.mhub050 {
    padding: 25px 20px;
}

.search-feedback-text {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.y9fcmpzy {
    background-color: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.u92e8 {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    height: 100%;
    width: 0%;
    animation: loadProgress 2s forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.z88ld2 {
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: rgba(245, 166, 35, 0.05);
    border-left: 3px solid var(--neon-yellow);
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 25px;
}

.ynany {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

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

.video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.25);
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* 播放按钮悬停遮罩 */
.l60cp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.video-card:hover .l60cp {
    opacity: 1;
}

.wdp2jcv {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--neon-pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 15px var(--neon-pink);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.video-card:hover .wdp2jcv {
    transform: scale(1);
}

.io1h8 {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(7, 7, 11, 0.8);
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-family: var(--font-display);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info-box {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.video-stats span {
    margin-right: 10px;
}

.video-stats i {
    margin-right: 3px;
}

/* 视频标签 */
.video-tags {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.video-tag-item {
    font-size: 0.7rem;
    background-color: rgba(255, 42, 109, 0.08);
    color: var(--neon-pink);
    padding: 1px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 42, 109, 0.15);
}

/* 9. 专家展示区 (Experts) */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.expert-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-cyan);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: var(--transition-smooth);
}

.expert-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.2);
}

.expert-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.expert-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(5, 217, 232, 0.3);
}

.expert-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--neon-cyan);
    color: #07070b;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 1px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.expert-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.expert-title {
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 15px;
    font-weight: 500;
}

.expert-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.expert-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.expert-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.expert-social-icon:hover {
    background-color: var(--neon-cyan);
    color: #07070b;
    transform: scale(1.1);
}

/* 10. FAQ 手风琴 (Accordion) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    text-align: left;
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-btn:hover {
    color: var(--neon-pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(7, 7, 11, 0.4);
}

.faq-answer-content {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 42, 109, 0.05);
}

.faq-item.active {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.15);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* 足够容纳内容的值 */
}

.faq-item.active .faq-question-btn i {
    transform: rotate(180deg);
    color: var(--neon-pink);
}

.faq-question-btn i {
    transition: var(--transition-smooth);
}

/* 11. 真实用户评论 (Testimonials) */
.comment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.comment-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-cyan);
    border-radius: 8px;
    padding: 25px;
    position: relative;
    transition: var(--transition-smooth);
}

.comment-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.15);
}

.comment-quote-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: rgba(5, 217, 232, 0.08);
    pointer-events: none;
}

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

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--neon-cyan);
}

.comment-username {
    font-size: 0.95rem;
    font-weight: 700;
}

.comment-user-badge {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    border: 1px solid rgba(5, 217, 232, 0.2);
    padding: 1px 6px;
    border-radius: 10px;
    margin-top: 2px;
    display: inline-block;
}

.comment-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.comment-stars {
    color: var(--neon-yellow);
    font-size: 0.8rem;
    margin-top: 12px;
}

/* 12. 页脚样式 (Footer) */
.site-footer {
    background-color: #040407;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-brand .footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 350px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--neon-pink);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--neon-pink);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 社交分享 */
.footer-share-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.share-title {
    font-weight: 700;
    font-size: 0.95rem;
}

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

.v2y0t {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.v2y0t.wechat:hover { background-color: #07c160; color: #fff; }
.v2y0t.weibo:hover { background-color: #e6162d; color: #fff; }
.v2y0t.tiktok:hover { background-color: #000000; color: #fff; border: 1px solid #00f2fe; }
.v2y0t.bilibili:hover { background-color: #fb7299; color: #fff; }

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.seo-statement {
    margin: 10px 0;
    font-size: 0.75rem;
    color: rgba(158, 158, 175, 0.5);
}

.update-time {
    margin-top: 15px;
    font-weight: 700;
}

/* 13. 响应式适配 */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    .nav-menu.active {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    .footer-share-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .kcmfos {
        width: 100%;
        flex-wrap: wrap;
    }
    .v2y0t {
        flex: 1;
        min-width: 110px;
        justify-content: center;
    }
}
