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

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(29, 185, 84, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(29, 185, 84, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 70% 80%, rgba(134, 134, 139, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #dddde2 0%, #c8c8cd 100%);
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 背景装饰 */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 大圆环 */
.bg-circle-1 {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 80%;
    height: auto;
    animation: rotateCircle 60s linear infinite;
}
@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 流动曲线 */
.bg-wave-1 {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 300px;
    animation: waveMove1 20s ease-in-out infinite;
}
.bg-wave-2 {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 250px;
    animation: waveMove2 25s ease-in-out infinite;
}
@keyframes waveMove1 {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-30px) translateY(15px); }
}
@keyframes waveMove2 {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-10px); }
}

/* 几何点缀 */
.bg-dot {
    position: absolute;
    border-radius: 50%;
    background: #1db954;
}
.bg-dot-1 {
    width: 12px;
    height: 12px;
    top: 25%;
    left: 15%;
    opacity: 0.4;
    animation: dotPulse 4s ease-in-out infinite;
}
.bg-dot-2 {
    width: 10px;
    height: 10px;
    top: 60%;
    right: 20%;
    opacity: 0.35;
    animation: dotPulse 5s ease-in-out infinite 1s;
}
.bg-dot-3 {
    width: 16px;
    height: 16px;
    bottom: 30%;
    left: 25%;
    opacity: 0.3;
    animation: dotPulse 6s ease-in-out infinite 0.5s;
}
.bg-dot-4 {
    width: 8px;
    height: 8px;
    top: 40%;
    right: 30%;
    opacity: 0.5;
    background: #86868b;
    animation: dotPulse 4.5s ease-in-out infinite 1.5s;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* 网格线 */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(29, 185, 84, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 185, 84, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* 鼠标光效 - Apple 风格更柔和 */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* 鼠标动效容器 */
#cursorEffect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* 主内容 */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 48px 60px;
}

/* 顶部 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}
.brand p {
    font-size: 13px;
    color: #86868b;
    letter-spacing: 0.3px;
    margin-top: 4px;
    font-weight: 400;
}
.status {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 980px;
    font-size: 13px;
    color: #1d1d1f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.status .dot {
    width: 8px;
    height: 8px;
    background: #1db954;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* 语录区域 */
.quote-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 40px 20px;
}

/* 简约无边框语录 */
.quote-card {
    text-align: center;
    max-width: 720px;
    padding: 40px 20px;
    position: relative;
}
.quote-card::before,
.quote-card::after {
    display: none;
}

.quote-text {
    font-size: 32px;
    color: #1d1d1f;
    line-height: 1.7;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    font-weight: 600;
    letter-spacing: -0.3px;
}
.quote-text.fade {
    opacity: 0;
    transform: translateY(16px);
}
.quote-author {
    font-size: 16px;
    color: #86868b;
    font-weight: 500;
    transition: all 0.4s ease;
    letter-spacing: 0.3px;
    margin-top: 20px;
}
.quote-hint {
    margin-top: 48px;
    font-size: 13px;
    color: #b0b0b5;
    letter-spacing: 0.8px;
    font-weight: 400;
}

/* 音乐播放器 - 简约角落风格 */
.music-player {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.music-info {
    display: flex;
    align-items: center;
    gap: 6px;
}
.music-icon {
    font-size: 12px;
    color: #1db954;
}
.music-name {
    font-size: 13px;
    color: #1d1d1f;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.music-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.music-player:hover .music-controls {
    opacity: 1;
}
.ctrl-btn {
    border: none;
    background: none;
    color: #86868b;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    line-height: 1;
}
.ctrl-btn:hover {
    color: #1d1d1f;
}
.ctrl-btn.play-btn {
    font-size: 16px;
    color: #1d1d1f;
}
.volume-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.volume-slider {
    width: 0;
    opacity: 0;
    transition: all 0.25s ease;
    position: absolute;
    left: 20px;
    -webkit-appearance: none;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
}
.volume-wrap:hover .volume-slider {
    width: 60px;
    opacity: 1;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #1db954;
    border-radius: 50%;
    cursor: pointer;
}
.music-progress {
    width: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}
.music-player:hover .music-progress {
    width: 100px;
    opacity: 1;
}
.music-progress-fill {
    height: 100%;
    width: 0%;
    background: #1db954;
    border-radius: 2px;
}

/* 底部栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: linear-gradient(to top, rgba(232, 232, 237, 0.95) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 座右铭 */
.mottos {
    display: flex;
    gap: 32px;
    font-size: 13px;
    color: #86868b;
    font-weight: 400;
}
.mottos span {
    letter-spacing: 0.3px;
    position: relative;
}
.mottos span:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -20px;
    color: #d1d1d6;
    font-weight: 300;
}
footer a {
    color: #86868b;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    font-weight: 400;
}
footer a:hover {
    color: #1d1d1f;
}

/* 响应式 */
@media (max-width: 768px) {
    .main-content { padding: 28px 24px; }
    .brand h1 { font-size: 24px; letter-spacing: -0.3px; }
    .quote-card {
        padding: 40px 32px;
        margin: 0 8px;
        border-radius: 24px;
    }
    .quote-text { font-size: 22px; }
    .bottom-bar {
        padding: 20px 24px;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    .music-player { order: -1; width: 100%; justify-content: center; }
    .music-name { max-width: 120px; }
    .mottos { gap: 20px; font-size: 12px; }
}
