@charset "UTF-8";

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

:root {
    --bg: #0b0f1a;
	--card: #12182b;
	--border: #1f294d;
	--primary: #4f7cff;
	--secondary: #0b1024;
	--text: #e6e9f0;
	--muted: #9aa3c7;
	--radius: 14px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;;
    --font-size: 18px;
    --font-weight: 300;
    --line-height: 1.618;
}

* {
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: var(--line-height);
}

.large-heading {
    --font-size: 4.236rem;
    --font-weight: 500;
}

.heading {
    --font-size: 2.618rem;
    --font-weight: 400;
}

.sub-heading {
    --font-size: 1.618rem;
    --font-weight: 600;
}

.text-large {
    --font-size: 1.218rem;
    --font-weight: 500;
}

.footnote {
    --font-size: 0.618rem;
    --font-weight: 500;
}

main {
	flex: 1;
}

header {
	display: flex;
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 72px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: var(--card);
	justify-content: center;
	align-items: center;
}

nav {
	display: flex;
	width: 95%;
	padding: 10px;
	flex-direction: row;
	align-items: center;
	gap: 28px;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--text);
	background: radial-gradient(1500px 400px at 50% 100px, #23346d, transparent), var(--bg);
	z-index: 0;
}

footer {
	max-height: 200px;
    background: var(--bg);
	text-align: center;
	padding: 20px;
	color: var(--muted);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a, p, ul, li {
	color: var(--muted);
	text-decoration: none;
    padding: 2px;
    margin: 0;
	z-index: 100;
}

h1, h2, h3, h4, h5, h6 {
    background: linear-gradient(90deg, #6ea8ff, #9f7bff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
    padding: 2px;
    margin: 0;
	z-index: 100;
}

.title-container {
	height: 65vh;
	display: flex;
	flex-direction: column;
	z-index: 500;
}

.title-wrapper {
	display: flex;
	justify-content: center;
	text-align: center;
	align-items: center;
	flex-direction: column;
	margin-top: 100px;
	margin-bottom: auto;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.logo-wrapper a {
	font-size: 18px;
	font-weight: 400;
}

.logo-icon {
	width: 28px;
	height: 28px;
}

.menu {
	display: flex;
	gap: 24px;
	align-items: center;
	width: auto;
}

.menu li a {
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}

#menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
}

.menu-icon span {
	width: 24px;
	height: 2px;
	background: var(--muted);
}

@media (max-width: 768px) {
	nav {
		justify-content: space-evenly;
	}

	.logo-wrapper {
		display: none;
	}

	.menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		background: var(--card);
		gap: 0px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.menu li {
		margin: 5px;
		width: 100%;
		height: 100%;
		text-align: center;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.menu li a {
		padding-inline: 45%;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	#menu-toggle {
		align-items: center;
	}

	#menu-toggle:checked ~ .menu {
		display: flex;
	}

	.menu-icon {
		position: absolute;
		left: 50%;
		translate: -50%;
		align-items: center;
		display: flex;
	}
}

.lang-wrapper {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 3px;
}

.lang-wrapper a {
	color: var(--muted);
	font-size: 18px;
	font-weight: 500;
}

.lang-icon {
	width: 22px;
	height: 22px;
	color: var(--muted);
}

.language-selector select {
	background: var(--card);
	color: var(--text);
	border: 1px solid var(--border);
	padding: 6px 10px;
	border-radius: 8px;
    appearance: none;
}

.container {
	height: auto;
	width: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: var(--card);
	display: flex;
	padding: 2%;
	position: relative;
}

.sub-container {
	margin: 5vh;
	justify-content: space-evenly;
	height: auto;
	width: auto;
	display: flex;
	flex-direction: row;
}

.trade-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 20px;
}

.info-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 20px;
}

.div-wrapper-1 {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	margin-top: 5px;
	margin-bottom: 5px;
}

.div-wrapper-2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	gap:auto;
	margin-top: 5px;
	margin-bottom: 5px;
}

@media (max-width: 768px) {
	.div-wrapper-2 {
		flex-direction: column;
	}
}

input {
	width: 100%;
	padding: 10px 15px;
	margin: 5px;
	background: transparent;
	color: white;
	border: none;
}

