/* ============================================
   蜜芽 - 原创CSS样式
   航海王主题配色：深红+金色+深蓝
   ============================================ */

/* === 基础重置 === */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#2b1810;background:#fdf6ee;line-height:1.7}
a{color:#b8321a;text-decoration:none;transition:color .25s}
a:hover{color:#e8a020}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}

/* === 全局容器 === */
.tx-wrap{max-width:1200px;margin:0 auto;padding:0 20px}

/* === 顶部导航 === */
.tx-header{background:linear-gradient(135deg,#1a0a06 0%,#2d1208 50%,#1a1535 100%);position:sticky;top:0;z-index:1000;box-shadow:0 3px 18px rgba(0,0,0,.4)}
.tx-nav{display:flex;align-items:center;justify-content:space-between;padding:0 20px;max-width:1200px;margin:0 auto;height:68px}
.tx-logo{display:flex;align-items:center;gap:10px}
.tx-logo img{height:44px;width:auto}
.tx-logo span{color:#ffd740;font-size:1.3rem;font-weight:700;letter-spacing:1px}
.tx-menu{display:flex;gap:6px;align-items:center}
.tx-menu a{color:#f0e0c8;padding:8px 14px;border-radius:6px;font-size:.92rem;transition:all .25s}
.tx-menu a:hover,.tx-menu a.active{background:rgba(255,215,64,.15);color:#ffd740}
.tx-mobile-btn{display:none;background:none;border:none;color:#ffd740;font-size:1.6rem;cursor:pointer}

/* === 搜索框 === */
.tx-search-bar{background:linear-gradient(90deg,#3a1510,#1a1535);padding:14px 0}
.tx-search-box{display:flex;max-width:560px;margin:0 auto;gap:0}
.tx-search-box input{flex:1;padding:10px 18px;border:2px solid #c8a050;border-right:none;border-radius:25px 0 0 25px;background:#fdf6ee;color:#2b1810;font-size:.95rem;outline:none}
.tx-search-box input:focus{border-color:#ffd740}
.tx-search-box button{padding:10px 24px;background:linear-gradient(135deg,#c8321a,#e8a020);color:#fff;border:none;border-radius:0 25px 25px 0;font-size:.95rem;cursor:pointer;font-weight:600;transition:opacity .25s}
.tx-search-box button:hover{opacity:.88}

/* === Hero区域 === */
.tx-hero{position:relative;min-height:440px;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden}
.tx-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(26,10,6,.7) 0%,rgba(26,21,53,.6) 60%,rgba(26,10,6,.8) 100%)}
.tx-hero-content{position:relative;z-index:2;text-align:center;padding:40px 20px;max-width:800px}
.tx-hero h1{color:#ffd740;font-size:2.6rem;margin-bottom:16px;text-shadow:2px 2px 8px rgba(0,0,0,.6);letter-spacing:2px}
.tx-hero h1 span{color:#ff6b35}
.tx-hero p{color:#f0e0c8;font-size:1.15rem;margin-bottom:28px;line-height:1.8}
.tx-hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.tx-btn{display:inline-block;padding:12px 32px;border-radius:30px;font-weight:600;font-size:1rem;transition:all .3s;cursor:pointer;border:none}
.tx-btn-primary{background:linear-gradient(135deg,#c8321a,#e8a020);color:#fff;box-shadow:0 4px 15px rgba(200,50,26,.4)}
.tx-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 22px rgba(200,50,26,.5);color:#fff}
.tx-btn-outline{background:transparent;color:#ffd740;border:2px solid #ffd740}
.tx-btn-outline:hover{background:rgba(255,215,64,.15);color:#ffd740}

/* === 通用板块 === */
.tx-section{padding:55px 0}
.tx-section:nth-child(even){background:#f5ebe0}
.tx-section-title{text-align:center;margin-bottom:40px}
.tx-section-title h2{font-size:1.9rem;color:#2d1208;margin-bottom:10px;position:relative;display:inline-block}
.tx-section-title h2::after{content:"";display:block;width:60px;height:4px;background:linear-gradient(90deg,#c8321a,#e8a020);margin:10px auto 0;border-radius:2px}
.tx-section-title p{color:#6b5040;font-size:1rem;margin-top:8px}

/* === 视频卡片网格 === */
.tx-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-video-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 20px rgba(45,18,8,.1);transition:all .35s;position:relative}
.tx-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 35px rgba(45,18,8,.18)}
.tx-video-thumb{position:relative;padding-top:56.25%;overflow:hidden;background:#1a0a06}
.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(0);width:60px;height:60px;background:rgba(200,50,26,.88);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .35s;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.3)}
.tx-play-btn::after{content:"";border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff;margin-left:3px}
.tx-video-card:hover .tx-play-btn{transform:translate(-50%,-50%) scale(1)}
.tx-video-stats{position:absolute;bottom:8px;left:8px;display:flex;gap:10px;z-index:3}
.tx-video-stats span{background:rgba(0,0,0,.65);color:#f0e0c8;padding:2px 8px;border-radius:4px;font-size:.75rem}
.tx-video-info{padding:16px}
.tx-video-info h3{font-size:1.05rem;color:#2d1208;margin-bottom:6px;line-height:1.4}
.tx-video-info p{color:#8b7060;font-size:.85rem;line-height:1.5}
.tx-video-tags{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.tx-video-tags span{background:#fdf0e0;color:#b8321a;padding:3px 10px;border-radius:12px;font-size:.78rem}

/* === 服务模块 === */
.tx-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tx-service-card{background:#fff;border-radius:14px;padding:28px;text-align:center;box-shadow:0 4px 20px rgba(45,18,8,.08);transition:all .35s;border-top:4px solid transparent}
.tx-service-card:hover{transform:translateY(-4px);border-top-color:#c8321a;box-shadow:0 10px 30px rgba(45,18,8,.14)}
.tx-service-card img{width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:18px}
.tx-service-card h3{font-size:1.15rem;color:#2d1208;margin-bottom:10px}
.tx-service-card p{color:#6b5040;font-size:.9rem;line-height:1.6}

/* === 专家展示 === */
.tx-experts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-expert-card{background:#fff;border-radius:14px;padding:24px;text-align:center;box-shadow:0 4px 18px rgba(45,18,8,.08);transition:all .3s}
.tx-expert-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(45,18,8,.15)}
.tx-expert-card img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:0 auto 14px;border:3px solid #e8a020}
.tx-expert-card h4{font-size:1.05rem;color:#2d1208;margin-bottom:4px}
.tx-expert-card .tx-role{color:#b8321a;font-size:.85rem;margin-bottom:10px}
.tx-expert-card p{color:#6b5040;font-size:.82rem;line-height:1.5;margin-bottom:14px}
.tx-expert-btns{display:flex;gap:8px;justify-content:center}
.tx-expert-btns a{padding:5px 14px;border-radius:16px;font-size:.8rem;border:1px solid #c8321a;color:#c8321a;transition:all .25s}
.tx-expert-btns a:hover{background:#c8321a;color:#fff}

/* === FAQ === */
.tx-faq-list{max-width:800px;margin:0 auto}
.tx-faq-item{background:#fff;border-radius:12px;margin-bottom:14px;overflow:hidden;box-shadow:0 2px 12px rgba(45,18,8,.06)}
.tx-faq-q{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#2d1208;font-size:1rem;transition:background .25s}
.tx-faq-q:hover{background:#fdf0e0}
.tx-faq-q::after{content:"+";font-size:1.4rem;color:#c8321a;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 24px}
.tx-faq-item.open .tx-faq-a{max-height:300px;padding:0 24px 18px}
.tx-faq-a p{color:#6b5040;font-size:.92rem;line-height:1.7}

/* === 用户评论 === */
.tx-reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.tx-review-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 4px 18px rgba(45,18,8,.08);border-left:4px solid #e8a020}
.tx-review-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.tx-review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#c8321a,#e8a020);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem}
.tx-review-name{font-weight:600;color:#2d1208;font-size:.95rem}
.tx-review-date{color:#a08070;font-size:.8rem}
.tx-review-stars{color:#e8a020;font-size:.9rem;margin-bottom:8px}
.tx-review-card p{color:#5a4030;font-size:.9rem;line-height:1.7}

/* === 合作品牌 === */
.tx-partners{display:flex;gap:30px;justify-content:center;flex-wrap:wrap;align-items:center}
.tx-partner-item{background:#fff;padding:16px 28px;border-radius:10px;box-shadow:0 2px 12px rgba(45,18,8,.06);font-weight:600;color:#6b5040;font-size:1rem;transition:all .25s}
.tx-partner-item:hover{box-shadow:0 6px 20px rgba(45,18,8,.12);color:#c8321a}

/* === How-To指南 === */
.tx-howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;max-width:900px;margin:0 auto}
.tx-step{text-align:center;position:relative}
.tx-step-num{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#c8321a,#e8a020);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:700;margin:0 auto 14px}
.tx-step h4{color:#2d1208;font-size:1rem;margin-bottom:6px}
.tx-step p{color:#6b5040;font-size:.85rem}

/* === 联系我们 === */
.tx-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.tx-contact-info h3{color:#2d1208;font-size:1.2rem;margin-bottom:16px}
.tx-contact-item{display:flex;gap:12px;margin-bottom:16px;align-items:flex-start}
.tx-contact-icon{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#c8321a,#e8a020);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem;flex-shrink:0}
.tx-contact-text strong{display:block;color:#2d1208;font-size:.92rem;margin-bottom:2px}
.tx-contact-text span{color:#6b5040;font-size:.88rem}
.tx-qr-group{display:flex;gap:24px;margin-top:20px}
.tx-qr-item{text-align:center}
.tx-qr-item img{width:140px;height:140px;border-radius:10px;border:2px solid #e8d8c0}
.tx-qr-item p{color:#6b5040;font-size:.85rem;margin-top:6px}

/* === 社交分享 === */
.tx-share{display:flex;gap:12px;justify-content:center;padding:20px 0}
.tx-share a{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;transition:all .25s}
.tx-share a:hover{transform:translateY(-3px)}
.tx-share .wx{background:#07c160}
.tx-share .wb{background:#e6162d}
.tx-share .dy{background:#161823}
.tx-share .bl{background:#00a1d6}

/* === 页脚 === */
.tx-footer{background:linear-gradient(135deg,#1a0a06 0%,#2d1208 50%,#1a1535 100%);color:#c8b8a0;padding:40px 0 20px}
.tx-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;margin-bottom:30px}
.tx-footer h4{color:#ffd740;font-size:1.05rem;margin-bottom:14px}
.tx-footer p{font-size:.88rem;line-height:1.7;color:#a09080}
.tx-footer a{color:#c8b8a0;font-size:.88rem;display:block;margin-bottom:8px;transition:color .25s}
.tx-footer a:hover{color:#ffd740}
.tx-footer-bottom{border-top:1px solid rgba(200,160,80,.15);padding-top:18px;text-align:center}
.tx-footer-bottom p{font-size:.82rem;color:#8b7060}
.tx-footer-bottom a{display:inline;color:#c8a050}

/* === 面包屑 === */
.tx-breadcrumb{padding:14px 0;font-size:.88rem;color:#8b7060}
.tx-breadcrumb a{color:#b8321a}
.tx-breadcrumb span{margin:0 6px;color:#c8b8a0}

/* === 内页通用 === */
.tx-page-hero{background:linear-gradient(135deg,#2d1208,#1a1535);padding:50px 0;text-align:center}
.tx-page-hero h1{color:#ffd740;font-size:2.1rem;margin-bottom:10px}
.tx-page-hero p{color:#c8b8a0;font-size:1rem}

/* === 响应式 === */
@media(max-width:992px){
  .tx-video-grid{grid-template-columns:repeat(2,1fr)}
  .tx-services-grid{grid-template-columns:repeat(2,1fr)}
  .tx-experts-grid{grid-template-columns:repeat(2,1fr)}
  .tx-footer-grid{grid-template-columns:1fr 1fr}
  .tx-howto-steps{grid-template-columns:repeat(2,1fr)}
  .tx-contact-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .tx-menu{display:none;position:absolute;top:68px;left:0;right:0;background:#1a0a06;flex-direction:column;padding:16px;gap:4px;box-shadow:0 8px 20px rgba(0,0,0,.3)}
  .tx-menu.open{display:flex}
  .tx-mobile-btn{display:block}
  .tx-hero h1{font-size:1.8rem}
  .tx-hero p{font-size:1rem}
  .tx-video-grid{grid-template-columns:1fr}
  .tx-services-grid{grid-template-columns:1fr}
  .tx-experts-grid{grid-template-columns:1fr}
  .tx-reviews-grid{grid-template-columns:1fr}
  .tx-footer-grid{grid-template-columns:1fr}
  .tx-howto-steps{grid-template-columns:1fr}
  .tx-section-title h2{font-size:1.5rem}
}
@media(max-width:480px){
  .tx-hero{min-height:320px}
  .tx-hero h1{font-size:1.5rem}
  .tx-btn{padding:10px 22px;font-size:.9rem}
  .tx-nav{height:56px}
  .tx-logo img{height:36px}
}
