@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root
{
	--primary-blue: #1E63E9;
	--primary-purple: #7C2DBB;
	--primary-gradient: linear-gradient(135deg, #1E63E9 0%, #7C2DBB 100%);
	--accent-cyan: #B3E5FC;
	--accent-yellow: #FFF9C4;
	--accent-green: #00E676;
	--accent-pink: #E91E63;
	--banner-cyan: linear-gradient(135deg, #DFF7FF 0%, #CFF1FF 100%);
	--banner-gray: linear-gradient(135deg, #F4F6F8 0%, #ECEFF4 100%);
	--banner-yellow: linear-gradient(135deg, #FFF7D4 0%, #FFEEC2 100%);
	--card-border-cyan: #62CFE2;
	--card-border-purple: #B88AF7;
	--card-border-pink: #F2A1D1;
	--text-primary: #212121;
	--text-secondary: #757575;
	--text-tertiary: #667085;
	--text-white: #FFFFFF;
	--button-gradient: linear-gradient(135deg, #1E63E9 0%, #1B4FB8 100%);
	--button-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
	--card-shadow: 0 6px 16px rgba(24, 36, 66, 0.12);
	--card-hover-shadow: 0 10px 24px rgba(24, 36, 66, 0.18);
	--glow-effect: 0 0 20px rgba(33, 150, 243, 0.4);
}

.main-header
{
	background: var(--primary-gradient);
	padding: 18px 20px;
	color: var(--text-white);
	position: sticky;
	top: 0;
	z-index: 1030;
}

.header-content
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.header-left
{
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	min-width: 0;
}

.logo
{
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.logo-icon
{
	width: 30px;
	height: 30px;
}

.logo-text
{
	font-size: 18px;
	font-weight: 700;
	color: var(--text-white);
}

.menu-toggle
{
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.menu-toggle span
{
	display: block;
	width: 24px;
	height: 3px;
	background: var(--text-white);
	margin: 5px 0;
	border-radius: 2px;
}

.balance-info
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	flex-wrap: wrap;
	gap: 12px;
}

.token-rate
{
	color: #FFE77A;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.balance
{
	color: #FFE77A;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.balance-icon
{
	width: 18px;
	height: 18px;
}

.nav-menu
{
	margin-top: 12px;
}

.nav-menu-inner
{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.profile-btn
{
	background-color: #4F6D9A;
	border-color: #4F6D9A;
}

iframe#launcher
{
	transform: scale(0.5);
	transform-origin: bottom right;
}

.main-header.nav-inline
{
	display: flex;
	align-items: center;
	gap: 16px;
}

.main-header.nav-inline .header-content
{
	flex: 1 1 auto;
	margin-bottom: 0;
	flex-wrap: nowrap;
}

.main-header.nav-inline .nav-menu
{
	margin-top: 0;
	flex: 0 0 auto;
}

.main-header.nav-inline .nav-menu-inner
{
	justify-content: flex-end;
	flex-wrap: nowrap;
}

.main-header[data-nav-layout="index-new"] .header-content
{
	align-items: center;
}

.main-header[data-nav-layout="index-new"] .header-left
{
	flex: 1 1 auto;
	flex-wrap: nowrap;
}

.main-header[data-nav-layout="index-new"] .balance-info
{
	flex: 0 0 auto;
	margin-left: auto;
	justify-content: flex-end;
}

.main-header[data-nav-layout="index-new"] .menu-toggle
{
	margin-left: auto;
}

.main-header[data-nav-layout="index-new"] .nav-menu-inner
{
	justify-content: center;
}

@media (max-width: 720px)
{
	.main-header[data-nav-layout="index-new"] .header-content
	{
		gap: 12px;
	}

	.main-header[data-nav-layout="index-new"] .header-left
	{
		order: 1;
	}

	.main-header[data-nav-layout="index-new"] .balance-info
	{
		order: 3;
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.main-header[data-nav-layout="index-new"] .menu-toggle
	{
		order: 2;
	}

	.main-header[data-nav-layout="index-new"] .logo-icon
	{
		width: 24px;
		height: 24px;
	}

	.main-header[data-nav-layout="index-new"] .logo-text
	{
		font-size: 16px;
	}
}

.nav-menu.nav-menu-measure
{
	position: absolute;
	visibility: hidden;
	pointer-events: none;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
}

.nav-menu-inner.nav-menu-measure-inline
{
	flex-wrap: nowrap;
}

.lobby-new-top-bars
{
	padding-top: 12px;
}

.top-banner
{
	border-radius: 16px;
	box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
	padding: 14px 18px;
	display: flex;
	align-items: center;
}

.top-banner__content
{
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	flex-wrap: wrap;
}

.top-banner__content--stack
{
	flex-direction: column;
	align-items: flex-start;
}

.top-banner__icon
{
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex-shrink: 0;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
}

.top-banner__text
{
	flex: 1 1 auto;
	font-size: 15px;
	font-weight: 600;
	color: #1f2937;
}

.top-banner__title
{
	font-weight: 800;
	font-size: 16px;
}

.top-banner__subtitle
{
	font-weight: 600;
	color: #334155;
}

.top-banner__meta
{
	font-weight: 700;
	color: #1f2937;
}

.top-banner__actions
{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.top-banner__cta
{
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	border: none;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 8px 18px;
	border-radius: 999px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 14px rgba(29, 78, 216, 0.25);
}

.top-banner__cta--outline
{
	background: #fff;
	border: 2px solid #2563eb;
	color: #2563eb;
	box-shadow: none;
}

.top-banner__cta:hover,
.top-banner__cta:focus
{
	color: #fff;
	text-decoration: none;
}

.top-banner__cta--outline:hover,
.top-banner__cta--outline:focus
{
	color: #2563eb;
	text-decoration: none;
}

.top-banner__cta.disabled,
.top-banner__cta[aria-disabled="true"]
{
	opacity: 0.6;
	pointer-events: none;
}

.top-banner__close
{
	border: 0;
	background: rgba(15, 23, 42, 0.12);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	position: relative;
	cursor: pointer;
}

.top-banner__close::before,
.top-banner__close::after
{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: #1f2937;
	border-radius: 999px;
	transform-origin: center;
}

.top-banner__close::before
{
	transform: translate(-50%, -50%) rotate(45deg);
}

.top-banner__close::after
{
	transform: translate(-50%, -50%) rotate(-45deg);
}

.top-banner__progress
{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.top-banner__progress-track
{
	background: rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.top-banner__progress-fill
{
	background: #2563eb;
	height: 100%;
	transition: width 0.3s ease;
}

.top-banner__progress-text
{
	font-weight: 700;
	color: #1f2937;
}

.top-banner__progress-subtext
{
	color: #475569;
	font-size: 0.9rem;
}

.top-banner--info
{
	background: #d8f2ff;
}

.top-banner--neutral
{
	background: #f3f4f6;
}

.top-banner--quiz-active
{
	background: #dcfce7;
}

.top-banner--gold
{
	background: #fde9b0;
}

.top-banner--warning
{
	background: #fde68a;
}

.top-banner--danger
{
	background: #fee2e2;
}

@media (max-width: 768px)
{
	.top-banner
	{
		padding: 12px 14px;
	}

	.top-banner__content
	{
		align-items: flex-start;
	}

	.top-banner__actions
	{
		width: 100%;
		justify-content: flex-start;
	}
}
