/* 基础重置与全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --neon-blue: #00ceff;
    --neon-purple: #9d4edd;
    --dark-bg: #0f0f23;
    --card-bg: rgba(20, 20, 40, 0.85);
    --text-color: #e2e2e2;
    --text-glow: rgba(108, 92, 231, 0.6);
    --success-color: #00b894;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(108, 92, 231, 0.05) 0%, transparent 20%),
        linear-gradient(45deg, #0f0f23 0%, #1a1a2e 50%, #0f0f23 100%);
    position: relative;
    min-height: 100vh;
}

/* 动画背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(108, 92, 231, 0.03) 2px, rgba(108, 92, 231, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(157, 78, 221, 0.03) 2px, rgba(157, 78, 221, 0.03) 4px);
    z-index: -1;
    pointer-events: none;
}

/* 浮动粒子背景 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(108, 92, 231, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.logo {
    font-family: 'Arial Black', 'Microsoft YaHei', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
    border-radius: 50%;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(162, 155, 254, 0.5);
}

/* 收藏提示 */
.bookmark-notice {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
}

.bookmark-notice svg {
    flex-shrink: 0;
}

.bookmark-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* 内容区域 */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
}

.domain-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.4);
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--neon-purple));
    border-radius: 10px;
    box-shadow: 0 0 15px var(--text-glow);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.card-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

.badge-warning {
    background: rgba(253, 121, 168, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(253, 121, 168, 0.4);
}

.badge-success {
    background: rgba(0, 184, 148, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(0, 184, 148, 0.4);
}

.domain-info {
    margin-bottom: 20px;
}

.domain-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 10px;
    word-break: break-all;
}

.domain-desc {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

.domain-desc span {
    color: var(--neon-blue);
    font-weight: 500;
}

.domain-action {
    display: flex;
    justify-content: flex-end;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--neon-purple));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.btn::before {
    content: '';
    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;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
}

.btn:active {
    transform: translateY(1px);
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .domain-card {
        padding: 20px;
    }
    
    .bookmark-notice {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .domain-name {
        font-size: 1.3rem;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
    }
}

/* 特殊动画效果 */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.domain-card:nth-child(odd) {
    animation: floatCard 6s ease-in-out infinite;
}

.domain-card:nth-child(even) {
    animation: floatCard 6s ease-in-out infinite 1s;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 40, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--neon-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--neon-purple), var(--primary-color));
}