/* Base styles */
:root {
	--accent-color: #FF0000;
	--text-color: #FFFFFF;
	--bg-color: #000000;
	--overlay-bg: rgba(0, 0, 0, 0.5);
}

/* Modern CSS reset */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	width: 100%;
	scroll-behavior: smooth;
}

body {
	background: var(--bg-color);
	color: var(--text-color);
	font: normal 16px/1.2 system-ui, -apple-system, sans-serif;
	margin: 0;
	text-shadow: 2px 2px var(--bg-color);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Video background */
video {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -99;
	transform: translateX(-50%) translateY(-50%);
	background-size: cover;
	transition: opacity 1s ease;
	object-fit: cover;
	will-change: transform;
}

/* Page overlay */
.pageOverlay {
	background: var(--overlay-bg);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	display: flex;
	height: 100vh;
	left: 0;
	overflow: hidden;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

.lightbox {
	color: var(--text-color);
	margin: auto;
	padding: 2rem;
	width: 100%;
	max-width: 1200px;
}

/* Typography */
.accent {
	color: var(--accent-color) !important;
	text-shadow: 2px 2px var(--bg-color);
}

h1 {
	font-size: clamp(3rem, 8vw, 7rem);
	font-weight: 400;
	margin: 0;
	text-align: center;
	color: var(--text-color);
}

h1 .accent {
	display: inline-block;
}

/* Layout */
.awrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	min-height: 100%;
	padding: 1rem;
}

/* Links and media */
a {
	color: var(--text-color);
	text-decoration: none;
	transition: color 0.3s ease, transform 0.3s ease;
}

a:hover, a:focus {
	color: var(--accent-color);
	transform: scale(1.1);
}

.media {
	display: flex;
	gap: 2rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fadeInDown {
	animation: fadeInDown 1s ease forwards;
}

.fadeInUp {
	animation: fadeInUp 1s ease 0.5s forwards;
	opacity: 0;
}

/* Toast notifications */
.toast {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--overlay-bg);
	color: var(--text-color);
	padding: 1rem 2rem;
	border-radius: 4px;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 1000;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translate(-50%, 20px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* High contrast mode support */
@media (prefers-contrast: more) {
	:root {
		--overlay-bg: rgba(0, 0, 0, 0.8);
	}
	
	body {
		text-shadow: none;
	}
}

/* Print styles */
@media print {
	video, .pageOverlay {
		display: none;
	}
	
	body {
		background: white;
		color: black;
		text-shadow: none;
	}
}

#sexytime
{
	font-size: 16px;
	left: 0;
	max-width: 1000px;
	position: absolute;
	top: 0;
}
hr
{
	background: red;
	border: 0;
	border-top: 1px solid white;
	box-shadow: 0.1em 0.1em 0.2em black;
	margin: auto auto;
	max-width: 447;
	width: 100%;
}
#thiiings
{
	color: #000000;
	font-size: 9px;
}
#thiiings:hover::before
{
	background-image: none;
	color: #000000!important;
	font-size: 9px!important;
	height: auto!important;
	padding: 5px;
	text-align: justify!important;
	transition: all 0.15s ease-in;
	width: 150px;
}
#thiiings a
{
	color: #000000;
	text-decoration: none;
}
*,*:before,*:after
{
	box-sizing: border-box;
}
html,body
{
	height: 100%;
}
body
{
	background: #000000 no-repeat center bottom;
	color: #FFFFFF;
	font: normal 16px/1.2 unseen,sans-serif;
	margin: 0;
	text-shadow: 2px 2px #000000;
}
.titles
{
	text-align: center;
	width: 100%;
}
h2
{
	font-size: 2em;
}
h3
{
	font-weight: normal;
}
h1 > a
{
	transition: color 0.5s ease;
}
.links
{
	font-size: 16px;
	list-style: circle;
	margin-bottom: 0;
	padding: 0;
	padding-left: 20px;
}
.links li
{
	margin-bottom: 0.6em;
}
.links li:last-child
{
	margin-bottom: 0;
}
.links p
{
	color: #000000;
	margin: 0.6em 0 0 0.5em;
}
.media > a
{
	margin-right: 45px;
	text-decoration: none;
	transition: color 0.5s ease;
}
.media > a#vk
{
	font-size: 35px;
}
.media > a:last-child
{
	margin-right: 0;
}