:root {
	--primary: #8BB6E0;
	/* Cleaner sleepy blue */
	--primary-glow: rgba(139, 182, 224, 0.15);
	/* Glow effect color */
	--secondary: #2A3441;
	/* Deeper gray */
	--accent: #405166;
	/* Richer accent */
	--background: #0F1520;
	/* Deeper background */
	--text: #EDF2F7;
	/* Crisp white */
	--toast: #34d399;
	/* Subtle success green */
	--header-bg: rgba(15, 21, 32, 0.95);
	/* Matching background */
	--blur-bg: rgba(42, 52, 65, 0.3);
	/* For glass effect */
	--header-height: 110px;
	/* Combined height of stats bar and navbar */
	--footer-height: 80px;
	/* Height of the footer */
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	background-color: var(--background);
	color: var(--text);
	min-height: 100vh;
	line-height: 1.5;
	overflow-x: hidden;
	width: 100%;
	position: relative;
}

#particles-js {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.stats-bar {
	background: var(--primary);
	color: var(--background);
	padding: 0.5rem;
	display: flex;
	justify-content: center;
	gap: 4rem;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}



.stat-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	opacity: 0.7;
}

.stat-value {
	font-weight: 600;
	font-size: 1rem;
	font-family: monospace;
	letter-spacing: -0.02em;
}

.navbar {
	padding: 1.25rem 2rem;
	background: transparent;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background: var(--header-bg);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ticker {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--primary);
}

.burger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 102;
}

.burger-menu span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--primary);
	margin: 5px 0;
	transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(4.5px, 5.5px);
}

.burger-menu.active span:nth-child(2) {
	opacity: 0;
}

.burger-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(4.5px, -5.5px);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-link {
	color: var(--text);
	text-decoration: none;
	opacity: 0.8;
	transition: all 0.2s ease;
}

.nav-link:hover {
	opacity: 1;
	color: var(--primary);
}

.buy-button {
	color: var(--background);
	text-decoration: none;
	background: var(--primary);
	padding: 0.6rem 1.25rem;
	border-radius: 100px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.buy-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(167, 199, 231, 0.2);
}

/* Main Content */
main {
	position: relative;
	z-index: 2;
	width: 100%;
	overflow-x: hidden;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 140px 1rem 2rem;
	position: relative;
	overflow: hidden;
}

/* Animated background elements */
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 80%, rgba(139, 182, 224, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(139, 182, 224, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(139, 182, 224, 0.08) 0%, transparent 50%);
	animation: heroFloat 20s ease-in-out infinite;
	pointer-events: none;
	z-index: -1;
}

@keyframes heroFloat {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	33% {
		transform: translateY(-30px) rotate(1deg);
	}

	66% {
		transform: translateY(15px) rotate(-1deg);
	}
}

.hero-content {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	max-width: 800px;
	margin: 0 auto;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

@keyframes breathe {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(0.98);
		opacity: 0.9;
	}
}

.hero-logo {
	width: 300px;
	height: auto;
	animation: float 6s ease-in-out infinite;
}

h1 {
	font-size: 5.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary) 0%, #8bb6e0 50%, var(--primary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
	text-shadow: 0 0 30px var(--primary-glow);
	transition: all 0.3s ease;
	animation: breathe 4s ease-in-out infinite;
	position: relative;
}

h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
	border-radius: 2px;
	animation: titleLine 3s ease-in-out infinite;
}

h1:hover {
	text-shadow: 0 0 50px var(--primary-glow);
	transform: scale(1.02);
}

@keyframes titleLine {

	0%,
	100% {
		opacity: 0.5;
		width: 200px;
	}

	50% {
		opacity: 1;
		width: 300px;
	}
}

.subtitle {
	font-size: 1.75rem;
	color: var(--text);
	opacity: 0.9;
	font-weight: 500;
	max-width: 600px;
	animation: subtitleGlow 3s ease-in-out infinite;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes subtitleGlow {

	0%,
	100% {
		opacity: 0.9;
	}

	50% {
		opacity: 1;
	}
}

/* Contract Address */
.ca-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, rgba(42, 52, 65, 0.8) 0%, rgba(42, 52, 65, 0.6) 100%);
	padding: 1rem 1.25rem;
	border-radius: 16px;
	width: fit-content;
	max-width: 400px;
	margin: 0 auto;
	border: 1px solid rgba(139, 182, 224, 0.15);
	backdrop-filter: blur(20px);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(139, 182, 224, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.ca-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(139, 182, 224, 0.1), transparent);
	transition: left 0.6s ease;
}

