* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Microsoft YaHei', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
}

.container {
	width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: white;
	padding: 20px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 32px;
	font-weight: bold;
}

.logo span {
	color: #ffd700;
}

.auth-buttons {
	display: flex;
	gap: 15px;
}

.btn {
	padding: 10px 25px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	font-size: 14px;
}

.btn-login {
	background: transparent;
	border: 2px solid white;
	color: white;
}

.btn-login:hover {
	background: white;
	color: #1e3c72;
}

.btn-register {
	background: #ffd700;
	color: #1e3c72;
}

.btn-register:hover {
	background: #ffed4e;
	transform: translateY(-2px);
}

.hero-section {
	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
				url('https://images.unsplash.com/photo-1494412651409-ae5e05ce2b8e?w=1920&h=600&fit=crop');
	background-size: cover;
	background-position: center;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
}

.hero-content h1 {
	font-size: 48px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
	font-size: 20px;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.search-box {
	background: white;
	padding: 30px;
	border-radius: 10px;
	display: inline-block;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-box input {
	padding: 15px 20px;
	width: 400px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	margin-right: 10px;
}

.search-box input:focus {
	outline: none;
	border-color: #1e3c72;
}

.search-box button {
	padding: 15px 40px;
	background: #1e3c72;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.search-box button:hover {
	background: #2a5298;
}

.features-section {
	padding: 80px 0;
	background: #f5f5f5;
}

.section-title {
	text-align: center;
	font-size: 36px;
	margin-bottom: 50px;
	color: #1e3c72;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.feature-card {
	background: white;
	padding: 40px 30px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-icon {
	font-size: 50px;
	margin-bottom: 20px;
}

.feature-card h3 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #1e3c72;
}

.feature-card p {
	color: #666;
	line-height: 1.8;
}

.gallery-section {
	padding: 80px 0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	height: 250px;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.8));
	padding: 20px;
	color: white;
}

footer {
	background: #1a1a1a;
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h4 {
	font-size: 18px;
	margin-bottom: 20px;
	color: #ffd700;
	border-left: 3px solid #ffd700;
	padding-left: 10px;
}

.footer-section p,
.footer-section li {
	color: #ccc;
	line-height: 2;
	list-style: none;
}

.footer-section a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: #ffd700;
}

.footer-bottom {
	border-top: 1px solid #333;
	padding-top: 30px;
	text-align: center;
	color: #999;
}

.footer-bottom p {
	margin: 10px 0;
}

.friend-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

@media (max-width: 1200px) {
	.container {
		width: 100%;
		padding: 0 30px;
	}

	.features-grid,
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		gap: 20px;
	}

	.hero-content h1 {
		font-size: 32px;
	}

	.search-box input {
		width: 100%;
		margin-bottom: 10px;
	}

	.features-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}
}