/* normalize.css v3.0.0 | MIT License | git.io/normalize */
html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none; }
a { background: 0 0; }
a:active, a:hover { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: 700; }
dfn { font-style: italic; }
h1 { font-size: 2em; margin: .67em 0; }
mark { background: #ff0; color: #000; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto; }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type=button], input[type=reset], input[type=submit] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
input[type=checkbox], input[type=radio] { box-sizing: border-box; padding: 0; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { height: auto; }
input[type=search] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
fieldset { border: 1px solid silver; margin: 0 2px; padding: .35em .625em .75em; }
legend { border: 0; padding: 0; }
textarea { overflow: auto; }
optgroup { font-weight: 700; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }

/* Main styles */
:root {
	--bg-dark: #0d0d0d;
	--bg-card: rgba(255, 255, 255, 0.03);
	--accent: #00ccaa;
	--accent-glow: #00ffcc;
	--yellow: #ffcc00;
	--text: #e0e0e0;
	--text-muted: rgba(255, 255, 255, 0.5);
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	background: var(--bg-dark);
	background-image:
		radial-gradient(ellipse at 20% 0%, rgba(0, 204, 170, 0.15) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 100%, rgba(255, 204, 0, 0.1) 0%, transparent 50%);
	font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	text-align: center;
	color: var(--text);
	display: flex;
	flex-direction: column;
}

header {
	padding: 60px 20px 40px;
	color: #fff;
}

#sun {
	display: inline-block;
	position: relative;
}

#sun::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: 20px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 204, 0, 0.3) 0%, transparent 70%);
	filter: blur(30px);
	animation: pulse 4s ease-in-out infinite;
}

#sun img {
	position: relative;
	margin: 20px;
	border-radius: 50%;
	box-shadow:
		0 0 40px rgba(255, 204, 0, 0.4),
		0 0 80px rgba(255, 204, 0, 0.2);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	animation: float 6s ease-in-out infinite;
}

#sun img:hover {
	cursor: pointer;
	transform: scale(1.05);
	box-shadow:
		0 0 60px rgba(255, 204, 0, 0.6),
		0 0 120px rgba(255, 100, 0, 0.3);
}

@keyframes pulse {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--accent-glow);
}

#content {
	flex: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

footer {
	padding: 40px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

#contacts {
	margin-bottom: 30px;
}

#contacts h3 {
	margin: 15px 0;
	font-size: 1.2rem;
	font-weight: 400;
}

#contacts a {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 30px;
	background: var(--bg-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

#contacts a:hover {
	background: rgba(0, 204, 170, 0.1);
	border-color: var(--accent);
	box-shadow: 0 0 20px rgba(0, 204, 170, 0.2);
}

#social {
	padding: 20px;
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

#social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text-muted);
	transition: all 0.3s ease;
}

#social a:hover {
	color: var(--yellow);
	background: rgba(255, 204, 0, 0.1);
	border-color: var(--yellow);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

#social svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

#sites {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

#sites li {
	display: block;
	list-style: none;
}

#sites li a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 320px;
	height: 120px;
	padding: 20px;
	border-radius: 16px;
	background: var(--bg-card);
	border: 1px solid rgba(255, 255, 255, 0.05);
	text-decoration: none;
	transition: all 0.3s ease;
}

#sites li a:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 204, 0, 0.3);
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#sites li h2 {
	font-family: 'Comfortaa', sans-serif;
	font-size: 32px;
	color: #00cc66;
	margin: 0 0 8px;
	transition: color 0.3s ease;
}

#sites li h2 span {
	color: #cc4444;
}

#sites li p {
	margin: 0;
	color: var(--text-muted);
	font-size: 14px;
}

@media (max-width: 600px) {
	header {
		padding: 40px 15px 30px;
	}

	#sun img {
		width: 180px;
		height: 180px;
	}

	#contacts h3 {
		font-size: 1rem;
	}

	#social a {
		width: 54px;
		height: 54px;
	}

	#social svg {
		width: 28px;
		height: 28px;
	}

	#sites li a {
		width: 100%;
		max-width: 320px;
	}
}
