:root {
	--primary: #00d4ff;
	--primary-dark: #00a8cc;
	--primary-muted: #c7c7c7;
	--primary-dark-muted: #a0a0a0;
	--primary-light: #52e2ff;
	--primary-light-muted: #bbbbbb;
	--primary-extra-light: #bbf4ff;
	--primary-extra-dark: #006c85;
	--primary-extra-light-muted: rgb(240, 240, 240);
	--secondary: #9274ff;
	--secondary-muted: #afafaf;
	--secondary-dark: #724bff;
	--bg: #0a0e17;
	--card-bg: rgba(20, 25, 40, 0.6);
	--card-bg-muted: rgba(24, 24, 24, 0.6);
	--code-bg: rgba(0, 212, 255, 0.1);
	--code-bg-muted: rgba(194, 194, 194, 0.1);
	--text: #e0e6ff;
	--text-muted: #8a94b8;
	--border: rgba(0, 212, 255, 0.3);
	--border-muted: rgba(199, 199, 199, 0.3);
	--glow: 0 0 20px rgba(0, 212, 255, 0.4);
	--divider: rgba(0, 212, 255, 0.15);
	--transparent: rgba(255,255,255,0);
}

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

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', sans-serif;
	min-height: 100vh;
}

/* Animated Background */
#bg {
	content: '';
	position: fixed;
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%;
	background: 
		radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
	
	z-index: 0;
}
#bg-removed-animation {
	animation: float 20s ease-in-out infinite; 
}

#bg2 {
	position: fixed;
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100vh;
	z-index: 5;
}

#bg3 {
	position: fixed;
	top: 5%;
	left: 66%;
	width: 34%;
	height: 100vh;
	opacity: 0.3;
	background: url("cfx-city-transparent-crop.webp");
	background-size: cover;
	background-repeat: no-repeat;
}

#top-bar-container {
  background-color: rgba(0,0,0,0.7);
  background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 80%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 80%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 80%);
  
  max-width: 100%;
  height: 56px;
}

#top-bar-wrapper {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

#top-bar-wrapper A {
  text-decoration: none;
}

#webotop-container {
  position: absolute;
  left: 50%;
  margin-left: -5.5rem;

}

#webotop-wrap {
  position: absolute;
  display: inline-block;
  font-size: 1.35rem;
  font-family: Comfortaa;
  font-weight: 400;
  border-radius: 20px;
  color: transparent;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 14%, rgba(166,166,166,1) 21%, rgba(166,166,166,1) 25%, rgba(255,255,255,1) 31%, rgba(255,255,255,1) 39%, rgba(180,180,180,1) 44%, rgba(160,160,1601) 47%, rgba(255,255,255,1) 52%, rgba(255,255,255,1) 70%, rgba(180,180,180,1) 75%, rgba(160,160,160,1) 77%, rgba(180,180,180,1) 79%, rgba(255,255,255,1) 84%);
  background-size: 400% 400%;
  animation: gradient 9s ease infinite;
  margin-top: 5px;
}

#webotop-text {
  display: inline-block;
  margin-left: 9.5rem;
  font-size: 0.95rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#webotop {
  font-size: 1.35rem;
  white-space: nowrap;
  font-family: Comfortaa;
  font-weight: 700;
  color: rgba(20, 20, 20, 0.95);
  color: rgba(245,245,245,0.95);
  border-radius: 20px;
  display: inline-block;
  padding: 0.38rem 1rem;
  margin: 2px;

  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 9s ease infinite;
  height: 100%;
  
}

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

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-30px) rotate(1deg); }
}

.container {
	width: 900px;
	max-width: 100%;
	padding: 50px 20px;
	padding-top: 40px;
	position: relative;
	margin: 0 auto;
	z-index: 100;
	margin-bottom: 200px;
}

.nav {
	position: relative;
}

.user-dropdown-wrapper {
	position: relative;
	padding-bottom: 5px;
}

.user-dropdown {
	position: absolute;
	display: none;
	top: 83px;
  right: 30px;
  z-index: 199;
  padding: 12px 40px;
	background: rgba(0, 49, 59, 0.3);
	backdrop-filter: blur(8px);
	border: 1.5px solid var(--primary);
  color: var(--primary);
	border-radius: 12px;
}

