:root {
    --primary-color: #2c3e50;
    --secondary-color: #22c15a;
    --background-color: #1a1a1a;
    --card-background: #f8f9fa;
    --text-color: #2c3e50;
    --url-color: #666;
    --border-color: #e1e4e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    min-height: 100vh;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--card-background);
    background-image: url(img/bg.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3498db, #2ecc71, #e74c3c) border-box;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.bio-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--url-color);
}

.bio {
    font-size: 14px;
}

.copy-btn {
    font-size: 12px;
    padding: 2px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    color: var(--url-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-color);
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
    background-color: #f8f9fa;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.title {
    font-size: 16px;
    font-weight: 500;
}

.url {
    font-size: 14px;
    color: var(--url-color);
}

footer {
    font-size: 12px;
    color: var(--url-color);
}

.beian {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.beian a {
    color: var(--url-color);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.beian a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    body {
        padding: 20px 0;
    }

    .container {
        padding: 30px 20px;
        width: 95%;
    }

    .nav-item {
        padding: 14px 20px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 20px;
    }
}

.snowflake {
    position: fixed;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1000;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 1440px 100px;
    animation: wave 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

.wave:nth-child(2) {
    bottom: 25px;
    opacity: 0.2;
    animation: wave 15s linear infinite;
}

.wave:nth-child(3) {
    bottom: 50px;
    opacity: 0.1;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1440px;
    }
} 