/* XRP PATRIOT Website Styles - Modern Mobile-First 2025 */

/* CSS Custom Properties for Modern Design System */
:root {
  /* Colors */
  --primary-red: #DC2626;
  --primary-blue: #1E40AF;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --bg-primary: #000000;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  
  /* Modern spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Section spacing system */
  --section-padding-mobile: var(--space-3xl) 0;
  --section-padding-tablet: var(--space-4xl) 0;
  --section-padding-desktop: var(--space-5xl) 0;
  
  /* Touch targets */
  --touch-target-min: 44px;
  
  /* Container system */
  --container-max-width: 1200px;
  
  /* Z-index hierarchy */
  --z-base: 1;
  --z-section: 2;
  --z-nav: 10;
  --z-modal: 100;
  --z-tooltip: 200;
  --z-overlay: 999;
  
  /* Typography scale with fluid scaling */
  --text-xs: clamp(0.75rem, 2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2.5vw, 1rem);
  --text-base: clamp(1rem, 3vw, 1.125rem);
  --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 4vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 5vw, 2rem);
  --text-3xl: clamp(2rem, 6vw, 3rem);
  --text-4xl: clamp(2.5rem, 8vw, 4rem);
  
  /* Modern shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Border radius scale */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Modern transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Custom viewport units */
  --vh: 1vh;
  --vw: 1vw;
}

/* Typography and Logo */
.logo-text {
	font-family: 'Satoshi', sans-serif;
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.025em;
}

/* Typography and Logo */
.logo-text {
	font-family: 'Satoshi', sans-serif;
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.025em;
}

/* Modern Elegant Patriotic Titles */
/* Base title reset */
.section-title,
#home .hero-title,
#nfts .section-title,
#roadmap .section-title,
#rocketfuel .section-title,
#join .section-title,
.tales-header h1 {
	margin-bottom: 3rem;
	display: block;
	position: relative;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* STYLE 1: Clean Minimal (Home) */
#home .hero-title {
	font-family: 'Lato', sans-serif;
	font-size: clamp(3rem, 7vw, 4.5rem);
	font-weight: bold;
	color: #ffffff;
	border-bottom: 3px solid #dc2626;
	padding-bottom: 0.5rem;
	position: relative;
}

/* STYLE 2: Clean Minimal (NFTs) */
#nfts .section-title {
	font-family: 'Lato', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 300;
	color: #ffffff;
	border-bottom: 3px solid #dc2626;
	padding-bottom: 0.5rem;
	position: relative;
}

/* STYLE 3: Clean Minimal (Roadmap) */
#roadmap .section-title {
	font-family: 'Lato', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 300;
	color: #ffffff;
	padding-bottom: 0.5rem;
	position: relative;
	display: inline-block;
	border-bottom: 3px solid #dc2626;
}

/* STYLE 4: Clean Minimal (Tales) */
.tales-header h1 {
	font-family: 'Lato', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 300;
	color: #ffffff;
	padding-bottom: 0.5rem;
	position: relative;
	display: inline-block;
	border-bottom: 3px solid #dc2626;
}

/* STYLE 5: Clean Minimal (Rocket Fuel) */
#rocketfuel .section-title {
	font-family: 'Lato', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 300;
	color: #ffffff;
	border-bottom: 3px solid #dc2626;
	padding-bottom: 0.5rem;
	position: relative;
}

/* STYLE 6: Minimal Future (Join) */
#join .section-title {
	font-family: 'Lato', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 300;
	color: #ffffff;
	padding-bottom: 0.5rem;
	position: relative;
	display: inline-block;
	border-bottom: 3px solid #dc2626;
}


/* Remove the universal after elements for individual styling */



#home .hero-title::after {
	width: 120px;
	height: 4px;
	bottom: -16px;
}

/* Remove any underlines that might be applied */
.section-title::after,
#roadmap .section-title::after {
	display: none !important;
}

/* Remove any underlines that might be applied */
.section-title::after,
#roadmap .section-title::after {
	display: none !important;
}


.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}



/* Make sure section containers are properly centered */
#roadmap .site-container,
#join .site-container {
	text-align: center;
}

/* Ensure section-title within h2 is properly centered */
h2.section-title,
h2.text-center.section-title {
	display: block;
	width: 100%;
	text-align: center;
}

/* Ensure description text in join section is also properly centered */
#join .section-description {
	text-align: center;
	width: 100%;
	display: block;
}

.section-description {
	font-family: "Lato", serif;
	font-weight: 400;
	font-style: italic;
}

/* Modern Mobile-First Base Layout with CSS Custom Properties */
body {
	/* Mobile-first: Start with solid background for performance */
	background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
	color: var(--text-primary);
	position: relative;
	/* Prevent horizontal scrolling issues */
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
	/* Modern font rendering */
	font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
	text-rendering: optimizeSpeed;
	/* Performance hint */
	will-change: scroll-position;
}

