/* ============================================
   最小的 .com 域名 — 展示网站样式
   ============================================ */

:root {
    --bg: #0a0a0f;
    --bg-card: #13131f;
    --bg-elevated: #1a1a2e;
    --text: #e0e0e0;
    --text-muted: #8888aa;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --green: #00d68f;
    --radius: 16px;
    --font-mono: "SF Mono", "Cascadia Code", "Fira Code", "Consolas", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 12px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", "Helvetica Neue", sans-serif;
    font-size: 12px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景纹理 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(108, 92, 231, 0.08), transparent),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(108, 92, 231, 0.04), transparent);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.domain-full {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    text-shadow:
        0 0 40px var(--accent-glow),
        0 0 80px rgba(108, 92, 231, 0.2),
        0 0 120px rgba(108, 92, 231, 0.1);
    cursor: default;
    transition: text-shadow 0.3s, transform 0.2s;
    user-select: all;
}

.domain-full:hover {
    text-shadow:
        0 0 60px var(--accent-glow),
        0 0 120px rgba(108, 92, 231, 0.3),
        0 0 200px rgba(108, 92, 231, 0.15);
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.font-slider-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.font-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.font-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-light);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 6px var(--accent-glow);
}

.font-slider::-webkit-slider-thumb:hover {
    background: #fff;
    box-shadow: 0 0 10px var(--accent-glow);
}

.font-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px var(--accent-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #222240;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: var(--bg-elevated);
    color: #fff;
    border-color: rgba(108, 92, 231, 0.4);
}

/* Toast */
.copy-toast {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--green);
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
}

/* ===== Tech Section ===== */
.tech-section {
    margin-bottom: 60px;
}

.tech-section h2,
.faq-section h2 {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: #ccc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    overflow: hidden;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: var(--bg-card);
    font-size: 0.9rem;
}

.tech-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tech-value {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 40px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-copy {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .hero {
        padding: 50px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
