/* style.css - 核心视觉样式 */

:root {
    /* 核心配色方案 - 暗黑模式风格 */
    --color-bg: #0f0f11;
    --color-bg-elevated: #18181b;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-hover: rgba(255, 255, 255, 0.08);
    
    /* 品牌色 */
    --color-primary: #1db954; /* 类似 Spotify 的绿色 */
    --color-secondary: #8b5cf6; /* 紫色点缀 */
    
    /* 文本颜色 */
    --color-text-main: #ffffff;
    --color-text-muted: #a1a1aa;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: 'Fraunces', serif;
    transition: opacity 0.2s ease-in;
}

/* 渐变文字特效 */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 毛玻璃卡片效果 */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--color-bg-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* 定价卡片 */
.pricing-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px -10px rgba(29, 185, 84, 0.3);
}

/* 动画工具 */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* 按钮波纹效果 */
button {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 平滑过渡 */
section {
    scroll-margin-top: 80px;
}

/* 导航栏过渡效果 */
nav {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


/* Kursor 自定义样式 */
body {
    cursor: none !important;
}

a, button, .cursor-pointer {
    cursor: none !important;
}

/* 确保 Kursor 在最上层 */
#kursor {
    z-index: 9999 !important;
}
