* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.header {
    text-align: center;
    color: #333333;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tag {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #666;
}

.category-tag:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-tag.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.quote-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.quote-mark {
    font-size: 4rem;
    color: #667eea;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

.quote-container {
    position: relative;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-author {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.quote-source {
    font-size: 0.9rem;
    color: #999;
    padding: 5px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    display: inline-block;
}

.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.date-display {
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .card {
        padding: 25px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
    }
}