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

body {
	font-family: 'Inter', sans-serif;
	background: linear-gradient(145deg, #0B1120 0%, #111827 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	position: relative;
}

/* subtle animated background effect */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.08), transparent 70%);
	pointer-events: none;
}

.portal-container {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}

/* header / branding */
.brand {
	text-align: center;
	margin-bottom: 2rem;
}

.brand h1 {
	font-size: 2.2rem;
	font-weight: 700;
	background: linear-gradient(135deg, #E2E8F0, #94A3B8);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	letter-spacing: -0.3px;
}

.brand p {
	color: #9CA3AF;
	margin-top: 0.5rem;
	font-weight: 500;
}

/* main card */
.portal-card {
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(12px);
	border-radius: 2.5rem;
	border: 1px solid rgba(71, 85, 105, 0.5);
	box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	transition: all 0.2s ease;
}

/* plans grid */
.plans-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 2rem 2rem 1.5rem 2rem;
	justify-content: center;
}

.plan-card {
	flex: 1;
	min-width: 220px;
	background: #0F172A;
	border-radius: 1.8rem;
	padding: 1.6rem 1.2rem 1.8rem;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s;
	border: 1px solid #1E293B;
	cursor: pointer;
	position: relative;
}

.plan-card:hover {
	transform: translateY(-5px);
	border-color: #3B82F6;
	box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.4);
	background: #111827;
}

/* selected plan highlight */
.plan-card.selected {
	border: 2px solid #3B82F6;
	background: linear-gradient(145deg, #0F172A, #111B2E);
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.plan-icon {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
}

.plan-name {
	font-size: 1.6rem;
	font-weight: 700;
	color: #F1F5F9;
	margin-bottom: 0.5rem;
}

.plan-price {
	font-size: 2rem;
	font-weight: 800;
	color: #38BDF8;
	margin: 0.75rem 0;
}

.plan-price span {
	font-size: 0.9rem;
	font-weight: 500;
	color: #94A3B8;
}

.plan-features {
	list-style: none;
	margin-top: 1rem;
}

.plan-features li {
	color: #CBD5E1;
	font-size: 0.85rem;
	padding: 0.3rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.plan-features li::before {
	content: "✓";
	color: #22C55E;
	font-weight: bold;
}

/* token section */
.token-section {
	padding: 0 2rem 2rem 2rem;
	border-top: 1px solid rgba(51, 65, 85, 0.6);
	margin-top: 0.5rem;
}

.token-title {
	color: #E2E8F0;
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	text-align: center;
}

.input-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.token-input {
	flex: 3;
	min-width: 220px;
	background: #0A0F1C;
	border: 1px solid #334155;
	border-radius: 3rem;
	padding: 0.9rem 1.5rem;
	font-size: 1rem;
	color: #F1F5F9;
	font-family: 'Inter', monospace;
	letter-spacing: 0.5px;
	transition: all 0.2s;
	outline: none;
}

.token-input:focus {
	border-color: #3B82F6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.token-input::placeholder {
	color: #4B5563;
	font-family: 'Inter', sans-serif;
}

.action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.btn {
	border: none;
	padding: 0.85rem 2rem;
	border-radius: 3rem;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: 0.2s;
	font-family: 'Inter', sans-serif;
}

.btn-primary {
	background: linear-gradient(95deg, #2563EB, #1E40AF);
	color: white;
	box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
	background: linear-gradient(95deg, #3B82F6, #2563EB);
	transform: scale(1.02);
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
	background: #1E293B;
	color: #CBD5E1;
	border: 1px solid #334155;
}

.btn-secondary:hover {
	background: #2D3A4E;
	color: white;
}

/* status messages */
.status-message {
	text-align: center;
	margin-top: 1.5rem;
	padding: 0.8rem;
	border-radius: 2rem;
	font-size: 0.9rem;
	font-weight: 500;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
}

.status-success {
	color: #4ADE80;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-error {
	color: #F87171;
	background: rgba(248, 113, 113, 0.1);
	border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-info {
	color: #60A5FA;
}

/* connected info */
.connected-info {
	margin-top: 1rem;
	text-align: center;
	background: rgba(34, 197, 94, 0.08);
	border-radius: 2rem;
	padding: 0.8rem;
	font-size: 0.85rem;
	color: #A7F3D0;
}

/* footer */
.footer-note {
	text-align: center;
	padding: 1rem 0 1.2rem;
	font-size: 0.7rem;
	color: #4B5563;
}

@media (max-width: 750px) {
	.plans-grid {
		padding: 1.5rem;
		gap: 1rem;
	}

	.token-section {
		padding: 0 1.5rem 1.8rem;
	}

	.plan-price {
		font-size: 1.6rem;
	}

	.brand h1 {
		font-size: 1.8rem;
	}
}