/* ============================================
   抖阴 - 动物写真与视频社区 原创样式表
   配色：深森林绿 #0D3B1E + 琥珀金 #D4920B + 暖象牙 #FFF8EE
   ============================================ */

/* === 基础重置 === */
*,*::before,*::after{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',Arial,sans-serif;color:#2D2D2D;background:#FFF8EE;line-height:1.75}
a{color:#0D3B1E;text-decoration:none;transition:color .3s}
a:hover{color:#D4920B}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3;color:#0D3B1E}

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

/* === 顶部导航 === */
.dy-header{background:linear-gradient(135deg,#0D3B1E 0%,#145A2E 100%);position:sticky;top:0;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.dy-nav{display:flex;align-items:center;justify-content:space-between;padding:0 20px;max-width:1200px;margin:0 auto;height:68px}
.dy-logo-box{display:flex;align-items:center;gap:10px}
.dy-logo-box img{height:42px;width:auto}
.dy-logo-box span{font-size:1.35rem;font-weight:800;color:#FFD54F;letter-spacing:1px}
.dy-menu{display:flex;gap:6px;align-items:center}
.dy-menu a{color:#E8F5E9;font-size:.92rem;padding:8px 14px;border-radius:6px;transition:all .3s}
.dy-menu a:hover,.dy-menu a.active{background:rgba(255,213,79,.18);color:#FFD54F}
.dy-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.dy-hamburger span{width:26px;height:3px;background:#FFD54F;border-radius:2px;transition:all .3s}
.dy-search-box{position:relative}
.dy-search-box input{background:rgba(255,255,255,.12);border:1px solid rgba(255,213,79,.3);color:#fff;padding:7px 36px 7px 14px;border-radius:20px;font-size:.88rem;width:180px;transition:all .3s}
.dy-search-box input::placeholder{color:rgba(255,255,255,.5)}
.dy-search-box input:focus{outline:none;border-color:#FFD54F;width:220px;background:rgba(255,255,255,.2)}
.dy-search-box button{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;color:#FFD54F;cursor:pointer;font-size:1rem}

/* === Hero Banner === */
.dy-hero{position:relative;height:520px;overflow:hidden;background:#0D3B1E}
.dy-hero img{width:100%;height:100%;object-fit:cover;opacity:.7}
.dy-hero-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#fff;max-width:700px;width:90%}
.dy-hero h1{font-size:2.8rem;margin-bottom:16px;text-shadow:0 3px 12px rgba(0,0,0,.5);color:#FFD54F}
.dy-hero h2{font-size:1.3rem;font-weight:400;margin-bottom:28px;text-shadow:0 2px 8px rgba(0,0,0,.4);color:#E8F5E9}
.dy-hero-btn{display:inline-block;background:linear-gradient(135deg,#D4920B,#F5B731);color:#0D3B1E;padding:14px 36px;border-radius:30px;font-size:1.05rem;font-weight:700;transition:all .3s;box-shadow:0 4px 16px rgba(212,146,11,.4)}
.dy-hero-btn:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(212,146,11,.5);color:#0D3B1E}

/* === 通用区块 === */
.dy-section{padding:60px 0}
.dy-section:nth-child(even){background:#F1F8E9}
.dy-section-title{text-align:center;margin-bottom:40px}
.dy-section-title h2{font-size:2rem;color:#0D3B1E;margin-bottom:10px;position:relative;display:inline-block}
.dy-section-title h2::after{content:'';display:block;width:60px;height:4px;background:linear-gradient(90deg,#D4920B,#F5B731);margin:10px auto 0;border-radius:2px}
.dy-section-title p{color:#5D7A5D;font-size:1rem;margin-top:8px}

/* === 视频卡片网格 === */
.dy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.dy-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(13,59,30,.08);transition:all .35s;position:relative}
.dy-card:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(13,59,30,.15)}
.dy-card-thumb{position:relative;overflow:hidden;aspect-ratio:4/3}
.dy-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.dy-card:hover .dy-card-thumb img{transform:scale(1.08)}
.dy-card-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:60px;height:60px;background:rgba(212,146,11,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .35s;cursor:pointer}
.dy-card-play::after{content:'';width:0;height:0;border-left:22px solid #fff;border-top:13px solid transparent;border-bottom:13px solid transparent;margin-left:4px}
.dy-card:hover .dy-card-play{transform:translate(-50%,-50%) scale(1)}
.dy-card-info{padding:16px 18px}
.dy-card-info h3{font-size:1.05rem;color:#0D3B1E;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dy-card-info p{font-size:.85rem;color:#6B8F6B;line-height:1.5}
.dy-card-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.dy-card-tags span{background:#E8F5E9;color:#2E7D32;font-size:.75rem;padding:3px 10px;border-radius:12px}
.dy-card-stats{display:flex;gap:14px;margin-top:8px;font-size:.8rem;color:#8FAF8F}
.dy-card-duration{position:absolute;bottom:10px;right:10px;background:rgba(0,0,0,.7);color:#fff;font-size:.75rem;padding:2px 8px;border-radius:4px}

/* === 服务模块 === */
.dy-services{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.dy-service-item{text-align:center;padding:36px 24px;background:#fff;border-radius:14px;border:2px solid transparent;transition:all .3s;box-shadow:0 2px 12px rgba(13,59,30,.06)}
.dy-service-item:hover{border-color:#D4920B;box-shadow:0 8px 28px rgba(212,146,11,.12)}
.dy-service-icon{width:64px;height:64px;background:linear-gradient(135deg,#E8F5E9,#C8E6C9);border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;font-size:1.8rem}
.dy-service-item h3{font-size:1.1rem;color:#0D3B1E;margin-bottom:8px}
.dy-service-item p{font-size:.88rem;color:#5D7A5D;line-height:1.6}

/* === AI赋能两栏 === */
.dy-ai-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.dy-ai-layout img{border-radius:14px;box-shadow:0 8px 28px rgba(13,59,30,.12)}
.dy-ai-text h3{font-size:1.5rem;color:#0D3B1E;margin-bottom:16px}
.dy-ai-text p{color:#4A6B4A;line-height:1.8;margin-bottom:12px}
.dy-ai-features{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.dy-ai-feat{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-radius:10px;box-shadow:0 2px 8px rgba(13,59,30,.06)}
.dy-ai-feat-icon{width:40px;height:40px;background:linear-gradient(135deg,#D4920B,#F5B731);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem;flex-shrink:0}
.dy-ai-feat span{font-size:.92rem;color:#2D2D2D}

/* === 社区模块 === */
.dy-community-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.dy-community-card{background:#fff;border-radius:12px;padding:24px 18px;text-align:center;transition:all .3s;box-shadow:0 2px 10px rgba(13,59,30,.06)}
.dy-community-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(13,59,30,.12)}
.dy-community-card .icon{font-size:2.2rem;margin-bottom:12px}
.dy-community-card h4{font-size:1rem;color:#0D3B1E;margin-bottom:6px}
.dy-community-card p{font-size:.82rem;color:#6B8F6B}

/* === 专家展示 === */
.dy-experts{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.dy-expert-card{background:#fff;border-radius:14px;overflow:hidden;text-align:center;box-shadow:0 4px 16px rgba(13,59,30,.08);transition:all .3s}
.dy-expert-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(13,59,30,.14)}
.dy-expert-card img{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:28px auto 16px;border:4px solid #E8F5E9}
.dy-expert-card h4{font-size:1.1rem;color:#0D3B1E;margin-bottom:4px}
.dy-expert-card .title{font-size:.85rem;color:#D4920B;margin-bottom:10px}
.dy-expert-card p{font-size:.85rem;color:#5D7A5D;padding:0 20px 24px;line-height:1.6}

/* === 用户评论 === */
.dy-reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.dy-review{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(13,59,30,.06);border-left:4px solid #D4920B}
.dy-review-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.dy-review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#0D3B1E,#2E7D32);display:flex;align-items:center;justify-content:center;color:#FFD54F;font-weight:700;font-size:1.1rem}
.dy-review-name{font-weight:600;color:#0D3B1E;font-size:.95rem}
.dy-review-stars{color:#D4920B;font-size:.85rem}
.dy-review p{color:#4A6B4A;font-size:.9rem;line-height:1.7}

/* === FAQ === */
.dy-faq-list{max-width:800px;margin:0 auto}
.dy-faq-item{background:#fff;border-radius:10px;margin-bottom:12px;overflow:hidden;box-shadow:0 2px 8px rgba(13,59,30,.05)}
.dy-faq-q{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#0D3B1E;font-size:.98rem;transition:background .3s}
.dy-faq-q:hover{background:#F1F8E9}
.dy-faq-q::after{content:'+';font-size:1.4rem;color:#D4920B;transition:transform .3s}
.dy-faq-q.active::after{transform:rotate(45deg)}
.dy-faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;padding:0 24px}
.dy-faq-a.open{max-height:300px;padding:0 24px 18px}
.dy-faq-a p{color:#4A6B4A;font-size:.9rem;line-height:1.7}

/* === HowTo === */
.dy-howto{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.dy-howto-step{text-align:center;padding:28px 16px;background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(13,59,30,.06);position:relative}
.dy-howto-num{width:44px;height:44px;background:linear-gradient(135deg,#D4920B,#F5B731);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.2rem;margin:0 auto 14px}
.dy-howto-step h4{font-size:1rem;color:#0D3B1E;margin-bottom:6px}
.dy-howto-step p{font-size:.84rem;color:#5D7A5D}

/* === 面包屑 === */
.dy-breadcrumb{padding:14px 0;font-size:.85rem;color:#6B8F6B}
.dy-breadcrumb a{color:#0D3B1E}
.dy-breadcrumb a:hover{color:#D4920B}
.dy-breadcrumb span{margin:0 6px;color:#aaa}

/* === 页脚 === */
.dy-footer{background:linear-gradient(135deg,#0A2E16 0%,#0D3B1E 100%);color:#A5D6A7;padding:50px 0 0}
.dy-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;margin-bottom:36px}
.dy-footer h4{color:#FFD54F;font-size:1.05rem;margin-bottom:16px}
.dy-footer p{font-size:.88rem;line-height:1.7;color:#81C784}
.dy-footer a{color:#A5D6A7;font-size:.88rem;display:block;margin-bottom:8px;transition:color .3s}
.dy-footer a:hover{color:#FFD54F}
.dy-footer-qr{display:flex;gap:16px;margin-top:12px}
.dy-footer-qr img{width:100px;height:100px;border-radius:8px;border:2px solid rgba(255,213,79,.2)}
.dy-footer-bottom{border-top:1px solid rgba(165,214,167,.15);padding:18px 0;text-align:center;font-size:.82rem;color:#66BB6A}
.dy-footer-share{display:flex;justify-content:center;gap:14px;margin-top:10px}
.dy-footer-share a{width:36px;height:36px;background:rgba(255,213,79,.12);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#FFD54F;font-size:.95rem;transition:all .3s}
.dy-footer-share a:hover{background:#D4920B;color:#fff}

/* === 视频弹层 === */
.dy-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);z-index:2000;align-items:center;justify-content:center}
.dy-modal.show{display:flex}
.dy-modal-inner{background:#1a1a1a;border-radius:14px;padding:24px;max-width:640px;width:90%;text-align:center;position:relative}
.dy-modal-close{position:absolute;top:12px;right:16px;color:#fff;font-size:1.5rem;cursor:pointer;background:none;border:none}
.dy-modal-inner .player-area{background:#000;aspect-ratio:16/9;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.dy-modal-inner .player-area .play-icon{width:70px;height:70px;background:rgba(212,146,11,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .3s}
.dy-modal-inner .player-area .play-icon:hover{transform:scale(1.1)}
.dy-modal-inner .player-area .play-icon::after{content:'';width:0;height:0;border-left:26px solid #fff;border-top:16px solid transparent;border-bottom:16px solid transparent;margin-left:5px}
.dy-modal-inner h3{color:#FFD54F;font-size:1.1rem;margin-bottom:6px}
.dy-modal-inner p{color:#A5D6A7;font-size:.88rem}

/* === 内页通用 === */
.dy-page-hero{background:linear-gradient(135deg,#0D3B1E,#1B5E20);padding:60px 0;text-align:center;color:#fff}
.dy-page-hero h1{font-size:2.2rem;color:#FFD54F;margin-bottom:10px}
.dy-page-hero p{color:#C8E6C9;font-size:1.05rem}
.dy-content-section{padding:50px 0}
.dy-content-section h2{font-size:1.6rem;color:#0D3B1E;margin-bottom:20px}
.dy-content-section p{color:#4A6B4A;line-height:1.85;margin-bottom:14px}

/* === 隐私政策 === */
.dy-privacy h2{margin-top:30px}
.dy-privacy p{margin-bottom:12px}

/* === 响应式 === */
@media(max-width:992px){
  .dy-grid{grid-template-columns:repeat(2,1fr)}
  .dy-services{grid-template-columns:repeat(2,1fr)}
  .dy-experts{grid-template-columns:repeat(2,1fr)}
  .dy-community-grid{grid-template-columns:repeat(2,1fr)}
  .dy-howto{grid-template-columns:repeat(2,1fr)}
  .dy-ai-layout{grid-template-columns:1fr}
  .dy-footer-grid{grid-template-columns:1fr 1fr}
  .dy-reviews{grid-template-columns:1fr}
}
@media(max-width:768px){
  .dy-menu{display:none;position:absolute;top:68px;left:0;right:0;background:#0D3B1E;flex-direction:column;padding:16px;gap:4px;box-shadow:0 8px 20px rgba(0,0,0,.3)}
  .dy-menu.open{display:flex}
  .dy-hamburger{display:flex}
  .dy-hero{height:380px}
  .dy-hero h1{font-size:1.8rem}
  .dy-hero h2{font-size:1rem}
  .dy-grid{grid-template-columns:1fr}
  .dy-services{grid-template-columns:1fr}
  .dy-experts{grid-template-columns:1fr}
  .dy-community-grid{grid-template-columns:1fr 1fr}
  .dy-howto{grid-template-columns:1fr 1fr}
  .dy-footer-grid{grid-template-columns:1fr}
  .dy-search-box input{width:140px}
  .dy-search-box input:focus{width:160px}
  .dy-section{padding:40px 0}
}
@media(max-width:480px){
  .dy-community-grid{grid-template-columns:1fr}
  .dy-howto{grid-template-columns:1fr}
  .dy-hero{height:300px}
  .dy-hero h1{font-size:1.5rem}
}
