/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Crimson Text", serif;
	line-height: 1.6;
	color: #2c2c2c;
	background: linear-gradient(135deg, #f4f1e8 0%, #e8dcc0 100%);
	min-height: 100vh;
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(139, 69, 19, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid rgba(255, 215, 0, 0.3);
	z-index: 1000;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background: rgba(139, 69, 19, 0.98);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.nav-logo-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #ffd700;
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
	transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
	transform: scale(1.1) rotate(5deg);
}

.nav-brand {
	font-family: "Cinzel", serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #ffd700;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
	transition: all 0.3s ease;
}

.nav-logo:hover .nav-brand {
	text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

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

.nav-link {
	font-family: "Cinzel", serif;
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 20px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.nav-link::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
	transition: left 0.5s ease;
}

.nav-link:hover::before {
	left: 100%;
}

.nav-link:hover {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.1);
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
	transform: translateY(-2px);
}

.nav-link.active {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.2);
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.bar {
	width: 25px;
	height: 3px;
	background: #ffd700;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

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

/* Hero Section */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 30%, #cd853f 70%, #daa520 100%);
	padding-top: 70px;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 30%, #cd853f 70%, #daa520 100%);
	z-index: -2;
}

.hero-background::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
	animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
	0% {
		opacity: 0.3;
		transform: scale(1);
	}

	50% {
		opacity: 0.6;
		transform: scale(1.1);
	}

	100% {
		opacity: 0.4;
		transform: scale(0.9);
	}
}

.roman-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.15) 3px, transparent 3px),
		radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.15) 3px, transparent 3px),
		radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
		radial-gradient(circle at 60% 30%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
		radial-gradient(circle at 10% 70%, rgba(255, 215, 0, 0.1) 2px, transparent 2px);
	background-size: 120px 120px, 140px 140px, 100px 100px, 80px 80px, 90px 90px;
	z-index: -1;
	animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
	0% {
		transform: translateX(0) translateY(0);
	}

	25% {
		transform: translateX(-10px) translateY(-5px);
	}

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

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

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

.hero-content {
	text-align: center;
	color: #fff;
	z-index: 1;
	animation: heroFadeIn 2s ease-out;
	padding-top: 120px;
	padding-bottom: 80px;
}

@keyframes heroFadeIn {
	0% {
		opacity: 0;
		transform: translateY(50px);
	}

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

.logo-container {
	margin-bottom: 2rem;
}

.logo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 6px solid #ffd700;
	box-shadow: 0 0 50px rgba(255, 215, 0, 0.8),
		0 0 100px rgba(255, 215, 0, 0.4),
		0 0 150px rgba(255, 215, 0, 0.2);
	animation: logoGlow 3s ease-in-out infinite alternate, logoFloat 6s ease-in-out infinite;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.1) rotate(5deg);
}

@keyframes logoGlow {
	0% {
		box-shadow: 0 0 50px rgba(255, 215, 0, 0.8),
			0 0 100px rgba(255, 215, 0, 0.4),
			0 0 150px rgba(255, 215, 0, 0.2);
	}

	100% {
		box-shadow: 0 0 80px rgba(255, 215, 0, 1),
			0 0 150px rgba(255, 215, 0, 0.6),
			0 0 200px rgba(255, 215, 0, 0.3);
	}
}

@keyframes logoFloat {

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

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

.hero-title {
	font-family: "Cinzel", serif;
	font-size: 5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7),
		0 0 20px rgba(255, 215, 0, 0.5),
		0 0 40px rgba(255, 215, 0, 0.3);
	letter-spacing: 3px;
	animation: titlePulse 4s ease-in-out infinite;
	background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: titlePulse 4s ease-in-out infinite, titleShine 3s ease-in-out infinite;
}

@keyframes titlePulse {

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

	50% {
		transform: scale(1.05);
	}
}

@keyframes titleShine {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.hero-subtitle {
	font-size: 1.8rem;
	font-style: italic;
	margin-bottom: 3rem;
	opacity: 0.95;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7),
		0 0 15px rgba(255, 215, 0, 0.3);
	animation: subtitleFade 2s ease-in-out 1s both;
}

@keyframes subtitleFade {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}

	100% {
		opacity: 0.95;
		transform: translateY(0);
	}
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.stat-card {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(15px);
	border: 3px solid rgba(255, 215, 0, 0.5);
	border-radius: 20px;
	padding: 2.5rem;
	text-align: center;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
	animation: statCardFade 1s ease-out 1.5s both;
}

.stat-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
	transition: left 0.6s ease;
}

.stat-card:hover::before {
	left: 100%;
}

.stat-card:hover {
	transform: translateY(-10px) scale(1.05);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
		0 0 30px rgba(255, 215, 0, 0.3);
	border-color: rgba(255, 215, 0, 0.8);
}

@keyframes statCardFade {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}

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

