:root {
	--primary-color: #000000;
	--secondary-color: #333333;
	--background-color: #ffffff;
	--text-color: #111111;
	--accent-color: #3b82f6;
	--surface-color: #f8fafc;
	--success-color: #10B981;
}

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

html {
	font-size: 16px;
	height: 100%;
}

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

/* Subtle grid background */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
	background-size: 20px 20px;
	z-index: -1;
}

/* Gradient overlay */
body::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, 
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.8) 100%);
	z-index: -1;
	animation: pulseGradient 10s ease-in-out infinite;
}

@keyframes pulseGradient {
	0%, 100% { opacity: 0.8; }
	50% { opacity: 1; }
}

.info-bar {
	display: flex;
	justify-content: center;
	gap: clamp(1rem, 3vw, 2rem);
	padding: clamp(0.75rem, 2vw, 1.25rem);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	animation: slideDown 0.5s ease-out;
}

.info-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.3s ease;
}

/* Hide volume items on mobile */
.info-item:not(:first-child) {
	display: none;
}

.info-item:hover {
	transform: translateY(-2px);
}

.info-label {
	font-size: clamp(0.75rem, 1.5vw, 0.875rem);
	color: var(--secondary-color);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.info-value {
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 700;
	color: var(--primary-color);
}

@keyframes slideDown {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 5vw, 2rem);
	text-align: center;
	position: relative;
	padding-bottom: clamp(4rem, 8vh, 6rem);
}

.title {
	font-size: clamp(4rem, 15vw, 8rem);
	font-weight: 900;
	margin-bottom: clamp(0.5rem, 2vh, 1rem);
	color: var(--primary-color);
	letter-spacing: -0.05em;
	animation: titlePop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
}

.title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: clamp(40px, 8vw, 60px);
	height: 4px;
	background: var(--primary-color);
	border-radius: 2px;
}

@keyframes titlePop {
	0% { transform: scale(0.8); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

.subtitle {
	font-size: clamp(1rem, 3vw, 1.5rem);
	color: var(--secondary-color);
	margin-bottom: clamp(2rem, 5vh, 3rem);
	animation: fadeUp 0.5s ease-out 0.2s both;
	max-width: min(600px, 90%);
}

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

.contract-address {
	background: #ffffff;
	padding: clamp(1rem, 3vw, 1.75rem);
	border-radius: 1rem;
	margin-bottom: clamp(1.5rem, 4vh, 2rem);
	max-width: min(600px, 90%);
	width: 100%;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
				0 2px 4px -1px rgba(0, 0, 0, 0.06);
	animation: fadeUp 0.5s ease-out 0.4s both;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.contract-address:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
				0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ca-label {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--secondary-color);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

.ca-container {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--surface-color);
	padding: clamp(0.75rem, 2vw, 1rem);
	border-radius: 0.5rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

code {
	font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
	font-size: clamp(0.7rem, 1.8vw, 0.9rem);
	flex-grow: 1;
	text-align: left;
	color: var(--primary-color);
	letter-spacing: 0.5px;
	white-space: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

code::-webkit-scrollbar {
	display: none;
}

.copy-btn {
	background: var(--primary-color);
	border: none;
	cursor: pointer;
	padding: clamp(0.5rem, 1.5vw, 0.75rem);
	border-radius: 0.5rem;
	transition: all 0.2s;
	flex-shrink: 0;
}

.copy-btn:hover {
	background: var(--secondary-color);
	transform: scale(1.05);
}

.copy-icon {
	fill: white;
	transition: transform 0.2s;
	width: clamp(20px, 4vw, 24px);
	height: clamp(20px, 4vw, 24px);
}

.social-links {
	display: flex;
	gap: clamp(1rem, 3vw, 2rem);
	animation: fadeUp 0.5s ease-out 0.6s both;
}

.social-link {
	background: var(--surface-color);
	width: clamp(40px, 8vw, 48px);
	height: clamp(40px, 8vw, 48px);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
	transform: translateY(-5px) rotate(8deg);
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.twitter-icon,
.dexscreener-icon {
	fill: var(--primary-color);
	width: clamp(20px, 4vw, 24px);
	height: clamp(20px, 4vw, 24px);
	transition: fill 0.3s ease;
}

.social-link:hover .twitter-icon,
.social-link:hover .dexscreener-icon {
	fill: white;
}

/* Footer styles */
.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: clamp(0.75rem, 2vw, 1rem);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	z-index: 90;
}

.footer-content {
	max-width: min(1200px, 90%);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: clamp(0.75rem, 1.5vw, 0.875rem);
	color: var(--secondary-color);
	gap: 1rem;
}

.footer-brand {
	font-weight: 500;
}

.footer-credit {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-wrap: wrap;
	justify-content: center;
}

.credit-link {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.credit-link:hover {
	color: var(--accent-color);
	transform: translateY(-1px);
}

/* Toast styles */
.toast-container {
	position: fixed;
	bottom: clamp(80px, 12vh, 100px);
	right: clamp(10px, 3vw, 20px);
	z-index: 1000;
}

.toast {
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
	border-radius: 8px;
	margin: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	animation: toastSlideIn 0.3s ease forwards;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-size: clamp(0.875rem, 1.5vw, 1rem);
}

@keyframes toastSlideIn {
	from { transform: translateX(100%); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
	from { transform: translateX(0); opacity: 1; }
	to { transform: translateX(100%); opacity: 0; }
}

/* Success state for copy button */
.copy-btn.success {
	background-color: var(--success-color);
}

/* Show all info items on larger screens */
@media (min-width: 768px) {
	.info-item:not(:first-child) {
		display: flex;
	}
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
	.hero {
		padding-top: 100px;
		min-height: 120vh;
	}

	.title {
		font-size: clamp(3rem, 8vw, 6rem);
	}

	.contract-address {
		margin-bottom: 1rem;
	}
}

/* Very small screens */
@media (max-width: 320px) {
	.title {
		font-size: 3rem;
	}

	.subtitle {
		font-size: 1rem;
	}

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

	code {
		font-size: 0.65rem;
	}
}

/* Ensure content is readable on ultra-wide screens */
@media (min-width: 2000px) {
	html {
		font-size: 18px;
	}

	.hero {
		max-width: 1800px;
		margin: 0 auto;
	}
}