body {
	margin: 0;
	font-family: 'Georgia', serif;
	background-color: #f4f3f1;
	color: #3e3a34;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 2rem;
}

header {
	text-align: center;
	padding: 3rem 1rem 1rem;
	position: relative;
}

header h1 {
	font-size: 2.5rem;
	color: #a1862f;
	margin-bottom: 0.5rem;
}

header p {
	font-size: 1.2rem;
	color: #5b5133;
}

.corner {
	position: absolute;
	width: 80px;
	opacity: 0.4;
	z-index: -1;
}
.top-left {
	top: 10px;
	left: 10px;
}
.top-right {
	top: 10px;
	right: 10px;
}
.bottom-left {
	bottom: 0px;
	left: -30px;
}
.bottom-right {
	bottom: 0px;
	right: -30px;
}

main {
	padding: 2rem 0;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.upload-form {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	z-index: 2;
}

.drop-zone {
	border: 2px dashed #a1862f;
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	cursor: pointer;
	color: #7d6b2f;
	background-color: #faf9f5;
}

.drop-zone:hover {
	background-color: #f0eee9;
}

input[type="file"] {
	display: none;
}

button {
	background-color: #a1862f;
	color: white;
	border: none;
	padding: 0.75rem;
	border-radius: 8px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s;
}

button:hover {
	background-color: #8f7522;
}

footer {
	padding: 2rem 1rem;
	font-size: 0.9rem;
	color: #776c4d;
	text-align: center;
}

.spinner {
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 4px solid #a1862f;
	border-top: 4px solid transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.gallery-wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.gallery-grid > * {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: #eee;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-grid img,
.gallery-grid video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

