* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #000; color: #fff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.topbar { position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 1000; background: rgba(0,0,0,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.logo span { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.search-wrap { flex: 1; max-width: 420px; margin: 0 auto; position: relative; }
.search-input { width: 100%; height: 40px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 0 40px 0 18px; color: #fff; font-size: 14px; outline: none; transition: border-color .2s; }
.search-input::placeholder { color: #777; }
.search-input:focus { border-color: rgba(254,44,85,0.5); }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #888; font-size: 16px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: #fe2c55; border-radius: 50%; border: 1px solid #000; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #fe2c55, #ff6b6b); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; cursor: pointer; }
.login-btn { background: linear-gradient(135deg, #fe2c55, #ff0050); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; }

.sidebar { position: fixed; top: 60px; left: 0; bottom: 0; width: 220px; z-index: 900; background: #000; border-right: 1px solid rgba(255,255,255,0.08); overflow-y: auto; padding: 12px 8px; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.side-nav a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #ccc; margin-bottom: 2px; transition: background .15s, color .15s; }
.side-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side-nav a.active { color: #fff; font-weight: 700; }
.side-nav a.active .nav-ico { color: #fe2c55; }
.side-nav .nav-ico { font-size: 20px; width: 24px; text-align: center; }
.side-nav .badge { margin-left: auto; background: #fe2c55; color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 10px; font-weight: 600; }
.side-footer { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; font-size: 12px; color: #666; border-top: 1px solid rgba(255,255,255,0.06); }
.side-footer a { color: #777; margin-right: 8px; }
.side-footer a:hover { color: #fff; }
.sidebar-nav-head { font-size: 11px; color: #555; padding: 10px 16px 6px; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 10px 12px; }

.main { margin-left: 220px; padding-top: 60px; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; border-radius: 26px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .2s, box-shadow .2s; border: none; }
.btn-primary { background: linear-gradient(135deg, #fe2c55, #ff0050); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(254,44,85,0.45); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }

.hero { display: flex; align-items: center; gap: 60px; padding: 60px 0 70px; min-height: calc(100vh - 60px); }
.hero-content { flex: 1; }
.hero-badge { display: inline-block; background: rgba(254,44,85,0.15); color: #fe2c55; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; background: linear-gradient(135deg, #fff 0%, #ccc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; color: #aaa; margin-bottom: 36px; max-width: 500px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-phone { flex: 0 0 auto; }
.phone-frame { width: 300px; height: 620px; background: #1a1a1a; border-radius: 44px; border: 6px solid #2a2a2a; padding: 10px; position: relative; box-shadow: 0 30px 80px rgba(254,44,85,0.25), 0 0 0 2px rgba(255,255,255,0.05), inset 0 0 0 1px #000; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #000; border-radius: 0 0 18px 18px; z-index: 6; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; position: relative; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 30px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; z-index: 5; color: #fff; }
.statusbar .sb-icons { display: flex; gap: 4px; font-size: 10px; }

.tiktok-sim { width: 100%; height: 100%; position: relative; overflow: hidden; }
.tiktok-video { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .45s cubic-bezier(.2,.8,.3,1); }
.sim-v1 { background: radial-gradient(circle at 30% 20%, #3a1c3d, #12040f 60%), linear-gradient(160deg, #2b0f30, #0c0612); z-index: 3; }
.sim-v2 { background: radial-gradient(circle at 70% 30%, #0b3a4a, #04121a 60%), linear-gradient(160deg, #0a2e3a, #040a10); z-index: 2; }
.sim-v3 { background: radial-gradient(circle at 50% 70%, #4a2a0b, #120a04 60%), linear-gradient(160deg, #3a200a, #0a0602); z-index: 1; }
.sim-emoji { font-size: 64px; position: absolute; top: 32%; left: 50%; transform: translate(-50%,-50%); filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.sim-badge { position: absolute; top: 38px; left: 12px; background: #fe2c55; color: #fff; font-size: 9px; padding: 2px 8px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; }
.sim-follow { position: absolute; top: 38px; right: 12px; background: rgba(254,44,85,0.9); color: #fff; font-size: 10px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.sim-avatar { position: absolute; bottom: 84px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; border: 2px solid #fff; background: linear-gradient(135deg, #fe2c55, #ff6b6b); z-index: 4; }
.sim-actions { position: absolute; right: 16px; bottom: 150px; display: flex; flex-direction: column; gap: 20px; align-items: center; z-index: 4; }
.sim-action { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #fff; cursor: pointer; user-select: none; }
.sim-action-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .15s, background .15s; }
.sim-action:active .sim-action-icon { transform: scale(.85); }
.sim-action.liked .sim-action-icon { background: #fe2c55; animation: likePop .3s ease; }
@keyframes likePop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.sim-info { position: absolute; bottom: 20px; left: 12px; right: 64px; z-index: 4; }
.sim-username { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.sim-desc { font-size: 12px; color: #ddd; line-height: 1.45; }
.sim-music { position: absolute; bottom: 66px; left: 12px; right: 64px; font-size: 11px; color: #fff; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; z-index: 4; }
.sim-music .music-text { animation: marquee 5s linear infinite; }
@keyframes marquee { 0% { transform: translateX(30%); opacity: .7; } 50% { opacity: 1; } 100% { transform: translateX(-80%); opacity: .7; } }
.sim-tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 46px; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: space-around; border-top: 1px solid rgba(255,255,255,0.12); z-index: 5; }
.sim-tab { font-size: 10px; color: #888; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sim-tab.active { color: #fff; }
.sim-tab-icon { font-size: 18px; }
.sim-progress { position: absolute; top: 30px; left: 8px; right: 8px; height: 2px; background: rgba(255,255,255,0.2); border-radius: 1px; z-index: 6; }
.sim-progress-bar { height: 100%; width: 0%; background: #fe2c55; border-radius: 1px; animation: progressAnim 4s ease-in-out infinite; }
@keyframes progressAnim { 0% { width: 0%; } 70% { width: 78%; } 100% { width: 100%; } }
.phone-tip { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-size: 11px; color: #666; white-space: nowrap; }

.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.section-sub { text-align: center; color: #888; font-size: 16px; margin-bottom: 50px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 30px 22px; text-align: center; transition: transform .2s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-num { font-size: 34px; font-weight: 800; background: linear-gradient(135deg, #fe2c55, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: #888; margin-top: 6px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 34px 26px; transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(254,44,85,0.3); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.fi-1 { background: rgba(254,44,85,0.15); } .fi-2 { background: rgba(0,212,255,0.15); } .fi-3 { background: rgba(114,46,209,0.15); }
.fi-4 { background: rgba(255,193,7,0.15); } .fi-5 { background: rgba(0,200,83,0.15); } .fi-6 { background: rgba(33,150,243,0.15); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #999; line-height: 1.65; }

.faq { max-width: 900px; margin: 0 auto; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 20px 26px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow { font-size: 12px; transition: transform .3s; color: #fe2c55; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease, padding .45s ease; }
.faq-item.open .faq-a { max-height: 900px; }
.faq-a-inner { padding: 0 26px 22px; color: #bbb; font-size: 14px; line-height: 1.8; }
.faq-step { display: flex; gap: 12px; margin-bottom: 10px; }
.faq-step-num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(254,44,85,0.2); color: #fe2c55; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

.cta { text-align: center; padding: 70px 0; background: linear-gradient(180deg, transparent, rgba(254,44,85,0.06), transparent); }
.cta h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.cta p { color: #aaa; margin-bottom: 30px; font-size: 16px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-header { padding: 48px 24px 30px; text-align: center; background: linear-gradient(180deg, rgba(254,44,85,0.07), transparent); }
.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-header p { color: #aaa; font-size: 16px; max-width: 640px; margin: 0 auto; }
.page-body { padding: 20px 24px 70px; max-width: 1100px; margin: 0 auto; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.content-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px; transition: transform .2s, border-color .2s; }
.content-card:hover { transform: translateY(-5px); border-color: rgba(254,44,85,0.3); }
.content-card .c-icon { font-size: 32px; margin-bottom: 14px; }
.content-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.content-card p { font-size: 14px; color: #999; line-height: 1.65; }
.panel { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 32px; margin-bottom: 22px; }
.panel h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel p { color: #bbb; font-size: 14px; line-height: 1.8; }
.panel ul { margin-top: 10px; }
.panel li { padding: 9px 0; color: #aaa; font-size: 14px; padding-left: 22px; position: relative; }
.panel li::before { content: '›'; position: absolute; left: 4px; color: #fe2c55; font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; color: #888; font-size: 13px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #888; font-size: 13px; line-height: 1.7; }
.friend-links { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.friend-links h4 { font-size: 14px; color: #888; margin-bottom: 12px; }
#my-friend-links { font-size: 13px; color: #666; }
#my-friend-links a { color: #888; margin-right: 12px; line-height: 2; }
#my-friend-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #666; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #fff; }

.sitemap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sitemap-list li { padding: 11px 16px; border-radius: 8px; transition: background .2s; }
.sitemap-list li:hover { background: rgba(255,255,255,0.03); }
.sitemap-list a { color: #ccc; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color .2s; }
.sitemap-list a:hover { color: #fe2c55; }
.sitemap-list .arrow { color: #fe2c55; font-size: 12px; }
.sitemap-list .desc { font-size: 12px; color: #666; margin-left: 20px; display: block; }
.xml-code { background: #0d1117; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 20px; font-family: 'SF Mono','Menlo','Consolas',monospace; font-size: 12px; color: #8b949e; overflow-x: auto; line-height: 1.8; white-space: pre; }

@media (max-width: 1024px) {
  .sidebar { width: 72px; }
  .side-nav a span.txt { display: none; }
  .side-nav .badge { display: none; }
  .main { margin-left: 72px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .hero { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .hero p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-wrap { display: none; }
  .sitemap-list { grid-template-columns: 1fr; }
}