/* Progressive enhancement for larger screens */
@media (min-width: 768px) and (min-height: 600px) {
	body {
		/* Only add background image on larger, more capable devices */
		background-image: url('background.jpg');
		background-attachment: fixed;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
}

/* Modern CSS Reset with Performance Optimizations */
*, *::before, *::after {
	box-sizing: border-box;
	/* Performance optimizations */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}

html {
	background-color: #000;
}

body {
	background-attachment: fixed;
	background-size: cover;
	background-color: #000;
}

/* Sections use consistent spacing - no negative margins needed */

/* Mobile-first container with improved touch targets */
.site-container {
	/* Mobile: Smaller padding for more content space */
	padding: 0 1rem;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: var(--z-section);
}

/* Tablet optimization */
@media (min-width: 640px) {
	.site-container {
		padding: 0 1.5rem;
	}
}

/* Desktop optimization */
@media (min-width: 1024px) {
	.site-container {
		max-width: var(--container-max-width);
		padding: 0 2rem;
	}
}

/* Mobile-first section layout */
section {
	/* Mobile: Shorter sections for smaller screens */
	min-height: 80vh;
	padding: var(--section-padding-mobile);
	position: relative;
	z-index: var(--z-base);
	/* Smooth performance on mobile */
	will-change: transform;
}

/* Progressive enhancement for larger screens */
@media (min-width: 768px) {
	section {
		min-height: 100vh;
		padding: var(--section-padding-tablet);
	}
}

@media (min-width: 1024px) {
	section {
		padding: var(--section-padding-desktop);
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	overflow: hidden;
	z-index: var(--z-base);
}

/* Modern Navigation - Mobile-First */
nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: var(--z-overlay);
	/* Mobile: Responsive height */
	height: 56px;
	padding: 0.75rem 1rem;
	/* Modern glass morphism effect */
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	/* Enhanced shadow for depth */
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	/* Smooth transitions */
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progressive enhancement for larger screens */
@media (min-width: 768px) {
	nav {
		height: 64px;
		padding: 0.75rem 2rem;
	}
}

/* Enhanced scroll-based navigation */
nav.scrolled {
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom-color: rgba(var(--primary-red), 0.3);
	transform: translateY(0);
}

/* Modern focus management for better accessibility */
nav:focus-within {
	background: rgba(0, 0, 0, 0.98);
}

/* Smooth scroll behavior with performance considerations */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 4rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.nav-link {
	position: relative;
	color: white;
	transition: color 0.3s;
	text-transform: uppercase;
	font-size: 1.25rem;
	padding-bottom: 4px;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #DC2626, #ffffff, #1E40AF);
	transition: width 0.3s ease;
}

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

.nav-link.active {
	color: #DC2626;
}

/* Section Styles */
/* Modern Mobile-First Hero Section */
#home {
	/* Mobile: Account for smaller nav and viewport */
	margin-top: 56px;
	padding: 2rem 0;
	width: 100%;
	/* Mobile: Use min-height with dynamic viewport units */
	min-height: calc(100vh - 56px);
	min-height: calc(100dvh - 56px); /* Modern dynamic viewport */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	/* Performance optimization */
	will-change: transform;
}

/* Progressive enhancement */
@media (min-width: 768px) {
	#home {
		margin-top: 64px;
		padding: 4rem 0;
		min-height: calc(100vh - 64px);
		min-height: calc(100dvh - 64px);
	}
}

@media (min-width: 1024px) {
	#home {
		height: 100vh;
		padding: 0;
	}
}

#home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url("pic1.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: var(--z-base);
}

#home .section-description {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	opacity: 0.9;
}

#home i {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#home .text-white {
	color: rgba(255, 255, 255, 0.95);
}

#home .site-container {
	position: relative;
	z-index: var(--z-section);
}

/* Enhanced Hero Section Components */
.hero-badge {
	display: inline-block;
	animation: heroGlow 2s ease-in-out infinite alternate;
}

.badge-text {
	background: linear-gradient(90deg, #DC2626, #ffffff, #1E40AF);
	color: #000;
	padding: 8px 20px;
	border-radius: 25px;
	font-weight: bold;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

@keyframes heroGlow {
	0% { transform: translateY(0px); }
	100% { transform: translateY(-3px); }
}

.value-prop-container {
	margin: 2rem auto;
}

.feature-pill {
	background: rgba(220, 38, 38, 0.2);
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s ease;
}

.feature-pill:hover {
	background: rgba(220, 38, 38, 0.3);
	transform: translateY(-2px);
}

.cta-section {
	margin: 2rem 0;
}

/* Modern CTA Button with Enhanced Mobile Support */
.cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-lg) var(--space-xl);
	border-radius: var(--radius-xl);
	font-weight: 600;
	font-size: var(--text-base);
	letter-spacing: 0.025em;
	transition: var(--transition-normal);
	text-decoration: none;
	min-width: 180px;
	min-height: 44px; /* WCAG touch target minimum */
	cursor: pointer;
	border: none;
	/* Modern focus states */
	focus-visible: {
		outline: 2px solid var(--primary-red);
		outline-offset: 2px;
	}
	/* Better text contrast */
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.cta-button.primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.cta-button.secondary {
	background: transparent;
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.social-section {
	padding: 1rem 0;
}

/* Enhanced Social Links with Modern Touch Support */
.social-link {
	color: rgba(255, 255, 255, 0.8);
	transition: var(--transition-normal);
	position: relative;
	padding: var(--space-md);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	/* Enhanced touch targets */
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* Modern focus states */
	focus-visible: {
		outline: 2px solid var(--primary-red);
		outline-offset: 2px;
	}
	/* Smooth transforms */
	will-change: transform, background-color;
}

.social-link:hover {
	color: #DC2626;
	background: rgba(220, 38, 38, 0.1);
	transform: translateY(-2px);
}

.contract-section {
	background: rgba(0, 0, 0, 0.3);
	padding: 1.5rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.copy-address-btn {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 6px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.copy-address-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.copy-success-message {
	color: #10B981;
	font-weight: bold;
	margin-top: 8px;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
	display: none;
}

.copy-success-message.show {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

/* Tooltip System */
.tooltip-trigger {
	position: relative;
	cursor: help;
	color: #9CA3AF;
	transition: color 0.3s ease;
}

.tooltip-trigger:hover {
	color: #DC2626;
}

.tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #1F2937;
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	white-space: nowrap;
	z-index: var(--z-tooltip);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	border: 1px solid rgba(220, 38, 38, 0.3);
}

.tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #1F2937;
}

.tooltip-trigger:hover .tooltip,
.social-link:hover .tooltip {
	opacity: 1;
	pointer-events: auto;
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
	position: relative;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #DC2626;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

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

/* Manual Copy Prompt */
.manual-copy-prompt {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-overlay);
	animation: fadeIn 0.3s ease;
}

.prompt-content {
	background: #1F2937;
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	border: 1px solid rgba(220, 38, 38, 0.3);
	max-width: 400px;
	width: 90%;
}

.manual-copy-input {
	width: 100%;
	padding: 10px;
	margin: 1rem 0;
	border: 1px solid #374151;
	border-radius: 6px;
	background: #111827;
	color: white;
	font-family: monospace;
	text-align: center;
}

.close-prompt {
	background: #DC2626;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 1rem;
}

.close-prompt:hover {
	background: #B91C1C;
}

#nfts {
	background: linear-gradient(to bottom, #1a1a1a 0%, #1a1a1a 40%, rgba(26, 26, 26, 0) 100%), linear-gradient(to right, #0a0a1f 0%, #0c2e61 50%, #0074D9 100%);
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	padding-bottom: 80px;
}

/* NFT Section styles */
#nfts .site-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

#nft-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 220px;
}

#nft-container {
	display: flex;
	width: max-content;
	animation: scrollNFTs 20s linear infinite;
}

.nft-image {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	margin-right: 10px;
}

#nft-hover-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 20;
	width: 100%;
	padding: 0 2rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	max-height: 100%;
	overflow: visible;
}

