:root {
    --bg-color: #050505;
    --card-bg: #141414;
    --primary: #3b82f6; /* 科技蓝 */
    --accent: #60a5fa;
    --text-main: #ffffff;
    --text-sub: #888888;
    --border: rgba(255, 255, 255, 0.1);
    --grid-color: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    min-height: 100dvh; /* 适配移动端动态高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    overflow: hidden;
    position: relative;
}

/* 背景网格特效 */
.bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
}

.bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

/* 卡片容器 - 移动端优先设计 */
.card-container {
    width: 100%;
    max-width: 380px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    backdrop-filter: blur(10px);
}

/* 顶部安全标志 */
.status-bar {
    margin-bottom: 30px;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lock-icon {
    width: 14px;
    height: 14px;
}

/* 倒计时圆环 */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.timer-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.circle-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
    position: absolute;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 6;
}

.circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283; /* 2 * PI * 45 */
    stroke-dashoffset: 0;
    animation: countdown-circle 3s linear forwards;
}

.timer-text {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-main);
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

.action-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* 域名展示框 */
.domain-box {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.domain-label {
    display: block;
    font-size: 10px;
    color: var(--text-sub);
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.domain-value {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    color: var(--accent);
    font-size: 15px;
    word-break: break-all;
}

/* 进度条 (JS控制) */
.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

/* 关键点：
   jump.js 会在100ms后设置 width: 100%
   这里设置 transition: width 3s，确保进度条动画与3秒倒计时同步
*/
.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 3s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* 按钮样式 */
.action-btn {
    width: 100%;
    height: 52px;
    background: var(--text-main);
    color: #000;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
    margin-bottom: 20px;
}

.action-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.action-btn:hover .arrow-icon {
    transform: translateX(3px);
}

.footer-note {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.5;
}

/* 圆环动画定义 */
@keyframes countdown-circle {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 283; }
}

/* 适配超小屏幕 */
@media (max-height: 600px) {
    .card-container { padding: 20px; }
    .timer-circle { width: 80px; height: 80px; }
    .timer-text { font-size: 32px; }
    .status-bar { margin-bottom: 20px; }
}