/* Import fonts - Poppins for modern clean look */
@import url('../css2');

/* Base Styles */
body {
	background-color: #000;
	color: #e0e0e0;
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

/* Animated Background */
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
							radial-gradient(circle at top right, rgba(255,215,0,0.1), transparent 50%);
	animation: gradientShift 15s ease infinite;
	z-index: -1;
}

@keyframes gradientShift {
	0% { background-position: 0% 50% }
	50% { background-position: 100% 50% }
	100% { background-position: 0% 50% }
}

/* Navigation */
.navbar {
	background-color: rgba(0,0,0,0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255,215,0,0.1);
	padding: 1rem 0;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	padding: 0.5rem 0;
}

.nav-link {
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	padding: 0.5rem 1rem !important;
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 50%;
	background-color: gold;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-link:hover::after {
	width: 80%;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-logo {
	max-width: 240px;
	height: auto;
	margin: 0 auto;
	animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin: 2rem 0;
	background: linear-gradient(to right, #fff, gold);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: titleFade 1s ease-out;
}

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

/* Social Links */
.social-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.social-links a {
	color: gold;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
}

.social-links a::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border: 2px solid transparent;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.social-links a:hover::before {
	border-color: gold;
	transform: scale(1.5);
	opacity: 0;
}

.social-links a:hover {
	color: #fff;
	transform: scale(1.2);
}

/* Token Statistics */
.token-stat {
	background-color: #111;
	padding: 2rem;
	border: 1px solid #333;
	margin-bottom: 1rem;
	text-align: center;
	height: 100%;  /* Make container fill full height */
	min-height: 200px;
	display: flex;	/* Use flexbox */
	flex-direction: column;  /* Stack content vertically */
	justify-content: center;	/* Center content vertically */
}

.token-stat:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
	border-color: gold;
}

/* Row that contains the token-stat divs */
#tokenomics .row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

#tokenomics .row > [class*='col-'] {
	display: flex;
	flex-direction: column;
}

/* Contract Address */
.contract-address {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	background: rgba(0,0,0,0.3);
	padding: 1rem;
	border-radius: 10px;
	border: 1px solid rgba(255,215,0,0.2);
}

.copy-btn {
	background: none;
	border: none;
	color: gold;
	cursor: pointer;
	padding: 0.5rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.copy-btn::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(255,215,0,0.1);
	border-radius: 50%;
	transform: scale(0);
	transition: all 0.3s ease;
}

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

.live-token-stats {
	background: rgba(17, 17, 17, 0.95);
	border: 1px solid gold;
	border-radius: 15px;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

/* Coverage Section Styles */
.latest-coverage {
	background: rgba(17, 17, 17, 0.95);
	padding: 1.8rem;
	border-radius: 15px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
}

.latest-coverage h3 {
	color: gold;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

.coverage-item {
	background: rgba(255, 255, 255, 0.03);
	padding: 1.2rem;
	border-radius: 12px;
	margin-bottom: 1rem;
	transition: all 0.3s ease;
}

.coverage-item:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-2px);
}

.coverage-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.8rem;
}

.coverage-date {
	font-size: 0.8rem;
	color: #999;
}

.coverage-item h4 {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	color: #fff;
}

.coverage-item p {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 1rem;
	line-height: 1.5;
}

.coverage-item a {
	color: gold;
	text-decoration: none;
	transition: color 0.3s ease;
}

.coverage-item a:hover {
	color: #fff;
}

.coverage-item i {
	font-size: 1.1rem;
}

.coverage-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
}

.coverage-source-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem; /* Space between icon and author text */
}

.coverage-source {
	color: #666;
}

.coverage-footer a {
	color: gold;
	text-decoration: none;
	transition: color 0.3s ease;
}

.coverage-footer a:hover {
	color: #fff;
}

/* Section Headers */
.section h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 2rem;
	margin-top: 5rem;
	position: relative;
	display: inline-block;
}

.section h2::after {
	content: '';
	position: absolute;
	width: 50%;
	height: 3px;
	bottom: -10px;
	left: 0;
	background-color: gold;  /* Changed from gradient to solid gold */
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
	background: rgba(17, 17, 17, 0.7);
	border: 1px solid rgba(255,215,0,0.1);
	border-radius: 10px;
	color: #e0e0e0;
	padding: 1rem;
	transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: gold;
	box-shadow: 0 0 10px rgba(255,215,0,0.1);
	color: #fff;
}

