:root {
	--indexAll_color-primary: #5B9FED;
	--indexAll_color-orange: #FFA66B;
	--indexAll_color-purple: #9B8BC4;
	--indexAll_color-green: #7ED957;
	--indexAll_color-pink: #FF8FA3;
	--indexAll_color-blue: #6BB6FF;
	--indexAll_color-yellow: #FFD66B;
	--indexAll_color-teal: #5FCAC7;
	--indexAll_color-red: #FF6B9D;
	--indexAll_color-violet: #B19CD9;
	--indexAll_color-lime: #AED581;
	--indexAll_color-peach: #FFAB91;
	--indexAll_color-sky: #81D4FA;
	--indexAll_color-rose: #F48FB1;
	--indexAll_bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#page_indexAll{
	margin: 0;
	padding: 0 0 60px 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background-attachment: fixed;
	min-height: 100vh;
	overflow-x: hidden;
}

#page_indexAll::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.indexAll_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
	z-index: 1;
}

/* Header样式 */
.indexAll_header {
	text-align: center;
	padding: 50px 20px 30px;
	margin-bottom: 40px;
	animation: indexAll_fadeInDown 0.8s ease-out;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 30px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.indexAll_header-title {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-size: 2.8em;
	font-weight: bold;
	color: #ffffff;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.indexAll_header-icon {
	font-size: 1.2em;
	color: #FFD700;
	animation: indexAll_iconFloat 3s ease-in-out infinite;
	filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* 科目网格 */
.indexAll_subjects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	padding: 20px;
}

/* 科目卡片 */
.indexAll_subject-card {
	position: relative;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 24px;
	padding: 40px 30px;
	cursor: pointer;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow:
		0 10px 30px rgba(0,0,0,0.1),
		0 1px 8px rgba(0,0,0,0.05),
		inset 0 1px 0 rgba(255,255,255,0.8);
	overflow: hidden;
	animation: indexAll_fadeInUp 0.6s ease-out backwards;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.indexAll_subject-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.indexAll_subject-card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
	opacity: 0;
	transition: all 0.6s ease;
	z-index: 0;
}

.indexAll_subject-card:hover {
	transform: translateY(-15px) scale(1.03);
	box-shadow:
		0 20px 60px rgba(0,0,0,0.2),
		0 5px 20px rgba(0,0,0,0.1),
		inset 0 1px 0 rgba(255,255,255,1);
	border-color: rgba(255, 255, 255, 0.8);
}

.indexAll_subject-card:hover::before {
	opacity: 1;
}

.indexAll_subject-card:hover::after {
	opacity: 0.6;
	top: -25%;
	left: -25%;
}

.indexAll_subject-card:active {
	transform: translateY(-8px) scale(0.98);
}

.indexAll_subject-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.indexAll_subject-icon {
	width: 90px;
	height: 90px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.8em;
	color: white;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	box-shadow:
		0 8px 25px rgba(0,0,0,0.3),
		0 3px 10px rgba(0,0,0,0.2),
		inset 0 1px 0 rgba(255,255,255,0.3);
	position: relative;
}

.indexAll_subject-icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
	opacity: 0.5;
}

.indexAll_subject-card:hover .indexAll_subject-icon {
	transform: rotateY(360deg) scale(1.15);
	box-shadow:
		0 15px 40px rgba(0,0,0,0.4),
		0 5px 15px rgba(0,0,0,0.25),
		inset 0 1px 0 rgba(255,255,255,0.5);
}

.indexAll_subject-name {
	font-size: 1.5em;
	font-weight: 700;
	color: #2c3e50;
	transition: all 0.3s ease;
	text-shadow: 0 2px 4px rgba(0,0,0,0.05);
	letter-spacing: 0.5px;
}