.user-dropdown.active {
	display: block;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;
}

.pre-task-text {
 	color: var(--primary);
	font-weight: 600;
  font-size: 0.9em;
	text-transform: uppercase;
  letter-spacing: 0.5px;
	padding-left: 8px;
}

.user-connect {
	display: inline-block;
}

.user-wallet,
.user-discord,
.user-twitter,
.user-logout {
	padding-top: 12px;
}

.user-logout {
	padding-bottom: 20px;
}

.user-dropdown-desc
{
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.9em;
	text-transform: uppercase;
  letter-spacing: 0.5px;
	padding-top: 3px;
	padding-bottom: 6px;

}

.user-connect {
	background: var(--primary-extra-dark);
	color: var(--primary-extra-light);
	padding: 3px 9px;
	border-radius: 6px;
	margin-left: 6px;
}

.user-button {
	
}

.header {
	text-align: center;
	margin-bottom: 60px;
}

.logo {
	width: 46px;
	height: 46px;
	margin: 0 auto 6px;
	background: linear-gradient(135deg, var(--primary), #8a2be2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5em;
	font-weight: bold;
	color: white;
	box-shadow: var(--glow), 0 0 40px rgba(138, 43, 226, 0.3);
	animation: logoPulse 3s infinite;
}

.logo img {
	width: 28px;
	height: 28px;
}

.main-user-button,
.connect-wallet {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 200;
	padding: 12px 24px;
	background: transparent;
	border: 1.5px solid var(--primary);
	color: var(--primary);
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-weight: 600;
	font-size: 0.9em;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.main-user-button:hover,
.connect-wallet:hover {
	background: var(--primary);
	color: var(--bg);
	box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
	transform: translateY(-2px);
}

.contest-date {
	text-align: center;
	padding: 16px;
	background: rgba(138, 43, 226, 0.1);
	border: 1px dashed rgba(138, 43, 226, 0.3);
	border-radius: 12px;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;
	color: #d8b4ff;
	font-size: 1.2em;
	backdrop-filter: blur(6px);
	max-width: 800px;
	margin: 0 auto 30px;
}

.contest-date strong {
	/* color: #8a2be2; */
	font-weight: 300;
}

.present-svg {
	height: 4.2rem;
	vertical-align: middle;
}

@keyframes logoPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(138, 43, 226, 0.4); }
}

.title {
	font-size: 3.2em;
	font-weight: 700;
	background: linear-gradient(90deg, #00d4ff, #8a2be2, #00d4ff);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 6s ease infinite;
	margin-bottom: 12px;
}

.title2 {
	font-size: 3.2em;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary);
}

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

.subtitle {
	font-size: 1.2em;
	color: var(--text-muted);
	font-weight: 400;
}

/* List Container */
.tasks-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 800px;
	margin: 0 auto;
}

