/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 800px;
    width: 90%;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.quote-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

blockquote {
    position: relative;
    border: none;
}

.quote-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 400;
    position: relative;
    quotes: """ """ "'" "'";
}

.quote-text::before {
    content: open-quote;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.3);
    position: absolute;
    left: -2rem;
    top: -1rem;
    font-family: serif;
}

.quote-text::after {
    content: close-quote;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.3);
    position: absolute;
    right: -1.5rem;
    bottom: -2rem;
    font-family: serif;
}

.quote-author {
    font-style: normal;
    color: #7f8c8d;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.quote-author::before {
    content: "—— ";
    color: rgba(102, 126, 234, 0.6);
}

footer {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .quote-card {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .quote-text {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    .quote-text::before,
    .quote-text::after {
        font-size: 3rem;
    }
    
    .quote-text::before {
        left: -1rem;
        top: -0.5rem;
    }
    
    .quote-text::after {
        right: -0.5rem;
        bottom: -1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .quote-card {
        padding: 1.5rem 1rem;
    }
}

/* 加载动画 */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}