.indexAll_subject-card:hover .indexAll_subject-name {
	transform: scale(1.08);
	color: #1a252f;
	text-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 科目特定颜色 */
.indexAll_subject-card:nth-child(1) { background: linear-gradient(135deg, rgba(255,229,229,0.95), rgba(255,240,240,0.95)); animation-delay: 0.1s; }
.indexAll_subject-card:nth-child(1) .indexAll_subject-icon { background: linear-gradient(135deg, #FF6B9D, #FF4081); }

.indexAll_subject-card:nth-child(2) { background: linear-gradient(135deg, rgba(229,240,255,0.95), rgba(240,247,255,0.95)); animation-delay: 0.15s; }
.indexAll_subject-card:nth-child(2) .indexAll_subject-icon { background: linear-gradient(135deg, #5B9FED, #2196F3); }

.indexAll_subject-card:nth-child(3) { background: linear-gradient(135deg, rgba(255,245,229,0.95), rgba(255,250,240,0.95)); animation-delay: 0.2s; }
.indexAll_subject-card:nth-child(3) .indexAll_subject-icon { background: linear-gradient(135deg, #FFA66B, #FF9800); }

.indexAll_subject-card:nth-child(4) { background: linear-gradient(135deg, rgba(240,229,255,0.95), rgba(247,240,255,0.95)); animation-delay: 0.25s; }
.indexAll_subject-card:nth-child(4) .indexAll_subject-icon { background: linear-gradient(135deg, #9B8BC4, #9C27B0); }

.indexAll_subject-card:nth-child(5) { background: linear-gradient(135deg, rgba(229,255,240,0.95), rgba(240,255,247,0.95)); animation-delay: 0.3s; }
.indexAll_subject-card:nth-child(5) .indexAll_subject-icon { background: linear-gradient(135deg, #7ED957, #66BB6A); }

.indexAll_subject-card:nth-child(6) { background: linear-gradient(135deg, rgba(229,255,250,0.95), rgba(240,255,253,0.95)); animation-delay: 0.35s; }
.indexAll_subject-card:nth-child(6) .indexAll_subject-icon { background: linear-gradient(135deg, #5FCAC7, #26C6DA); }

.indexAll_subject-card:nth-child(7) { background: linear-gradient(135deg, rgba(255,240,229,0.95), rgba(255,247,240,0.95)); animation-delay: 0.4s; }
.indexAll_subject-card:nth-child(7) .indexAll_subject-icon { background: linear-gradient(135deg, #FFAB91, #FF7043); }

.indexAll_subject-card:nth-child(8) { background: linear-gradient(135deg, rgba(229,245,255,0.95), rgba(240,250,255,0.95)); animation-delay: 0.45s; }
.indexAll_subject-card:nth-child(8) .indexAll_subject-icon { background: linear-gradient(135deg, #81D4FA, #29B6F6); }

.indexAll_subject-card:nth-child(9) { background: linear-gradient(135deg, rgba(245,255,229,0.95), rgba(250,255,240,0.95)); animation-delay: 0.5s; }
.indexAll_subject-card:nth-child(9) .indexAll_subject-icon { background: linear-gradient(135deg, #AED581, #9CCC65); }

.indexAll_subject-card:nth-child(10) { background: linear-gradient(135deg, rgba(255,229,245,0.95), rgba(255,240,250,0.95)); animation-delay: 0.55s; }
.indexAll_subject-card:nth-child(10) .indexAll_subject-icon { background: linear-gradient(135deg, #F48FB1, #EC407A); }

.indexAll_subject-card:nth-child(11) { background: linear-gradient(135deg, rgba(229,229,255,0.95), rgba(240,240,255,0.95)); animation-delay: 0.6s; }
.indexAll_subject-card:nth-child(11) .indexAll_subject-icon { background: linear-gradient(135deg, #7986CB, #5C6BC0); }

.indexAll_subject-card:nth-child(12) { background: linear-gradient(135deg, rgba(255,235,229,0.95), rgba(255,245,240,0.95)); animation-delay: 0.65s; }
.indexAll_subject-card:nth-child(12) .indexAll_subject-icon { background: linear-gradient(135deg, #FF7043, #FF5722); }

.indexAll_subject-card:nth-child(13) { background: linear-gradient(135deg, rgba(255,229,235,0.95), rgba(255,240,244,0.95)); animation-delay: 0.7s; }
.indexAll_subject-card:nth-child(13) .indexAll_subject-icon { background: linear-gradient(135deg, #EC407A, #E91E63); }

.indexAll_subject-card:nth-child(14) { background: linear-gradient(135deg, rgba(229,235,255,0.95), rgba(240,244,255,0.95)); animation-delay: 0.75s; }
.indexAll_subject-card:nth-child(14) .indexAll_subject-icon { background: linear-gradient(135deg, #5C6BC0, #3F51B5); }

/* 动画效果 */
@keyframes indexAll_fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes indexAll_fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes indexAll_iconFloat {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	25% {
		transform: translateY(-8px) rotate(-5deg);
	}
	50% {
		transform: translateY(-12px) rotate(0deg);
	}
	75% {
		transform: translateY(-8px) rotate(5deg);
	}
}

@keyframes indexAll_shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

/* 涟漪效果 */
.indexAll_ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	transform: scale(0);
	animation: indexAll_rippleEffect 0.6s ease-out;
	pointer-events: none;
}

@keyframes indexAll_rippleEffect {
	to {
		transform: scale(4);
		opacity: 0;
	}
}

/* 响应式设计 */
@media (max-width: 768px) {
	.indexAll_header-title {
		font-size: 2em;
		gap: 10px;
	}

	.indexAll_subjects-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 15px;
		padding: 10px;
	}

	.indexAll_subject-card {
		padding: 25px 15px;
	}

	.indexAll_subject-icon {
		width: 60px;
		height: 60px;
		font-size: 2em;
	}

	.indexAll_subject-name {
		font-size: 1.1em;
	}
}

@media (max-width: 480px) {
	.indexAll_header {
		padding: 30px 10px;
		margin-bottom: 20px;
	}

	.indexAll_header-title {
		font-size: 1.6em;
	}

	.indexAll_subjects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding-bottom: 80px;
	}

	.indexAll_subject-card {
		padding: 20px 10px;
	}

	.indexAll_subject-icon {
		width: 50px;
		height: 50px;
		font-size: 1.6em;
	}

	.indexAll_subject-name {
		font-size: 1em;
	}
}

/* 滚动条美化 */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, var(--indexAll_color-primary), var(--indexAll_color-purple));
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, var(--indexAll_color-purple), var(--indexAll_color-primary));
}