.ca-container:hover {
	border-color: rgba(139, 182, 224, 0.3);
	box-shadow:
		0 12px 40px rgba(139, 182, 224, 0.15),
		0 0 0 1px rgba(139, 182, 224, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transform: translateY(-4px);
}

.ca-container:hover::before {
	left: 100%;
}

.ca {
	font-family: monospace;
	font-size: 0.9rem;
	color: var(--text);
	opacity: 0.9;
	user-select: all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 40px);
}

.copy-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.75rem;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.6;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.copy-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(139, 182, 224, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;
}

.copy-btn:hover {
	opacity: 1;
	transform: scale(1.1);
}

.copy-btn:hover::before {
	width: 40px;
	height: 40px;
}

/* Social Section */
.social-title {
	font-size: 1.75rem;
	margin-bottom: -1rem;
	color: var(--text);
	opacity: 0.9;
}

.socials {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.social-btn {
	background: linear-gradient(135deg, rgba(42, 52, 65, 0.8) 0%, rgba(42, 52, 65, 0.6) 100%);
	padding: 0.75rem;
	border-radius: 50%;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(139, 182, 224, 0.15);
	backdrop-filter: blur(20px);
	box-shadow:
		0 6px 20px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(139, 182, 224, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
}

.social-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary) 0%, #8bb6e0 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 50%;
}

.social-btn:hover {
	transform: translateY(-4px) scale(1.05);
	border-color: rgba(139, 182, 224, 0.3);
	box-shadow:
		0 10px 30px rgba(139, 182, 224, 0.2),
		0 0 0 1px rgba(139, 182, 224, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-btn:hover::before {
	opacity: 0.1;
}

.social-btn img {
	width: 22px;
	height: 22px;
	opacity: 0.9;
}

/* Memes Section */
.meme-title {
	font-size: 2rem;
	color: var(--text);
	margin: 4rem 0 2rem;
	text-align: center;
	opacity: 0.9;
}

#memes {
	padding: 0 1rem;
	max-width: 1400px;
	margin: 0 auto;
}

.masonry-grid {
	columns: 4;
	column-gap: 1.5rem;
	padding: 0.5rem;
}

.meme-item {
	break-inside: avoid;
	margin-bottom: 1rem;
	border-radius: 16px;
	overflow: hidden;
	opacity: 0.9;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	background: linear-gradient(135deg, var(--secondary) 0%, rgba(42, 52, 65, 0.8) 100%);
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(139, 182, 224, 0.1);
	position: relative;
}

.meme-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(139, 182, 224, 0.05) 50%, transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.meme-item:hover {
	opacity: 1;
	transform: translateY(-6px) scale(1.02);
	box-shadow:
		0 12px 32px rgba(139, 182, 224, 0.15),
		0 0 0 1px rgba(139, 182, 224, 0.2);
}

.meme-item:hover::before {
	opacity: 1;
}

.meme-item img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal.show {
	display: flex;
	opacity: 1;
}

.modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	margin: auto;
}

.modal-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
}

.modal-close {
	position: absolute;
	top: -40px;
	right: -40px;
	background: none;
	border: none;
	color: var(--text);
	font-size: 2.5rem;
	cursor: pointer;
	padding: 0.5rem;
	opacity: 0.8;
}

.modal-close:hover {
	opacity: 1;
}

/* Download Success Modal */
.download-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.download-modal.show {
	display: flex;
	opacity: 1;
	align-items: center;
	justify-content: center;
}

.download-modal .modal-content {
	background: var(--blur-bg);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(139, 182, 224, 0.2);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.download-modal.show .modal-content {
	transform: scale(1);
}

.success-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
	animation: bounce 0.6s ease;
}

.download-modal h2 {
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.download-modal p {
	color: var(--text);
	margin-bottom: 1.5rem;
	opacity: 0.9;
}

.modal-close-btn {
	background: var(--primary);
	color: var(--background);
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.modal-close-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(139, 182, 224, 0.2);
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-10px);
	}

	60% {
		transform: translateY(-5px);
	}
}

/* Confetti */
.confetti {
	position: fixed;
	width: 10px;
	height: 10px;
	background: var(--primary);
	z-index: 999;
	pointer-events: none;
}

@keyframes fall {
	0% {
		transform: translateY(-100vh) rotate(0deg);
		opacity: 1;
	}

	100% {
		transform: translateY(100vh) rotate(720deg);
		opacity: 0;
	}
}

/* Toast */
.toast {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%) translateY(200%);
	background: var(--primary);
	color: var(--background);
	padding: 0.75rem 1.5rem;
	border-radius: 100px;
	font-weight: 600;
	transition: transform 0.3s ease;
	z-index: 100;
}