input:focus {
  outline: none;
}

button {
	margin: 5px;
	width: auto;
	height: auto;
	color: white;
	border-radius: 4px;
	border: none;
	padding: 8px 16px;
	font-weight: 600;
	background: linear-gradient(135deg, #4f7cff, #7b6cff);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
	outline: none;
}

button:hover {
	opacity: 0.8;
}

.button-wrapper {
    display: flex;
    justify-content: center;
}

#bg-network {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: -1;
}

.trade-tabs {
	display: flex;
	flex-direction: column;
	justify-content: start;
	height: auto;
	width: 90%;
	max-width: 800px;
	margin: 20px;
	margin-bottom: 20px;
}

.tab-content {
	border-radius: 8px;
	padding: 20px;
	margin: 10px;
	background: var(--secondary);
	background-color: blur(10px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-content input {
	height: 100px;
	text-align: center;
	padding: 0px;
	margin: 0px;
	font-size: 1.036rem;
	font-weight: 400;
}

.trade-tabs .tab-content {
	display: none;
}

#tab-info:checked ~ .info,
#tab-query:checked ~ .query,
#tab-subscribe:checked ~ .subscribe,
#tab-redeem:checked ~ .redeem,
#tab-dividends:checked ~ .dividends {
	display: block;
}

.tabs-header {
	display: flex;
	gap: 20px;
	margin-bottom: 16px;
	justify-content: space-evenly;
}

.tab {
	cursor: pointer;
	color: var(--muted);
	font-size: 16px;
	padding: 8px 6px;
	position: relative;
}

#tab-info:checked ~ .tabs-header label[for="tab-info"],
#tab-query:checked ~ .tabs-header label[for="tab-query"],
#tab-subscribe:checked ~ .tabs-header label[for="tab-subscribe"],
#tab-redeem:checked ~ .tabs-header label[for="tab-redeem"],
#tab-dividends:checked ~ .tabs-header label[for="tab-dividends"] {
	color: var(--text);
	font-weight: 600;
}

#tab-info:checked ~ .tabs-header label[for="tab-info"]::after,
#tab-subscribe:checked ~ .tabs-header label[for="tab-subscribe"]::after,
#tab-redeem:checked ~ .tabs-header label[for="tab-redeem"]::after,
#tab-dividends:checked ~ .tabs-header label[for="tab-dividends"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--primary);
}

.update-button {
	height: 25px;
	width: 25px;
	margin: 0;
	background: transparent;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--muted);
	display: flex;
	align-items: center;
}

.update-icon {
	width: 25px;
	height: 25px;
}

.update-button:hover .update-icon {
	transform: rotate(90deg);
	transition: transform 0.3s ease;
}

.auto-wrap {
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.connectTip {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto;
}

.infoContent {
	display: none;
}

.wave-divider {
	width: 100%;
	height: 100px;
	overflow: hidden;
	animation: floatY 6s ease-in-out infinite;
	z-index: 0;
	transform: rotate(180deg);
	background: transparent;
	fill: none;
}

.wave-divider svg {
	width: 100%;
	height: 100%;
}

.wave-divider path {
	fill: var(--card);
	animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
	0% {
		d: path("M0,40 C120,60 240,20 360,30 480,40 600,70 720,60 840,50 960,20 1080,30 1200,40 1320,60 1440,50 L1440,0 L0,0 Z");
	}
	50% {
		d: path("M0,30 C120,20 240,60 360,50 480,40 600,30 720,40 840,50 960,60 1080,50 1200,40 1320,20 1440,30 L1440,0 L0,0 Z");
	}
	100% {
		d: path("M0,40 C120,60 240,20 360,30 480,40 600,70 720,60 840,50 960,20 1080,30 1200,40 1320,60 1440,50 L1440,0 L0,0 Z");
	}
}

.explore-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	height: auto;
	width: 100%;
	background: var(--card);
	padding: 5%;
	position: relative;
}

.explore-box {
	position: relative;
	display: flex;
	width: 320px;
	height: 400px;
	justify-content: center;
	align-items: center;
	margin: 40px 30px;
	transition: 0.5s;
}

