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

body {
	font-family: 'Inter', sans-serif;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
	color: #ffffff;
	line-height: 1.6;
	overflow-x: hidden;
	min-height: 100vh;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

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

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
	overflow: hidden;
	padding: 60px 0;
	gap: 40px;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.1;
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

.hero-text {
	text-align: left;
}

/* Center text on mobile */
@media (max-width: 991px) {
	.hero-text {
		text-align: center;
	}

	.hero-title {
		justify-content: center;
		margin-bottom: 15px;
		gap: 10px;
	}

	.hero-subtitle {
		margin-bottom: 20px;
	}

	.catchphrase {
		margin-bottom: 25px;
	}
}

.hero-title {
	font-family: 'Orbitron', monospace;
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.soldier-text {
	background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f);
	background-size: 200% 200%;
	animation: gradientShift 3s ease-in-out infinite;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.on-solana-text {
	font-size: 3rem;
	color: #9945ff;
	text-shadow: 0 0 20px rgba(153, 69, 255, 0.5);
	background: linear-gradient(45deg, #6bcf7f, #9945ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.3rem;
	color: #b0b0b0;
	margin-bottom: 30px;
	max-width: 500px;
	line-height: 1.6;
}

.catchphrase {
	margin-bottom: 40px;
	position: relative;
}

.catchphrase-text {
	font-family: 'Orbitron', monospace;
	font-size: 1.4rem;
	font-weight: 700;
	color: #ffd93d;
	text-align: center;
	background: linear-gradient(45deg, #ffd93d, #ff6b6b, #6bcf7f);
	background-size: 200% 200%;
	animation: gradientShift 4s ease-in-out infinite;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
	position: relative;
	padding: 15px 25px;
	border: 2px solid rgba(255, 217, 61, 0.3);
	border-radius: 15px;
	background-color: rgba(255, 217, 61, 0.1);
	backdrop-filter: blur(10px);
	animation: catchphraseGlow 3s ease-in-out infinite;
}

.catchphrase-text::before {
	content: '⚔️';
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
	animation: swordSwing 2s ease-in-out infinite;
}

.catchphrase-text::after {
	content: '⚔️';
	position: absolute;
	right: -10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
	animation: swordSwing 2s ease-in-out infinite reverse;
}


.hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.soldier-img {
	max-width: 100%;
	height: auto;
	max-height: 500px;
	filter: drop-shadow(0 0 30px rgba(255, 107, 107, 0.3));
	animation: float 3s ease-in-out infinite;
}

/* Mobile image sizing */
@media (max-width: 991px) {
	.soldier-img {
		max-height: 300px;
		width: auto;
	}
}

@media (max-width: 767px) {
	.soldier-img {
		max-height: 250px;
	}
}

@media (max-width: 480px) {
	.hero {
		padding-top: 140px;
	}

	.soldier-img {
		max-height: 200px;
	}

	.hero-title {
		margin-bottom: 10px;
		gap: 5px;
	}

	.hero-subtitle {
		margin-bottom: 15px;
	}

	.catchphrase {
		margin-bottom: 20px;
	}
}

.war-banner {
	background: linear-gradient(45deg, #ff6b6b, #ffd93d);
	padding: 15px 30px;
	border-radius: 50px;
	font-family: 'Orbitron', monospace;
	font-weight: 700;
	font-size: 1.1rem;
	animation: bannerPulse 2s ease-in-out infinite;
	box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
	text-align: center;
	z-index: 2;
	width: fit-content;
	margin: 0 auto;
}

/* Coin Stats Banner */
.coin-stats {
	padding: 40px 0;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0a0a0a 100%);
	border-top: 2px solid rgba(255, 107, 107, 0.2);
	border-bottom: 2px solid rgba(255, 107, 107, 0.2);
	position: relative;
	overflow: hidden;
}

.coin-stats::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="diagonal" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 0 0 L 20 20 M 20 0 L 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonal)"/></svg>');
	opacity: 0.3;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
}

.stat-item {
	text-align: center;
	padding: 20px;
	background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(107, 207, 127, 0.1));
	border: 1px solid rgba(255, 107, 107, 0.2);
	border-radius: 15px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.stat-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

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

.stat-item:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 107, 107, 0.4);
	box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.stat-value {
	font-family: 'Orbitron', monospace;
	font-size: 1.8rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 8px;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-label {
	font-size: 0.9rem;
	color: #b0b0b0;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

/* Join Army Section */
.join-army {
	padding: 100px 0;
	background: linear-gradient(180deg, #16213e 0%, #0a0a0a 100%);
	position: relative;
}

.join-army::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
	opacity: 0.3;
}

.section-title {
	font-family: 'Orbitron', monospace;
	font-size: 3rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
	background: linear-gradient(45deg, #ffffff, #ff6b6b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-subtitle {
	font-size: 1.2rem;
	color: #b0b0b0;
	text-align: center;
	margin-bottom: 60px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.army-buttons {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.army-btn {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px 40px;
	border-radius: 15px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	min-width: 250px;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.dexscreener-btn {
	background: linear-gradient(45deg, #1a1a2e, #16213e);
	border: 2px solid #6bcf7f;
	color: #6bcf7f;
}

.dexscreener-btn:hover {
	background: linear-gradient(45deg, #6bcf7f, #4a9d5a);
	color: #000;
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(107, 207, 127, 0.3);
}

.x-btn {
	background: linear-gradient(45deg, #1a1a2e, #16213e);
	border: 2px solid #1da1f2;
	color: #1da1f2;
}

.x-btn:hover {
	background: linear-gradient(45deg, #1da1f2, #0d8bd9);
	color: #fff;
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
}

.btn-icon {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

.dexscreener-btn .btn-icon {
	filter: brightness(0) saturate(100%) invert(64%) sepia(48%) saturate(1234%) hue-rotate(89deg) brightness(95%) contrast(89%);
}

.x-btn .btn-icon {
	filter: brightness(0) saturate(100%) invert(50%) sepia(79%) saturate(2476%) hue-rotate(176deg) brightness(118%) contrast(119%);
}

/* Contract Address Section */
.contract-section {
	padding: 100px 0;
	background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.ca-container {
	max-width: 600px;
	margin: 0 auto;
}

.ca-input-wrapper {
	display: flex;
	background: linear-gradient(45deg, #1a1a2e, #16213e);
	border: 2px solid #333;
	border-radius: 15px;
	padding: 5px;
	margin-bottom: 20px;
	transition: all 0.3s ease;
}

.ca-input-wrapper:focus-within {
	border-color: #ff6b6b;
	box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.ca-input {
	flex: 1;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 1rem;
	padding: 20px;
	font-family: 'Orbitron', monospace;
	outline: none;
}

.ca-input::selection {
	background: rgba(255, 107, 107, 0.3);
}

.copy-btn {
	background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
	border: none;
	border-radius: 10px;
	padding: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	min-width: 44px;
	min-height: 44px;
}

.copy-btn:hover {
	background: linear-gradient(45deg, #ff8e8e, #ff6b6b);
	transform: scale(1.05);
	box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.copy-icon {
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1);
}

.ca-note {
	text-align: center;
	color: #ff6b6b;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Toast Notification */
.toast {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	background: linear-gradient(135deg, #1a1a2e, #16213e);
	border: 2px solid #6bcf7f;
	color: #6bcf7f;
	padding: 15px 25px;
	border-radius: 15px;
	font-weight: 600;
	font-family: 'Orbitron', monospace;
	transform: translateX(100vw);
	transition: all 0.3s ease;
	z-index: 9999 !important;
	box-shadow: 0 10px 30px rgba(107, 207, 127, 0.3);
	backdrop-filter: blur(10px);
	overflow: hidden;
	width: auto;
	max-width: 400px;
}

.toast::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(107, 207, 127, 0.1), transparent);
	transition: left 0.5s ease;
}

.toast.show::before {
	left: 100%;
}

.toast.show {
	transform: translateX(0);
	box-shadow: 0 15px 40px rgba(107, 207, 127, 0.4);
}

.toast.error {
	border-color: #ff6b6b;
	color: #ff6b6b;
	box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.toast.error.show {
	box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.toast.error::before {
	background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
}

/* Animations */
@keyframes gradientShift {

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

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

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.7;
	}
}

@keyframes float {

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

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

@keyframes bannerPulse {

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

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

@keyframes catchphraseGlow {

	0%,
	100% {
		box-shadow: 0 0 20px rgba(255, 217, 61, 0.3);
		transform: scale(1);
	}

	50% {
		box-shadow: 0 0 40px rgba(255, 217, 61, 0.6);
		transform: scale(1.02);
	}
}

@keyframes swordSwing {

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

	25% {
		transform: translateY(-50%) rotate(-15deg);
	}

	75% {
		transform: translateY(-50%) rotate(15deg);
	}
}

/* Responsive Design */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
	.container {
		max-width: 1400px;
	}

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

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

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
	.hero-title {
		font-size: 4.2rem;
	}
}

/* Large Tablet (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
	.hero-content {
		gap: 50px;
	}

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

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

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

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
	.hero {
		padding: 60px 0 40px;
		min-height: auto;
		gap: 30px;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
		padding: 0 30px;
	}

	.hero-title {
		font-size: 3.5rem;
		margin-bottom: 25px;
	}

	.hero-subtitle {
		font-size: 1.2rem;
		max-width: 600px;
		margin: 0 auto 25px;
	}

	.catchphrase {
		margin-bottom: 30px;
	}

	.catchphrase-text {
		font-size: 1.3rem;
		padding: 12px 25px;
	}

	.hero-image {
		margin-bottom: 20px;
	}

	.army-buttons {
		flex-direction: row;
		justify-content: center;
		gap: 25px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
		max-width: 500px;
	}

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

	.army-btn {
		min-width: 220px;
		padding: 18px 35px;
	}

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

	.ca-input {
		font-size: 0.95rem;
		padding: 18px;
	}
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
	.hero {
		padding: 60px 0 30px;
		min-height: auto;
		gap: 25px;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 35px;
		padding: 0 25px;
	}

	.hero-title {
		font-size: 3rem;
		margin-bottom: 20px;
	}

	.hero-subtitle {
		font-size: 1.15rem;
		max-width: 500px;
		margin: 0 auto 20px;
	}

	.catchphrase {
		margin-bottom: 25px;
	}

	.catchphrase-text {
		font-size: 1.2rem;
		padding: 12px 20px;
	}

	.hero-image {
		margin-bottom: 15px;
	}

	.army-buttons {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		max-width: 450px;
	}

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

	.army-btn {
		min-width: 200px;
		padding: 16px 32px;
		font-size: 1.05rem;
	}

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

	.ca-input {
		font-size: 0.9rem;
		padding: 16px;
	}

	.war-banner {
		padding: 12px 25px;
		font-size: 1rem;
	}
}

/* Mobile Medium (481px - 575px) */
@media (max-width: 575px) and (min-width: 481px) {
	.hero {
		padding: 70px 0 25px;
		min-height: auto;
		gap: 20px;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 25px;
		padding: 0 20px;
	}

	.hero-title {
		font-size: 2.5rem;
		margin-bottom: 15px;
		line-height: 1.1;
	}

	.hero-subtitle {
		font-size: 1rem;
		max-width: 400px;
		margin: 0 auto 15px;
		line-height: 1.4;
	}

	.catchphrase {
		margin-bottom: 20px;
	}

	.catchphrase-text {
		font-size: 1rem;
		padding: 8px 15px;
	}

	.hero-image {
		margin-bottom: 10px;
	}

	.army-buttons {
		flex-direction: column;
		align-items: center;
		gap: 18px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		max-width: 350px;
	}

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

	.army-btn {
		min-width: 180px;
		padding: 15px 28px;
		font-size: 1rem;
	}

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

	.ca-input {
		font-size: 0.85rem;
		padding: 15px;
	}

	.war-banner {
		padding: 10px 20px;
		font-size: 0.95rem;
	}
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
	.hero {
		padding: 70px 0 20px;
		min-height: auto;
		gap: 15px;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 20px;
		padding: 0 15px;
	}

	.hero-title {
		font-size: 1.9rem;
		line-height: 1.1;
		margin-bottom: 12px;
	}

	.hero-subtitle {
		font-size: 0.9rem;
		max-width: 350px;
		margin: 0 auto 12px;
		line-height: 1.4;
	}

	.catchphrase {
		margin-bottom: 15px;
	}

	.catchphrase-text {
		font-size: 0.9rem;
		padding: 6px 12px;
	}

	.hero-image {
		margin-bottom: 8px;
	}

	.army-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 15px;
		max-width: 300px;
	}

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

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

	.army-btn {
		min-width: 160px;
		padding: 14px 25px;
		font-size: 0.95rem;
	}

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

	.section-subtitle {
		font-size: 1rem;
	}

	.ca-input {
		font-size: 0.8rem;
		padding: 12px;
	}

	.copy-btn {
		padding: 12px;
	}

	.copy-icon {
		width: 16px;
		height: 16px;
	}

	.war-banner {
		padding: 8px 16px;
		font-size: 0.9rem;
	}

	.toast {
		top: 10px;
		right: 10px;
		left: 10px;
		padding: 12px 20px;
		font-size: 0.9rem;
		text-align: center;
		transform: translateY(-100px);
		width: auto;
	}

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

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
	.hero-content {
		padding: 0 10px;
	}

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

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

	.catchphrase-text {
		font-size: 0.9rem;
		padding: 6px 12px;
	}

	.army-btn {
		min-width: 140px;
		padding: 12px 20px;
		font-size: 0.9rem;
	}

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

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

	.stat-label {
		font-size: 0.75rem;
	}

	.ca-input {
		font-size: 0.75rem;
		padding: 10px;
	}

	.war-banner {
		padding: 6px 12px;
		font-size: 0.85rem;
	}
}