* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 幻灯片样式 */
.slider {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.slide-content p {
    font-size: 16px;
    opacity: 0.9;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 28px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.link-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.link-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.link-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .logo {
        font-size: 36px;
    }

    .category {
        padding: 20px;
    }

    .category-title {
        font-size: 20px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .link-card {
        padding: 15px;
    }

    .link-icon {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }
}