/* ============================================================
   主入口导航 · 独立样式表
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    padding: 48px 20px;
    color: #e5e7eb;

    background:
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, .12), transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, .12), transparent 40%),
        #050816;

    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .03),
        rgba(255, 255, 255, .03) 1px,
        transparent 3px,
        transparent 6px
    );
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: .4;
}

/* =========================
   玻璃卡片
========================= */
.card {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 42px;
    border-radius: 18px;

    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(0, 229, 255, .18);

    box-shadow:
        0 0 25px rgba(0, 229, 255, .08),
        0 0 60px rgba(168, 85, 247, .06);

    position: relative;
    transition: box-shadow .3s;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(45deg, #00e5ff, #a855f7, #00ffcc, #00e5ff);
    z-index: -1;
    filter: blur(14px);
    opacity: .25;
}

/* =========================
   标题
========================= */
h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;

    background: linear-gradient(90deg, #00e5ff, #a855f7, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    letter-spacing: 1px;
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;

    color: #00e5ff;
    opacity: .15;

    transform: translateX(1px);
    animation: glitchSoft 3s infinite;
}

@keyframes glitchSoft {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

/* =========================
   子标题
========================= */
.subhead {
    text-align: center;
    font-size: 15px;
    color: #94a3b8;
    letter-spacing: .4px;
    margin-bottom: 38px;

    border-bottom: 1px dashed rgba(0, 229, 255, .25);
    padding-bottom: 22px;
}

/* =========================
   跳转区块
========================= */
.link-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-converter {
    display: inline-block;

    padding: 18px 42px;
    border-radius: 14px;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;
    color: white;

    background: linear-gradient(90deg, #00e5ff, #a855f7, #00ffcc);
    background-size: 200% 100%;

    transition: .3s ease;

    box-shadow: 0 0 18px rgba(0, 229, 255, .15);

    border: none;
    cursor: pointer;

    letter-spacing: .8px;
    text-align: center;

    width: 100%;
    max-width: 420px;

    position: relative;
}

.btn-converter:hover {
    transform: translateY(-2px);
    background-position: 100% 0;
    box-shadow:
        0 0 25px rgba(0, 229, 255, .25),
        0 0 40px rgba(168, 85, 247, .15);
}

.btn-converter:active {
    transform: translateY(1px);
}

.btn-hint {
    font-size: 13px;
    color: #6b7280;
    letter-spacing: .3px;
    margin-top: 8px;
}

/* =========================
   响应式
========================= */
@media (max-width: 768px) {
    .card {
        padding: 32px 22px;
    }

    h1 {
        font-size: 26px;
    }

    .btn-converter {
        padding: 14px 24px;
        font-size: 15px;
    }
}