* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Noto Sans SC',sans-serif; background:#0a0a0f; color:#e0e0e0; min-height:100vh; }
.bg-wrapper { position:fixed; top:0; left:0; width:100%; height:100%; z-index:-1; }
.bg-gradient { width:100%; height:100%; background:linear-gradient(135deg,#0a0a1a 0%,#1a0a2e 30%,#0a1628 60%,#0a0a1a 100%); }

/* 导航 */
.navbar { position:sticky; top:0; z-index:100; background:rgba(10,10,20,0.85); backdrop-filter:blur(20px); border-bottom:1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width:1200px; margin:0 auto; padding:14px 24px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:10px; }
.logo-icon { font-size:24px; }
.logo-text { font-size:22px; font-weight:700; background:linear-gradient(135deg,#6c5ce7,#a29bfe); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.nav-actions { display:flex; gap:8px; }
.nav-link { color:#999; text-decoration:none; padding:8px 16px; border-radius:8px; font-size:14px; transition:all 0.3s; }
.nav-link:hover,.nav-link.active { color:#fff; background:rgba(108,92,231,0.15); }

/* 横幅 */
.hero-banner { max-width:1200px; margin:30px auto 20px; padding:40px; text-align:center; background:linear-gradient(135deg,rgba(108,92,231,0.15),rgba(162,155,254,0.08)); border:1px solid rgba(108,92,231,0.2); border-radius:16px; }
.hero-banner h1 { font-size:32px; font-weight:800; background:linear-gradient(135deg,#fff,#a29bfe); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:10px; }
.hero-banner p { color:#8888aa; font-size:15px; }

/* 公告 */
.notice-block { max-width:1200px; margin:0 auto 24px; padding:14px 20px; background:rgba(255,180,50,0.08); border:1px solid rgba(255,180,50,0.15); border-radius:10px; display:flex; align-items:center; gap:10px; font-size:13px; color:#ccaa66; }
.notice-icon { font-size:18px; }

/* 主内容 */
.main-content { max-width:1200px; margin:0 auto; padding:0 24px 40px; }
.section-title { font-size:20px; font-weight:700; margin-bottom:20px; color:#fff; }

/* 分类标签栏 */
.category-bar { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; padding:16px 0; align-items:center; }
.category-tag { background:rgba(255,255,255,0.06); color:#999; border:1px solid rgba(255,255,255,0.08); padding:9px 22px; border-radius:24px; font-size:13px; font-weight:500; cursor:pointer; transition:all 0.3s ease; white-space:nowrap; font-family:'Noto Sans SC',sans-serif; line-height:1.2; letter-spacing:0.3px; -webkit-appearance:none; appearance:none; outline:none; }
.category-tag:hover { background:rgba(108,92,231,0.12); color:#a29bfe; border-color:rgba(108,92,231,0.3); transform:translateY(-1px); }
.category-tag.active { background:linear-gradient(135deg,#6c5ce7,#a29bfe); color:#fff; border-color:transparent; box-shadow:0 4px 18px rgba(108,92,231,0.35); font-weight:600; }
@media(max-width:600px) { .category-bar { gap:8px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:12px; -webkit-overflow-scrolling:touch; } .category-bar::-webkit-scrollbar{height:0} .category-tag { padding:8px 16px; font-size:12px; flex-shrink:0; } }

/* 商品卡片过渡动画 */
.product-card.hide { display:none; }
.product-card.show { animation:fadeIn 0.3s ease forwards; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* 空状态 */
.empty-state { grid-column:1/-1; text-align:center; padding:60px 20px; color:#666; }
.empty-state .empty-icon { font-size:48px; margin-bottom:16px; }
.empty-state .empty-text { font-size:16px; }

/* 商品网格 */
.products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media(max-width:900px) { .products-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px) { .products-grid { grid-template-columns:1fr; } }

/* 商品卡片 */
.product-card { background:rgba(20,20,35,0.8); border:1px solid rgba(255,255,255,0.06); border-radius:14px; overflow:hidden; cursor:pointer; transition:all 0.3s; }
.product-card:hover { transform:translateY(-4px); border-color:rgba(108,92,231,0.3); box-shadow:0 12px 40px rgba(108,92,231,0.12); }

/* 商品图片 */
.product-img { position:relative; height:200px; overflow:hidden; }
.chatgpt-bg { background:linear-gradient(145deg,#2d2d3a 0%,#3a3a4a 40%,#4a4a5a 100%); }
.gmail-bg { background:linear-gradient(145deg,#1a3a3a 0%,#2a4a4a 40%,#1a4a3a 100%); }
.product-img-content { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; }
.brand-logo { font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:8px; letter-spacing:1px; }
.product-main-title { font-size:28px; font-weight:800; color:#fff; letter-spacing:2px; }
.product-sub-title { font-size:12px; color:rgba(255,255,255,0.5); letter-spacing:3px; margin-top:4px; }
.product-badge-img { position:absolute; top:12px; right:12px; background:linear-gradient(135deg,#e74c3c,#c0392b); color:#fff; font-size:11px; padding:3px 10px; border-radius:4px; }

/* 商品信息 */
.product-info { padding:16px; }
.product-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.tag { font-size:11px; padding:3px 8px; border-radius:4px; }
.tag-auto { background:rgba(46,204,113,0.15); color:#2ecc71; }
.tag-stock { background:rgba(241,196,15,0.15); color:#f1c40f; }
.tag-sales { color:#888; }
.product-title { font-size:15px; font-weight:600; color:#e0e0e0; margin-bottom:12px; line-height:1.4; }
.product-footer { display:flex; align-items:center; justify-content:space-between; }
.product-price { font-size:22px; font-weight:800; color:#e74c3c; }
.btn-buy { background:linear-gradient(135deg,#e74c3c,#c0392b); color:#fff; border:none; padding:8px 20px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all 0.3s; }
.btn-buy:hover { transform:scale(1.05); box-shadow:0 4px 15px rgba(231,76,60,0.3); }

/* 底部 */
.site-footer { text-align:center; padding:36px 24px; color:#555; font-size:13px; border-top:1px solid rgba(255,255,255,0.05); background:rgba(10,10,20,0.5); }
.footer-contact { display:flex; align-items:center; justify-content:center; gap:16px; margin-bottom:12px; color:#888; font-size:14px; flex-wrap:wrap; }
.footer-contact span { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.footer-divider { color:#333; font-size:10px; }

/* 联系客服 */
.contact-section { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-bottom:36px; }
@media(max-width:600px) { .contact-section { grid-template-columns:1fr; } }
.contact-card { display:flex; align-items:center; gap:16px; padding:20px 24px; background:rgba(20,20,35,0.8); border:1px solid rgba(255,255,255,0.06); border-radius:14px; transition:all 0.3s; }
.contact-card:hover { border-color:rgba(108,92,231,0.3); transform:translateY(-2px); box-shadow:0 8px 25px rgba(108,92,231,0.1); }
.contact-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }
.wechat-icon { background:linear-gradient(135deg,rgba(46,204,113,0.2),rgba(46,204,113,0.05)); }
.qq-icon { background:linear-gradient(135deg,rgba(52,152,219,0.2),rgba(52,152,219,0.05)); }
.contact-info { flex:1; min-width:0; }
.contact-label { font-size:12px; color:#888; margin-bottom:4px; }
.contact-value { font-size:16px; font-weight:600; color:#e0e0e0; letter-spacing:0.5px; }
.btn-copy { background:rgba(108,92,231,0.15); color:#a29bfe; border:1px solid rgba(108,92,231,0.2); padding:8px 18px; border-radius:8px; font-size:13px; cursor:pointer; transition:all 0.3s; flex-shrink:0; font-family:'Noto Sans SC',sans-serif; }
.btn-copy:hover { background:rgba(108,92,231,0.3); color:#fff; transform:scale(1.05); }

/* 弹窗 */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.7); backdrop-filter:blur(5px); display:flex; align-items:center; justify-content:center; z-index:1000; opacity:0; pointer-events:none; transition:opacity 0.3s; }
.modal-overlay.open { opacity:1; pointer-events:auto; }
.modal { background:#1a1a2e; border:1px solid rgba(255,255,255,0.08); border-radius:16px; width:90%; max-width:460px; max-height:85vh; overflow-y:auto; }
.modal-header { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid rgba(255,255,255,0.06); }
.modal-header h3 { font-size:17px; color:#fff; }
.modal-close { background:none; border:none; color:#888; font-size:24px; cursor:pointer; padding:0 4px; }
.modal-close:hover { color:#fff; }
.modal-body { padding:20px 22px; }
.modal-footer { padding:16px 22px; border-top:1px solid rgba(255,255,255,0.06); }

/* 商品详情弹窗 */
.detail-content { white-space:pre-line; font-size:14px; line-height:1.8; color:#bbb; margin-bottom:16px; }
.detail-price { font-size:28px; font-weight:800; color:#e74c3c; text-align:center; padding:12px 0; }

/* 购买弹窗 */
.modal-product { display:flex; align-items:center; justify-content:space-between; padding:14px; background:rgba(108,92,231,0.08); border-radius:10px; margin-bottom:18px; }
.modal-product-name { font-size:15px; font-weight:600; color:#e0e0e0; }
.modal-product-price { font-size:18px; font-weight:700; color:#e74c3c; margin-top:4px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; color:#999; margin-bottom:6px; }
.required { color:#e74c3c; }
.form-input { width:100%; padding:10px 14px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:8px; color:#fff; font-size:14px; outline:none; }
.form-input:focus { border-color:rgba(108,92,231,0.5); }
.form-input.error { border-color:#e74c3c; animation:shake 0.3s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }
.quantity-control { display:flex; align-items:center; gap:8px; }
.qty-btn { width:36px; height:36px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.1); border-radius:8px; color:#fff; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.qty-btn:hover { background:rgba(108,92,231,0.2); }
.qty-input { width:60px; height:36px; text-align:center; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:8px; color:#fff; font-size:15px; }
.payment-methods { display:flex; gap:10px; }
.payment-option { flex:1; cursor:pointer; }
.payment-option input { display:none; }
.payment-card { padding:12px; text-align:center; background:rgba(255,255,255,0.04); border:2px solid rgba(255,255,255,0.08); border-radius:10px; font-size:14px; transition:all 0.2s; }
.payment-option.selected .payment-card { border-color:rgba(108,92,231,0.5); background:rgba(108,92,231,0.1); }
.order-summary { padding:12px 0; }
.summary-row { display:flex; justify-content:space-between; font-size:14px; }
.summary-row.total { font-size:16px; font-weight:700; }
.total-price { color:#e74c3c; font-size:20px; }
.btn-pay { width:100%; padding:14px; background:linear-gradient(135deg,#6c5ce7,#a29bfe); color:#fff; border:none; border-radius:10px; font-size:16px; font-weight:700; cursor:pointer; transition:all 0.3s; }
.btn-pay:hover { transform:scale(1.02); box-shadow:0 6px 20px rgba(108,92,231,0.3); }
.btn-pay:disabled { opacity:0.6; cursor:not-allowed; }

/* 二维码弹窗 */
.qr-body { text-align:center; }
.qr-code { min-height:200px; display:flex; align-items:center; justify-content:center; margin:10px 0; }
.qr-code img { border-radius:8px; }
.qr-hint { color:#888; font-size:13px; }
.qr-amount { margin:12px 0; }
.qr-price { font-size:24px; font-weight:700; color:#e74c3c; }
.qr-status { display:flex; align-items:center; justify-content:center; gap:8px; color:#888; font-size:13px; margin-top:10px; }
.loading-spinner { width:16px; height:16px; border:2px solid rgba(108,92,231,0.3); border-top-color:#6c5ce7; border-radius:50%; animation:spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* 浮动客服 */
.floating-mascot { position:fixed; bottom:30px; right:30px; width:50px; height:50px; background:linear-gradient(135deg,#6c5ce7,#a29bfe); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; cursor:pointer; box-shadow:0 4px 20px rgba(108,92,231,0.3); transition:transform 0.3s; z-index:99; }
.floating-mascot:hover { transform:scale(1.1); }

/* 客服弹出卡片 */
.contact-popup { position:fixed; bottom:90px; right:30px; width:260px; background:rgba(26,26,46,0.98); border:1px solid rgba(108,92,231,0.2); border-radius:14px; padding:0; z-index:99; opacity:0; pointer-events:none; transform:translateY(10px); transition:all 0.3s; box-shadow:0 12px 40px rgba(0,0,0,0.5); overflow:hidden; }
.contact-popup.show { opacity:1; pointer-events:auto; transform:translateY(0); }
.popup-header { padding:12px 16px; font-size:14px; font-weight:700; color:#fff; background:linear-gradient(135deg,rgba(108,92,231,0.2),rgba(162,155,254,0.1)); border-bottom:1px solid rgba(255,255,255,0.06); }
.popup-item { display:flex; align-items:center; gap:8px; padding:10px 16px; font-size:13px; color:#ccc; border-bottom:1px solid rgba(255,255,255,0.04); }
.popup-item:last-child { border-bottom:none; }
.popup-value { flex:1; color:#e0e0e0; font-weight:600; }
.popup-copy { background:rgba(108,92,231,0.15); color:#a29bfe; border:none; padding:4px 10px; border-radius:6px; font-size:11px; cursor:pointer; transition:all 0.2s; }
.popup-copy:hover { background:rgba(108,92,231,0.3); color:#fff; }