#nft-wrapper:hover #nft-hover-content {
	opacity: 1;
	pointer-events: auto;
}

#nfts h2 {
	margin-bottom: 1rem;
}

#nfts .space-y-2 {
	margin-bottom: 3rem;
}

@keyframes scrollNFTs {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

#nft-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: opacity 0.3s ease;
}

#nft-wrapper:hover #nft-overlay,
#nft-wrapper:hover #nft-hover-content {
	opacity: 1;
}

#nft-wrapper:hover .nft-image {
	filter: brightness(0.7);
}

.nft-hover-button {
	display: inline-block;
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	padding: 1rem 2rem;
	border-radius: 9999px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: none;
	margin-top: 1rem;
	cursor: pointer;
	transition: transform 0.3s ease;
	pointer-events: auto;
	white-space: nowrap;
	max-width: 100%;
}

.nft-hover-button:hover {
	transform: scale(1.05);
}

/* Fix NFT hover content on mobile */
@media (max-width: 767px) {
	#nft-hover-content {
		padding: 0 1rem;
	}
	
	#nft-hover-content h3 {
		font-size: clamp(1.5rem, 4vw, 2rem);
		margin-bottom: 0.5rem;
	}
	
	#nft-hover-content p {
		font-size: clamp(0.8rem, 2.5vw, 1rem);
		margin-bottom: 0.75rem;
	}
	
	.nft-hover-button {
		padding: 0.75rem 1.5rem;
		font-size: 0.8rem;
		margin-top: 0.5rem;
	}
}

/* Roadmap Section */
#roadmap {
	background: linear-gradient(to right, #0a0a1f 0%, #0c2e61 50%, #0074D9 100%);
	color: white;
	position: relative;
	overflow: hidden;
	margin-top: -1px;
}

#roadmap .section-description {
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

/* Roadmap section uses unified styling */
#roadmap .section-title {
	/* All styling handled by main .section-title rules */
}

/* Background particles */
.particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: var(--z-base);
}

.particle {
	position: absolute;
	width: 6px;
	height: 6px;
	background: #ffffff;
	border-radius: 50%;
	opacity: 0.2;
}

/* Timeline Container */
.roadmap-container {
	position: relative;
	margin-top: 5rem;
}

.timeline-track {
	position: absolute;
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: calc(100% - 100px);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	overflow: hidden;
}

.timeline-progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	z-index: var(--z-base);
	background: linear-gradient(to bottom, #DC2626, #1E40AF);
	border-radius: 3px;
	z-index: var(--z-base);
}

.step-item {
	display: flex;
	margin-bottom: 8rem;
	position: relative;
}

.step-item:nth-child(odd) {
	flex-direction: row;
}

.step-item:nth-child(even) {
	flex-direction: row-reverse;
}

.step-number-container {
	flex: 0 0 220px;
	position: relative;
}

.step-item:nth-child(odd) .step-number-container {
	text-align: right;
	padding-right: 4rem;
}

.step-item:nth-child(even) .step-number-container {
	text-align: left;
	padding-left: 4rem;
}

.step-number {
	font-size: 120px;
	font-weight: 900;
	font-family: 'Satoshi', sans-serif;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px rgba(220, 38, 38, 0.8);
	position: relative;
	display: inline-block;
}

.step-number::before {
	content: attr(data-number);
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	color: #DC2626;
	-webkit-text-stroke: 0;
	overflow: hidden;
	transition: width 0.5s ease;
}

.step-item.active .step-number::before {
	width: 100%;
}

.step-content {
	flex: 0 1 50%;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	position: relative;
	overflow: hidden;
	z-index: var(--z-section);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(30, 64, 175, 0.1));
	z-index: -1;
}

.step-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-family: 'Satoshi', sans-serif;
	background: linear-gradient(to right, #ffffff, #DC2626);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.completed-tag {
	display: inline-block;
	padding: 4px 12px;
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	border-radius: 12px;
	font-size: 0.8rem;
	text-transform: uppercase;
	font-family: 'Satoshi', sans-serif;
	font-weight: 700;
	margin-bottom: 1rem;
	transform-origin: left;
}

.step-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.connector {
	position: absolute;
	top: 50%;
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.step-item:nth-child(odd) .connector {
	left: 50%;
	transform: translateX(-100%);
}

.step-item:nth-child(even) .connector {
	right: 50%;
	transform: translateX(0);
}

.step-marker {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	border: 3px solid rgba(255, 255, 255, 0.3);
	z-index: var(--z-nav);
}

.step-marker::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #DC2626;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.step-item.active .step-marker::before {
	opacity: 1;
}

.step-item.active .step-content {
	box-shadow: 0 0 30px rgba(220, 38, 38, 0.15);
}

.step-item.active .step-content:hover {
	transform: scale(1.02);
	box-shadow: 0 0 40px rgba(220, 38, 38, 0.25);
}

/* Talon Tales Section */
#talonstales {
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	background: linear-gradient(to right, #0a0a1f 0%, #0c2e61 50%, #0074D9 100%);
	background-image: linear-gradient(to bottom, rgba(10, 10, 31, 1) 0%, rgba(30, 64, 175, 0.8) 20%, rgba(220, 38, 38, 1) 40%, rgba(220, 38, 38, 1) 60%, #000000 85%, #000000 100%);
	background-blend-mode: overlay;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* Use consistent section padding from variables */
}

#talonstales .site-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 2rem;
}

.stars-container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
}

.star {
	position: absolute;
	background-color: #fff;
	border-radius: 50%;
	opacity: 0;
}

