html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: radial-gradient(circle at 50% -120px, #0f172a 0%, #020617 70%);
    color: #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Inter, system-ui;
}

.redirector {
    max-width: 520px;
    margin: 110px auto;
    padding: 46px 40px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .55), inset 0 0 20px rgba(255, 255, 255, .03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.redirector::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
    pointer-events: none;
    opacity: .8;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #e5e7eb, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blink {
    font-size: 15px;
    color: #cbd5e1;
    margin: 6px 0 26px;
    opacity: .7;
    animation: pulseIOS 2.8s ease-in-out infinite;
}

@keyframes pulseIOS {
    0% { opacity: .35; }
    50% { opacity: .9; }
    100% { opacity: .35; }
}

h1, h2 {
    font-weight: 500;
    letter-spacing: .4px;
}

.favorite-button {
    width: 200px;
    height: 48px;
    margin: 22px 0 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35), inset 0 0 12px rgba(255, 255, 255, .05);
}

.favorite-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .17);
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, .10);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 26px;
    backdrop-filter: blur(10px) saturate(180%);
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(147, 197, 253, .8), rgba(199, 210, 254, .9), rgba(147, 197, 253, .8));
    background-size: 200% 100%;
    border-radius: 6px;
    animation: flowIOS 2s linear infinite, loadProgress 4s ease-out forwards;
}

@keyframes flowIOS {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

/* 宽度加载动画，模拟加载过程 */
@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

@media screen and (max-width: 480px) {
    .redirector {
        margin: 60px 10px;
        padding: 30px 20px;
    }
    .welcome-title {
        font-size: 28px;
    }
    .blink {
        font-size: 13px;
    }
    .favorite-button {
        width: 160px;
        height: 42px;
        font-size: 13px;
        border-radius: 12px;
        margin: 16px 0 20px;
    }
    .progress-container {
        height: 6px;
    }
}