.explore-content {
	position: absolute;
	left: 0;
	padding: 20px 40px;
	color: white;
	background: var(--secondary);
	background-color: blur(10px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	border-radius: var(--radius);
	z-index: 1;
	transition: 0.5s;
}

.explore-content h2	{
	font-size: 2em;
	color: var(--muted);
	margin-bottom: 10px;
}

.explore-content p {
	font-size: 1.1em;
	color: var(--muted);
	margin-bottom: 10px;
	line-height: 1.4em;
}

.explore-content a {
	display: inline-block;
	font-size: 1.1em;
	color: black;
	background-color: white;
	padding: 10px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 700;
	margin-top: 5px;
	transition: 0.6s;
}

.explore-box:hover .explore-content {
	left: -25px;
	padding: 60px 40px;
}

.explore-content a:hover {
	background: #0b0f1a;
	color: white;
	box-shadow: 0 2px 15px #0b0f1a;
}

.explore-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50px;
	width: 50%;
	height: 100%;
	text-decoration: none;
	border-radius: var(--radius);
	transform: skewX(10deg);
	transition: 0.5s;
	background: white
}

.explore-box::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50px;
	width: 50%;
	height: 100%;
	text-decoration: none;
	border-radius: var(--radius);
	transform: skewX(10deg);
	filter: blur(30px);
	transition: 0.5s;
	background: white
}

.explore-box:hover::before,
.explore-box:hover::after {
	transform: skewX(0deg);
	left: 20px;
	width: calc(100% - 90px);
}

.explore-box:nth-child(1)::before,
.explore-box:nth-child(1)::after {
	background:linear-gradient(45deg, #ff6ec4, #7873f5);
}

.explore-box:nth-child(2)::before,
.explore-box:nth-child(2)::after {
	background:linear-gradient(45deg, #ce8c10, #ff2706);
}

.explore-box:nth-child(3)::before,
.explore-box:nth-child(3)::after {
	background:linear-gradient(45deg, #1b3ac2, #0aad5c);
}

.explore-box span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	pointer-events: none;
}

.explore-box span::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	opacity: 0;
	background: rgba(255, 255, 255, 0.1);
	transition: 0.3s;
	backdrop-filter: blur(10px);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	animation: explore-animate 2s ease-in-out infinite;
	animation-delay: -1s;
}

.explore-box:hover span::before {
	opacity: 1;
	top: -50px;
	left: -50px;
	width: 100px;
	height: 100px;
}

.explore-box span::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background: rgba(255, 255, 255, 0.1);
	transition: 0.5s;
	backdrop-filter: blur(10px);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	animation: explore-animate 2s ease-in-out infinite;
	animation-delay: -1s;
}

.explore-box:hover span::after {
	bottom: -50px;
	right: 50px;
	width: 100px;
	height: 100px;
	opacity: 1;
}

@keyframes explore-animate {
	0%, 100% {
		transform: translateY(6px);
	}
	50% {
		transform: translateY(-6px);
	}
}

.about-container {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	height: auto;
	width: 100%;
	background: var(--card);
	padding: 5%;
	position: relative;
}

.blog-container {
	display: flex;
	flex-direction: column;
	height: auto;
	width: 100%;
	padding-inline: 10%;
	margin-bottom: 100px;
	position: relative;
}

.pop-up-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.pop-up-item.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-select {
    position: relative;
    width: 20%;
	max-height: 60px;
}

@media (max-width: 768px) {
	.custom-select {
		width: 35%;
	}
}

.selected {
    padding: 6px 9px;
    border-radius: 8px;
    background: var(--card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s;
}

.selected:hover {
    border-color: white;
}

.arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s;
}

.options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-radius: 8px;
    margin-top: 1px;
    display: none;
    z-index: 1000;
    max-height: 150px;
    overflow-y: auto;
}

.option {
    padding: 6px 9px;
    cursor: pointer;
    transition: background 0.2s;
}

.option:hover {
    background: rgba(255, 255, 255, 0.8);
	color: black;
}

.custom-select.open .options {
    display: block;
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.noselect {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.modal-content {
	flex-direction: row;
	background: var(--card);
	padding: 20px 30px;
	border-radius: 8px;
	text-align: center;
	min-width: 300px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}