:root {
	--color-bg: #0a0a0a;
	--color-surface: #111;
	--color-text: #fff;
	--color-text-secondary: #888;
	--color-accent: #f5f5f5;
	--color-border: #333;
	--color-primary-hover: rgba(29, 116, 128, 1);
	--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
		'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
	--ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
	overflow-x: hidden;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
		'Ubuntu', 'Cantarell', sans-serif;

	color: var(--color-text-secondary);
	font-size: 18px;
	line-height: 1.6;
	background-color: var(--color-bg);
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.glitch {
	display: inline-block;
	position: relative;
	animation: glitch-skew 5s infinite;
}

@keyframes glitch-skew {
	0%,
	90%,
	100% {
		transform: skew(0deg);
	}
	91% {
		transform: skew(-2deg);
	}
	92% {
		transform: skew(2deg);
	}
	93% {
		transform: skew(0deg);
	}
}

.glitch::before {
	animation: glitch-anim-1 3s infinite;
	clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
	transform: translate(-2px, -2px);
}

.glitch::before,
.glitch::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.glitch::before {
	animation: glitch-anim-1 3s infinite;
	clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
	transform: translate(-2px, -2px);
}

.glitch::after {
	animation: glitch-anim-2 3s infinite;
	clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
	transform: translate(2px, 2px);
}

@keyframes glitch-anim-1 {
	0%,
	90%,
	100% {
		opacity: 0;
	}

	91%,
	99% {
		opacity: 0.8;
		transform: translate(-2px, -2px);
	}
}

@keyframes glitch-anim-2 {
	0%,
	90%,
	100% {
		opacity: 0;
	}

	91%,
	99% {
		opacity: 0.8;
		transform: translate(2px, 2px);
	}
}

.text {
	font-size: 20px;
	color: var(--color-text-secondary);
}

.button {
	display: inline-block;
	text-decoration: none;
	padding: 18px 48px;
	font-size: 1.1rem;
	font-weight: 700;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s var(--ease-bounce);
	position: relative;
	overflow: hidden;
	letter-spacing: 0.05em;
	line-height: 1;
}

.button--primary {
	text-transform: uppercase;
	background: var(--color-text);
	color: var(--color-bg);
}

.button--shadow {
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.button--shadow:hover {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 0 40px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.button--outline {
	font-weight: 400;
	border: 1px solid var(--color-text);
	color: var(--color-text);
	background: transparent;
	outline: none;
}

.button--outline:hover {
	background: var(--color-text);
	color: var(--color-bg);
	transform: scale(1.05);
}

.arrow {
	width: 2px;
	height: 40px;
	background: var(--color-text);
	position: relative;
}

.arrow::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-text);
	border-bottom: 2px solid var(--color-text);
	transform: translateX(-50%) rotate(45deg);
}

.title {
	font-size: 40px;
	font-weight: 800;
	text-align: center;
	margin-bottom: calc(60 / 40 * 1em);
	letter-spacing: 0.05em;
	position: relative;
	color: var(--color-text);
	line-height: 1.4;
}

.title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: var(--color-text);
}

.exclusive {
	display: inline-block;
	padding: 8px 20px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.1),
		rgba(255, 255, 255, 0.05)
	);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 20px;
	animation: exclusive-glow 2s ease-in-out infinite;
}

@keyframes exclusive-glow {
	0%,
	100% {
		box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
	}
	50% {
		box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
	}
}

.animate-in-up {
	opacity: 0;
	transform: translateY(50px);
	position: relative;
}

.animate-from-left {
	opacity: 0;
	transform: translateX(-100px);
	position: relative;
}

.animate-from-right {
	opacity: 0;
	transform: translateX(100px);
	position: relative;
}

.animate-from-left.visible,
.animate-from-right.visible,
.animate-in-up.visible {
	opacity: 1;
	transform: translateY(0);
	transition: 0.3s var(--ease-smooth);
}

.token-burnedCount {
	color: #4caf50 !important;
	text-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

@media (max-width: 769px) {
	.button {
		font-size: 16px;
	}
	.text {
		font-size: 18px;
	}
}

@media (max-width: 544px) {
	.container {
		padding: 0 15px;
	}
	.title {
		font-size: 32px;
	}

	.text {
		font-size: 16px;
	}
}
