* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f1a;
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
}

.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    background-image: url('cursor.gif');
    background-size: contain;
    transform: translate(-8px, -8px); /* 从左上角开始 */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(100, 150, 255, 0.6);
    transform: translate(-50%, -50%);
}

.line {
    position: absolute;
    height: 1px;
    background-color: rgba(100, 150, 255, 0.3);
    transform-origin: left center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

nav button {
    padding: 0.5rem 1rem;
    background: rgba(30, 30, 60, 0.8);
    border: 1px solid rgba(100, 150, 255, 0.5);
    color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav button:hover {
    background: rgba(100, 150, 255, 0.3);
    transform: translateY(-2px);
}

/* 链接项样式 */
.link-card {
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 150, 255, 0.1);
    border-color: rgba(100, 150, 255, 0.8);
}

.link-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.link-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid rgba(100, 150, 255, 0.5);
}

.link-title {
    font-size: 1.2rem;
    color: #ffffff;
}

.link-url {
    color: rgba(100, 150, 255, 0.8);
    font-size: 0.9rem;
    word-break: break-all;
}

.link-desc {
    margin-top: 1rem;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .links-container {
        grid-template-columns: 1fr;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }
}