/* ============================================================
   KevinIo 域名页 · MiniMax 设计语言版
   规范来源: awesome-design-md / minimax DESIGN.md
   - 字体: DM Sans 单字体系统, 标题 600 / 1.10 / 负字距
   - 色彩: 近黑 #0a0a0a 打底, 品牌色只用于身份时刻
     珊瑚 #ff5530 · 品红 #ea5ec1 · 紫 #a855f7 · 蓝 #1456f0 · 青 #3daeff
   - 形状: 按钮/徽章一律全圆 pill, 卡片 16px, 页脚近黑区
   - 深度: 以辉光代替阴影 (atmospheric glow)
   ============================================================ */

/* 全局 */

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

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

body {
    background: #0a0a0a;
    font-family: "DM Sans", Inter, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}


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

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

.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: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(4, 4, 10, 0) 42%, rgba(4, 4, 10, .40) 82%, rgba(4, 4, 10, .64) 100%),
        linear-gradient(rgba(4, 4, 10, .14), rgba(4, 4, 10, .14));
}


/* 入场动画 */

.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(18px); }
    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;
}


/* 名字：hero-display 规格 (600 / 1.10 / -0.02em)
   渐变 = MiniMax 品牌色序列 珊瑚→品红→紫→蓝 */

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

.name {
    font-size: clamp(38px, 9vw, 84px);
    font-weight: 600;
    line-height: 1.10;
    letter-spacing: -0.02em;

    background: linear-gradient(92deg, #ff5530 2%, #ea5ec1 30%, #a855f7 56%, #1456f0 82%, #ff5530 104%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter: drop-shadow(0 0 16px rgba(234, 94, 193, .30)) drop-shadow(0 0 40px rgba(255, 85, 48, .16)) drop-shadow(0 2px 12px rgba(0, 0, 0, .45));
    animation: flow 9s linear infinite;
}

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

.divider {
    width: min(340px, 62vw);
    height: 2px;
    margin-top: 18px;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, #ff5530 28%, #ea5ec1 52%, #1456f0 78%, transparent);
    box-shadow: 0 0 14px rgba(234, 94, 193, .50), 0 0 24px rgba(255, 85, 48, .30);
}


/* 简介：subtitle 规格 18px / 500 / 1.5 */

.intro {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 22px;
    margin-bottom: 20px;
    color: #edf1f7;
    opacity: .94;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}


/* 域名区域：pill 容器 + badge-new 同款 LIVE 徽章 */

.domain-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 16px;
    padding: 10px 26px 10px 12px;
    border-radius: 9999px;
    background: rgba(10, 12, 18, .55);
    border: 1px solid rgba(191, 219, 254, .30);
    box-shadow: 0 0 26px rgba(20, 86, 240, .18), inset 0 0 18px rgba(61, 174, 255, .06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #ff5530;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .08em;
    box-shadow: 0 0 14px rgba(255, 85, 48, .45);
}

.badge-live .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.8s ease-in-out infinite;
}

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

#domain {
    font-size: clamp(20px, 4.4vw, 30px);
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    text-shadow: 0 0 16px rgba(61, 174, 255, .45), 0 2px 10px rgba(0, 0, 0, .35);
}


/* 提示文字：body 规格 16px / 400, 次级色 */

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


/* 社交按钮：圆形图标按钮, 三色 = 品牌产品色编码 */

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

.social a {
    --neon: #3daeff;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 12, 18, .50);
    border: 1px solid rgba(255, 255, 255, .24);
    border-color: color-mix(in srgb, var(--neon) 50%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--neon) 22%, transparent), inset 0 0 10px color-mix(in srgb, var(--neon) 10%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}

.social a:nth-child(1) { --neon: #3daeff; }
.social a:nth-child(2) { --neon: #ea5ec1; }
.social a:nth-child(3) { --neon: #ff5530; }

.social a svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--neon);
    stroke-width: 38;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px var(--neon)) drop-shadow(0 0 11px color-mix(in srgb, var(--neon) 65%, transparent));
}

.social a:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--neon) 85%, transparent);
    background: rgba(14, 18, 30, .62);
    box-shadow: 0 0 20px color-mix(in srgb, var(--neon) 45%, transparent), 0 0 34px color-mix(in srgb, var(--neon) 22%, transparent), inset 0 0 12px color-mix(in srgb, var(--neon) 16%, transparent);
}


/* Power: caption 规格 */

.power {
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.7;
    color: #a8aab2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}


/* 底部: MiniMax 页脚区语言 (近黑 #0a0a0a + muted 文字)
   位置沿用定版: fixed bottom 6vh + 深色玻璃板保可读性 */

.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, .66);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45), inset 0 0 18px rgba(20, 86, 240, .05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .85);
    animation: riseCenter .9s cubic-bezier(.2, .7, .2, 1) .8s both;
}

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

.time-title {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #a8aab2;
}

#time {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

#ip {
    font-size: 13px;
    line-height: 1.5;
    color: #a8aab2;
}


/* 手机适配 */

@media (max-width: 600px) {

    .intro {
        font-size: 15px;
    }

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

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

    .social {
        gap: 20px;
    }

    .social a {
        width: 44px;
        height: 44px;
    }

    .footer {
        bottom: 26px;
        font-size: 12px;
    }

}


/* 减少动态偏好 */

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

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

    .anim {
        opacity: 1;
    }

}
