/* ============================================================
   KevinIo 域名页 · Vercel 设计语言版 (Impeccable 流程出品)
   规范来源: awesome-design-md / vercel DESIGN.md
   - 字体: Geist (显示/正文, 上限 600) + Geist Mono (技术层标签)
   - 唯一装饰: 多段网格渐变, 只在 hero 尺度出现
     Develop #007cf0→#00dfd8 · Preview #7928ca→#ff0080 · Ship #ff4d4d→#f9cb28
   - 深度: 堆叠微阴影 + 内嵌发丝环, 绝不用单记重投影
   - 形状: 营销级 100px pill · 圆形图标按钮 · 12px 页脚板
   Kevin 的定版 (PRODUCT.md) 与本规范冲突时, 以定版为准:
   花体字渐变辉光、霓虹背景、页脚 6vh 玻璃板全部保留。
   ============================================================ */

/* 全局 */

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

html, body {
    min-height: 100vh;
}

body {
    background: #0a0a0a;
    font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

::selection {
    background: #0070f3;
    color: #fff;
}


/* 背景层：慢速推镜 + 暗角罩 */

.bg {
    position: fixed;
    inset: 0;
    z-index: -3;
}

.bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bgZoom 38s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bgZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.shade {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(2, 4, 10, 0) 42%, rgba(2, 4, 10, .36) 82%, rgba(2, 4, 10, .60) 100%),
        linear-gradient(rgba(2, 4, 10, .10), rgba(2, 4, 10, .10));
}


/* 网格渐变氛围层: Vercel 品牌渐变的四对色, 只在 hero 区域低透明漂移 */

.mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(560px 380px at 18% 30%, rgba(0, 124, 240, .17), transparent 65%),
        radial-gradient(520px 360px at 82% 26%, rgba(255, 0, 128, .13), transparent 65%),
        radial-gradient(640px 420px at 55% 78%, rgba(121, 40, 202, .13), transparent 65%),
        radial-gradient(420px 300px at 30% 82%, rgba(249, 203, 40, .06), transparent 65%);
    animation: meshDrift 26s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes meshDrift {
    from { transform: scale(1) translateY(0); opacity: .85; }
    to   { transform: scale(1.07) translateY(-12px); opacity: 1; }
}


/* 入场动画 */

.anim {
    opacity: 0;
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* 主内容 */

.overlay {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}


/* 名字: display 规格 600 / 1.0 / -0.05em
   渐变 = 网格渐变全序列 (Kevin 定版: 花体字 + 流动渐变 + 辉光保留) */

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name {
    font-size: clamp(42px, 9vw, 88px);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.05em;

    background: linear-gradient(90deg, #007cf0 0%, #00dfd8 22%, #7928ca 46%, #ff0080 66%, #ff4d4d 84%, #f9cb28 100%, #007cf0 130%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter: drop-shadow(0 0 18px rgba(121, 40, 202, .35)) drop-shadow(0 2px 12px rgba(0, 0, 0, .45));
    animation: flow 10s linear infinite;
}

@keyframes flow {
    from { background-position: 0% 50%; }
    to   { background-position: 240% 50%; }
}

.divider {
    width: min(340px, 62vw);
    height: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, .16);
}


/* 简介: body-lg 规格 18px / 400 / 1.55 */

.intro {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    margin-top: 24px;
    margin-bottom: 32px;
    color: #ededed;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}


/* 眉题: caption-mono 规格 — 技术层用等宽 */

.eyebrow {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.33;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #a1a1a1;
    margin-bottom: 12px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}


/* 域名: 营销级 100px pill + LIVE 徽章 (badge-secondary 的暗色版) */

.domain-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 11px 26px 11px 13px;
    border-radius: 100px;
    background: rgba(23, 23, 23, .72);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .04),
        0 2px 2px rgba(0, 0, 0, .10),
        0 8px 16px -4px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chip-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 3px 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #d4d4d4;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.chip-live .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0070f3;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .40; }
}

#domain {
    font-size: clamp(20px, 4.2vw, 26px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}


/* 提示文字: body-md 规格, 次级灰 */

.visit-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 28px;
    color: #c8c8c8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}


/* 社交按钮: icon-button-circular 圆形钮
   图标按 Kevin 定版三色填充 (同 Minimax 版编码): X 青蓝 / 邮件 品红 / Telegram 珊瑚 */

.social {
    display: flex;
    gap: 12px;
}

.social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(23, 23, 23, .66);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 2px 2px rgba(0, 0, 0, .10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e5e5e5;
    text-decoration: none;
    transition: transform .25s, background .25s, border-color .25s;
}

.social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social a:nth-child(1) { color: #3daeff; border-color: rgba(61, 174, 255, .45); }
.social a:nth-child(2) { color: #ea5ec1; border-color: rgba(234, 94, 193, .45); }
.social a:nth-child(3) { color: #ff5530; border-color: rgba(255, 85, 48, .45); }

.social a:hover {
    transform: translateY(-2px);
    background: rgba(41, 41, 41, .78);
    border-color: currentColor;
    box-shadow: 0 0 18px -4px currentColor, inset 0 0 0 1px rgba(255, 255, 255, .03), 0 2px 2px rgba(0, 0, 0, .10);
}

.social a:focus-visible {
    outline: 2px solid rgba(0, 112, 243, .65);
    outline-offset: 2px;
}


/* Power: caption 规格 */

.power {
    margin-top: 28px;
    font-size: 12px;
    line-height: 1.33;
    color: #a1a1a1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}


/* 底部: 位置沿用定版 fixed bottom 6vh + 玻璃板
   语言换成 Vercel: 近黑板 + 发丝环 + 堆叠微阴影, 标签与数值走等宽 */

.footer {
    position: fixed;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 92vw;
    z-index: 2;
    text-align: center;
    padding: 12px 26px 13px;
    background: rgba(10, 10, 10, .70);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .03),
        0 2px 2px rgba(0, 0, 0, .10),
        0 12px 24px -8px rgba(0, 0, 0, .30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: riseCenter .9s cubic-bezier(.2, .7, .2, 1) .8s both;
}

@keyframes riseCenter {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.time-title {
    margin-bottom: 5px;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a1a1a1;
}

#time {
    margin-bottom: 4px;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    line-height: 1.54;
    color: #ededed;
}

#ip {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    line-height: 1.33;
    color: #a1a1a1;
}


/* 手机适配 */

@media (max-width: 600px) {

    .intro {
        font-size: 16px;
    }

    .visit-text {
        font-size: 14px;
    }

    .domain-box {
        padding: 9px 20px 9px 11px;
        gap: 9px;
    }

    .footer {
        bottom: 26px;
    }

}


/* 减少动态偏好 */

@media (prefers-reduced-motion: reduce) {

    .bg img, .anim, .footer, .name, .mesh, .chip-live .dot {
        animation: none;
    }

    .anim {
        opacity: 1;
    }

}
