/* ========================================
   五月天下mv视频 - 全站样式表
   xswno.cn
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333; background: #f8f9fa; line-height: 1.7;
}
a { color: #e74c6f; text-decoration: none; transition: color .2s; }
a:hover { color: #c0392b; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== Header ========== */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-area img { width: 48px; height: 48px; border-radius: 10px; }
.logo-area h1 { font-size: 1.3rem; font-weight: 700; color: #fff; }
.logo-area h1 span { color: #e74c6f; }

/* Navigation */
.main-nav ul { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
    display: block; padding: 8px 16px; color: #ccc; font-size: .9rem;
    border-radius: 6px; transition: all .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(231,76,111,.2); }

/* Search Bar */
.search-bar {
    background: rgba(255,255,255,.06); padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.search-bar form {
    display: flex; max-width: 600px; margin: 0 auto;
}
.search-bar input {
    flex: 1; padding: 10px 18px; border: none; border-radius: 25px 0 0 25px;
    background: rgba(255,255,255,.12); color: #fff; font-size: .9rem;
    outline: none;
}
.search-bar input::placeholder { color: rgba(255,255,255,.5); }
.search-bar button {
    padding: 10px 24px; border: none; border-radius: 0 25px 25px 0;
    background: linear-gradient(135deg, #e74c6f, #f39c12); color: #fff;
    font-size: .9rem; cursor: pointer; transition: opacity .2s;
}
.search-bar button:hover { opacity: .85; }

/* ========== Banner ========== */
.hero-banner {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.hero-banner img {
    width: 100%; height: 420px; object-fit: cover;
    opacity: .6;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #fff; padding: 20px;
}
.hero-overlay h2 { font-size: 2.4rem; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-overlay p { font-size: 1.1rem; opacity: .9; max-width: 600px; }
.hero-overlay .btn-primary {
    margin-top: 20px; padding: 12px 36px; background: linear-gradient(135deg, #e74c6f, #f39c12);
    color: #fff; border-radius: 30px; font-size: 1rem; font-weight: 600;
    display: inline-block; transition: transform .2s, box-shadow .2s;
}
.hero-overlay .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(231,76,111,.4); }

/* ========== Section Common ========== */
.section { padding: 50px 0; }
.section-alt { background: #fff; }
.section-title {
    text-align: center; margin-bottom: 40px;
}
.section-title h2 {
    font-size: 1.8rem; color: #1a1a2e; position: relative; display: inline-block;
    padding-bottom: 12px;
}
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: linear-gradient(135deg, #e74c6f, #f39c12);
    border-radius: 2px;
}
.section-title p { color: #666; margin-top: 10px; font-size: .95rem; }

/* ========== Video Grid ========== */
.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.video-thumb {
    position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; background: rgba(231,76,111,.85);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.play-btn::after {
    content: ''; width: 0; height: 0;
    border-left: 18px solid #fff; border-top: 11px solid transparent;
    border-bottom: 11px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { opacity: 1; }
.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.75); color: #fff; padding: 2px 8px;
    border-radius: 4px; font-size: .75rem;
}
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: .95rem; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.video-meta { display: flex; gap: 14px; color: #999; font-size: .8rem; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.video-tags span {
    padding: 2px 10px; background: #f0f0f5; color: #666; border-radius: 12px;
    font-size: .75rem;
}

/* ========== Category Tabs ========== */
.cat-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.cat-tabs a {
    padding: 8px 22px; border-radius: 20px; font-size: .9rem;
    background: #f0f0f5; color: #666; transition: all .2s;
}
.cat-tabs a:hover, .cat-tabs a.active {
    background: linear-gradient(135deg, #e74c6f, #f39c12); color: #fff;
}

/* ========== Expert Cards ========== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.expert-card {
    background: #fff; border-radius: 12px; padding: 28px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.08); transition: transform .3s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-card img {
    width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px;
    object-fit: cover; border: 3px solid #e74c6f;
}
.expert-card h4 { font-size: 1.1rem; color: #1a1a2e; margin-bottom: 4px; }
.expert-card .role { color: #e74c6f; font-size: .85rem; margin-bottom: 10px; }
.expert-card p { color: #666; font-size: .85rem; line-height: 1.6; margin-bottom: 14px; }
.expert-card .btn-sm {
    display: inline-block; padding: 6px 20px; border-radius: 20px;
    background: linear-gradient(135deg, #e74c6f, #f39c12); color: #fff;
    font-size: .8rem; margin: 0 4px;
}

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; border-radius: 10px; margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05); overflow: hidden;
}
.faq-q {
    padding: 18px 24px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; color: #1a1a2e; font-size: .95rem;
    transition: background .2s;
}
.faq-q:hover { background: #f8f9fa; }
.faq-q::after { content: '+'; font-size: 1.3rem; color: #e74c6f; transition: transform .3s; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    padding: 0 24px; color: #666; font-size: .9rem; line-height: 1.7;
}
.faq-item.active .faq-a { max-height: 300px; padding: 0 24px 18px; }

/* ========== Reviews ========== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.review-card .stars { color: #f39c12; margin-bottom: 10px; font-size: 1rem; }
.review-card p { color: #555; font-size: .9rem; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .reviewer-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #e74c6f, #f39c12); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 600;
}
.review-card .reviewer-name { font-size: .85rem; color: #333; font-weight: 600; }
.review-card .reviewer-date { font-size: .75rem; color: #999; }

/* ========== Partners ========== */
.partner-wall {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    align-items: center;
}
.partner-wall .partner-item {
    padding: 16px 28px; background: #fff; border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); font-size: .95rem;
    color: #555; font-weight: 600; transition: transform .2s;
}
.partner-wall .partner-item:hover { transform: scale(1.05); }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.contact-card {
    background: #fff; border-radius: 12px; padding: 28px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.contact-card .icon {
    width: 50px; height: 50px; margin: 0 auto 14px;
    background: linear-gradient(135deg, #e74c6f, #f39c12);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
}
.contact-card h4 { color: #1a1a2e; margin-bottom: 8px; }
.contact-card p { color: #666; font-size: .85rem; }

/* ========== Footer ========== */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ccc; padding: 40px 0 20px;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px; margin-bottom: 30px;
}
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: #aaa; font-size: .85rem; line-height: 2; }
.footer-col a:hover { color: #e74c6f; }
.footer-col img { width: 120px; border-radius: 8px; margin-top: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
    text-align: center; font-size: .8rem; color: #888;
}
.footer-bottom a { color: #e74c6f; }

/* Social Share */
.share-bar { display: flex; gap: 10px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.share-bar a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 20px; font-size: .8rem;
    color: #fff; transition: opacity .2s;
}
.share-bar a:hover { opacity: .85; color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00a1d6; }

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 14px 0; font-size: .85rem; color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #e74c6f; }
.breadcrumb span { margin: 0 6px; }

/* ========== How-To Guide ========== */
.howto-steps { max-width: 700px; margin: 0 auto; }
.howto-step {
    display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start;
}
.howto-step .step-num {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #e74c6f, #f39c12); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.howto-step .step-content h4 { color: #1a1a2e; margin-bottom: 4px; }
.howto-step .step-content p { color: #666; font-size: .9rem; }

/* ========== Module Grid (AI, Community etc) ========== */
.module-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.module-card {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08); text-align: center;
    transition: transform .3s;
}
.module-card:hover { transform: translateY(-4px); }
.module-card .m-icon {
    font-size: 2.2rem; margin-bottom: 12px;
}
.module-card h4 { color: #1a1a2e; margin-bottom: 8px; font-size: 1rem; }
.module-card p { color: #666; font-size: .85rem; line-height: 1.6; }

/* ========== Inner Page Content ========== */
.page-content {
    background: #fff; border-radius: 12px; padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08); margin: 30px 0;
}
.page-content h2 { color: #1a1a2e; margin-bottom: 16px; font-size: 1.5rem; }
.page-content h3 { color: #333; margin: 24px 0 12px; font-size: 1.2rem; }
.page-content p { color: #555; margin-bottom: 14px; font-size: .95rem; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .header-top { flex-direction: column; gap: 10px; }
    .main-nav ul { justify-content: center; }
    .main-nav a { padding: 6px 10px; font-size: .8rem; }
    .hero-banner img { height: 260px; }
    .hero-overlay h2 { font-size: 1.5rem; }
    .hero-overlay p { font-size: .9rem; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .section { padding: 30px 0; }
    .section-title h2 { font-size: 1.4rem; }
    .page-content { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .logo-area h1 { font-size: 1rem; }
    .video-grid { grid-template-columns: 1fr; }
    .hero-overlay h2 { font-size: 1.2rem; }
}
