:root {
	--bgPrimary: #0f0f14;
	--bgSecondary: #181824;
	--textPrimary: #ffffff;
	--accentGradient: linear-gradient(45deg, #ff3c00, #b100ff);
	--borderSubtle: rgba(255,255,255,0.1);
}

html[dataTheme="light"] {
	--bgPrimary: #ffffff;
	--bgSecondary: #f3f3f8;
	--textPrimary: #111111;
	--borderSubtle: rgba(0,0,0,0.1);
}

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

body {
	font-family: system-ui, sans-serif;
	background: var(--bgPrimary);
	color: var(--textPrimary);
	transition: background 0.3s ease, color 0.3s ease;
}

p {
	margin-top: .5rem;
	margin-bottom: .75rem;
	line-height: 1.5rem;
}

.container {
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
}

.narrow {
	max-width: 700px;
}

.siteHeader {
	position: fixed;
	width: 100%;
	backdrop-filter: blur(12px);
	background: var(--bgPrimary);
	border-bottom: 1px solid var(--borderSubtle);
	z-index: 10;
}

.headerInner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.siteLogo {
	max-height: 50vh;
	/*min-height: 200px;*/
	max-width: 100vw;
}

.siteHeader .siteLogo {
	max-height: 48px;
	min-height: 48px;
}

.mainNav {
	margin-left: 3em;
}

.mainNav a {
	margin-right: 1rem;
	text-decoration: none;
	color: var(--textPrimary);
}

.themeToggle {
	background: none;
	border: none;
	color: var(--textPrimary);
	cursor: pointer;
}

.heroSection {
	padding: 180px 0 120px;
	text-align: center;
}

.heroSection h1 {
	font-size: 3rem;
	background: var(--accentGradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

h2, h3, a {
	background: var(--accentGradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;		
}

.primaryButton {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 0.8rem 2rem;
	border-radius: 30px;
	background: var(--accentGradient);
	color: white;
	text-decoration: none;
}

.contentSection {
	padding: 120px 0;
}

.accentSection {
	background: var(--bgSecondary);
}

.mantra {
	margin-top: 1rem;
	font-weight: bold;
}

.claimGrid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.claimCard {
	padding: 2rem;
	border: 1px solid var(--borderSubtle);
	border-radius: 16px;
}

.claimForm {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

input, textarea {
	padding: 0.7rem;
	border-radius: 8px;
	border: 1px solid var(--borderSubtle);
	background: transparent;
	color: var(--textPrimary);
}

button {
	padding: 0.7rem;
	border-radius: 8px;
	border: none;
	background: var(--accentGradient);
	color: white;
	cursor: pointer;
}

.siteFooter {
	padding: 2rem 0;
	text-align: center;
	border-top: 1px solid var(--borderSubtle);
}

.animatedBackground {
	position: fixed;
	inset: 0;
	z-index: -2;
	background: linear-gradient(-45deg, #ff3c00, #b100ff, #1a1a25, #0f0f14);
	background-size: 400% 400%;
	animation: gradientFlow 15s ease infinite;
	opacity: 0.15;
}

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

.claimCard:hover,
.primaryButton:hover,
.primaryButton.active
button:hover {
	box-shadow: 0 0 20px #b100ff;
	transform: translateY(-4px);
	transition: all 0.3s ease;
}

.manifestoLine {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s ease;
}

.manifestoLine.visible {
	opacity: 1;
	transform: translateY(0);
}

.customCursor {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	background: radial-gradient(circle, #ff3c00, #b100ff);
	mix-blend-mode: difference;
	transform: translate(-50%, -50%);
	z-index: 999;
}

.zoomiesActive {
	animation: zoomiesShake 0.2s infinite alternate;
}

/*@keyframes zoomiesShake {
	from { transform: rotate(-1deg); }
	to { transform: rotate(1deg); }
}*/

#particleCanvas {
	position: fixed;
	inset: 0;
	z-index: -3;
	pointer-events: none;
}

html {
	scroll-behavior: auto;
}

.siteHeader a {
	cursor: pointer;
}

.columns {
	display: flex;
	justify-content: space-evenly;
}

ul li {
	list-style-position: inside;
}

h2 {
	margin: .5rem 0;
	padding-top: 1rem;
}

#connect input, #connect textarea {
	width: 100%;
	margin-bottom: .75rem;
}

#connect textarea {
	height: 10rem;
}

#connect #connectBox {
	width: 35px;
	margin-bottom: .75rem;
}

#connect button {
	display: block;
	margin-top: .75rem;
	margin-left: auto;
}

/* Smooth pulse animation */
@keyframes gentlePulse {
	0%	 { transform: scale(1);		 color: #fff; }
	25%	{ transform: scale(1.05);	color: #ff3c00; }
	50%	{ transform: scale(1.03);	color: #b100ff; }
	75%	{ transform: scale(1.05);	color: #ff3c00; }
	100% { transform: scale(1);		 color: #fff; }
}

/* Pulse */

@keyframes pulseError {
	0%	 { transform: scale(1);		 color: #fff; }
	25%	{ transform: scale(1.05);	color: #ff3c00; }
	50%	{ transform: scale(1.03);	color: #b100ff; }
	75%	{ transform: scale(1.05);	color: #ff3c00; }
	100% { transform: scale(1);		 color: #fff; }
}

@keyframes pulseErrorInput {
	0%	 { transform: scale(1);		 border-color: #fff; }
	25%	{ transform: scale(1.05);	border-color: #ff3c00; }
	50%	{ transform: scale(1.03);	border-color: #b100ff; }
	75%	{ transform: scale(1.05);	border-color: #ff3c00; }
	100% { transform: scale(1);		 border-color: #fff; }
}

.pulse-error {
	animation: pulseError 0.8s ease;
}

input.pulse-error, textarea.pulse-error {
	animation: pulseErrorInput 0.8s ease;
}

/* Success Gradient */

@keyframes grow {
	from { transform: scale(1); }
	to { transform: scale(1.25); }
}

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

h3.success {
	background: linear-gradient(45deg, #ff3c00, #b100ff, #ff3c00);
	background-size: 200% 200%;
	animation:
		grow 0.8s ease forwards,
		gradientShift 3s linear infinite;

	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	text-align: center;
}

#Swirly-Square {
	max-width: 100%;
	display: block;
	max-height: 90%;
	margin: 5rem 0;
}

ul.custom-bullet {
	list-style: none;
	padding: 0;
}

ul.custom-bullet li {
	margin-left: 1rem;
	padding: .25rem;
}

ul.custom-bullet li::before {
	content: "\2610"; /* Unicode character (e.g., •) */
	color: #ff3c00;
	font-weight: bold;
	display: inline-block;
	width: 1em; /* Ensures alignment */
	/*margin-left: -1em;*/
	margin-right: .5rem;
}

ul.custom-bullet li.done::before {
	content: "\2611"; /* Unicode character (e.g., •) */
	color: #b100ff;
}

ul.custom-bullet.chain li::before {
	color: gray;
	opacity: .1;
}

#status ul li {
	font-size: .8rem;
}