.patriotic-strips {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	display: flex;
	z-index: var(--z-base);
}

.strip {
	height: 100%;
	flex: 1;
}

.strip-red {
	background-color: #DC2626;
}

.strip-white {
	background-color: #ffffff;
}

.strip-blue {
	background-color: #1E40AF;
}

.patriotic-strips-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
	display: flex;
	z-index: var(--z-base);
}

.tales-header {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
}

/* Tales header uses unified styling */
.tales-header h1 {
	/* All styling handled by main .section-title rules */
}

.tales-header p {
	text-align: left;
	padding-left: calc(2rem + (100% - 1200px) / 2 + 10px);
	margin-bottom: 20px;
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 1);
	position: relative;
	z-index: 3;
}

.chapter-indicator {
	display: block;
	margin: 0 auto 20px auto;
	background: linear-gradient(90deg, #DC2626, #ffffff, #1E40AF);
	padding: 5px 15px;
	border-radius: 15px;
	font-weight: bold;
	font-size: 0.9rem;
	color: #000;
	width: fit-content;
}

.tt-site-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	position: relative;
	z-index: var(--z-section);
	margin-top: 30px;
}

.tt-story-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	position: relative;
	padding: 0 15px;
}

.tt-story-text {
	padding: 25px;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.tt-story-text::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(to right, #DC2626, #ffffff, #1E40AF);
}

.tt-story-text p {
	margin-bottom: 20px;
	font-size: 1.2rem;
	line-height: 1.8;
	opacity: 0;
	transform: translateY(20px);
}

.tt-story-text p:last-child {
	margin-bottom: 0;
}

.story-media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transform: translateX(0);
	opacity: 1;
	width: 100%;
	max-width: 500px;
	height: 300px;
	margin: 0 auto 30px auto;
}

.story-video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 20px;
}

.media-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.3), rgba(30, 64, 175, 0.3));
	pointer-events: none;
	border-radius: 20px;
}

.story-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0;
}

.story-text {
	flex: 1;
	text-align: left;
	font-size: 1.1rem;
	line-height: 1.8;
	color: #ffffff;
}

.story-image {
	flex: 1;
	max-width: 500px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.tales-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	width: 100%;
	margin-top: 30px;
	padding: 0 20px;
}

