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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #fff;
}

.container {
	max-width: 900px;
	width: 100%;
}

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

.header h1 {
	font-size: 3.5em;
	font-weight: 900;
	background: linear-gradient(135deg, #ff0000, #ff3333);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
	margin-bottom: 10px;
	letter-spacing: 2px;
}

.header p {
	color: #aaa;
	font-size: 1.1em;
	font-weight: 300;
}

.content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

@media (max-width: 768px) {
	.content {
		grid-template-columns: 1fr;
	}
}

.card {
	background: rgba(20, 20, 20, 0.8);
	border: 2px solid rgba(255, 0, 0, 0.2);
	border-radius: 15px;
	padding: 30px;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.balance-container h4 {
	color: #ffffff;
	font-size: 1.5em;
	letter-spacing: 1px;
}


.card h2 {
	color: #ff3333;
	font-size: 1.5em;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

label {
	display: block;
	margin-bottom: 8px;
	color: #ddd;
	font-weight: 600;
	font-size: 0.95em;
}

input[type="text"],
select {
	width: 100%;
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 0, 0, 0.2);
	border-radius: 8px;
	color: #fff;
	font-size: 1em;
	transition: all 0.3s ease;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input[type="text"]:focus,
select:focus {
	outline: none;
	border-color: #ff3333;
	box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
	background: rgba(255, 255, 255, 0.08);
}

input[type="text"]::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

select option {
	background: #1a1a1a;
	color: #fff;
}

.btn-generate {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #ff0000, #cc0000);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1.1em;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-generate::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.2);
	transition: left 0.3s ease;
}

.btn-generate:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 5px 30px rgba(255, 0, 0, 0.5);
}

.btn-generate:hover:not(:disabled)::before {
	left: 100%;
}

.btn-generate:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.type-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.type-btn {
	padding: 12px;
	background: rgba(255, 0, 0, 0.1);
	border: 2px solid rgba(255, 0, 0, 0.2);
	color: #ddd;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85em;
}

.type-btn:hover {
	border-color: #ff3333;
	background: rgba(255, 0, 0, 0.2);
}

.type-btn.active {
	background: linear-gradient(135deg, #ff0000, #cc0000);
	border-color: #ff3333;
	color: #fff;
}

.result-container {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.balance-container {
	background: rgba(20, 20, 20, 0.8);
	border: 2px solid rgba(255, 0, 0, 0.2);
	border-radius: 15px;
	padding: 10px;
	backdrop-filter: blur(10px);
	position: relative;
	height: fit-content;
	width: fit-content;
	overflow: hidden;
	margin-top: 10px;
	margin-left: 35%;
}

.loading {
	text-align: center;
	padding: 40px 20px;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(255, 0, 0, 0.2);
	border-top-color: #ff3333;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.loading-text {
	color: #ff3333;
	font-size: 1.1em;
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}
}

.error {
	background: rgba(255, 0, 0, 0.1);
	border: 2px solid #ff3333;
	border-radius: 8px;
	padding: 20px;
	color: #ff6666;
	text-align: center;
	animation: shake 0.3s ease;
}

@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-5px);
	}

	75% {
		transform: translateX(5px);
	}
}

.result-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.result-content {
		grid-template-columns: 1fr;
	}
}

.result-item {
	background: rgba(255, 0, 0, 0.05);
	border-left: 4px solid #ff3333;
	padding: 15px;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.result-item:hover {
	background: rgba(255, 0, 0, 0.1);
	transform: translateX(5px);
}

.result-label {
	color: #ff3333;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85em;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.result-value {
	color: #fff;
	word-break: break-all;
	font-size: 0.95em;
	font-weight: 500;
}

.result-value.password {
	font-family: 'Courier New', monospace;
	background: rgba(0, 0, 0, 0.3);
	padding: 10px;
	border-radius: 4px;
	font-size: 0.85em;
}

.copy-btn {
	background: rgba(255, 0, 0, 0.2);
	border: 1px solid rgba(255, 0, 0, 0.4);
	color: #ff3333;
	padding: 6px 12px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.8em;
	transition: all 0.2s ease;
	margin-top: 8px;
	display: inline-block;
}

.copy-btn:hover {
	background: rgba(255, 0, 0, 0.3);
	border-color: #ff3333;
}

.avatar-section {
	grid-column: 1 / -1;
	background: rgba(255, 0, 0, 0.05);
	border-radius: 8px;
	padding: 20px;
	text-align: center;
}

.avatar-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 15px;
}