.toast.show {
	transform: translateX(-50%) translateY(0);
}

/* Footer */
footer {
	padding: 3rem 1rem;
	background: linear-gradient(135deg, var(--secondary) 0%, rgba(42, 52, 65, 0.95) 100%);
	margin-top: 4rem;
	border-top: 1px solid rgba(139, 182, 224, 0.1);
	position: relative;
	overflow: hidden;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
	opacity: 0.3;
}

/* Card page footer */
.card-page footer {
	margin-top: auto;
	width: 100%;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3rem;
	font-size: 0.9rem;
	opacity: 0.95;
	position: relative;
	z-index: 1;
}

.footer-left {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-logo .ticker {
	font-size: 1.4rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary) 0%, #8bb6e0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 20px rgba(139, 182, 224, 0.3);
	letter-spacing: 0.5px;
}

.footer-tagline {
	font-size: 0.85rem;
	opacity: 0.8;
	font-style: italic;
	color: var(--text);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-center {
	display: flex;
	justify-content: center;
}

.footer-links {
	display: flex;
	gap: 2rem;
	background: rgba(139, 182, 224, 0.05);
	padding: 1rem 1.5rem;
	border-radius: 50px;
	border: 1px solid rgba(139, 182, 224, 0.1);
	backdrop-filter: blur(10px);
}

.footer-link {
	color: var(--text);
	text-decoration: none;
	transition: all 0.3s ease;
	opacity: 0.8;
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
}

.footer-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary), #8bb6e0);
	transition: all 0.3s ease;
	transform: translateX(-50%);
	border-radius: 1px;
}

.footer-link:hover {
	opacity: 1;
	color: var(--primary);
	transform: translateY(-2px);
	text-shadow: 0 2px 8px rgba(139, 182, 224, 0.3);
}

.footer-link:hover::after {
	width: 100%;
}

.footer-right {
	display: flex;
	justify-content: flex-end;
}

