* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #2c3e50;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transition: opacity 0.8s ease;
    opacity: 0;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.jump-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 0 80px rgba(255, 255, 255, 0.05),
                0 0 20px rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jump-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: lightMove 8s infinite linear;
    pointer-events: none;
}

@keyframes lightMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-25%, -25%) rotate(360deg);
    }
}

h1 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4);
    animation: glow 2s ease-in-out infinite;
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1.2;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.6),
                     0 0 30px rgba(255, 255, 255, 0.4),
                     0 0 40px rgba(255, 255, 255, 0.2),
                     0 1px 0 #ccc,
                     0 2px 0 #c9c9c9,
                     0 3px 0 #bbb,
                     0 4px 0 #b9b9b9,
                     0 5px 0 #aaa,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.9),
                     0 0 30px rgba(255, 255, 255, 0.7),
                     0 0 40px rgba(255, 255, 255, 0.5),
                     0 0 50px rgba(255, 255, 255, 0.3),
                     0 1px 0 #ddd,
                     0 2px 0 #d9d9d9,
                     0 3px 0 #ccc,
                     0 4px 0 #c9c9c9,
                     0 5px 0 #bbb,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
        transform: translateY(-1px);
    }
}

.status-box {
    margin: 35px 0;
    transition: all 0.4s ease;
}

.status-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-top: 20px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.countdown {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown.show {
    opacity: 1;
    transform: translateY(0);
}

#timer {
    font-weight: 700;
    color: #ff6b6b;
    font-size: 24px;
    margin: 0 4px;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.6),
                 0 0 40px rgba(255, 107, 107, 0.4);
    animation: pulseGlow 1s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.6),
                     0 0 40px rgba(255, 107, 107, 0.4);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 107, 107, 0.8),
                     0 0 50px rgba(255, 107, 107, 0.6),
                     0 0 70px rgba(255, 107, 107, 0.4);
    }
}

.jump-button {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.jump-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: translate(-100%, -100%);
    transition: all 0.5s ease;
}

.jump-button:not(:disabled) {
    opacity: 1;
    pointer-events: auto;
}

.jump-button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15),
                inset 0 0 25px rgba(255, 255, 255, 0.15);
}

.jump-button:hover:not(:disabled)::before {
    transform: translate(0, 0);
}

.jump-button:disabled {
    background: rgba(203, 213, 224, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    box-shadow: none;
}

/* 成功动画 */
.success-animation {
    display: none;
    margin: 25px auto;
    position: relative;
}

.checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4CAF50;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0 0 0 rgba(76, 175, 80, 0.5);
    animation: fill .4s ease-in-out .4s forwards, 
               scale .3s ease-in-out .9s both;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.5));
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards,
               glowCheck 1.5s ease-in-out infinite alternate;
}

@keyframes glowCheck {
    from {
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.8));
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 36px rgba(76, 175, 80, 0.2);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#subtitle {
    font-size: 1.6em;
    background: #4CAF50;
    color: white;
    margin: 20px auto;
    text-align: center;
    opacity: 0;
    width: 240px;
    transform: translateY(-10px);
    animation: fadeInUp 0.5s ease forwards;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
}

#subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    border-radius: 50px;
    opacity: 0.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .jump-box {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 2.2em;
    }
    
    .countdown {
        font-size: 20px;
    }

    #timer {
        font-size: 22px;
    }
    
    .jump-button {
        padding: 12px 32px;
        font-size: 15px;
    }

    .checkmark {
        width: 56px;
        height: 56px;
    }

    #subtitle {
        font-size: 1.4em;
        width: 200px;
        padding: 8px 20px;
    }
} 