.task-item {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.task-item.disabled {
	background: var(--card-bg-muted);
	border-color: var(--border-muted);
}


.task-header {
	padding: 24px 28px;
	display: flex;
	align-items: center;
	gap: 20px;
	background: rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.task-header:hover {
	background: rgba(0, 212, 255, 0.05);
}

.disabled .task-header:hover {
	background: rgba(233, 233, 233, 0.05);
}

.task-item.expanded .task-header {
	border-bottom: 1px solid var(--border);
}

.disabled .task-item.expanded .task-header {
	border-bottom: 1px solid var(--border-muted);
}


.task-content {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.task-text {
	flex: 1;
}

.task-title {
	font-size: 1.35em;
	font-weight: 600;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 10px;
}


.task-icon {
	width: 60px;
	height: 60px;
	background: rgba(0, 212, 255, 0.15);
	border: 1px solid var(--primary);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8em;
	flex-shrink: 0;
	transition: all 0.3s;
}

.disabled .task-icon {
	background: rgba(199, 199, 199, 0.15);
	border-color: var(--primary-muted);
}

.task-item:hover .task-icon {
	background: rgba(0, 212, 255, 0.3);
	transform: scale(1.05);
}

.disabled.task-item:hover .task-icon {
	background: rgba(192, 192, 192, 0.3);
}

.task-index {
	width: 50px;
	height: 50px;
	background: rgba(0, 212, 255, 0.15);
	border: 1.5px solid var(--primary);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-weight: 600;
	font-size: 1.3em;
	color: var(--primary);
	flex-shrink: 0;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.task-index::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: var(--primary);
	border-radius: 50%;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.4s;
}

.task-item:hover .task-index {
	background: rgba(0, 212, 255, 0.25);
	color: white;
}

.task-content {
	flex: 1;
	min-width: 0;
}

.task-title {
	font-size: 1.35em;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--text);
}


.task-description {
	font-size: 0.95em;
	color: var(--text-muted);
	line-height: 1.5;
}

.task-item.expanded .toggle-details svg {
		transform: rotate(180deg);
}

.task-details {
	padding: 0 28px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.5s ease;
	background: rgba(10, 14, 23, 0.8);
}

.task-item.expanded .task-details {
	padding: 24px 28px;
	max-height: 2000px;
}

.instructions {
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-size: 1.1em;
	line-height: 1.7;
	color: #c0c8ff;
	margin-bottom: 20px;
}

.disabled .instructions {
	color: var(--primary-muted);
}

.instructions h4 {
	color: var(--primary);
	margin: 16px 0 8px;
	font-size: 1.3em;
}
.disabled .instructions h4 {
	color: var(--primary-muted);
}

.instructions ol {
	padding-left: 20px;
	margin: 12px 0;
}

.instructions li {
	margin: 8px 0;
	color: #b0b8e0;
}

.disabled .instructions li {
	color: var(--primary-muted);
}

.instructions code {
	background: var(--code-bg);
	color: var(--primary);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

.disabled .instructions code {
	background: var(--code-bg-muted);
}

.instructions p {
	background: repeating-radial-gradient(
  circle,
  rgba(0, 212, 255, 0.05),
  rgba(0, 212, 255, 0.05) 80px,
  rgba(0, 212, 255, 0.04) 80px, 
  rgba(0, 212, 255, 0.04) 160px
	);
	padding: 1rem;
	border-radius: 0.5rem;
}

.instructions strong {
	color: var(--secondary);
}

.disabled .instructions strong {
	color: var(--secondary-muted);
}

.instructions p strong {
	color: var(--primary-dark);
}

.disabled .instructions p strong {
	color: var(--primary-dark-muted);
}


.instructions A,
.instructions A:visited {
	color: var(--primary);
	text-decoration: none;
	font-weight: bold;
}

.disabled .instructions A,
.disabled .instructions A:visited {
	color: var(--primary-muted);
}

.instructions A:hover {
	color: var(--primary-light);
	text-decoration: none;
}

.disabled .instructions A:hover {
	color: var(--primary-light-muted);
}

.verify-section {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed rgba(0, 212, 255, 0.2);
}

.verify-button {
	padding: 12px 28px;
	color: var(--primary);
	background: var(--bg);
	border: 1.5px solid var(--primary);
	border-radius: 12px;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-weight: 600;
	font-size: 0.9em;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.verify-button:hover {
	color: var(--bg);
	background: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.disabled .verify-button,
.verify-button.disabled {
	background: #444;
	color: #777;
	border: none;
	cursor: not-allowed;
	box-shadow: none;
}

.verify-button.finished {
	background: var(--primary);
	color: var(--bg);
	cursor: not-allowed;
	box-shadow: none;
}

.verify-status {
	font-size: 0.9em;
	color: var(--text-muted);
	font-style: italic;
}


.task-button, 
.start-task-button,
.user-button {
	padding: 10px 20px;
	background: transparent;
	border: 1.5px solid var(--primary);
	color: var(--primary);
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-weight: 600;
	font-size: 0.9em;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}

.disabled .task-button,
.disabled .start-task-button,
.disabled .user-button {

	border: 1.5px solid var(--primary-muted);
	color: var(--primary-muted);
}

.task-button::before,
.start-task-button::before,
.user-button::before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
	transition: left 0.6s;
}

.finished .start-task-button,
.finished.task-button {
	background: var(--primary);
	color: var(--bg);
}

.disabled .task-button::before,
.disabled .start-task-button::before,
.disabled .user-button::before {
	background: linear-gradient(90deg, transparent, rgba(175, 175, 175, 0.2), transparent);
}


.task-button:hover::before,
.start-task-button:hover::before,
.user-button:hover::before {
	left: 100%;
}

.task-button:hover,
.start-task-button:hover,
.user-button:hover {
	background: var(--primary);
	color: var(--bg);
	box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
	transform: translateY(-1px);
}

.disabled .task-button:hover,
.disabled .start-task-button:hover,
.disabled .user-button:hover {
	background: initial;
	color: var(--primary-muted);
	box-shadow: none;
	transform: none;
}

.task-input,
.task-text-input {
	padding: 10px 20px;
	background: rgba(0, 212, 255, 0.1);
	border: 1.5px solid var(--primary);
	color: var(--primary);
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
	font-weight: 600;
	font-size: 0.9em;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}

.task-input::before,
.task-text-input::before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
	transition: left 0.6s;
}

.task-input:hover::before,
.task-text-input:hover::before  {
	left: 100%;
}

.task-input:hover,
.task-text-input:hover {
	background: rgba(0, 212, 255, 0.2);
	box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
	transform: translateY(-1px);
}

.network-badge {
	font-size: 0.65em;
	font-weight: 600;
	padding: 4px 8px;
	margin-left: 4px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
}

.testnet {
	background: rgba(0, 255, 157, 0.15);
	color: var(--success);
	border: 1px solid rgba(0, 255, 157, 0.3);
}

.mainnet {
	background: rgba(255, 204, 0, 0.15);
	color: var(--warning);
	border: 1px solid rgba(255, 204, 0, 0.3);
}

.contest-badge {
	font-size: 0.65em;
	font-weight: 600;
	padding: 4px 8px;
	margin-left: 4px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Saira Semi Condensed', Arial, Helvetica, sans-serif;;
}

.contest-badge.live {
	background: rgba(0, 255, 157, 0.15);
	color: rgba(0, 255, 157, 0.7);
	border: 1px solid rgba(0, 255, 157, 0.3);
}

.contest-badge.inactive {
	background: rgba(255, 204, 0, 0.15);
	color: rgba(255, 204, 0, 0.6);
	border: 1px solid rgba(255, 204, 0, 0.3);
}

.pulse-dot {
	display: inline-block;
  width: 0.6em;
  height: 0.6em;
	line-height: 0.9em;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 var(--primary);
  animation: pulsing-dot 2s infinite;
  transition: all 0.2s;
  border: 1px solid var(--transparent);
	margin-right: 2px;
	margin-bottom: 1px;
}

.pulse-dot.inactive {
	animation: none;
  background: var(--transparent);
  box-shadow: none;
	background: none;
	transition: none;
	border: 1px solid var(--primary);
}

.user-connect .pulse-dot {
  background: var(--primary-extra-light);
  box-shadow: 0 0 0 var(--primary-extra-light);
	border: 1px solid var(--transparent);
}
.user-connect .pulse-dot.inactive {
	background: var(--transparent);
	border: 1px solid var(--primary-extra-light);
}


.pulse-dot:hover {
}

.pulse-dot:active {
}

@keyframes pulsing-dot {
  from {
    box-shadow: 0 0 0 0 var(--primary);
  }
  70% {
    box-shadow: 0 0 0 7px var(--transparent);
  }
  to {
    box-shadow: 0 0 0 0 var(--transparent);
  }
}


.popup {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  max-width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.1s;
}

.popup2 {
  height: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: transparent;
  overflow-x: hidden;
  transition: 0.1s;

}

.popup3 {
  height: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: fixed;
  z-index: 1000;
  top: 35%;
  left: 0;
  background-color: transparent;
  overflow-x: hidden;
  transition: 0.1s;

}

.popup4 {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  max-width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.1s;
}

#popup2 {
  z-index: 1050;
}

#popup3 {
  z-index: 1100;
}

#popup4 {
  z-index: 1025;
}