.footer-built {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	font-size: 0.85rem;
	background: rgba(139, 182, 224, 0.05);
	padding: 1rem 1.25rem;
	border-radius: 12px;
	border: 1px solid rgba(139, 182, 224, 0.1);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.footer-built:hover {
	background: rgba(139, 182, 224, 0.08);
	border-color: rgba(139, 182, 224, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(139, 182, 224, 0.1);
}

.footer-dev-link {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary) 0%, #8bb6e0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-dev-link:hover {
	opacity: 1;
	transform: translateY(-1px);
	text-shadow: 0 2px 8px rgba(139, 182, 224, 0.4);
}

/* Responsive Design */
@media (max-width: 1400px) {
	.nav-content {
		max-width: 1200px;
	}

	.masonry-grid {
		columns: 3;
	}

	h1 {
		font-size: 4.5rem;
	}

	.hero-logo {
		width: 250px;
	}

	.hero {
		padding: 130px 1rem 2rem;
	}
}

@media (max-width: 1200px) {
	h1 {
		font-size: 5rem;
	}

	.subtitle {
		font-size: 1.75rem;
	}

	.stats-bar {
		gap: 2rem;
	}

	.hero-logo {
		width: 220px;
	}
}

@media (max-width: 900px) {
	.masonry-grid {
		columns: 2;
	}

	h1 {
		font-size: 4rem;
	}

	.subtitle {
		font-size: 1.5rem;
	}

	.hero-content {
		gap: 2rem;
	}

	.modal-close {
		right: 0;
	}

	.hero-logo {
		width: 200px;
	}
}

@media (max-width: 768px) {
	.burger-menu {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		bottom: 0;
		width: 100%;
		max-width: 100vw;
		background: var(--header-bg);
		backdrop-filter: blur(10px);
		flex-direction: column;
		justify-content: center;
		transition: right 0.3s ease;
		z-index: 101;
		overflow-x: hidden;
	}

	.nav-links.active {
		right: 0;
	}

	.navbar {
		padding: 1rem;
	}

	.ticker {
		font-size: 1.5rem;
	}

	.buy-button {
		padding: 0.5rem 1rem;
	}

	.hero {
		padding: 120px 1rem 2rem;
	}

	.stats-bar {
		padding: 0.4rem;
		gap: 2rem;
	}

	.stat {
		display: none;
	}

	.stat:first-child {
		display: flex;
		gap: 0.2rem;
	}

	.stat-value {
		font-size: 0.95rem;
	}

	h1 {
		font-size: 3.5rem;
	}

	.subtitle {
		font-size: 1.25rem;
	}

	.hero-logo {
		width: 180px;
	}

	.ca-container {
		padding: 0.6rem 0.75rem;
		max-width: min(400px, calc(100% - 2rem));
	}

	.ca {
		font-size: 0.8rem;
		max-width: calc(100% - 35px);
	}
}

@media (max-width: 480px) {
	.navbar {
		padding: 0.75rem;
	}

	.ticker {
		font-size: 1.25rem;
	}

	.hero {
		padding: 100px 0.5rem 2rem;
	}

	.stats-bar {
		padding: 0.35rem;
	}

	.stat-value {
		font-size: 0.9rem;
	}

	h1 {
		font-size: 2.75rem;
	}

	.subtitle {
		font-size: 1.1rem;
	}

	.hero-logo {
		width: 150px;
	}

	.masonry-grid {
		columns: 1;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
		gap: 2rem;
	}

	.footer-left,
	.footer-right {
		align-items: center;
	}

	.footer-links {
		gap: 1.5rem;
		padding: 0.75rem 1rem;
	}

	.footer-built {
		padding: 0.75rem 1rem;
		align-items: center;
	}

	.card-page footer {
		padding: 1rem;
	}
}

@media (max-width: 360px) {
	.ca-container {
		padding: 0.5rem 0.6rem;
		max-width: calc(100% - 5rem);
	}

	.ca {
		font-size: 0.75rem;
		max-width: calc(100% - 32px);
	}

	.hero {
		padding: 90px 0.5rem 2rem;
	}

	h1 {
		font-size: 2.25rem;
	}

	.subtitle {
		font-size: 1rem;
	}

	.hero-logo {
		width: 130px;
	}

	.buy-button {
		padding: 0.4rem 0.8rem;
	}

	.card-page footer {
		padding: 0.75rem;
	}
}

/* Couch Page Styles */
.couch-page {
	height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.couch-page main {
	flex: 1;
	margin-top: var(--header-height);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
}

.couch-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: relative;
	padding: 2rem;
	width: 100%;
	height: 100%;
	transform: translateY(-5%);
	/* Slight adjustment to visually center considering the header */
}

.couch-content h1 {
	margin-bottom: 4rem;
	text-align: center;
}

.couch-image {
	width: min(400px, 80vw);
	height: auto;
	animation: float 6s ease-in-out infinite;
	cursor: pointer;
	transition: transform 0.3s ease;
	max-height: 60vh;
	object-fit: contain;
	user-select: none;
}

.couch-image.shake {
	animation: shake 0.5s ease-in-out;
}

.couch-counter {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--blur-bg);
	backdrop-filter: blur(10px);
	padding: 0.75rem 1.5rem;
	border-radius: 100px;
	border: 1px solid rgba(139, 182, 224, 0.1);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: monospace;
	white-space: nowrap;
	max-width: calc(100% - 2rem);
	overflow: hidden;
	margin-top: 2rem;
}

.counter-label {
	color: var(--text);
	opacity: 0.8;
	font-size: 0.9rem;
}

.counter-value {
	color: var(--primary);
	font-weight: bold;
	font-size: 1.1rem;
}