.btn-outline-light {
	border-color: gold;
	color: gold;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.75rem 2rem;
	transition: all 0.3s ease;
}

.btn-outline-light:hover {
	background-color: gold;
	color: #000;
	transform: translateY(-2px);
}

/* Scroll Animations */
.fade-in-up {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.fade-in-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
	.hero h1 {
		font-size: 2.5rem;
	}
	
	.latest-coverage {
		border-left: none;
		border-top: 1px solid rgba(255,215,0,0.1);
		margin-top: 2rem;
	}
}

/* Scrollbar Styling */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #111;
}

::-webkit-scrollbar-thumb {
	background: gold;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #ffd700;
}


/* Contact Form Section */
.contact-section {
	background: rgba(17, 17, 17, 0.7);
	border-radius: 15px;
	padding: 3rem;
	margin-bottom: 4rem;
}

.contact-heading {
	text-align: center;
	margin-bottom: 2rem;
}

.contact-description {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3rem;
	color: #999;
	font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255,215,0,0.1);
	border-radius: 10px;
	color: #fff;
	padding: 1rem;
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: gold;
	box-shadow: 0 0 10px rgba(255,215,0,0.1);
	background: rgba(255, 255, 255, 0.08);
}

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

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	color: gold;
	font-size: 0.9rem;
	font-weight: 500;
}

.submit-btn {
	background: linear-gradient(45deg, gold, #ffd700);
	color: #000;
	border: none;
	padding: 1rem 2.5rem;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}

.submit-btn:disabled {
	background: #666;
	cursor: not-allowed;
	transform: none;
}

.form-feedback {
	position: fixed;
	top: 80px;
	right: 20px;
	padding: 1rem 2rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	border: 1px solid;
	transform: translateX(200%);
	transition: transform 0.3s ease;
	z-index: 1000;
}

.form-feedback.success {
	border-color: #28a745;
	color: #28a745;
}

.form-feedback.error {
	border-color: #dc3545;
	color: #dc3545;
}

.form-feedback.show {
	transform: translateX(0);
}

/* Footer */
.footer {
	background: rgba(17, 17, 17, 0.95);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255,215,0,0.1);
	padding: 3rem 0;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* Changed from 3 to 4 columns */
	gap: 3rem;
}

.footer-logo {
	max-width: 150px;
	height: auto;
}

.footer-column h4 {
	color: gold;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column li {
	margin-bottom: 0.8rem;
}

.footer-column a {
	color: #999;
	transition: color 0.3s ease;
}

.footer-column a:hover {
	color: gold;
}

.footer-bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,215,0,0.1);
	color: #999;
}

.footer-bottom .email-link {
	color: gold;
	font-weight: 500;
	transition: color 0.3s ease;
}

.footer-bottom .email-link:hover {
	color: #fff;
}

@media (max-width: 992px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.footer-logo-column {
		grid-column: 1 / -1;
		text-align: center;
	}
}

@media (max-width: 576px) {
	.footer-content {
		grid-template-columns: 1fr;
	}
}

.main-sidebar {
	padding-top: 80px;
}

