* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #333;
}

.container {
	background: white;
	border-radius: 20px;
	padding: 50px 40px;
	max-width: 600px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	position: relative;
}

.header {
	text-align: center;
	margin-bottom: 40px;
}

.callsign {
	font-size: 3rem;
	font-weight: 700;
	color: #667eea;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.subtitle {
	color: #666;
	font-size: 1rem;
}

.links {
	display: flex;
	flex-direction: column;
	gap: 15px;
	position: relative;
}

.link-item {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	padding: 20px 25px;
	border-radius: 12px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	display: block;
	position: relative;
}

.link-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
	border-color: #667eea;
}

.link-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #667eea;
}

.link-description {
	font-size: 0.9rem;
	color: #666;
}

.footer {
	text-align: center;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid #f0f0f0;
}

.email-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #667eea;
	text-decoration: none;
	font-size: 1rem;
	transition: all 0.3s ease;
	padding: 10px 20px;
	border-radius: 8px;
}

.email-link:hover {
	background: #f5f7fa;
}

.icon {
	width: 20px;
	height: 20px;
}

/* Preview styles */
.preview-popup {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(102, 126, 234, 0.2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
	max-width: 500px;
	width: 90%;
}

.preview-popup.show {
	opacity: 1;
}

.preview-popup img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-title {
	margin-top: 10px;
	font-weight: 600;
	color: #667eea;
	font-size: 0.95rem;
	text-align: center;
}

/* Loading indicator */
.loading-indicator {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: white;
	padding: 10px 15px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	font-size: 0.9rem;
	color: #667eea;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 999;
}

.loading-indicator.show {
	opacity: 1;
}

@media (max-width: 600px) {
	.container {
		padding: 30px 20px;
	}

	.callsign {
		font-size: 2.5rem;
	}

	.link-item {
		padding: 15px 20px;
	}

	.preview-popup {
		max-width: calc(100vw - 40px);
	}
}