/* ====== 单域名落地页样式（移动优先）====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --orange: #ff6b35;
    --green: #22c55e;
    --green-dark: #16a34a;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --bg-contact: #e8f7ee;
    --text: #1f2937;
    --text-sub: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --radius: 14px;
}
html, body { min-height: 100%; background: var(--bg); }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}
a { text-decoration: none; color: inherit; }

/* ====== 顶栏 ====== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 50px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}
.nav-back { font-size: 14px; color: var(--text-sub); font-weight: 500; }
.nav-back:active { opacity: .6; }
.nav-title { flex: 1; text-align: center; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-placeholder { width: 40px; }

/* ====== 域名展示区 ====== */
.hero {
    padding: 32px 20px 28px;
    text-align: center;
    background: var(--bg);
}

/* 橙色转让标签 */
.sale-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff6b35, #ff4e50);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(255,107,53,.3);
}
.sale-tag .dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1.5s infinite; }
.sale-tag .sep-bar { width: 1px; height: 12px; background: rgba(255,255,255,.4); }
.sale-tag .en { opacity: .85; font-weight: 400; }
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

/* 渐变大域名标题 */
.domain-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
    word-break: break-all;
}
@media (max-width: 380px) {
    .domain-title { font-size: 42px; }
}
.domain-title .main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.domain-title .ext {
    background: linear-gradient(135deg, #ff6b35, #ff4e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 域名描述 */
.domain-desc {
    max-width: 520px;
    margin: 0 auto 28px;
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.7;
}

/* 价格条 */
.price-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fff5f0, #ffe8e0);
    border: 1px solid #ffd4c2;
    border-radius: 12px;
    position: relative;
}
.price-label { font-size: 13px; color: var(--orange); font-weight: 500; }
.price-val { font-size: 24px; font-weight: 800; color: var(--orange); display: inline-flex; align-items: baseline; }
.price-val.negotiate { color: var(--text); }
.price-val.negotiate .num { font-size: 20px; }
.price-currency { font-size: 14px; }
.price-val .num { letter-spacing: .5px; }
.sold-label {
    margin-left: 8px;
    padding: 3px 10px;
    background: #e5e7eb;
    color: var(--text-light);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: line-through;
}

/* ====== 交易保障 ====== */
.guarantee {
    display: flex;
    justify-content: space-around;
    padding: 20px 16px;
    background: var(--bg-soft);
    margin: 0 16px;
    border-radius: var(--radius);
    gap: 8px;
}
.gar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.gar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.gar-text .gar-zh { font-size: 13px; font-weight: 600; color: var(--text); }
.gar-text .gar-en { font-size: 11px; color: var(--text-light); letter-spacing: .5px; }

/* ====== 购买区 ====== */
.buy-section {
    padding: 28px 20px 20px;
    text-align: center;
}
.buy-row {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}
.buy-btn {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    padding: 16px 18px;
    border-radius: var(--radius);
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    transition: transform .15s, box-shadow .15s;
}
.buy-btn:active { transform: scale(.97); }
.buy-icon { font-size: 24px; }
.buy-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.buy-zh { font-size: 15px; }
.buy-en { font-size: 11px; opacity: .85; font-weight: 400; letter-spacing: .5px; }

.buy-aliyun { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.buy-aliyun:active { box-shadow: 0 3px 12px rgba(34,197,94,.3); }
.buy-afternic { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.buy-afternic:active { box-shadow: 0 3px 12px rgba(59,130,246,.3); }

.buy-hint { margin-top: 14px; font-size: 12px; color: var(--text-light); }

/* 已售状态 */
.sold-section {
    text-align: center;
    padding: 40px 20px;
}
.sold-big {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.sold-icon { font-size: 32px; }
.sold-text { font-size: 16px; font-weight: 600; color: var(--text-sub); }
.back-link { color: var(--primary, var(--blue)); font-weight: 600; font-size: 14px; }

/* ====== 联系方式 / 二维码 ====== */
.contact-section {
    padding: 20px 16px 28px;
}
.contact-card {
    background: var(--bg-contact);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid #d4edda;
}
.contact-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #b7eb8f;
}
.contact-icon { font-size: 20px; }
.contact-title { font-size: 15px; font-weight: 600; color: #166534; }

.contact-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 10px;
    flex-wrap: wrap;
}
.contact-label {
    font-size: 13px;
    color: #166534;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}
.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: #166534;
    flex: 1;
}
.copy-btn {
    padding: 4px 12px;
    font-size: 12px;
    background: #166534;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-qr {
    margin-top: 16px;
    text-align: center;
}
.qr-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-tip {
    margin-top: 10px;
    font-size: 13px;
    color: #166534;
    opacity: .7;
}

/* ====== 底部 ====== */
.footer-cta {
    padding: 20px 20px 40px;
    text-align: center;
}
.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    color: var(--text-sub);
    transition: all .15s;
    margin-bottom: 16px;
}
.cta-btn:active { background: var(--bg-soft); }
.site-foot {
    font-size: 12px;
    color: var(--text-light);
}

/* 平板以上可以居中宽度 */
@media (min-width: 768px) {
    .domain-title { font-size: 72px; }
    .guarantee { max-width: 500px; margin: 0 auto; }
    .hero, .contact-section, .buy-section, .footer-cta { max-width: 600px; margin-left: auto; margin-right: auto; }
    .top-nav { max-width: 768px; margin: 0 auto; }
}