.stat-label {
	font-size: 1rem;
	opacity: 0.8;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.stat-value {
	font-family: "Cinzel", serif;
	font-size: 2rem;
	font-weight: 600;
	color: #ffd700;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
	animation: valueGlow 2s ease-in-out infinite alternate;
}

@keyframes valueGlow {
	0% {
		text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
	}

	100% {
		text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3);
	}
}

/* Lore Section */
.lore {
	padding: 6rem 0;
	background: linear-gradient(135deg, #f4f1e8 0%, #e8dcc0 100%);
	position: relative;
}

.lore::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(45deg, rgba(139, 69, 19, 0.05) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(139, 69, 19, 0.05) 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, rgba(139, 69, 19, 0.05) 75%),
		linear-gradient(-45deg, transparent 75%, rgba(139, 69, 19, 0.05) 75%);
	background-size: 60px 60px;
	background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
	z-index: 0;
}

.lore-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.section-title {
	font-family: "Cinzel", serif;
	font-size: 3rem;
	font-weight: 600;
	margin-bottom: 3rem;
	color: #8b4513;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.lore-text {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(139, 69, 19, 0.2);
	border-radius: 20px;
	padding: 3rem;
	margin-bottom: 3rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lore-text p {
	font-size: 1.3rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	color: #2c2c2c;
}

.lore-text strong {
	color: #8b4513;
	font-weight: 600;
}

.lore-attribution {
	font-style: italic;
	color: #666;
	font-size: 1.1rem;
}

.roman-ornament {
	display: flex;
	justify-content: center;
	align-items: center;
}

.laurel-wreath {
	width: 100px;
	height: 50px;
	border: 3px solid #8b4513;
	border-radius: 50px 50px 0 0;
	position: relative;
}

.laurel-wreath::before,
.laurel-wreath::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid #8b4513;
	border-radius: 50%;
	top: -10px;
}

.laurel-wreath::before {
	left: 20px;
}

.laurel-wreath::after {
	right: 20px;
}

/* Social Section */
.social {
	padding: 6rem 0;
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
	color: #fff;
}

.social-content {
	text-align: center;
}

.social .section-title {
	color: #ffd700;
}

.social-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.contract-section {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
}

.social-card,
.contract-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 215, 0, 0.3);
	border-radius: 20px;
	padding: 2.5rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover,
.contract-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 1.5rem;
	filter: brightness(0) invert(1);
}

.social-card h3,
.contract-card h3 {
	font-family: "Cinzel", serif;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #ffd700;
}

.social-card p,
.contract-card p {
	margin-bottom: 1.5rem;
	opacity: 0.9;
}

.social-link {
	display: inline-block;
	background: linear-gradient(135deg, #ffd700, #ffed4e);
	color: #8b4513;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.contract-address {
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.ca-text {
	flex: 1;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	word-break: break-all;
	color: #ffd700;
}

.copy-btn {
	background: linear-gradient(135deg, #ffd700, #ffed4e);
	border: none;
	border-radius: 8px;
	padding: 8px;
	cursor: pointer;
	transition: transform 0.2s ease;
	margin-left: 1rem;
}

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

.copy-icon {
	width: 20px;
	height: 20px;
	filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(1000%) hue-rotate(30deg);
}

.ca-description {
	font-size: 0.9rem;
	opacity: 0.7;
}

/* Toast Notification */
.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	background: linear-gradient(135deg, #4caf50, #45a049);
	color: white;
	padding: 1rem 1.5rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transform: translateX(400px);
	transition: transform 0.3s ease;
	z-index: 1000;
}

.toast.show {
	transform: translateX(0);
}

.toast-content {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.toast-icon {
	font-size: 1.2rem;
	font-weight: bold;
}

.toast-message {
	font-weight: 500;
}

/* Footer */
.footer {
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
	border-top: 2px solid rgba(255, 215, 0, 0.3);
	padding: 2rem 0;
	margin-top: 0;
}

.footer-content {
	text-align: center;
}

.footer-text {
	color: #fff;
	font-size: 1rem;
	margin: 0;
	opacity: 0.9;
}

.footer-link {
	color: #ffd700;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-link:hover {
	color: #ffed4e;
	text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
	transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: rgba(139, 69, 19, 0.98);
		backdrop-filter: blur(10px);
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding-top: 2rem;
		gap: 2rem;
		transition: left 0.3s ease;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-link {
		font-size: 1.2rem;
		padding: 12px 24px;
	}

	.hero {
		padding-top: 70px;
	}

	.hero-title {
		font-size: 3rem;
	}

	.hero-subtitle {
		font-size: 1.4rem;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		max-width: 100%;
	}

	.section-title {
		font-size: 2rem;
	}

	.lore-text {
		padding: 2rem;
	}

	.lore-text p {
		font-size: 1.1rem;
	}

	.social-grid {
		grid-template-columns: 1fr;
	}

	.contract-section {
		grid-column: 1;
	}

	.contract-address {
		flex-direction: column;
		gap: 1rem;
	}

	.copy-btn {
		margin-left: 0;
	}

	.toast {
		right: 10px;
		left: 10px;
		transform: translateY(-100px);
	}

	.toast.show {
		transform: translateY(0);
	}
}