* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-btn.active {
    background: #c084fc;
    border-color: #c084fc;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.telegram-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
}

.telegram-link:hover {
    text-decoration: underline;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.3);
}

.search-btn {
    background: linear-gradient(45deg, #c084fc, #a855f7);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 132, 252, 0.4);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prompt-section {
    text-align: center;
    margin: 40px 0;
}

.prompt-text {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.user-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.user-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
}

.user-handle {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 15px;
}

.user-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.user-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-bio {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: left;
}

.user-bio p {
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bio-link-container {
    margin-top: 10px;
}

.bio-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.bio-link:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    text-decoration: none;
}

.stats-section,
.details-section {
    margin: 30px 0;
}

.stats-section h3,
.details-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.details-grid {
    display: grid;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.detail-label {
    color: #cbd5e1;
}

.detail-value {
    color: #ffffff;
    font-weight: 500;
    word-break: break-all;
}

.show-following-btn {
    background: linear-gradient(45deg, #c084fc, #a855f7);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
    margin-top: 20px;
}

.show-following-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 132, 252, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .main-title {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
        gap: 15px;
    }

    .search-input,
    .search-btn,
    .copy-btn {
        width: 100%;
    }

    .user-card {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-nav {
        gap: 5px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }

    .user-avatar {
        width: 100px;
        height: 100px;
    }

    .user-name {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .user-meta {
        flex-direction: column;
        gap: 10px;
    }

    .user-actions {
        flex-direction: column;
    }
}

/* Footer 样式 */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.footer-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c084fc;
    text-decoration: underline;
}