/* Live Token Stats Container */
.live-token-stats {
	background: rgba(17, 17, 17, 0.95);
	border-radius: 15px;
	padding: 1.8rem;
	margin-bottom: 2rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.live-token-stats h3 {
	font-size: 1.2rem;
	font-weight: 600;
	text-align: center;
	color: gold;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.token-stats-grid {
	display: grid;
	gap: 1.2rem;
}

/* Individual Stat Container */
.token-live-stat {
	background: rgba(255, 255, 255, 0.03);
	padding: 1.2rem;
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.token-live-stat:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Labels and Values */
.stat-label {
	font-size: 0.85rem;
	color: gold;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

.stat-value {
	font-size: 1.4rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 0.3rem;
	text-align: center;
}

.stat-change {
	font-size: 0.9rem;
	font-weight: 500;
	text-align: center;
}

.stat-change.positive {
	color: #00cc88;
}

.stat-change.negative {
	color: #ff4d4d;
}

/* Update Animation */
@keyframes pulse {
	0% {
		background: rgba(255, 255, 255, 0.03);
	}
	50% {
		background: rgba(255, 255, 255, 0.08);
	}
	100% {
		background: rgba(255, 255, 255, 0.03);
	}
}

.token-live-stat.updating {
	animation: pulse 1s ease;
}

/* Update Timer */
.update-timer {
	margin-top: 1.2rem;
	text-align: center;
	font-size: 0.8rem;
	color: #666;
}

#updateCounter,
#updateCounterMobile {
	color: #999;
	font-weight: 500;
}

/* Loading Spinner */
.fa-spinner {
	color: #666;
}

/* Mobile Version Styling */
.token-stats-section {
	background: rgba(17, 17, 17, 0.95);
	border-radius: 15px;
	padding: 1.5rem;
	margin: 2rem auto;
	max-width: 90%;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
	.token-stats-section .token-live-stat {
		padding: 1rem;
	}

	.token-stats-section .stat-value {
		font-size: 1.2rem;
	}

	.token-stats-section .stat-change {
		font-size: 0.8rem;
	}
}

/* Add subtle gradient top edge */
.live-token-stats::before {
	content: '';
	position: absolute;
	top: 0;
	left: 15%;
	right: 15%;
	height: 2px;
	background: linear-gradient(to right, 
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, 0.1),
		rgba(255, 255, 255, 0)
	);
}

/* Add glass effect highlight */
.token-live-stat::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		45deg,
		transparent,
		rgba(255, 255, 255, 0.03),
		transparent
	);
	transform: rotate(45deg);
	transition: all 0.3s ease;
	opacity: 0;
}

.token-live-stat:hover::after {
	opacity: 1;
}

/* Loading Skeleton Animation */
@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

.coverage-loading {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
}

.coverage-skeleton {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.03) 25%,
		rgba(255, 255, 255, 0.08) 37%,
		rgba(255, 255, 255, 0.03) 63%
	);
	background-size: 1000px 100%;
	animation: shimmer 2s infinite linear;
}

.skeleton-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.skeleton-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.skeleton-date {
	width: 60px;
	height: 16px;
	border-radius: 4px;
}

.skeleton-text {
	height: 16px;
	border-radius: 4px;
	margin-bottom: 0.8rem;
}

.skeleton-text:last-child {
	width: 80%;
}

.loading-spinner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(255, 215, 0, 0.1);
	border-left-color: gold;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.loading-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.loading-header h3 {
	margin: 0;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.coverage-item.error {
	text-align: center;
	padding: 2rem;
}

.retry-btn {
	background: none;
	border: 1px solid gold;
	color: gold;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	margin-top: 1rem;
	transition: all 0.3s ease;
}

.retry-btn:hover {
	background: gold;
	color: #000;
}

.retry-btn i {
	margin-right: 0.5rem;
}

.social-links .etherscan-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.social-links .etherscan-link:hover {
	transform: scale(1.2);
}

.social-links .etherscan-link svg {
	color: gold;
}

.social-links .etherscan-link:hover svg {
	color: #fff;
}

.stats-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	margin-bottom: 1.5rem;
}

.stats-header h3 {
	margin: 0;
}

.refresh-btn {
	background: none;
	border: none;
	color: gold;
	font-size: 0.9rem;
	padding: 0.3rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.refresh-btn:hover {
	background: rgba(255, 215, 0, 0.1);
	transform: rotate(180deg);
}

/* Add this class when refresh is clicked */
.refresh-btn.refreshing {
	pointer-events: none;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

/* Container for spinning numbers */
.spinning-number {
	display: inline-block;
	position: relative;
	height: 1.5em;
	overflow: hidden;
	vertical-align: middle;
}

.spinning-number .number {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	opacity: 0;
	animation: none;
}

.stat-value.spinning,
.stat-change.spinning {
	animation: spinNumber 0.5s cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

@keyframes spinNumber {
	0% {
		transform: translateY(20px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Optional blur effect during update */
.token-live-stat.updating .stat-value {
	animation: blurNumber 0.5s;
}

@keyframes blurNumber {
	0% { filter: blur(0); }
	50% { filter: blur(2px); }
	100% { filter: blur(0); }
}

/* Optional blur effect during spin */
.spinning-number.updating {
	animation: blurNumber 0.5s;
}

@keyframes blurNumber {
	0% { filter: blur(0); }
	50% { filter: blur(2px); }
	100% { filter: blur(0); }
}
