/* ============================================
   糖心vlog 原创样式表
   配色：暖金 #D4A843 + 深莓红 #8B1A4A + 深空灰 #121218
   ============================================ */

/* --- 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,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background:#121218;color:#F0EDE6;line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:#D4A843;text-decoration:none;transition:color .25s}
a:hover{color:#f0c96a}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
.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(18,18,24,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(212,168,67,.12);transition:background .3s}
.tx-header-inner{display:flex;align-items:center;height:64px;gap:20px}
.tx-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.tx-logo-img{width:42px;height:42px;border-radius:8px}
.tx-logo-text{font-size:1.2rem;font-weight:700;color:#D4A843;white-space:nowrap}
.tx-nav{flex:1}
.tx-nav-list{display:flex;gap:4px;justify-content:center}
.tx-nav-link{display:block;padding:8px 14px;font-size:.9rem;color:rgba(240,237,230,.7);border-radius:6px;transition:all .25s}
.tx-nav-link:hover,.tx-nav-link.active{color:#D4A843;background:rgba(212,168,67,.1)}
.tx-search{display:flex;align-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(212,168,67,.2);border-radius:20px;overflow:hidden;flex-shrink:0}
.tx-search-input{background:transparent;border:none;outline:none;color:#F0EDE6;padding:6px 12px;font-size:.85rem;width:180px}
.tx-search-input::placeholder{color:rgba(240,237,230,.35)}
.tx-search-btn{background:transparent;border:none;color:#D4A843;padding:6px 10px;cursor:pointer;display:flex;align-items:center}
.tx-menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.tx-menu-toggle span{width:24px;height:2px;background:#D4A843;border-radius:2px;transition:all .3s}

/* --- Hero --- */
.tx-hero{position:relative;min-height:520px;display:flex;align-items:center;margin-top:64px;overflow:hidden}
.tx-hero-bg{position:absolute;inset:0}
.tx-hero-bg img{width:100%;height:100%;object-fit:cover}
.tx-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(18,18,24,.88),rgba(139,26,74,.45))}
.tx-hero-content{position:relative;z-index:2;padding:60px 0}
.tx-breadcrumb{margin-bottom:16px;font-size:.85rem}
.tx-breadcrumb a{color:rgba(240,237,230,.6)}
.tx-breadcrumb a:hover{color:#D4A843}
.tx-hero-title{font-size:2.6rem;font-weight:800;line-height:1.3;margin-bottom:16px;background:linear-gradient(135deg,#D4A843,#f0c96a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tx-hero-subtitle{font-size:1.15rem;color:rgba(240,237,230,.75);margin-bottom:24px;max-width:640px}
.tx-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.tx-tag{padding:5px 14px;background:rgba(212,168,67,.12);border:1px solid rgba(212,168,67,.25);border-radius:16px;font-size:.8rem;color:#D4A843}
.tx-hero-btns{display:flex;gap:12px;flex-wrap:wrap}

/* --- Buttons --- */
.tx-btn{display:inline-block;padding:10px 28px;border-radius:8px;font-size:.95rem;font-weight:600;transition:all .3s;cursor:pointer;text-align:center}
.tx-btn-gold{background:linear-gradient(135deg,#D4A843,#8B1A4A);color:#fff;border:none}
.tx-btn-gold:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(212,168,67,.35);color:#fff}
.tx-btn-outline{background:transparent;color:#D4A843;border:2px solid #D4A843}
.tx-btn-outline:hover{background:rgba(212,168,67,.1);color:#f0c96a}
.tx-btn-sm{padding:6px 18px;font-size:.82rem;border-radius:6px}

/* --- Sections --- */
.tx-section{padding:72px 0}
.tx-section-dark{background:#0E0E14}
.tx-section-head{text-align:center;margin-bottom:48px}
.tx-section-title{font-size:1.85rem;font-weight:700;margin-bottom:12px;color:#F0EDE6}
.tx-section-desc{font-size:1rem;color:rgba(240,237,230,.55);max-width:680px;margin:0 auto}
.tx-section-more{text-align:center;margin-top:36px}

/* --- Card Grid --- */
.tx-card-grid{display:grid;gap:24px}
.tx-grid-3{grid-template-columns:repeat(3,1fr)}
.tx-grid-4{grid-template-columns:repeat(4,1fr)}
.tx-card{background:#1C1C28;border-radius:14px;overflow:hidden;border:1px solid rgba(212,168,67,.08);transition:transform .3s,box-shadow .3s}
.tx-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.4)}
.tx-card-thumb{position:relative;overflow:hidden;aspect-ratio:16/10}
.tx-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tx-card:hover .tx-card-thumb img{transform:scale(1.05)}
.tx-card-body{padding:20px}
.tx-card-body h3{font-size:1.1rem;margin-bottom:8px;color:#F0EDE6}
.tx-card-body p{font-size:.88rem;color:rgba(240,237,230,.6);line-height:1.65;margin-bottom:10px}
.tx-card-stats{display:flex;gap:16px;font-size:.78rem;color:#D4A843}
.tx-card-compact{padding:28px 22px;text-align:center}
.tx-card-compact h3{font-size:1.05rem;margin-bottom:8px;color:#F0EDE6}
.tx-card-compact p{font-size:.85rem;color:rgba(240,237,230,.55)}
.tx-card-icon{font-size:2.2rem;margin-bottom:14px}
.tx-card-icon-lg{font-size:3rem;margin-bottom:16px}

/* --- Video Grid --- */
.tx-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-video-card{background:#1C1C28;border-radius:14px;overflow:hidden;border:1px solid rgba(212,168,67,.08);transition:transform .3s}
.tx-video-card:hover{transform:translateY(-4px)}
.tx-video-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;cursor:pointer}
.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.06)}
.tx-video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;background:rgba(0,0,0,.25)}
.tx-video-card:hover .tx-video-play{opacity:1}
.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:.75rem}
.tx-video-info{padding:16px}
.tx-video-info h3{font-size:.98rem;margin-bottom:8px;color:#F0EDE6;line-height:1.4}
.tx-video-meta{display:flex;gap:12px;font-size:.78rem;color:rgba(240,237,230,.45);margin-bottom:8px;flex-wrap:wrap}
.tx-video-tags{display:flex;gap:6px;flex-wrap:wrap}
.tx-video-tags span{padding:2px 10px;background:rgba(212,168,67,.08);border-radius:10px;font-size:.72rem;color:#D4A843}

/* --- Expert Grid --- */
.tx-expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-expert-card{background:#1C1C28;border-radius:14px;padding:28px 20px;text-align:center;border:1px solid rgba(212,168,67,.08);transition:transform .3s}
.tx-expert-card:hover{transform:translateY(-4px)}
.tx-expert-avatar{width:88px;height:88px;border-radius:50%;margin:0 auto 14px;object-fit:cover;border:3px solid rgba(212,168,67,.3)}
.tx-expert-card h3{font-size:1.1rem;margin-bottom:4px;color:#F0EDE6}
.tx-expert-role{font-size:.82rem;color:#D4A843;margin-bottom:10px}
.tx-expert-bio{font-size:.84rem;color:rgba(240,237,230,.55);line-height:1.6;margin-bottom:10px}
.tx-expert-awards{margin-bottom:14px}
.tx-expert-awards li{font-size:.78rem;color:rgba(240,237,230,.4);padding:2px 0}
.tx-expert-btns{display:flex;gap:8px;justify-content:center}

/* --- Brand Wall --- */
.tx-brand-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tx-brand-item{background:#1C1C28;border:1px solid rgba(212,168,67,.1);border-radius:10px;padding:22px;text-align:center;font-size:.95rem;color:rgba(240,237,230,.6);transition:all .3s}
.tx-brand-item:hover{border-color:#D4A843;color:#D4A843}

/* --- HowTo Steps --- */
.tx-howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-howto-step{background:#1C1C28;border-radius:14px;padding:32px 22px;text-align:center;border:1px solid rgba(212,168,67,.08);position:relative}
.tx-step-num{font-size:2.4rem;font-weight:800;color:rgba(212,168,67,.2);margin-bottom:12px}
.tx-howto-step h3{font-size:1.05rem;margin-bottom:8px;color:#D4A843}
.tx-howto-step p{font-size:.85rem;color:rgba(240,237,230,.55);line-height:1.6}

/* --- FAQ --- */
.tx-faq-list{max-width:800px;margin:0 auto}
.tx-faq-item{border-bottom:1px solid rgba(212,168,67,.1);margin-bottom:4px}
.tx-faq-q{display:flex;justify-content:space-between;align-items:center;padding:18px 0;cursor:pointer;transition:color .25s}
.tx-faq-q:hover{color:#D4A843}
.tx-faq-q h3{font-size:1rem;font-weight:600;color:#F0EDE6;flex:1}
.tx-faq-arrow{color:#D4A843;font-size:.75rem;transition:transform .3s;flex-shrink:0;margin-left:12px}
.tx-faq-item.open .tx-faq-arrow{transform:rotate(180deg)}
.tx-faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.tx-faq-item.open .tx-faq-a{max-height:300px}
.tx-faq-a p{padding:0 0 18px;font-size:.9rem;color:rgba(240,237,230,.6);line-height:1.7}

/* --- Reviews --- */
.tx-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-review-card{background:#1C1C28;border-radius:14px;padding:28px;border:1px solid rgba(212,168,67,.08)}
.tx-review-stars{color:#D4A843;font-size:1.1rem;margin-bottom:12px;letter-spacing:2px}
.tx-review-text{font-size:.9rem;color:rgba(240,237,230,.65);line-height:1.7;margin-bottom:16px;font-style:italic}
.tx-reviewer{display:flex;align-items:center;gap:10px}
.tx-reviewer-info{display:flex;flex-direction:column}
.tx-reviewer-name{font-size:.85rem;color:#F0EDE6;font-weight:600}
.tx-reviewer-date{font-size:.75rem;color:rgba(240,237,230,.35)}

/* --- EEAT Trust Block --- */
.tx-eeat-notice{margin-top:36px;padding:28px 32px;background:#1C1C28;border-radius:14px;border:1px solid rgba(212,168,67,.12)}
.tx-eeat-notice p{font-size:.88rem;color:rgba(240,237,230,.6);line-height:1.75;margin-bottom:12px}
.tx-eeat-notice p:last-child{margin-bottom:0}
.tx-eeat-notice strong{color:#D4A843}

/* --- Contact --- */
.tx-contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.tx-contact-card{background:#1C1C28;border-radius:14px;padding:32px;border:1px solid rgba(212,168,67,.08)}
.tx-contact-card h3{font-size:1.15rem;margin-bottom:16px;color:#D4A843}
.tx-contact-card li{padding:6px 0;font-size:.9rem;color:rgba(240,237,230,.6)}
.tx-contact-card strong{color:#F0EDE6}
.tx-contact-qr{display:flex;gap:16px;margin-top:16px}
.tx-contact-qr img{border-radius:8px}

/* --- Share Section --- */
.tx-share-section{text-align:center;padding:20px 0}
.tx-share-section h2{font-size:1.5rem;margin-bottom:10px;color:#F0EDE6}
.tx-share-section p{color:rgba(240,237,230,.55);margin-bottom:24px}
.tx-share-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.tx-share-btn{padding:10px 24px;background:rgba(212,168,67,.1);border:1px solid rgba(212,168,67,.25);border-radius:8px;color:#D4A843;font-size:.9rem;transition:all .25s}
.tx-share-btn:hover{background:rgba(212,168,67,.2);color:#f0c96a}

/* --- Footer --- */
.tx-footer{background:#0A0A10;padding:56px 0 0;border-top:1px solid rgba(212,168,67,.1)}
.tx-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;margin-bottom:40px}
.tx-footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.tx-footer-brand img{width:48px;height:48px;border-radius:8px}
.tx-footer-brand h4{font-size:1.15rem;color:#D4A843}
.tx-footer-desc{font-size:.85rem;color:rgba(240,237,230,.45);line-height:1.65}
.tx-footer-col h5{font-size:.95rem;color:#F0EDE6;margin-bottom:14px;font-weight:600}
.tx-footer-links li{padding:3px 0}
.tx-footer-links a{font-size:.85rem;color:rgba(240,237,230,.45);transition:color .25s}
.tx-footer-links a:hover{color:#D4A843}
.tx-footer-contact li{font-size:.85rem;color:rgba(240,237,230,.45);padding:3px 0}
.tx-footer-qr{display:flex;gap:16px}
.tx-qr-item{text-align:center}
.tx-qr-item img{width:100px;height:100px;border-radius:6px;margin-bottom:6px}
.tx-qr-item span{font-size:.75rem;color:rgba(240,237,230,.4)}
.tx-footer-trust{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:16px 0;border-top:1px solid rgba(212,168,67,.06);margin-bottom:0}
.tx-footer-trust span{font-size:.78rem;color:rgba(240,237,230,.3)}
.tx-footer-bottom{border-top:1px solid rgba(212,168,67,.08);padding:20px 0;text-align:center}
.tx-footer-bottom p{font-size:.82rem;color:rgba(240,237,230,.35)}
.tx-update-time{margin-top:4px;color:#D4A843 !important;font-size:.8rem !important}

/* --- MCP Widget --- */
.tx-mcp-widget{position:fixed;bottom:80px;right:20px;z-index:900}
.tx-mcp-status{display:flex;align-items:center;gap:8px;background:rgba(28,28,40,.9);border:1px solid rgba(212,168,67,.15);border-radius:20px;padding:8px 16px;font-size:.75rem;color:rgba(240,237,230,.5)}
.tx-mcp-dot{width:8px;height:8px;border-radius:50%;background:#4ade80;animation:txPulse 2s infinite}
@keyframes txPulse{0%,100%{opacity:1}50%{opacity:.4}}

/* --- Share Bar --- */
.tx-share-bar{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:900;display:flex;flex-direction:column;gap:2px}
.tx-share-label{writing-mode:vertical-rl;font-size:.7rem;color:rgba(240,237,230,.3);padding:8px 6px}
.tx-share-link{display:block;padding:10px 8px;background:rgba(28,28,40,.9);color:rgba(240,237,230,.5);font-size:.72rem;writing-mode:vertical-rl;text-align:center;transition:all .25s;border:1px solid rgba(212,168,67,.08)}
.tx-share-link:hover{background:rgba(212,168,67,.15);color:#D4A843}

/* --- Back to Top --- */
.tx-back-top{position:fixed;bottom:20px;right:20px;z-index:900;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#D4A843,#8B1A4A);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s}
.tx-back-top.visible{opacity:1;visibility:visible}
.tx-back-top:hover{transform:translateY(-3px)}

/* --- Page Header (inner pages) --- */
.tx-page-header{padding:100px 0 40px;background:linear-gradient(135deg,rgba(18,18,24,.95),rgba(139,26,74,.3));text-align:center}
.tx-page-header h1{font-size:2rem;font-weight:700;margin-bottom:10px;color:#F0EDE6}
.tx-page-header p{color:rgba(240,237,230,.55)}
.tx-page-content{padding:48px 0}

/* --- Inner Page Content --- */
.tx-content-block{background:#1C1C28;border-radius:14px;padding:36px;border:1px solid rgba(212,168,67,.08);margin-bottom:28px}
.tx-content-block h2{font-size:1.4rem;color:#D4A843;margin-bottom:16px;font-weight:700}
.tx-content-block h3{font-size:1.15rem;color:#F0EDE6;margin-bottom:12px;font-weight:600}
.tx-content-block p{font-size:.92rem;color:rgba(240,237,230,.6);line-height:1.75;margin-bottom:14px}
.tx-content-block ul{margin-bottom:14px}
.tx-content-block li{font-size:.9rem;color:rgba(240,237,230,.55);padding:4px 0;padding-left:16px;position:relative}
.tx-content-block li::before{content:"·";position:absolute;left:0;color:#D4A843}
.tx-timeline{position:relative;padding-left:32px}
.tx-timeline::before{content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:rgba(212,168,67,.2)}
.tx-timeline-item{position:relative;margin-bottom:28px}
.tx-timeline-item::before{content:"";position:absolute;left:-24px;top:6px;width:10px;height:10px;border-radius:50%;background:#D4A843}
.tx-timeline-item h4{font-size:1rem;color:#D4A843;margin-bottom:6px}
.tx-timeline-item p{font-size:.88rem;color:rgba(240,237,230,.55);line-height:1.65}
.tx-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.tx-stat-item{text-align:center;padding:24px 16px;background:rgba(212,168,67,.05);border-radius:12px;border:1px solid rgba(212,168,67,.1)}
.tx-stat-num{font-size:2rem;font-weight:800;color:#D4A843;margin-bottom:6px}
.tx-stat-label{font-size:.85rem;color:rgba(240,237,230,.5)}

/* --- Privacy Page --- */
.tx-privacy-content{max-width:860px;margin:0 auto}
.tx-privacy-content h2{font-size:1.3rem;color:#D4A843;margin:32px 0 14px;font-weight:700}
.tx-privacy-content h2:first-child{margin-top:0}
.tx-privacy-content p{font-size:.92rem;color:rgba(240,237,230,.6);line-height:1.75;margin-bottom:14px}

/* --- Lazy Load --- */
.tx-lazy{opacity:0;transition:opacity .5s}
.tx-lazy.loaded{opacity:1}

/* --- Responsive --- */
@media(max-width:1024px){
  .tx-grid-4{grid-template-columns:repeat(2,1fr)}
  .tx-expert-grid{grid-template-columns:repeat(2,1fr)}
  .tx-howto-steps{grid-template-columns:repeat(2,1fr)}
  .tx-footer-grid{grid-template-columns:repeat(2,1fr)}
  .tx-brand-wall{grid-template-columns:repeat(2,1fr)}
  .tx-stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .tx-nav{display:none;position:absolute;top:64px;left:0;width:100%;background:rgba(18,18,24,.98);padding:16px 0;border-bottom:1px solid rgba(212,168,67,.1)}
  .tx-nav.open{display:block}
  .tx-nav-list{flex-direction:column;align-items:center;gap:0}
  .tx-nav-link{padding:12px 20px;width:100%;text-align:center}
  .tx-menu-toggle{display:flex}
  .tx-search{display:none}
  .tx-hero-title{font-size:1.8rem}
  .tx-hero{min-height:400px}
  .tx-grid-3,.tx-video-grid,.tx-review-grid,.tx-contact-grid{grid-template-columns:1fr}
  .tx-grid-4{grid-template-columns:1fr}
  .tx-expert-grid{grid-template-columns:1fr}
  .tx-howto-steps{grid-template-columns:1fr}
  .tx-footer-grid{grid-template-columns:1fr}
  .tx-brand-wall{grid-template-columns:repeat(2,1fr)}
  .tx-section{padding:48px 0}
  .tx-section-title{font-size:1.4rem}
  .tx-share-bar{display:none}
  .tx-stats-grid{grid-template-columns:repeat(2,1fr)}
  .tx-content-block{padding:24px 18px}
}

/* --- Supplementary Classes --- */
.tx-section-mt{margin-top:48px}
.tx-qr-label{display:block;text-align:center;font-size:.8rem;color:rgba(240,237,230,.45);margin-top:6px}


/* --- Supplementary Classes --- */
.tx-section-mt{margin-top:48px}
.tx-qr-label{display:block;text-align:center;font-size:.8rem;color:rgba(240,237,230,.45);margin-top:6px}
