:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 动态背景修饰 */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        radial-gradient(at 0% 0%, hsla(203, 91%, 87%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(199, 89%, 84%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(217, 91%, 87%, 1) 0, transparent 50%);
    opacity: 0.6;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Header */
.header .logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.current-url {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: monospace;
    color: var(--primary);
    font-weight: 600;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--primary);
}

/* Action Section */
.action-section {
    margin: 30px 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.4);
}

.notice {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Links Section */
.links-section {
    text-align: left;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 12px;
}

.link-list a {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.link-list a:hover {
    border-color: var(--primary);
    background: #f0f9ff;
    transform: translateX(4px);
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.url {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
}

/* Footer */
.footer {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copyright {
    margin-top: 12px;
    opacity: 0.6;
    font-size: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}