/* ========================================
   91香蕉 - 全站样式表
   品牌色: 金黄 #F5A623, 深紫 #2D1B69, 暗色 #1A1A2E
   ======================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: #F5A623; text-decoration: none; transition: color .3s; }
a:hover { color: #ffd700; }
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 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.site-logo img { height: 50px; width: auto; }
.site-logo { display: flex; align-items: center; gap: 8px; }

/* Navigation */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
    display: block;
    padding: 8px 16px;
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all .3s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
    background: rgba(245,166,35,.15);
    color: #F5A623;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #F5A623;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* Search Bar */
.search-bar {
    background: linear-gradient(135deg, #1e1e3a 0%, #2D1B69 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(245,166,35,.15);
}
.search-bar .container { display: flex; justify-content: center; }
.search-form {
    display: flex;
    max-width: 600px;
    width: 100%;
    position: relative;
}
.search-form input {
    flex: 1;
    padding: 10px 20px;
    border: 2px solid rgba(245,166,35,.3);
    border-right: none;
    border-radius: 25px 0 0 25px;
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color .3s;
}
.search-form input:focus { border-color: #F5A623; }
.search-form input::placeholder { color: rgba(255,255,255,.4); }
.search-form button {
    padding: 10px 24px;
    background: linear-gradient(135deg, #F5A623, #e6951e);
    color: #1A1A2E;
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
}
.search-form button:hover { background: linear-gradient(135deg, #ffd700, #F5A623); }

/* ========== Hero Banner ========== */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section .hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.6);
    margin-bottom: 16px;
    line-height: 1.3;
}
.hero-content h1 span { color: #F5A623; }
.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,.85);
    max-width: 600px;
    margin: 0 auto 24px;
}
.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #F5A623, #e6951e);
    background: linear-gradient(135deg, #F5A623, #e6951e);
    color: #1A1A2E;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    transition: all .3s;
    box-shadow: 0 4px 20px rgba(245,166,35,.4);
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,166,35,.6);
    color: #1A1A2E;
}

/* ========== Section Common ========== */
.section {
    padding: 60px 0;
}
.section-alt {
    background: linear-gradient(180deg, #141428 0%, #0f0f1a 100%);
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.section-title h2 span { color: #F5A623; }
.section-title p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    max-width: 600px;
    margin: 0 auto;
}
.section-title h3 {
    font-size: 24px;
    color: #F5A623;
    margin-bottom: 8px;
}

/* ========== Video Card Grid ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.video-card {
    background: #1e1e3a;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
    position: relative;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(245,166,35,.2);
}
.video-card .thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}
.video-card .thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.video-card:hover .thumb img { transform: scale(1.08); }
.video-card .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px; height: 60px;
    background: rgba(245,166,35,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    z-index: 3;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1); }
.video-card .play-btn::after {
    content: '';
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #1A1A2E;
    margin-left: 4px;
}
.video-card .duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
}
.video-card .card-info { padding: 12px 14px; }
.video-card .card-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.video-card .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,.45);
}
.video-card .card-meta .views { color: #F5A623; }

/* ========== Feature Grid ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: linear-gradient(145deg, #1e1e3a, #252550);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all .3s;
    border: 1px solid rgba(245,166,35,.1);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245,166,35,.3);
    box-shadow: 0 10px 30px rgba(245,166,35,.1);
}
.feature-card .icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(245,166,35,.2), rgba(245,166,35,.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.feature-card h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}

/* ========== Expert Section ========== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.expert-card {
    background: #1e1e3a;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all .3s;
    border: 1px solid rgba(245,166,35,.08);
}
.expert-card:hover {
    border-color: rgba(245,166,35,.3);
    transform: translateY(-3px);
}
.expert-card .avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 3px solid #F5A623;
}
.expert-card .avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.expert-card h4 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.expert-card .role { font-size: 13px; color: #F5A623; margin-bottom: 10px; }
.expert-card p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.expert-card .expert-btns { margin-top: 14px; display: flex; gap: 8px; justify-content: center; }
.expert-card .expert-btns a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all .3s;
}
.btn-primary {
    background: #F5A623;
    color: #1A1A2E;
}
.btn-primary:hover { background: #ffd700; color: #1A1A2E; }
.btn-outline {
    border: 1px solid #F5A623;
    color: #F5A623;
}
.btn-outline:hover { background: rgba(245,166,35,.15); }

/* ========== Reviews ========== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: #1e1e3a;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(245,166,35,.08);
}
.review-card .stars { color: #F5A623; font-size: 16px; margin-bottom: 12px; }
.review-card blockquote {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}
.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-card .reviewer-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F5A623, #e6951e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A2E;
    font-weight: 700;
    font-size: 16px;
}
.review-card .reviewer-info h5 { font-size: 14px; color: #fff; }
.review-card .reviewer-info span { font-size: 12px; color: rgba(255,255,255,.4); }

/* ========== Partners ========== */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}
.partner-logos .partner-item {
    background: rgba(255,255,255,.05);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    transition: all .3s;
    border: 1px solid rgba(255,255,255,.08);
}
.partner-logos .partner-item:hover {
    color: #F5A623;
    border-color: rgba(245,166,35,.3);
    background: rgba(245,166,35,.05);
}

/* ========== Contact Section ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.contact-card {
    background: #1e1e3a;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(245,166,35,.08);
}
.contact-card h4 {
    font-size: 18px;
    color: #F5A623;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245,166,35,.15);
}
.contact-card .info-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}
.contact-card .info-item .label {
    color: #F5A623;
    min-width: 80px;
    font-weight: 600;
}

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #1e1e3a;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(245,166,35,.08);
}
.faq-item .faq-q {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .3s;
}
.faq-item .faq-q:hover { background: rgba(245,166,35,.05); }
.faq-item .faq-q .arrow {
    color: #F5A623;
    transition: transform .3s;
    font-size: 18px;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-item .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-item .faq-a p {
    padding: 0 20px 16px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

/* ========== Social Share ========== */
.social-share {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.social-share a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255,255,255,.05);
    border-radius: 25px;
    color: #e0e0e0;
    font-size: 14px;
    transition: all .3s;
    border: 1px solid rgba(255,255,255,.08);
}
.social-share a:hover {
    background: rgba(245,166,35,.15);
    border-color: #F5A623;
    color: #F5A623;
}

/* ========== Footer ========== */
.site-footer {
    background: linear-gradient(180deg, #0a0a18 0%, #050510 100%);
    padding: 50px 0 0;
    border-top: 1px solid rgba(245,166,35,.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h5 {
    font-size: 16px;
    color: #F5A623;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col p {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    transition: color .3s;
}
.footer-col ul li a:hover { color: #F5A623; }
.footer-qr {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.footer-qr .qr-item { text-align: center; }
.footer-qr .qr-item img {
    width: 100px; height: 100px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.footer-qr .qr-item span {
    font-size: 11px;
    color: rgba(255,255,255,.4);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.35);
}
.footer-bottom .update-time {
    color: #F5A623;
    font-size: 12px;
    margin-top: 6px;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #F5A623; }
.breadcrumb span { margin: 0 6px; }

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, #1A1A2E 0%, #2D1B69 100%);
    padding: 50px 0;
    text-align: center;
}
.page-banner h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}
.page-banner h1 span { color: #F5A623; }
.page-banner p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
}

/* ========== Tags ========== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
    padding: 4px 14px;
    background: rgba(245,166,35,.1);
    color: #F5A623;
    border-radius: 20px;
    font-size: 12px;
    transition: all .3s;
}
.tag:hover { background: rgba(245,166,35,.25); }

/* ========== Tool Cards ========== */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tool-card {
    background: linear-gradient(145deg, #1e1e3a, #252550);
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    border: 1px solid rgba(245,166,35,.08);
}
.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245,166,35,.3);
}
.tool-card .tool-img {
    height: 180px;
    overflow: hidden;
}
.tool-card .tool-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.tool-card:hover .tool-img img { transform: scale(1.05); }
.tool-card .tool-info { padding: 20px; }
.tool-card .tool-info h4 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.tool-card .tool-info p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }
.tool-card .tool-info .tool-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    background: #F5A623;
    color: #1A1A2E;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ========== Community Post ========== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.post-card {
    background: #1e1e3a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    transition: all .3s;
    border: 1px solid rgba(245,166,35,.08);
}
.post-card:hover {
    border-color: rgba(245,166,35,.2);
    transform: translateY(-3px);
}
.post-card .post-img {
    width: 200px;
    min-height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}
.post-card .post-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.post-card .post-content { padding: 16px; flex: 1; }
.post-card .post-content h4 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.post-card .post-content p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.post-card .post-meta {
    margin-top: 12px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255,255,255,.35);
}
.post-card .post-meta .hot { color: #F5A623; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1A1A2E;
        padding: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,.5);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { padding: 12px 16px; }
    .hero-section { height: 350px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card { flex-direction: column; }
    .post-card .post-img { width: 100%; min-height: 180px; }
    .tool-grid { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 26px; }
    .page-banner { padding: 35px 0; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .expert-grid { grid-template-columns: 1fr; }
    .video-card .card-info h4 { font-size: 13px; }
    .hero-section { height: 280px; }
    .hero-content h1 { font-size: 22px; }
    .partner-logos .partner-item { font-size: 14px; padding: 12px 18px; }
}

/* ========== Lazy Load ========== */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* ========== MCP Placeholder ========== */
.mcp-widget {
    background: rgba(245,166,35,.05);
    border: 1px dashed rgba(245,166,35,.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}
.mcp-widget p { font-size: 13px; color: rgba(255,255,255,.4); }

/* ========== Animations ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: fadeInUp .6s ease forwards;
}

/* ========== Video Stats Bar ========== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, rgba(245,166,35,.08), rgba(45,27,105,.15));
    border-radius: 16px;
    margin-bottom: 40px;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
    font-size: 36px;
    font-weight: 800;
    color: #F5A623;
    display: block;
}
.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}

/* ========== How-To Guide ========== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.howto-step {
    text-align: center;
    padding: 24px 16px;
    background: #1e1e3a;
    border-radius: 16px;
    position: relative;
}
.howto-step .step-num {
    width: 40px; height: 40px;
    background: #F5A623;
    color: #1A1A2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 12px;
}
.howto-step h4 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.howto-step p { font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 768px) {
    .howto-steps { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
    .stat-item .stat-num { font-size: 28px; }
}