#popup .popup-close-button,
#popup4 .popup-close-button {
  display: none;
  position: fixed;
  top: 20px;
  right: 45px;
  font-size: 60px;
  text-decoration: none;
  text-shadow: rgba(0,0,0,1) 1px 1px 4px, rgba(0,0,0,1) 1px 1px 10px;
}

#popup2 .popup-close-button,
#popup3 .popup-close-button {
  display: none;
  float: right;
  font-size: 30px;
  text-decoration: none;
  margin-top: -0.375rem;
	color: #000;
  text-shadow: rgba(0,0,0,1) 1px 1px 4px, rgba(0,0,0,1) 1px 1px 10px;
}

#popup3 .popup-close-button {
  text-shadow: rgba(255,255,255,1) 1px 1px 4px, rgba(255,255,255,1) 1px 1px 10px;
  color: #000;
}


#popup .popup-close-button {
  z-index: 1040;
}
#popup2 .popup-close-button {
  z-index: 1090;
	color: #fff;
}

#popup3 .popup-close-button {
  z-index: 1140;
}
#popup4 .popup-close-button {
  z-index: 1049;
}

#popup .popup-content {
  position: relative;
  top: 25%;
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  margin-top: 30px; 
  
}

#popup2 .popup-content {
  width: 550px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-top: 0px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: #000;
  background-color: rgba(0,0,0, 0.95);
  padding: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid rgb(180, 180, 180);
}

