/* 主内容区域 */
 .main-content {
 	padding: 40px 0;
 	text-align: center;
 }

 .page-title {
 	font-size: 2.2rem;
 	margin-bottom: 15px;
 	font-weight: 700;
 }

 .page-description {
 	font-size: 1.1rem;
 	color: var(--text-light);
 	max-width: 700px;
 	margin: 0 auto 40px;
 }

 /* URL输入区域 */
 .input-section {
 	max-width: 700px;
 	margin: 0 auto 50px;
 }

 .input-group {
 	display: flex;
 	box-shadow: var(--shadow);
 	border-radius: var(--radius);
 	overflow: hidden;
 	margin-bottom: 15px;
 }

 .url-input {
 	flex: 1;
 	padding: 16px 20px;
 	border: 1px solid var(--border-color);
 	border-right: none;
 	border-radius: var(--radius) 0 0 var(--radius);
 	font-size: 1rem;
 	outline: none;
 	transition: border-color 0.3s;
 }

 .url-input:focus {
 	border-color: var(--primary-color);
 }

 .fetch-btn {
 	background-color: var(--primary-color);
 	color: white;
 	border: none;
 	padding: 0 30px;
 	cursor: pointer;
 	font-size: 1rem;
 	font-weight: 600;
 	transition: background-color 0.3s;
 }

 .fetch-btn:hover {
 	background-color: var(--primary-dark);
 }

 .input-hint {
 	text-align: left;
 	color: var(--text-light);
 	font-size: 0.9rem;
 	padding: 0 10px;
 }

 /* 缩略图展示区域 */
 .thumbnail-card:nth-child(1) {
   
}
 
 
 .thumbnails-section {
 	margin-bottom: 50px;
 }

 .section-title {
 	text-align: center;
 	margin-bottom: 30px;
 	font-size: 1.5rem;
 	color: var(--text-color);
 }

 .thumbnails-grid {
 	display: grid;
 	/* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px; */
 }

 .thumbnail-card {
 	background: white;
 	border-radius: var(--radius);
 	overflow: hidden;
 	box-shadow: var(--shadow);
 	transition: transform 0.3s, box-shadow 0.3s;
 	display: flex;
 	flex-direction: column;
 }

 .thumbnail-card:hover {
 	transform: translateY(-5px);
 	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .thumbnail-header {
 	padding: 15px;
 	background-color: var(--background-light);
 	border-bottom: 1px solid var(--border-color);
 }

 .thumbnail-size {
 	font-weight: 600;
 	color: var(--text-color);
 	margin-bottom: 5px;
 }

 .thumbnail-desc {
 	font-size: 0.85rem;
 	color: var(--text-light);
 }

 .thumbnail-image-container {
 	flex: 1;
 	display: flex;
 	justify-content: center;
 	align-items: center;
 	padding: 20px;
 	background-color: #f5f5f5;
 	overflow: auto;
 	/* max-height: 500px; */
 }

 .thumbnail-image {
 	display: block;
 	/* 图片将以其原始尺寸显示 */
 }

 .thumbnail-actions {
 	padding: 15px;
 	display: flex;
 	justify-content: space-between;
 }

 .preview-btn,
 .download-btn {
 	padding: 8px 15px;
 	border-radius: 4px;
 	text-decoration: none;
 	font-size: 0.9rem;
 	font-weight: 500;
 	transition: all 0.3s;
 	border: none;
 	cursor: pointer;
 }

 .preview-btn {
 	background-color: var(--background-light);
 	color: var(--text-color);
 	border: 1px solid var(--border-color);
 }

 .preview-btn:hover {
 	background-color: #eaeaea;
 }

 .download-btn {
 	background-color: var(--primary-color);
 	color: white;
 }

 .download-btn:hover {
 	background-color: var(--primary-dark);
 }

 .loading {
 	text-align: center;
 	padding: 20px;
 	color: var(--text-light);
 }

 .error-message {
 	background-color: #ffeaea;
 	color: #d32f2f;
 	padding: 15px;
 	border-radius: var(--radius);
 	margin: 20px 0;
 	text-align: center;
 }

 /* 使用说明区域 - 修复布局问题 */
 .instructions {
 	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
 	padding: 80px 0;
 	border-radius: var(--radius);
 	margin: 60px 0;
 	position: relative;
 	overflow: hidden;
 }

 .instructions::before {
 	content: "";
 	position: absolute;
 	top: 0;
 	left: 0;
 	right: 0;
 	height: 4px;
 	background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
 }

 .instructions .section-title {
 	text-align: center;
 	margin-bottom: 60px;
 	font-size: 2rem;
 	color: var(--text-color);
 	position: relative;
 }

 .instructions .section-title::after {
 	content: "";
 	position: absolute;
 	bottom: -15px;
 	left: 50%;
 	transform: translateX(-50%);
 	width: 60px;
 	height: 4px;
 	background-color: var(--primary-color);
 	border-radius: 2px;
 }

 .instructions-grid {
 	display: grid;
 	grid-template-columns: repeat(4, 1fr);
 	gap: 25px;
 	counter-reset: step-counter;
 }

 .instruction-card {
 	background: white;
 	border-radius: var(--radius);
 	padding: 40px 25px 30px;
 	box-shadow: var(--shadow);
 	transition: all 0.3s ease;
 	position: relative;
 	text-align: center;
 	display: flex;
 	flex-direction: column;
 	align-items: center;
 	height: 100%;
 }

 .instruction-card:hover {
 	transform: translateY(-10px);
 	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 .instruction-card::before {
 	counter-increment: step-counter;
 	content: counter(step-counter);
 	position: absolute;
 	top: -20px;
 	left: 50%;
 	transform: translateX(-50%);
 	width: 40px;
 	height: 40px;
 	background-color: var(--primary-color);
 	color: white;
 	border-radius: 50%;
 	display: flex;
 	align-items: center;
 	justify-content: center;
 	font-weight: bold;
 	font-size: 1.2rem;
 	box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
 }

 .instruction-icon {
 	font-size: 2.8rem;
 	margin-bottom: 20px;
 	color: var(--primary-color);
 	height: 80px;
 	width: 80px;
 	display: flex;
 	align-items: center;
 	justify-content: center;
 	border-radius: 50%;
 	background-color: rgba(255, 0, 0, 0.05);
 	transition: all 0.3s ease;
 }

 .instruction-card:hover .instruction-icon {
 	background-color: rgba(255, 0, 0, 0.1);
 	transform: scale(1.1);
 }

 .instruction-title {
 	font-size: 1.3rem;
 	margin-bottom: 15px;
 	font-weight: 600;
 	color: var(--text-color);
 }

 .instruction-desc {
 	color: var(--text-light);
 	font-size: 0.95rem;
 	line-height: 1.6;
 }
