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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c471ed;
    --accent-color: #ff6b9d;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.cosmos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--primary-color);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 113, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(100, 200, 255, 0.1) 0%, transparent 60%);
    filter: blur(30px);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-30px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) translateX(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-40px) translateX(5px) rotate(270deg);
        opacity: 0.9;
    }
}

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 20px var(--primary-color);
}

.logo-icon {
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.main-container {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    position: relative;
}

.title-wrapper {
    margin-bottom: 3rem;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-star {
    color: var(--primary-color);
    animation: rotateStar 4s linear infinite;
    font-size: 2rem;
}

@keyframes rotateStar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.title-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 107, 157, 0.5));
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
}

.orbit-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.center-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 30px var(--primary-color),
        0 0 60px rgba(255, 107, 157, 0.3);
    animation: glow 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px var(--primary-color), 0 0 60px rgba(255, 107, 157, 0.3); }
    50% { box-shadow: 0 0 50px var(--primary-color), 0 0 100px rgba(255, 107, 157, 0.5); }
}

.center-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.orbit-1 {
    width: 150px;
    height: 150px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    animation-duration: 30s;
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.fans-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
}

.title-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.5));
}

.fans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

/* 豆尊专属高级卡片 */
.dou-zun-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.dou-zun-card {
    perspective: 1000px;
    max-width: 400px;
    width: 100%;
}

.dou-zun-card .card-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 107, 157, 0.1) 50%, rgba(196, 113, 237, 0.15) 100%);
    border: 2px solid;
    /* border-image: linear-gradient(135deg, #ffd700, #ff6b9d, #c471ed) 1; */
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    padding: 1.5rem;
    text-align: center;
}

.dou-zun-card .card-inner:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.4),
        0 0 100px rgba(255, 215, 0, 0.3),
        inset 0 0 60px rgba(255, 215, 0, 0.1);
}

.dou-zun-card .card-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at center, 
            rgba(255, 215, 0, 0.3) 0%, 
            rgba(255, 107, 157, 0.15) 30%, 
            transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: rotateHalo 20s linear infinite;
    z-index: 0;
}

@keyframes rotateHalo {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.dou-zun-card .card-inner:hover .card-halo {
    opacity: 1;
}

.dou-zun-card .fan-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid;
    /* border-image: linear-gradient(135deg, #ffd700, #ff6b9d, #c471ed) 1; */
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.3),
        0 0 90px rgba(255, 107, 157, 0.2);
    transition: all 0.5s ease;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.dou-zun-card .card-inner:hover .fan-avatar {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 80px rgba(255, 215, 0, 0.5),
        0 0 120px rgba(255, 107, 157, 0.3);
}

.dou-zun-card .fan-name {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff3b1, #fdeef3, #f5e2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 107, 157, 0.3);
    position: relative;
    z-index: 2;
}

.supercar-decor {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60%;
    height: auto;
    overflow: hidden;
    z-index: 0;
    transition: all 0.5s ease;
}

.supercar-decor img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.5s ease;
}

.dou-zun-card .card-inner:hover .supercar-decor img {
    filter: drop-shadow(0 15px 30px rgba(255, 215, 0, 0.6));
}

.fan-card {
    perspective: 1000px;
    max-width: 300px;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-inner {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    padding: 1rem;
    text-align: center;
}

.card-inner:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-inner:hover .card-glow {
    opacity: 0.15;
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
    backdrop-filter: blur(10px);
}

.dou-zun-card .card-content {
    backdrop-filter: unset;
}

.fan-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transition: all 0.4s ease;
    margin-bottom: 0.5rem;
}

.card-inner:hover .fan-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--accent-color);
}

.fan-info {
    margin-bottom: 1.5rem;
}

.fan-name {
    font-size: 1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-inner:hover .card-shine {
    left: 100%;
}

.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3rem 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: 0.2em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
}

.glass-footer {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

.glass-footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.glass-footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
        flex-wrap: wrap;
    }
    
    .title-star {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
    
    .orbit-container {
        width: 150px;
        height: 150px;
    }
    
    .center-avatar {
        width: 80px;
        height: 80px;
    }
    
    .orbit-1 {
        width: 120px;
        height: 120px;
    }
    
    .orbit-2 {
        width: 140px;
        height: 140px;
    }
    
    .orbit-3 {
        width: 150px;
        height: 150px;
    }
    
    .fans-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-divider {
        height: 30px;
    }
}