#popup3 .popup-content {
  width: 550px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-top: 0px;
  margin: 0 auto;
  border-radius: 6px;
  background-color: #fff;
  background-color: rgba(255,255,255, 0.95);
  color: rgb(48, 76, 134);
  padding: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border: 3px solid rgba(255,255,255,0.65);
}

.popup2 .popup-error {
  color: rgb(219, 214, 139);
}

.popup2 .popup-notice {
  color: rgb(187, 219, 157);
}


#popup2 .popup-content-text {
  padding: 1rem;
}

#popup3 .popup-content-text {
  padding: 1rem;
}

#popup .popup-content-wide,
#popup4 .popup-content-wide {
  position: relative;
  top: 10px;
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-top: 30px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 180px;
}

#popup .sub-heading,
#popup2 .sub-heading {
  font-size: 1.5rem;
}

#popup .sub-icon-float,
#popup2 .sub-icon-float {
  float: left;
  height: 3rem;
  font-size: 2.75rem;
  padding-right: 0.5rem;

}

#popup4 h2 {
  color: rgb(75, 183, 255);
  color: #eee;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

#popup4 h3,
#popup4 h4 {
  color: yellow;
  color: #eee;
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}

#popup4 h5,
#popup4 h6 {
  color: rgb(247, 0, 255);
  color: #ccc;
}

/* Floating particles */
.particle {
	position: fixed;
	background: var(--primary);
	border-radius: 50%;
	opacity: 0.3;
	pointer-events: none;
	animation: floatParticle linear infinite;
	z-index: 50;
	top: 100vh;
}

@keyframes floatParticle {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 0.3; }
	90% { opacity: 0.3; }
	100% { transform: translateY(-100vh) translateX(100px) rotate(360deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {

	.nav {
		padding-top: 30px;
		text-align: center;
	}
	.title,
	.title2 {
		font-size: 2.5em;
	}
	.main-user-button,
	.connect-wallet {
		position: relative;
		top: auto;
		right: auto;
	}
	.user-dropdown {
		position: relative;
		top: 5px;
		right: auto;
		width: 320px;
    margin: 0 auto;
    max-width: 95%;
	}
	.task-item {
		flex-direction: column;
		text-align: center;
	}
	.task-index {
		margin-bottom: 12px;
	}
	.instructions {
		text-align: left;
	}

	.task-button,
	.start-task-button {
		width: auto;
	}
	.task-header {
		flex-direction: column;
		text-align: center;
		padding: 40px 20px;
	}
	.task-content {
		flex-direction: column;
		gap: 16px;
	}
	.task-title {
		flex-direction: column;
		gap: 8px;
	}
	.verify-section {
		flex-direction: column;
	}
	.verify-button {
		width: 100%;
	}

}