.avatar-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.avatar-item img {
	max-width: 100%;
	border: 2px solid rgba(255, 0, 0, 0.3);
	border-radius: 8px;
	max-height: 200px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.avatar-item img:hover {
	border-color: #ff3333;
	box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
	transform: scale(1.05);
}

.avatar-label {
	color: #ff3333;
	font-size: 0.85em;
	font-weight: 600;
	text-transform: uppercase;
}

.btn-generate-new {
	grid-column: 1 / -1;
	padding: 12px;
	background: rgba(255, 0, 0, 0.1);
	border: 2px solid rgba(255, 0, 0, 0.3);
	color: #ff3333;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 0.95em;
}

.btn-generate-new:hover {
	background: linear-gradient(135deg, #ff0000, #cc0000);
	color: #fff;
	border-color: #ff3333;
}

.success-icon {
	font-size: 3em;
	margin-bottom: 15px;
	animation: popIn 0.5s ease-out;
}

@keyframes popIn {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

.hidden {
	display: none !important;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.info-text {
	font-size: 0.85em;
	color: #999;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.cost-display {
	background: rgba(255, 0, 0, 0.1);
	border: 1px solid rgba(255, 0, 0, 0.3);
	padding: 10px;
	border-radius: 4px;
	color: #ff6666;
	font-weight: 600;
	margin-top: 15px;
	text-align: center;
}

.info-section {
	grid-column: 1 / -1;
}

.tab-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.tab-btn {
	padding: 10px 15px;
	background: rgba(255, 0, 0, 0.1);
	border: 2px solid rgba(255, 0, 0, 0.2);
	color: #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 0.9em;
	text-transform: uppercase;
}

.tab-btn:hover {
	border-color: #ff3333;
	background: rgba(255, 0, 0, 0.2);
}

.tab-btn.active {
	background: linear-gradient(135deg, #ff0000, #cc0000);
	border-color: #ff3333;
	color: #fff;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.limits-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.limits-table th,
.limits-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.limits-table th {
	background: rgba(255, 0, 0, 0.1);
	color: #ff3333;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85em;
}

.limits-table tr:hover {
	background: rgba(255, 0, 0, 0.05);
}

.limits-table td {
	color: #ddd;
}

.tier-badge {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(255, 0, 0, 0.2);
	border: 1px solid rgba(255, 0, 0, 0.4);
	color: #ff3333;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 15px;
}

.tier-badge.ultra {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 0, 0, 0.2));
	border-color: #ffd700;
	color: #ffd700;
}

.tier-badge.premium {
	background: linear-gradient(135deg, rgba(100, 149, 237, 0.2), rgba(255, 0, 0, 0.2));
	border-color: #6495ed;
	color: #6495ed;
}

.info-list {
	list-style: none;
	margin-top: 15px;
}

.info-list li {
	padding: 12px;
	background: rgba(255, 0, 0, 0.05);
	border-left: 3px solid #ff3333;
	margin-bottom: 10px;
	border-radius: 4px;
	color: #ddd;
}

.info-list strong {
	color: #ff6666;
	font-weight: 700;
}

.login-overlay {
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 20px;
}

.login-card {
	background: rgba(20, 20, 20, 0.9);
	border: 2px solid rgba(255, 0, 0, 0.3);
	border-radius: 15px;
	padding: 40px;
	width: 100%;
	max-width: 380px;
	box-shadow: 0 0 40px rgba(255, 0, 0, 0.15);
}

.login-card h1 {
	font-size: 2em;
	font-weight: 900;
	background: linear-gradient(135deg, #ff0000, #ff3333);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-align: center;
	margin-bottom: 25px;
	letter-spacing: 2px;
}

.login-error {
	color: #ff5555;
	text-align: center;
	margin-top: 10px;
	font-size: 0.9em;
	min-height: 1.2em;
}

.main-content {
	display: none;
}