/* ========================================
   蜜桃 影视传媒 - 原创样式表
   配色：#ff69b4 / #ff1493
   域名：qhs0c1.cn
   ======================================== */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;color:#2d2d3a;line-height:1.7;background:#faf8ff;overflow-x:hidden}
a{color:#7b2ff7;text-decoration:none;transition:color .25s}
a:hover{color:#c850c0}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.3;color:#1a1a2e}

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

/* --- Header --- */
.tx-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(250,248,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(200,80,192,.1);transition:box-shadow .3s}
.tx-header.scrolled{box-shadow:0 2px 20px rgba(200,80,192,.12)}
.tx-header-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.tx-logo{display:flex;align-items:center;gap:8px}
.tx-logo img{height:40px;width:auto}
.tx-nav{display:flex;gap:28px;align-items:center}
.tx-nav a{font-size:15px;font-weight:500;color:#3a3a5c;position:relative;padding:4px 0}
.tx-nav a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:linear-gradient(90deg,#c850c0,#4158d0);transition:width .3s}
.tx-nav a:hover::after,.tx-nav a.active::after{width:100%}
.tx-nav a:hover{color:#c850c0}
.tx-mobile-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.tx-mobile-toggle span{width:24px;height:2px;background:#3a3a5c;border-radius:2px;transition:all .3s}
.tx-mobile-menu{display:none;position:fixed;top:68px;left:0;width:100%;background:rgba(250,248,255,.98);backdrop-filter:blur(12px);padding:20px;border-bottom:1px solid rgba(200,80,192,.1);z-index:999}
.tx-mobile-menu.show{display:block}
.tx-mobile-menu a{display:block;padding:12px 16px;font-size:16px;color:#3a3a5c;border-radius:8px}
.tx-mobile-menu a:hover{background:rgba(200,80,192,.06);color:#c850c0}

/* --- Search Bar --- */
.tx-search-wrap{padding:12px 0;background:linear-gradient(135deg,rgba(200,80,192,.04),rgba(65,88,208,.04))}
.tx-search-box{display:flex;max-width:640px;margin:0 auto;background:#fff;border-radius:28px;border:2px solid rgba(200,80,192,.15);overflow:hidden;transition:border-color .3s}
.tx-search-box:focus-within{border-color:#c850c0}
.tx-search-box input{flex:1;border:none;outline:none;padding:12px 24px;font-size:15px;background:transparent;color:#2d2d3a}
.tx-search-box input::placeholder{color:#b0b0c8}
.tx-search-box button{background:linear-gradient(135deg,#c850c0,#4158d0);color:#fff;border:none;padding:12px 28px;font-size:15px;cursor:pointer;transition:opacity .3s}
.tx-search-box button:hover{opacity:.85}

/* --- Hero Banner --- */
.tx-hero{position:relative;height:560px;overflow:hidden;margin-top:68px}
.tx-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.65)}
.tx-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(26,26,46,.7),rgba(200,80,192,.3))}
.tx-hero-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;padding:0 60px;max-width:720px}
.tx-hero h1{font-size:42px;font-weight:800;color:#fff;margin-bottom:16px;text-shadow:0 2px 12px rgba(0,0,0,.3)}
.tx-hero-desc{font-size:18px;color:rgba(255,255,255,.9);line-height:1.8;margin-bottom:28px}
.tx-hero-tags{display:flex;flex-wrap:wrap;gap:10px}
.tx-hero-tags span{background:rgba(255,255,255,.15);backdrop-filter:blur(8px);color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;border:1px solid rgba(255,255,255,.2)}

/* --- Section Common --- */
.tx-section{padding:64px 0}
.tx-section-alt{background:linear-gradient(180deg,#f5f0ff,#faf8ff)}
.tx-section-dark{background:linear-gradient(135deg,#1a1a2e,#16213e);color:#e0d8f0}
.tx-section-dark h2,.tx-section-dark h3{color:#fff}
.tx-section-title{text-align:center;margin-bottom:48px}
.tx-section-title h2{font-size:32px;font-weight:700;margin-bottom:12px}
.tx-section-title p{font-size:16px;color:#7a7a9a;max-width:600px;margin:0 auto}
.tx-section-title h2 em{font-style:normal;background:linear-gradient(135deg,#c850c0,#4158d0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* --- Video Card Grid --- */
.tx-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.tx-video-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(200,80,192,.08);transition:transform .3s,box-shadow .3s}
.tx-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 36px rgba(200,80,192,.16)}
.tx-video-thumb{position:relative;padding-top:56.25%;overflow:hidden;background:#e8e0f0}
.tx-video-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tx-video-card:hover .tx-video-thumb img{transform:scale(1.06)}
.tx-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.85);width:56px;height:56px;background:rgba(200,80,192,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .35s;cursor:pointer;backdrop-filter:blur(4px)}
.tx-video-card:hover .tx-play-btn{opacity:1;transform:translate(-50%,-50%) scale(1)}
.tx-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:3px}
.tx-video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;padding:2px 8px;border-radius:4px;font-size:12px}
.tx-video-info{padding:16px}
.tx-video-info h3{font-size:16px;font-weight:600;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-video-meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#9a9ab8}
.tx-video-stats{display:flex;gap:12px}
.tx-video-stats span{display:flex;align-items:center;gap:4px}

/* --- Service Grid --- */
.tx-service-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.tx-service-item{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 16px rgba(200,80,192,.06);transition:transform .3s,box-shadow .3s;border:1px solid rgba(200,80,192,.08)}
.tx-service-item:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(200,80,192,.14)}
.tx-service-icon{width:64px;height:64px;margin:0 auto 20px;background:linear-gradient(135deg,rgba(200,80,192,.1),rgba(65,88,208,.1));border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px}
.tx-service-item h3{font-size:18px;font-weight:600;margin-bottom:10px}
.tx-service-item p{font-size:14px;color:#7a7a9a;line-height:1.6}

/* --- Entertainment Section --- */
.tx-ent-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.tx-ent-card{position:relative;border-radius:16px;overflow:hidden;height:240px;cursor:pointer}
.tx-ent-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.tx-ent-card:hover img{transform:scale(1.08)}
.tx-ent-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(26,26,46,.8),transparent);display:flex;flex-direction:column;justify-content:flex-end;padding:24px}
.tx-ent-card-overlay h3{color:#fff;font-size:20px;margin-bottom:6px}
.tx-ent-card-overlay p{color:rgba(255,255,255,.8);font-size:14px}

/* --- AI Section --- */
.tx-ai-flex{display:flex;gap:40px;align-items:center}
.tx-ai-img{flex:0 0 45%;border-radius:16px;overflow:hidden}
.tx-ai-content{flex:1}
.tx-ai-content h3{font-size:22px;font-weight:700;margin-bottom:16px}
.tx-ai-content p{font-size:15px;color:#5a5a7a;margin-bottom:20px;line-height:1.8}
.tx-ai-features{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tx-ai-feat{display:flex;align-items:center;gap:10px;padding:10px 14px;background:rgba(200,80,192,.05);border-radius:10px;font-size:14px;color:#3a3a5c}
.tx-ai-feat::before{content:'';width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#c850c0,#4158d0);flex-shrink:0}

/* --- Community Section --- */
.tx-comm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tx-comm-card{background:#fff;border-radius:14px;padding:24px;text-align:center;border:1px solid rgba(200,80,192,.08);transition:all .3s}
.tx-comm-card:hover{border-color:#c850c0;box-shadow:0 6px 24px rgba(200,80,192,.12)}
.tx-comm-icon{font-size:36px;margin-bottom:12px}
.tx-comm-card h4{font-size:16px;font-weight:600;margin-bottom:8px}
.tx-comm-card p{font-size:13px;color:#7a7a9a}
.tx-comm-count{font-size:12px;color:#c850c0;margin-top:8px;font-weight:500}

/* --- Expert Cards --- */
.tx-expert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.tx-expert-card{background:#fff;border-radius:16px;padding:28px;text-align:center;box-shadow:0 4px 16px rgba(200,80,192,.06)}
.tx-expert-avatar{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#c850c0,#4158d0);margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff}
.tx-expert-card h4{font-size:17px;font-weight:600;margin-bottom:4px}
.tx-expert-role{font-size:13px;color:#c850c0;margin-bottom:12px}
.tx-expert-card p{font-size:13px;color:#7a7a9a;line-height:1.6;margin-bottom:16px}
.tx-expert-btns{display:flex;gap:10px;justify-content:center}
.tx-btn-sm{padding:8px 18px;border-radius:20px;font-size:13px;font-weight:500;cursor:pointer;transition:all .3s;border:none}
.tx-btn-primary{background:linear-gradient(135deg,#c850c0,#4158d0);color:#fff}
.tx-btn-primary:hover{opacity:.85;color:#fff}
.tx-btn-outline{background:transparent;color:#7b2ff7;border:1px solid rgba(200,80,192,.3)}
.tx-btn-outline:hover{background:rgba(200,80,192,.06)}

/* --- Brand Wall --- */
.tx-brand-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:32px;align-items:center}
.tx-brand-item{background:#fff;padding:16px 28px;border-radius:12px;font-size:15px;font-weight:600;color:#5a5a7a;box-shadow:0 2px 10px rgba(0,0,0,.04);transition:all .3s;border:1px solid rgba(200,80,192,.06)}
.tx-brand-item:hover{border-color:#c850c0;color:#c850c0;box-shadow:0 4px 16px rgba(200,80,192,.1)}

/* --- How-To Guide --- */
.tx-howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step}
.tx-howto-step{text-align:center;padding:24px 16px;position:relative}
.tx-howto-step::before{counter-increment:step;content:counter(step);display:flex;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#c850c0,#4158d0);color:#fff;font-size:20px;font-weight:700;align-items:center;justify-content:center;margin:0 auto 16px}
.tx-howto-step h4{font-size:16px;font-weight:600;margin-bottom:8px}
.tx-howto-step p{font-size:13px;color:#7a7a9a}

/* --- FAQ --- */
.tx-faq-list{max-width:800px;margin:0 auto}
.tx-faq-item{background:#fff;border-radius:12px;margin-bottom:12px;border:1px solid rgba(200,80,192,.08);overflow:hidden}
.tx-faq-q{padding:18px 24px;font-size:16px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .3s}
.tx-faq-q:hover{background:rgba(200,80,192,.03)}
.tx-faq-q::after{content:'+';font-size:22px;color:#c850c0;font-weight:300;transition:transform .3s}
.tx-faq-item.open .tx-faq-q::after{transform:rotate(45deg)}
.tx-faq-a{padding:0 24px;max-height:0;overflow:hidden;transition:all .35s;font-size:14px;color:#5a5a7a;line-height:1.8}
.tx-faq-item.open .tx-faq-a{padding:0 24px 18px;max-height:300px}

/* --- Reviews --- */
.tx-review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.tx-review-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 4px 16px rgba(200,80,192,.06)}
.tx-review-header{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tx-review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#c850c0,#4158d0);display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:600}
.tx-review-name{font-size:15px;font-weight:600}
.tx-review-date{font-size:12px;color:#9a9ab8}
.tx-review-stars{color:#f5a623;font-size:14px;margin-bottom:10px;letter-spacing:2px}
.tx-review-text{font-size:14px;color:#5a5a7a;line-height:1.7}

/* --- Contact --- */
.tx-contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.tx-contact-info{display:flex;flex-direction:column;gap:20px}
.tx-contact-item{display:flex;align-items:flex-start;gap:14px;padding:16px;background:#fff;border-radius:12px;border:1px solid rgba(200,80,192,.08)}
.tx-contact-icon{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,rgba(200,80,192,.1),rgba(65,88,208,.1));display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.tx-contact-item h4{font-size:15px;font-weight:600;margin-bottom:4px}
.tx-contact-item p{font-size:13px;color:#7a7a9a}
.tx-contact-qr{display:flex;gap:24px;justify-content:center}
.tx-contact-qr figure{text-align:center}
.tx-contact-qr img{width:140px;height:140px;border-radius:12px}
.tx-contact-qr figcaption{font-size:13px;color:#7a7a9a;margin-top:8px}

/* --- Share --- */
.tx-share-bar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;padding:24px 0}
.tx-share-btn{display:flex;align-items:center;gap:6px;padding:10px 20px;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s;border:1px solid rgba(200,80,192,.15);background:#fff;color:#3a3a5c}
.tx-share-btn:hover{background:linear-gradient(135deg,#c850c0,#4158d0);color:#fff;border-color:transparent}

/* --- Footer --- */
.tx-footer{background:#1a1a2e;color:#b0a8c8;padding:48px 0 24px}
.tx-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.tx-footer-brand{display:flex;flex-direction:column;gap:12px}
.tx-footer-brand img{height:36px;width:auto;filter:brightness(1.5)}
.tx-footer-brand p{font-size:14px;line-height:1.7;color:#8a82a8}
.tx-footer h5{font-size:15px;font-weight:600;color:#e0d8f0;margin-bottom:16px}
.tx-footer-links a{display:block;font-size:14px;color:#8a82a8;padding:4px 0;transition:color .3s}
.tx-footer-links a:hover{color:#c850c0}
.tx-footer-bottom{border-top:1px solid rgba(200,80,192,.15);padding-top:20px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#6a6290}
.tx-footer-bottom a{color:#8a82a8}
.tx-footer-bottom a:hover{color:#c850c0}

/* --- Toast --- */
.tx-toast{position:fixed;bottom:24px;right:24px;background:linear-gradient(135deg,#c850c0,#4158d0);color:#fff;padding:14px 28px;border-radius:12px;font-size:14px;z-index:9999;opacity:0;transform:translateY(20px);transition:all .4s;pointer-events:none}
.tx-toast.show{opacity:1;transform:translateY(0)}

/* --- Breadcrumb --- */
.tx-breadcrumb{padding:16px 0;font-size:13px;color:#9a9ab8}
.tx-breadcrumb a{color:#7b2ff7}
.tx-breadcrumb span{margin:0 6px;color:#ccc}

/* --- Inner Page Hero --- */
.tx-inner-hero{background:linear-gradient(135deg,#1a1a2e,#2d1b4e);padding:80px 0 48px;margin-top:68px}
.tx-inner-hero h1{font-size:36px;font-weight:800;color:#fff;margin-bottom:12px}
.tx-inner-hero p{font-size:16px;color:rgba(255,255,255,.75);max-width:600px}

/* --- Responsive --- */
@media(max-width:1024px){
  .tx-footer-grid{grid-template-columns:1fr 1fr}
  .tx-ai-flex{flex-direction:column}
  .tx-ai-img{flex:none;width:100%}
  .tx-ent-grid{grid-template-columns:1fr}
  .tx-howto-steps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .tx-nav{display:none}
  .tx-mobile-toggle{display:flex}
  .tx-hero{height:480px}
  .tx-hero-content{padding:0 24px}
  .tx-hero h1{font-size:28px}
  .tx-hero-desc{font-size:15px}
  .tx-section{padding:40px 0}
  .tx-section-title h2{font-size:24px}
  .tx-video-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
  .tx-comm-grid{grid-template-columns:1fr 1fr}
  .tx-contact-grid{grid-template-columns:1fr}
  .tx-footer-grid{grid-template-columns:1fr}
  .tx-footer-bottom{flex-direction:column;gap:8px;text-align:center}
  .tx-expert-grid{grid-template-columns:1fr}
  .tx-howto-steps{grid-template-columns:1fr}
  .tx-review-grid{grid-template-columns:1fr}
  .tx-ai-features{grid-template-columns:1fr}
}
@media(max-width:480px){
  .tx-hero{height:400px}
  .tx-hero h1{font-size:24px}
  .tx-comm-grid{grid-template-columns:1fr}
  .tx-contact-qr{flex-direction:column;align-items:center}
}

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

/* --- JSON Data Containers (hidden) --- */
.tx-json-data{display:none!important}