/* Responsive styles for couch page */
@media (max-width: 768px) {
	.couch-page main {
		margin-top: calc(var(--header-height) - 1rem);
	}

	.couch-counter {
		padding: 0.6rem 1.25rem;
		gap: 0.5rem;
		bottom: 1.5rem;
	}

	.counter-label {
		font-size: 0.85rem;
	}

	.counter-value {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.couch-page main {
		margin-top: calc(var(--header-height) - 1.5rem);
	}

	.couch-counter {
		padding: 0.5rem 1rem;
		gap: 0.4rem;
		bottom: 1.25rem;
		font-size: 0.8rem;
	}

	.counter-label {
		font-size: 0.8rem;
	}

	.counter-value {
		font-size: 0.9rem;
	}
}

@media (max-width: 360px) {
	.couch-content {
		margin-bottom: 6rem;
	}

	.couch-counter {
		flex-direction: column;
		gap: 0.25rem;
		padding: 0.75rem 1rem;
		white-space: normal;
		text-align: center;
		bottom: 1rem;
	}

	.counter-value {
		font-size: 1.1rem;
	}

	.couch-image {
		max-height: calc(45vh - 6rem);
	}
}

@media (max-height: 600px) {
	.couch-page main {
		margin-top: var(--header-height);
	}

	.couch-image {
		max-height: 45vh;
	}

	.couch-counter {
		bottom: 1rem;
	}
}

@media (max-height: 480px) {
	.couch-page footer {
		display: none;
	}

	.couch-image {
		max-height: 40vh;
	}

	.couch-counter {
		bottom: 0.75rem;
		padding: 0.4rem 0.75rem;
		font-size: 0.75rem;
	}

	.card-page footer {
		padding: 0.5rem;
	}
}

@media (max-height: 400px) {
	.couch-image {
		max-height: 35vh;
	}

	.card-page footer {
		padding: 0.25rem;
	}
}

.couch-page footer {
	margin-top: 0;
	width: 100%;
}

@media (max-width: 768px) {
	.couch-image {
		width: 350px;
	}
}

@media (max-width: 480px) {
	.couch-image {
		width: 300px;
	}
}

@media (max-height: 600px) {
	.couch-image {
		width: 280px;
	}
}

/* Handle landscape mode */
@media (max-height: 500px) {
	.hero {
		padding: 40px 1rem 2rem;
		min-height: auto;
	}

	.hero-logo {
		width: 120px;
	}
}

/* Couch animations */
@keyframes shake {

	0%,
	100% {
		transform: rotate(0);
	}

	20% {
		transform: rotate(-5deg);
	}

	40% {
		transform: rotate(4deg);
	}

	60% {
		transform: rotate(-3deg);
	}

	80% {
		transform: rotate(2deg);
	}
}

.nav-logo {
	text-decoration: none;
}

/* Card Page Styles */
.card-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.card-main {
	flex: 1;
	margin-top: var(--header-height);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	position: relative;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.card-content {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	margin-top: var(--header-height);
	text-align: center;
}

.card-content h1 {
	margin: 0.5rem 0 1.5rem;
	font-size: 2rem;
}

.card-container {
	background: var(--blur-bg);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	border: 1px solid rgba(139, 182, 224, 0.1);
	padding: 1.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.card-container:hover {
	border-color: rgba(139, 182, 224, 0.2);
	box-shadow: 0 4px 25px rgba(139, 182, 224, 0.03);
}

.card-form {
	flex: 1;
	max-width: 300px;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--text);
}

.input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.input-prefix {
	position: absolute;
	left: 1rem;
	color: var(--text);
	opacity: 0.7;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(139, 182, 224, 0.2);
	border-radius: 8px;
	background: rgba(42, 52, 65, 0.3);
	color: var(--text);
	font-size: 1rem;
	transition: all 0.2s ease;
	cursor: pointer;
}

/* Style the dropdown options */
.form-group select option {
	background: var(--secondary);
	color: var(--text);
	padding: 1rem;
}

/* Style the disabled placeholder option */
.form-group select option:disabled {
	color: rgba(237, 242, 247, 0.5);
}

.form-group input {
	padding-left: 2rem;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 2px var(--primary-glow);
}

.form-group input::placeholder {
	color: rgba(237, 242, 247, 0.5);
}

.file-input-wrapper {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.file-input-wrapper input[type="file"] {
	flex: 1;
	padding: 0.5rem;
	background: rgba(42, 52, 65, 0.3);
	border: 1px solid rgba(139, 182, 224, 0.2);
	border-radius: 8px;
	color: var(--text);
	cursor: pointer;
}

.file-input-wrapper input[type="file"]::-webkit-file-upload-button {
	background: var(--accent);
	border: none;
	border-radius: 4px;
	padding: 0.3rem 0.8rem;
	color: var(--text);
	cursor: pointer;
	margin-right: 0.5rem;
}

.file-clear {
	background: rgba(255, 65, 54, 0.2);
	color: var(--text);
	border: 1px solid rgba(255, 65, 54, 0.3);
	border-radius: 8px;
	padding: 0.5rem 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.file-clear:hover {
	background: rgba(255, 65, 54, 0.3);
}

.download-btn {
	width: 500px;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 8px;
	background: var(--primary);
	color: var(--background);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.download-btn:hover {
	box-shadow: 0 4px 12px rgba(139, 182, 224, 0.2);
}

.download-btn {
	margin-top: 1rem;
}

.download-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.card-preview {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#cardCanvas {
	width: 100%;
	max-width: 500px;
	height: auto;
	background: var(--secondary);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.2s ease;
}


/* Responsive styles for card page */
@media (max-width: 1200px) {
	.card-container {
		gap: 2rem;
	}
}

@media (max-width: 900px) {
	.card-container {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}

	.card-form {
		max-width: 100%;
	}

	.card-preview {
		width: 100%;
	}

	.download-btn {
		width: 100%;
		max-width: 500px;
	}
}

@media (max-width: 768px) {
	.card-content {
		margin-top: calc(var(--header-height) - 3rem);
	}

	.download-btn {
		width: 100%;
		max-width: 400px;
	}
}

@media (max-width: 480px) {
	.download-btn {
		width: 100%;
		max-width: 300px;
	}
}