.tales-nav-btn {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	backdrop-filter: blur(20px);
	border: 2px solid transparent;
	background-clip: padding-box;
	color: white;
	border-radius: 16px;
	width: 56px;
	height: 56px;
	font-size: 20px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.tales-nav-btn::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #DC2626, #ffffff, #1E40AF, #DC2626);
	border-radius: 18px;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.tales-nav-btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 
		0 12px 48px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.tales-nav-btn:hover::before {
	opacity: 0;
}

.tales-nav-btn:active {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.tales-nav-btn:active::before {
	opacity: 1;
	animation: borderRotate 0.3s linear;
}

.tales-nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: none;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tales-nav-btn:disabled:hover {
	transform: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.tales-nav-btn:disabled::before {
	opacity: 0;
}

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

.tales-indicators {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.tale-indicator {
	width: 20px;
	height: 20px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	background: none;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tale-indicator::before {
	content: '★';
	font-size: 18px;
	color: rgba(255, 255, 255, 0.4);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.tale-indicator:hover::before {
	color: rgba(255, 255, 255, 0.7);
	transform: scale(1.2);
	text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.tale-indicator.active::before {
	color: #DC2626;
	background: linear-gradient(45deg, #DC2626, #ffffff, #1E40AF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transform: scale(1.3);
	text-shadow: 0 0 16px rgba(220, 38, 38, 0.6);
	animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
	0%, 100% { transform: scale(1.3); }
	50% { transform: scale(1.4); }
}

/* Chapter Content Switching */
.chapter-content {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.chapter-content.active {
	display: flex;
	opacity: 1;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	position: relative;
	padding: 0 15px;
}

/* Ensure consistent styling for all chapter content */
.chapter-content .tt-story-text {
	padding: 25px;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.chapter-content .story-media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transform: translateX(0);
	opacity: 1;
	width: 100%;
	max-width: 500px;
	height: 300px;
	margin: 0 auto 30px auto;
}

/* Rocket Fuel Section */
#rocketfuel {
	background: linear-gradient(to bottom, #000000 0%, #4B5563 50%, #4B5563 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: -1px;
}

/* Enhanced Rocket Fuel Components */
.balance-checker-container {
	background: rgba(0, 0, 0, 0.4);
	padding: 2rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	margin-bottom: 2rem;
	/* Fix mobile overflow */
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

/* Mobile optimization for balance checker */
@media (max-width: 640px) {
	.balance-checker-container {
		padding: 1.25rem;
		margin: 0 0.5rem 2rem 0.5rem;
		max-width: calc(100vw - 1rem);
	}
}

.input-group {
	position: relative;
}

.balance-input {
	width: 100%;
	padding: 14px 16px;
	background: rgba(17, 24, 39, 0.8);
	border: 2px solid rgba(107, 114, 128, 0.3);
	border-radius: 8px;
	color: white;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.balance-input:focus {
	outline: none;
	border-color: #DC2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.balance-input::placeholder {
	color: rgba(156, 163, 175, 0.7);
}

.input-help-text {
	font-size: 0.8rem;
	color: rgba(156, 163, 175, 0.8);
	margin-top: 4px;
	text-align: center;
}

/* Shared button styles */
.balance-check-btn, .stake-btn {
	width: 100%;
	max-width: 500px; /* optional: ensures same width */
	height: 50px; /* fixed height for matching size */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: var(--space-lg) var(--space-xl);
	border-radius: var(--radius-lg);
	font-weight: 600;
	font-size: var(--text-base);
	cursor: pointer;
	border: none;
	transition: var(--transition-normal);
	box-shadow: var(--shadow-md);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	will-change: transform, box-shadow;
}

/* Specific colors */
.balance-check-btn {
	background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
	color: var(--text-primary);
}

.stake-btn {
	background: linear-gradient(90deg, #DC2626, #1D4ED8);
	color: white;
}

/* Hover states */
.balance-check-btn:hover, .stake-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Loading spinner stays centered */
.balance-check-btn .loading-spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

.balance-check-btn.loading .btn-text {
	opacity: 0; /* fade text out, don’t remove it */
}

.balance-check-btn.loading .loading-spinner {
	display: block !important;
}


.balance-result {
	animation: slideInUp 0.3s ease-out;
}

.result-card {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
	border: 1px solid rgba(16, 185, 129, 0.3);
	padding: 1.5rem;
	border-radius: 12px;
	text-align: center;
}

.error-message {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #FCA5A5;
	padding: 12px 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	animation: shake 0.5s ease-in-out;
}

/* Only unique visual styles for stake button */
.stake-btn {
	background: linear-gradient(90deg, #DC2626, #1D4ED8);
	color: white;
}

.stake-btn:hover {
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}


.staking-info-card {
	background: rgba(0, 0, 0, 0.4);
	padding: 2rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	max-width: 600px;
	margin: 0 auto;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-of-type {
	border-bottom: none;
}

.staking-address {
	background: rgba(17, 24, 39, 0.6);
	color: #FCA5A5;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.9rem;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.copy-button-small {
	background: rgba(220, 38, 38, 0.2);
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: white;
	padding: 8px 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.copy-button-small:hover {
	background: rgba(220, 38, 38, 0.3);
	transform: scale(1.05);
}

.info-value {
	color: #10B981;
	font-weight: 600;
}

.warning-box, .success-box {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border-radius: 8px;
	margin-top: 16px;
}

.warning-box {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.warning-box i {
	color: #FCA5A5;
	margin-top: 2px;
}

.success-box {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-box i {
	color: #6EE7B7;
	margin-top: 2px;
}

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

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

/* Join Section */
#join {
	background: linear-gradient(to bottom, #4B5563 0%, #000000 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#join .section-description {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	opacity: 0.9;
	font-size: 1.2rem;
	margin-bottom: 3rem;
	font-style: italic;
}

/* FAQ Accordion Styles */
.accordion {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.accordion-item {
	background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.9));
	border-radius: 1rem;
	border: 1px solid rgba(220, 38, 38, 0.2);
	overflow: hidden;
	transition: all 0.4s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.accordion-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
	border-color: rgba(220, 38, 38, 0.4);
}

.accordion button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	width: 100%;
	padding: 2rem;
	color: white;
	font-size: 1.25rem;
	font-weight: 600;
	border: none;
	background: transparent;
	outline: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Satoshi', sans-serif;
}

.accordion button:hover {
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(30, 64, 175, 0.1));
}

.accordion button[aria-expanded="true"] {
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(30, 64, 175, 0.15));
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion button .icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(220, 38, 38, 0.2);
	border-radius: 50%;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.accordion button:hover .icon {
	background: rgba(220, 38, 38, 0.4);
	transform: scale(1.1);
}

.accordion button[aria-expanded="true"] .icon {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	transform: rotate(180deg);
}

.accordion button .plus {
	display: block;
	font-size: 1.2rem;
	font-weight: bold;
	color: white;
	transition: all 0.3s ease;
}

.accordion button .minus {
	display: none;
	font-size: 1.2rem;
	font-weight: bold;
	color: white;
	transition: all 0.3s ease;
}

.accordion button[aria-expanded="true"] .plus {
	display: none;
}

.accordion button[aria-expanded="true"] .minus {
	display: block;
}

.accordion-content {
	padding: 0 2rem;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: rgba(0, 0, 0, 0.2);
}

.accordion button[aria-expanded="true"] + .accordion-content {
	padding: 0 2rem 2rem 2rem;
	max-height: 300px;
}

.accordion-content p {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	font-size: 1.1rem;
	font-family: "Lato", serif;
	margin: 1rem 0;
}

.accordion-content a {
	color: #DC2626;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.accordion-content a:hover {
	color: #1E40AF;
	text-decoration: underline;
}

.accordion-title {
	font-weight: 700;
	flex: 1;
	margin-right: 1rem;
}

/* Modern Footer */
.modern-footer {
	background: linear-gradient(135deg, #000000 0%, #111111 100%);
	border-top: 1px solid rgba(220, 38, 38, 0.2);
	position: relative;
	z-index: 50;
}

/* Fix red line opacity on mobile */
@media (max-width: 767px) {
	.modern-footer {
		border-top: 1px solid rgba(220, 38, 38, 0.3);
	}
}

/* Fix red line opacity on tablet */
@media (min-width: 768px) and (max-width: 1023px) {
	.modern-footer {
		border-top: 1px solid rgba(220, 38, 38, 0.2);
	}
}

.footer-content {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 4rem 2rem 2rem;
}

.footer-main {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
	display: flex;
	flex-direction: column;
}

.brand-logo {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.brand-image {
	width: 48px;
	height: 48px;
	border-radius: 12px;
}

.brand-name {
	font-family: 'Lato', sans-serif;
	font-size: 1.5rem;
	font-weight: 300;
	color: #ffffff;
	margin: 0;
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

	

.brand-tagline {
	font-family: "Lato", serif;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0.25rem 0 0 0;
	font-style: italic;
}

/* Links Section */
.links-title {
	font-family: 'Satoshi', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: white;
	margin: 0 0 1rem 0;
	opacity: 0.9;
}

.links-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.9rem;
	font-family: "Lato", serif;
	transition: all 0.3s ease;
	padding: 0.25rem 0;
	border-bottom: 1px solid transparent;
}

.footer-link:hover {
	color: #DC2626;
	border-bottom-color: rgba(220, 38, 38, 0.3);
	transform: translateX(4px);
}

/* Social Section */
.social-title {
	font-family: 'Satoshi', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: white;
	margin: 0 0 1rem 0;
	opacity: 0.9;
}



.social-link {
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.2rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(30, 64, 175, 0.2));
	border-color: rgba(220, 38, 38, 0.4);
	color: white;
	transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.5rem;
}

.copyright {
	font-family: "Lato", serif;
	font-size: clamp(0.65rem, 2vw, 0.85rem);
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	margin-bottom: 0.25rem;
	white-space: nowrap;
	line-height: 1;
	display: flex;
	align-items: baseline;
}

.tagline {
	font-family: "Lato", serif;
	font-size: clamp(0.65rem, 2vw, 0.85rem);
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
	margin-bottom: 0.25rem;
	white-space: nowrap;
	line-height: 1;
	display: flex;
	align-items: baseline;
}

/* Copy functionality styles */
.copy-button {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	cursor: pointer;
	font-size: 0.875rem;
	transition: transform 0.2s ease;
}

.copy-button:hover {
	transform: scale(1.05);
}

.copy-button:active {
	transform: scale(0.95);
}

/* Modern Mobile-First Responsive Design */

/* Mobile Base Styles (320px and up) - Restored Working Timeline */
.roadmap-container {
	padding-left: 30px;
}

.timeline-track {
	left: 15px;
	transform: none;
}

.step-item {
	flex-direction: column !important;
	margin-bottom: 4rem;
	padding-left: 2rem;
}

.step-number-container {
	flex: 0 0 auto;
	width: 100%;
	text-align: left !important;
	padding: 0 !important;
	margin-bottom: 1rem;
}

.step-number {
	font-size: 80px;
}

.step-content {
	width: 100%;
}

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

.step-description {
	font-size: 1rem;
	line-height: 1.6;
}

.connector {
	display: none;
}

.step-marker {
	left: 15px;
}

.tt-story-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.tt-story-text {
	padding: 1.5rem;
}

.story-media {
	transform: translateX(0);
	border-radius: 1rem;
	overflow: hidden;
}

/* Tales header responsive sizing handled by main rules */

.tales-header {
	margin-bottom: 2rem;
	padding: 0 1rem;
}

.tales-header p {
	text-align: center;
	padding: 0;
	font-size: clamp(1rem, 3vw, 1.5rem);
	line-height: 1.6;
}

/* Modern Navigation */
.desktop-nav {
	display: none;
}

.mobile-nav {
	display: block;
}

/* Enhanced Modal for Mobile */
.modal-content {
	width: 95%;
	margin: 5% auto;
	padding: 1.5rem;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 1rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	max-width: calc(100vw - 2rem);
	box-sizing: border-box;
}

.modal-content a {
	word-break: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Desktop Footer Social Styles */
.footer-social {
  order: 4;
  width: 100%;
}

.social-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem 0;
  opacity: 0.9;
  text-align: center;
}

.footer-social .social-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
  width: 100% !important;
}

/* Mobile Footer - Single Column Minimalist */
@media (max-width: 767px) {
	.footer-content {
		padding: 2rem 1rem 1rem;
		max-width: 400px;
		margin: 0 auto;
	}

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

	/* Logo Section - Top Center */
	.footer-brand {
		order: 1;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.brand-logo {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-bottom: 0.5rem;
		width: 100%;
		gap: 0.5rem;
	}
	
	.brand-text {
		text-align: center;
		width: 100%;
	}
	
	.brand-image {
		width: 48px;
		height: 48px;
	}
	
	.brand-name {
		font-size: 1.3rem;
		text-align: center;
		width: 100%;
		margin: 0;
	}
	
	.brand-tagline {
		font-size: 0.85rem;
		margin: 0.25rem 0 0 0;
		text-align: center;
		width: 100%;
	}

	/* Social Links - Mobile specific styles will be in separate media query */



.social-link {
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  font-size: 1.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto; /* center horizontally in vertical stack */
}

.social-link:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-3px);
}

/* Trading Links - Compact List */
.footer-links {
  order: 3;
  width: 100%;
}

.links-title {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-link {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  min-width: 140px;
  text-align: center;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateY(-1px);
}

/* Mobile view overrides */
@media (max-width: 767px) {
  /* Social icons horizontal on mobile */
  .footer-social .social-links {
    flex-direction: row !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    max-width: none !important;
  }

  /* Keep icon size and remove centering for horizontal layout */
  .social-link {
    margin: 0; /* reset margin */
  }

  /* Maintain order: social below trading on mobile */
  .footer-social {
    order: 4 !important;
    margin-top: 2rem;
  }

  .footer-links {
    order: 3 !important;
  }
}


	/* Bottom Copyright - Minimal */
	.footer-bottom {
		margin-top: 2rem;
		padding-top: 1.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		text-align: center;
	}
	
	.copyright {
		font-size: 0.7rem;
		opacity: 0.7;
		margin: 0;
		margin-bottom: 0.25rem;
	}
	
	.tagline {
		font-size: 0.7rem;
		opacity: 0.7;
		font-style: italic;
		margin: 0;
		margin-bottom: 0.25rem;
	}
}

/* Tablet Optimization (640px and up) */
@media (min-width: 640px) {
	.roadmap-container {
		padding: 0 2rem;
	}
	
	.step-item {
		margin-bottom: 4rem;
	}
	
	.tt-story-text {
		padding: 2rem;
	}
	
	.tales-header {
		margin-bottom: 2.5rem;
	}
	
	.modal-content {
		width: 85%;
		padding: 2rem;
	}
	
	.footer-main {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

/* Desktop Transition (768px and up) */
@media (min-width: 768px) {
	.desktop-nav {
		display: flex;
	}
	
	.mobile-nav {
		display: none;
	}
	
	.roadmap-container {
		padding-left: 30px;
	}
	
	.timeline-track {
		left: 50%;
		transform: translateX(-50%);
	}
	
	.step-item {
		flex-direction: row !important;
		margin-bottom: 8rem;
		padding-left: 0;
	}
	
	.step-item:nth-child(even) {
		flex-direction: row-reverse !important;
	}
	
	.step-number-container {
		flex: 0 0 220px;
		width: auto;
		text-align: right !important;
		padding-right: 4rem !important;
		margin-bottom: 0;
	}
	
	.step-item:nth-child(even) .step-number-container {
		text-align: left !important;
		padding-left: 4rem !important;
		padding-right: 0 !important;
	}
	
	.step-content {
		flex: 0 1 50%;
		width: auto;
	}
	
	.step-number {
		font-size: 120px;
	}
	
	.step-title {
		font-size: 2.5rem;
	}
	
	.connector {
		display: block;
	}
	
	.step-marker {
		left: 50%;
		transform: translate(-50%, 0);
	}
	
	.tales-header p {
		text-align: left;
		padding-left: calc(2rem + (100% - 1200px) / 2 + 10px);
	}
	
	.modal-content {
		width: 70%;
		max-width: 600px;
	}
	
	.footer-main {
		grid-template-columns: 2fr 1fr 1fr;
		text-align: left;
	}
	
	.brand-logo {
		justify-content: flex-start;
	}
	

	
	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

/* Small mobile screens */
@media (max-width: 480px) {
	.step-number {
		font-size: 60px;
	}

	.step-title {
		font-size: 1.5rem;
	}

	.step-description {
		font-size: 1rem;
	}
	.story-media {
		height: clamp(200px, 50vw, 300px);
		border-radius: 0.75rem;
	}
	
	.tales-nav-btn {
		width: 48px;
		height: 48px;
		font-size: 18px;
		border-radius: 14px;
	}
	
	.tales-nav-btn:hover::before {
		animation: none;
	}
	
	.tales-nav-btn:active::before {
		animation: borderRotate 0.3s linear;
	}
	
	.tales-nav-btn:focus {
		outline: none;
	}
	
	.tales-nav-btn:focus::before {
		animation: none;
		opacity: 0;
	}
	
	.tales-nav {
		gap: 1rem;
		padding: 0 1rem;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	/* Enhanced accordion for small screens */
	.accordion button {
		padding: 1.25rem 1rem;
		font-size: clamp(1rem, 3vw, 1.125rem);
		min-height: 44px; /* Touch target minimum */
	}
	
	.accordion-content {
		padding: 0 1rem;
	}
	
	.accordion button[aria-expanded="true"] + .accordion-content {
		padding: 1rem;
	}
	
	/* Improved touch targets for interactive elements */
	.social-link {
		min-width: 44px;
		min-height: 44px;
		padding: 0.75rem;
	}
	
	.copy-button, .copy-button-small {
		min-width: 44px;
		min-height: 44px;
		padding: 0.75rem 1rem;
	}

	footer ul {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}
	
	/* Better spacing for small screens */
	.balance-checker-container {
		padding: 1.25rem;
		margin: 0 0.5rem;
		max-width: calc(100vw - 1rem);
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.staking-info-card {
		padding: 1rem;
		margin: 0 0.5rem;
		max-width: calc(100vw - 1rem);
		box-sizing: border-box;
		overflow: hidden;
	}
	
	/* Fix address display on very small screens */
	.staking-address {
		font-size: 0.7rem !important;
		padding: 6px 8px !important;
		line-height: 1.2;
		word-break: break-all;
	}
	
	/* Better info item layout on small screens */
	.info-item {
		padding: 8px 0;
		text-align: left;
	}
	
	.info-item .flex {
		flex-wrap: wrap;
		gap: 0.5rem;
		align-items: flex-start;
	}
	
	/* Fix contract address display */
	.contract-address {
		font-size: 0.75rem !important;
		padding: 0.5rem !important;
		word-break: break-all;
		max-width: 100%;
		text-align: center;
		line-height: 1.3;
	}
	
	/* Fix button spacing in contract section */
	.contract-section .flex {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}
	
	/* Optimized hero section for very small screens */
	#home {
		padding: 1.5rem 0;
	}
	
	/* Better modal on small screens */
	.modal-content {
		width: 98%;
		margin: 1% auto;
		padding: 1.25rem;
		max-height: 95vh;
		border-radius: 0.75rem;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Patriotic Ticker Styles */
.patriotic-ticker {
	background: linear-gradient(90deg, #DC2626, #ffffff, #1E40AF);
	height: 50px;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	z-index: var(--z-nav);
}

.ticker-wrap {
	height: 100%;
	padding: 0;
	margin: 0;
}

.ticker {
	display: inline-flex;
	white-space: nowrap;
	animation: ticker 40s linear infinite;
}

.ticker-set {
	display: inline-flex;
	white-space: nowrap;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	font-family: 'Satoshi', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	color: #000;
	letter-spacing: 0.1em;
	font-size: 1.5rem;
	line-height: 50px;
}

.ticker-item .ticker-text {
	margin: 0 1.5rem;
}

.ticker-item .ticker-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 1.5rem;
}

.ticker-item .fa-star {
	font-size: 20px;
	line-height: 1;
}

@keyframes ticker {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Mobile ticker adjustments */
@media screen and (max-width: 768px) {
	.ticker {
		animation: ticker 30s linear infinite; /* Slightly slower on mobile - was 25s */
	}
	
	.ticker-item .ticker-text {
		margin: 0 10px; /* Tighter gaps between text and stars on mobile - was 1.5rem */
	}
	
	.ticker-item .ticker-star {
		margin: 0 10px; /* Tighter gaps between text and stars on mobile - was 1.5rem */
	}
	
	.desktop-only {
		display: none; /* Hide "The" in "Patriots Club" on mobile */
	}
}

/* Jump to Top Button */
.jump-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 1.2rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: var(--z-tooltip);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.jump-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.jump-to-top:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: var(--z-tooltip);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
	background-color: #1a1a1a;
	margin: 5% auto;
	padding: 2rem;
	border: none;
	border-radius: 1rem;
	width: 90%;
	max-width: 600px;
	color: white;
	position: relative;
	overflow-wrap: break-word;
	word-wrap: break-word;
	box-sizing: border-box;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 1rem;
	right: 1.5rem;
}

/* Fix modal close button on mobile - move below nav */
@media (max-width: 767px) {
	.close {
		top: 4rem;
	}
}

.close:hover,
.close:focus {
	color: #DC2626;
	text-decoration: none;
}

/* Progress Indicator for Modal */
.progress-container {
	background: rgba(0, 0, 0, 0.3);
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-steps {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	max-width: 450px;
	margin: 0 auto;
	gap: 1rem;
}

.progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	z-index: var(--z-section);
	flex: 1;
	min-width: 0;
	max-width: 120px;
}

.progress-step .step-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(107, 114, 128, 0.3);
	color: rgba(156, 163, 175, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transition: all 0.3s ease;
	border: 2px solid rgba(107, 114, 128, 0.3);
	font-size: 0.85rem;
	flex-shrink: 0;
}

.progress-step .step-label {
	font-size: 0.7rem;
	color: rgba(156, 163, 175, 0.8);
	text-align: center;
	font-weight: 500;
	transition: color 0.3s ease;
	line-height: 1.3;
	word-break: break-word;
	hyphens: auto;
}

.progress-step.active .step-number {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border-color: #DC2626;
	transform: scale(1.1);
}

.progress-step.active .step-label {
	color: white;
	font-weight: 600;
}

.progress-step.completed .step-number {
	background: #10B981;
	color: white;
	border-color: #10B981;
}

.progress-step.completed .step-number::after {
	content: '✓';
	font-size: 0.8rem;
}

.progress-step.completed .step-label {
	color: #10B981;
}

.progress-line {
	flex: 1;
	height: 2px;
	background: rgba(107, 114, 128, 0.3);
	margin: 0 1rem;
	position: relative;
	overflow: hidden;
}

.progress-line::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	transition: width 0.5s ease;
}

/* Clean Staking Modal Styles - No Numbers */
.staking-instructions {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.instruction-card {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.instruction-card:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(220, 38, 38, 0.3);
	transform: translateY(-2px);
}

.instruction-header {
	margin-bottom: 1rem;
}

.instruction-header h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: white;
	display: flex;
	align-items: center;
}

.instruction-content p {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin: 0 0 1rem 0;
}

.trustline-link {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #1D4ED8, #DC2626);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.trustline-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #1E40AF, #EF4444);
}

.staking-address-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}

.staking-address-display {
	background: rgba(0, 0, 0, 0.4);
	color: #FCA5A5;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-family: monospace;
	font-size: 0.9rem;
	border: 1px solid rgba(239, 68, 68, 0.3);
	word-break: break-all;
	width: 100%;
	text-align: center;
}

.copy-staking-btn {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
}

.copy-staking-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.copy-success {
	color: #10B981;
	font-weight: 500;
	display: flex;
	align-items: center;
	margin-top: 0.5rem;
}

/* Success Information Section */
.success-info {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.success-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.success-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #10B981;
}

.reward-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.reward-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.reward-item i {
	font-size: 1.1rem;
	margin-top: 0.1rem;
	flex-shrink: 0;
}

.reward-item p {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0;
}

/* Important Information Section */
.staking-important {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 12px;
	padding: 1.5rem;
}

.important-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.important-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #60A5FA;
}

.info-grid {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
	border-bottom: none;
}

.info-item .label {
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
}

.info-item .value {
	color: white;
	font-weight: 600;
}

.info-item.warning .value {
	color: #FCA5A5;
}

.unstaking-info h4 {
	color: white;
	font-size: 1.1rem;
	margin: 0 0 0.75rem 0;
}

.unstaking-info ul {
	margin: 0;
	padding-left: 1.5rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
}

.unstaking-info li {
	margin-bottom: 0.5rem;
}

/* Mobile optimizations for staking modal */
@media (max-width: 640px) {
	.staking-address-container {
		align-items: stretch;
	}
	
	.copy-staking-btn {
		width: 100%;
		justify-content: center;
	}
	
	.info-grid {
		gap: 0.5rem;
	}
	
	.info-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		padding: 0.75rem 0;
	}
}

/* Welcome Guide for New Users */
.welcome-guide {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-overlay);
	animation: fadeIn 0.5s ease;
	overflow-y: auto;
	padding: 2rem 1rem;
}

.welcome-guide.hidden {
	display: none !important;
}

.welcome-content {
	background: linear-gradient(135deg, #1F2937, #374151);
	border-radius: 16px;
	padding: 2rem;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	position: relative;
	border: 1px solid rgba(220, 38, 38, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	overflow-y: auto;
	margin: auto;
}

.close-welcome {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s ease;
}

.close-welcome:hover {
	color: #DC2626;
}

.welcome-header {
	text-align: center;
	margin-bottom: 2rem;
}

.patriot-logo {
	margin-bottom: 1rem;
}

.welcome-header h3 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: white;
}

.welcome-header p {
	color: rgba(255, 255, 255, 0.7);
}

.welcome-steps {
	margin-bottom: 2rem;
}

.welcome-step {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding: 1rem;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease;
}

.welcome-step:hover {
	background: rgba(0, 0, 0, 0.3);
}

.step-icon {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.step-content h4 {
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: white;
}

.step-content p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	line-height: 1.4;
}

.step-content a {
	color: #DC2626;
	text-decoration: underline;
}

.welcome-actions {
	text-align: center;
}

.welcome-btn {
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0 8px;
	display: inline-flex;
	align-items: center;
}

.welcome-btn.primary {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
}

.welcome-btn.primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.welcome-btn.secondary {
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.welcome-btn.secondary:hover {
	background: rgba(255, 255, 255, 0.1);
}

.dont-show-again {
	display: block;
	margin-top: 1rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	cursor: pointer;
}

.dont-show-again input {
	margin-right: 8px;
}

/* Tour System */
.tour-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: var(--z-overlay);
	pointer-events: none;
}

.tour-highlight {
	position: absolute;
	border: 3px solid #DC2626;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
	pointer-events: none;
	transition: all 0.3s ease;
}

.tour-tooltip {
	position: absolute;
	background: #1F2937;
	border-radius: 12px;
	padding: 1.5rem;
	max-width: 300px;
	border: 1px solid rgba(220, 38, 38, 0.3);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	pointer-events: auto;
}

.tour-tooltip::after {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-top-color: #1F2937;
}

.tour-content h4 {
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: white;
}

.tour-content p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1rem;
	line-height: 1.4;
}

.tour-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tour-btn {
	background: linear-gradient(90deg, #DC2626, #1E40AF);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

.tour-btn:hover {
	opacity: 0.9;
}

.tour-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.tour-skip {
	background: none;
	color: rgba(255, 255, 255, 0.6);
	border: none;
	cursor: pointer;
	font-size: 0.8rem;
}

.tour-skip:hover {
	color: white;
}

#tourProgress {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
}