* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container {
	width: 100%;
	max-width: 500px;
	padding: 20px;
}

.card {
	background: rgba(30, 30, 40, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

h1,
h2 {
	color: #fff;
	text-align: center;
	margin-bottom: 30px;
	font-weight: 600;
}

input {
	width: 100%;
	padding: 14px 18px;
	margin-bottom: 16px;
	background: rgba(20, 20, 30, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: #fff;
	font-size: 16px;
	transition: all 0.3s;
}

input:focus {
	outline: none;
	border-color: #6c63ff;
	background: rgba(20, 20, 30, 1);
}

button {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #6c63ff 0%, #4a42d4 100%);
	border: none;
	border-radius: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s;
}

button:hover {
	transform: translateY(-2px);
}

.link {
	text-align: center;
	margin-top: 20px;
	color: #aaa;
}

.link a {
	color: #6c63ff;
	text-decoration: none;
}

.link a:hover {
	text-decoration: underline;
}

.error {
	background: rgba(255, 80, 80, 0.2);
	border: 1px solid #ff5252;
	color: #ff5252;
	padding: 12px;
	border-radius: 10px;
	margin-bottom: 20px;
	text-align: center;
}

.success {
	background: rgba(80, 255, 80, 0.2);
	border: 1px solid #4caf50;
	color: #4caf50;
	padding: 12px;
	border-radius: 10px;
	margin-bottom: 20px;
	text-align: center;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.header h1 {
	margin-bottom: 0;
}

.logout {
	background: rgba(255, 80, 80, 0.2);
	color: #ff5252;
	padding: 8px 16px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
}

.user-info {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 30px;
}

.user-info p {
	margin: 8px 0;
	color: #ddd;
}

.user-info strong {
	color: #6c63ff;
}

.ticket-info {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 12px;
	padding: 20px;
}

.ticket-info h2 {
	font-size: 18px;
	margin-bottom: 15px;
}

code {
	background: #1e1e2e;
	padding: 4px 8px;
	border-radius: 6px;
	font-family: monospace;
}

.status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
}

.status.active {
	background: rgba(76, 175, 80, 0.2);
	color: #4caf50;
}

.status.pending {
	background: rgba(255, 193, 7, 0.2);
	color: #ffc107;
}

.status.expired {
	background: rgba(255, 80, 80, 0.2);
	color: #ff5252;
}

.no-ticket {
	color: #aaa;
	text-align: center;
	padding: 20px;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
}

.minecraft-icon {
	font-size: 48px;
}

.subtitle {
	text-align: center;
	color: #aaa;
	margin-bottom: 40px;
	font-size: 18px;
}

.info-blocks {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.info-block {
	flex: 1;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 16px;
	padding: 24px;
	text-align: center;
	transition: transform 0.3s;
}

.info-block:hover {
	transform: translateY(-5px);
}

.info-block .icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.info-block h3 {
	color: #6c63ff;
	margin-bottom: 8px;
	font-size: 18px;
}

.info-block p {
	color: #aaa;
	font-size: 14px;
}

.button-group {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.btn-primary {
	background: linear-gradient(135deg, #6c63ff 0%, #4a42d4 100%);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #ddd;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

.welcome-message {
	text-align: center;
	margin-bottom: 24px;
	padding: 16px;
	background: rgba(108, 99, 255, 0.1);
	border-radius: 16px;
}

.welcome-message p {
	margin: 4px 0;
}

.minecraft-nick {
	color: #6c63ff;
	font-size: 14px;
}

.loading {
	text-align: center;
	color: #aaa;
	padding: 20px;
}
