/* ============================================
   糖心vlog - 影视传媒视频社区 全新原创样式
   配色方案：深紫(#1a1a2e) + 粉色(#FF6B9D) + 珊瑚(#FF8A65) + 薰衣草(#7C4DFF)
   ============================================ */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif;color:#e8e0f0;background:#0f0f1a;line-height:1.75}
a{color:#FF6B9D;text-decoration:none;transition:color .3s}
a:hover{color:#FF8A65}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3;color:#fff}
h1{font-size:2.2rem}h2{font-size:1.8rem}h3{font-size:1.4rem}h4{font-size:1.15rem}
.tx-container{max-width:1240px;margin:0 auto;padding:0 20px}
.tx-section{padding:60px 0}
.tx-section-alt{background:#141428}
.tx-section-dark{background:#0a0a18}
.tx-section-title{text-align:center;margin-bottom:40px}
.tx-section-title h2{display:inline-block;position:relative;padding-bottom:12px}
.tx-section-title h2::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:60px;height:3px;background:linear-gradient(90deg,#FF6B9D,#7C4DFF);border-radius:2px}
.tx-section-title p{color:#a89cc8;margin-top:10px;font-size:.95rem}
.tx-badge{display:inline-block;background:linear-gradient(135deg,#FF6B9D,#7C4DFF);color:#fff;font-size:.75rem;padding:3px 10px;border-radius:20px;margin-bottom:8px}

/* 导航栏 */
.tx-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(15,15,26,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,107,157,.12);transition:all .3s}
.tx-header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.tx-logo{display:flex;align-items:center;gap:10px}
.tx-logo img{width:40px;height:40px;border-radius:8px}
.tx-logo-text{font-size:1.25rem;font-weight:800;background:linear-gradient(135deg,#FF6B9D,#FF8A65);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.tx-nav{display:flex;align-items:center;gap:6px}
.tx-nav a{color:#c8bfe0;font-size:.9rem;padding:8px 14px;border-radius:8px;transition:all .3s}
.tx-nav a:hover,.tx-nav a.active{color:#FF6B9D;background:rgba(255,107,157,.1)}
.tx-mobile-toggle{display:none;background:none;border:none;color:#FF6B9D;font-size:1.5rem;cursor:pointer}

/* 搜索框 */
.tx-search-bar{background:#141428;padding:12px 0;border-bottom:1px solid rgba(124,77,255,.1)}
.tx-search-wrap{display:flex;align-items:center;max-width:600px;margin:0 auto;background:#1e1e38;border-radius:30px;overflow:hidden;border:1px solid rgba(255,107,157,.15)}
.tx-search-wrap input{flex:1;background:transparent;border:none;padding:10px 20px;color:#e8e0f0;font-size:.9rem;outline:none}
.tx-search-wrap input::placeholder{color:#7a6fa0}
.tx-search-wrap button{background:linear-gradient(135deg,#FF6B9D,#7C4DFF);border:none;color:#fff;padding:10px 24px;cursor:pointer;font-size:.9rem;transition:opacity .3s}
.tx-search-wrap button:hover{opacity:.85}

/* Hero Banner */
.tx-hero{position:relative;height:520px;overflow:hidden;margin-top:64px}
.tx-hero-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity 1s}
.tx-hero-slide.active{opacity:1}
.tx-hero-slide img{width:100%;height:100%;object-fit:cover}
.tx-hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(15,15,26,.3) 0%,rgba(15,15,26,.85) 100%)}
.tx-hero-content{position:absolute;bottom:80px;left:0;width:100%;padding:0 20px;text-align:center;z-index:2}
.tx-hero-content h1{font-size:2.6rem;margin-bottom:12px;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.tx-hero-content p{font-size:1.1rem;color:#c8bfe0;max-width:700px;margin:0 auto 20px}
.tx-hero-btn{display:inline-block;background:linear-gradient(135deg,#FF6B9D,#7C4DFF);color:#fff;padding:12px 32px;border-radius:30px;font-size:1rem;font-weight:600;transition:transform .3s,box-shadow .3s}
.tx-hero-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(255,107,157,.35);color:#fff}

/* 视频卡片网格 */
.tx-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-video-card{position:relative;border-radius:12px;overflow:hidden;background:#1a1a30;transition:transform .3s,box-shadow .3s}
.tx-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(255,107,157,.15)}
.tx-video-thumb{position:relative;aspect-ratio:16/9;overflow:hidden}
.tx-video-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tx-video-card:hover .tx-video-thumb img{transform:scale(1.05)}
.tx-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:56px;height:56px;background:rgba(255,107,157,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .3s;cursor:pointer}
.tx-play-btn::after{content:'';width:0;height:0;border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff;margin-left:4px}
.tx-video-card:hover .tx-play-btn{transform:translate(-50%,-50%) scale(1)}
.tx-video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;font-size:.75rem;padding:2px 8px;border-radius:4px}
.tx-video-info{padding:14px 16px}
.tx-video-info h3{font-size:.95rem;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-video-meta{display:flex;align-items:center;gap:12px;color:#8a7fb0;font-size:.8rem}
.tx-video-meta span{display:flex;align-items:center;gap:4px}
.tx-video-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tx-video-tags span{font-size:.7rem;background:rgba(124,77,255,.15);color:#b8a5e8;padding:2px 8px;border-radius:12px}

/* 分类标签栏 */
.tx-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:30px}
.tx-tab{background:#1e1e38;color:#c8bfe0;border:1px solid rgba(124,77,255,.2);padding:8px 20px;border-radius:20px;cursor:pointer;font-size:.85rem;transition:all .3s}
.tx-tab:hover,.tx-tab.active{background:linear-gradient(135deg,#FF6B9D,#7C4DFF);color:#fff;border-color:transparent}

/* 专家卡片 */
.tx-expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-expert-card{background:#1a1a30;border-radius:12px;padding:24px;text-align:center;border:1px solid rgba(124,77,255,.1);transition:all .3s}
.tx-expert-card:hover{border-color:#FF6B9D;box-shadow:0 8px 25px rgba(255,107,157,.1)}
.tx-expert-avatar{width:90px;height:90px;border-radius:50%;margin:0 auto 14px;overflow:hidden;border:3px solid #7C4DFF}
.tx-expert-avatar img{width:100%;height:100%;object-fit:cover}
.tx-expert-card h4{margin-bottom:4px}
.tx-expert-role{color:#FF6B9D;font-size:.8rem;margin-bottom:8px}
.tx-expert-desc{color:#a89cc8;font-size:.82rem;line-height:1.5;margin-bottom:12px}
.tx-expert-btn{display:inline-block;background:rgba(255,107,157,.12);color:#FF6B9D;padding:6px 16px;border-radius:20px;font-size:.8rem;transition:all .3s}
.tx-expert-btn:hover{background:#FF6B9D;color:#fff}

/* FAQ */
.tx-faq-list{max-width:800px;margin:0 auto}
.tx-faq-item{background:#1a1a30;border-radius:10px;margin-bottom:12px;overflow:hidden;border:1px solid rgba(124,77,255,.08)}
.tx-faq-q{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#e8e0f0;transition:background .3s}
.tx-faq-q:hover{background:rgba(255,107,157,.05)}
.tx-faq-q::after{content:'+';font-size:1.3rem;color:#FF6B9D;transition:transform .3s}
.tx-faq-item.open .tx-faq-q::after{transform:rotate(45deg)}
.tx-faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;padding:0 20px;color:#a89cc8;font-size:.9rem;line-height:1.7}
.tx-faq-item.open .tx-faq-a{max-height:300px;padding:0 20px 16px}

/* 用户评论 */
.tx-review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.tx-review-card{background:#1a1a30;border-radius:12px;padding:20px;border:1px solid rgba(124,77,255,.08)}
.tx-review-header{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.tx-review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#FF6B9D,#7C4DFF);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1rem}
.tx-review-name{font-weight:600;font-size:.9rem}
.tx-review-date{color:#7a6fa0;font-size:.75rem}
.tx-review-stars{color:#FFD700;font-size:.85rem;margin-bottom:8px}
.tx-review-text{color:#c8bfe0;font-size:.88rem;line-height:1.6}

/* 品牌合作墙 */
.tx-brand-wall{border-radius:12px;overflow:hidden}
.tx-brand-wall img{width:100%;border-radius:12px}

/* How-To 步骤 */
.tx-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}
.tx-step{text-align:center;padding:24px 16px;background:#1a1a30;border-radius:12px;border:1px solid rgba(124,77,255,.08)}
.tx-step-num{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#FF6B9D,#7C4DFF);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;margin:0 auto 12px}
.tx-step h4{margin-bottom:6px;font-size:.95rem}
.tx-step p{color:#a89cc8;font-size:.82rem}

/* 社交分享 */
.tx-share{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.tx-share a{display:flex;align-items:center;gap:6px;background:#1e1e38;padding:8px 18px;border-radius:20px;color:#c8bfe0;font-size:.85rem;border:1px solid rgba(124,77,255,.12);transition:all .3s}
.tx-share a:hover{background:rgba(255,107,157,.12);color:#FF6B9D;border-color:#FF6B9D}

/* AI赋能模块 */
.tx-ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-ai-card{background:linear-gradient(135deg,rgba(124,77,255,.08),rgba(255,107,157,.08));border-radius:12px;padding:28px;border:1px solid rgba(124,77,255,.12);transition:all .3s}
.tx-ai-card:hover{border-color:#FF6B9D;transform:translateY(-4px)}
.tx-ai-icon{font-size:2rem;margin-bottom:12px}
.tx-ai-card h3{margin-bottom:8px;font-size:1.05rem}
.tx-ai-card p{color:#a89cc8;font-size:.88rem}

/* 社区功能 */
.tx-community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tx-community-card{background:#1a1a30;border-radius:12px;padding:22px;text-align:center;border:1px solid rgba(124,77,255,.08);transition:all .3s}
.tx-community-card:hover{border-color:#7C4DFF;box-shadow:0 6px 20px rgba(124,77,255,.1)}
.tx-community-icon{font-size:2.2rem;margin-bottom:10px}
.tx-community-card h4{margin-bottom:6px}
.tx-community-card p{color:#a89cc8;font-size:.82rem}

/* 联系我们 */
.tx-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}
.tx-contact-info{background:#1a1a30;border-radius:12px;padding:30px;border:1px solid rgba(124,77,255,.08)}
.tx-contact-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.tx-contact-item:last-child{margin-bottom:0}
.tx-contact-icon{width:36px;height:36px;border-radius:8px;background:rgba(255,107,157,.12);display:flex;align-items:center;justify-content:center;color:#FF6B9D;font-size:1rem;flex-shrink:0}
.tx-contact-detail h4{font-size:.9rem;margin-bottom:2px}
.tx-contact-detail p{color:#a89cc8;font-size:.85rem}

/* MCP Widget */
.tx-mcp-widget{background:linear-gradient(135deg,rgba(124,77,255,.1),rgba(255,107,157,.1));border-radius:12px;padding:24px;margin-top:30px;text-align:center;border:1px solid rgba(124,77,255,.15)}
.tx-mcp-widget h4{margin-bottom:12px}
.tx-mcp-input{width:100%;max-width:500px;background:#1e1e38;border:1px solid rgba(124,77,255,.2);border-radius:8px;padding:10px 16px;color:#e8e0f0;font-size:.9rem;outline:none;margin-bottom:10px}
.tx-mcp-btn{background:linear-gradient(135deg,#FF6B9D,#7C4DFF);border:none;color:#fff;padding:10px 28px;border-radius:8px;cursor:pointer;font-size:.9rem;transition:opacity .3s}
.tx-mcp-btn:hover{opacity:.85}

/* Footer */
.tx-footer{background:#0a0a16;padding:50px 0 20px;border-top:1px solid rgba(124,77,255,.1)}
.tx-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:30px;margin-bottom:30px}
.tx-footer-col h4{color:#FF6B9D;margin-bottom:14px;font-size:1rem}
.tx-footer-col a{display:block;color:#a89cc8;font-size:.85rem;margin-bottom:8px;transition:color .3s}
.tx-footer-col a:hover{color:#FF6B9D}
.tx-footer-col p{color:#a89cc8;font-size:.85rem;margin-bottom:6px}
.tx-footer-bottom{text-align:center;padding-top:20px;border-top:1px solid rgba(124,77,255,.08);color:#7a6fa0;font-size:.8rem}
.tx-footer-bottom a{color:#FF6B9D}

/* 面包屑 */
.tx-breadcrumb{padding:12px 0;font-size:.85rem;color:#7a6fa0}
.tx-breadcrumb a{color:#a89cc8}
.tx-breadcrumb span{margin:0 6px}

/* 干扰标签隐藏 */
.tx-noise{position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none}

/* 响应式 */
@media(max-width:1024px){
  .tx-video-grid{grid-template-columns:repeat(2,1fr)}
  .tx-expert-grid{grid-template-columns:repeat(2,1fr)}
  .tx-ai-grid{grid-template-columns:repeat(2,1fr)}
  .tx-steps{grid-template-columns:repeat(2,1fr)}
  .tx-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .tx-nav{display:none;position:absolute;top:64px;left:0;width:100%;background:#0f0f1a;flex-direction:column;padding:16px;border-bottom:1px solid rgba(255,107,157,.12)}
  .tx-nav.open{display:flex}
  .tx-mobile-toggle{display:block}
  .tx-hero{height:400px}
  .tx-hero-content h1{font-size:1.8rem}
  .tx-video-grid{grid-template-columns:1fr}
  .tx-expert-grid{grid-template-columns:1fr}
  .tx-ai-grid{grid-template-columns:1fr}
  .tx-community-grid{grid-template-columns:1fr}
  .tx-review-grid{grid-template-columns:1fr}
  .tx-contact-grid{grid-template-columns:1fr}
  .tx-steps{grid-template-columns:1fr}
  .tx-footer-grid{grid-template-columns:1fr}
  h1{font-size:1.6rem}h2{font-size:1.4rem}
}
