/* ===================================================================
   POKÉMON RELOAD - ULTRA MODERN DARK GLASS THEME (2026)
   Designed for High-Conversion, Gaming Immersion & Fluid Responsiveness
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
	/* Backgrounds & Canvas */
	--bg-canvas: #07090e;
	--bg-gradient: radial-gradient(circle at 50% 0%, #0d1b2e 0%, #07090e 70%);
	--bg-glass: rgba(15, 23, 42, 0.78);
	--bg-glass-card: rgba(18, 28, 48, 0.72);
	--bg-glass-hover: rgba(30, 41, 59, 0.85);
	--bg-input: rgba(11, 15, 25, 0.85);

	/* Borders */
	--border-glass: rgba(56, 189, 248, 0.16);
	--border-glass-subtle: rgba(255, 255, 255, 0.08);
	--border-glow: rgba(56, 189, 248, 0.5);
	--border-focus: #38bdf8;

	/* Color Palette */
	--cyan: #38bdf8;
	--cyan-dark: #0284c7;
	--cyan-glow: rgba(56, 189, 248, 0.35);
	--blue: #3b82f6;
	--purple: #818cf8;
	--rose: #f43f5e;
	--green: #10b981;
	--green-glow: rgba(16, 185, 129, 0.4);
	--amber: #fbbf24;

	/* Typography */
	--font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-heading: 'Poppins', var(--font-main);
	--font-gamer: 'Rajdhani', var(--font-heading);

	--text-main: #f8fafc;
	--text-muted: #94a3b8;
	--text-dim: #64748b;
	--text-bright: #ffffff;

	/* Shadows & Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 18px;
	--radius-xl: 24px;
	--shadow-glass: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(56, 189, 248, 0.08);
	--shadow-glow: 0 0 25px rgba(56, 189, 248, 0.35);
	--shadow-button: 0 4px 15px rgba(2, 132, 199, 0.4);
}

/* Base Reset & Core Styles */
*, *::before, *::after {
	box-sizing: border-box;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
	margin: 0;
	padding: 0;
	background-color: var(--bg-canvas);
	background-image: 
		radial-gradient(ellipse 80% 40% at 50% -10%, rgba(56, 189, 248, 0.12), transparent),
		radial-gradient(circle at 90% 25%, rgba(129, 140, 248, 0.06), transparent),
		radial-gradient(circle at 10% 60%, rgba(2, 132, 199, 0.06), transparent);
	background-attachment: fixed;
	color: var(--text-main);
	font-family: var(--font-main);
	font-size: 14.5px;
	line-height: 1.6;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 9px;
}
::-webkit-scrollbar-track {
	background: #080b12;
}
::-webkit-scrollbar-thumb {
	background: #1e293b;
	border-radius: 4px;
	border: 1px solid rgba(56, 189, 248, 0.2);
}
::-webkit-scrollbar-thumb:hover {
	background: #38bdf8;
}

/* Links & Typography */
a {
	color: var(--cyan);
	text-decoration: none;
	transition: color 0.2s, text-shadow 0.2s;
}
a:hover {
	color: #7dd3fc;
	text-shadow: 0 0 8px var(--cyan-glow);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text-bright);
	margin-top: 0;
	font-weight: 700;
	letter-spacing: -0.02em;
}
ul { margin: 0; padding: 0; }
li { list-style: none; }

/* Main Wrapper */
.main {
	width: 1240px;
	max-width: 96%;
	margin: 0 auto;
	padding-bottom: 40px;
	position: relative;
	z-index: 1;
}

/* ===================================================================
   TOP NAVIGATION BAR (GLASSMORPHIC HEADER)
   =================================================================== */
nav {
	background: rgba(11, 17, 32, 0.82) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-lg);
	margin-top: 15px;
	margin-bottom: 25px;
	box-shadow: var(--shadow-glass);
	padding: 8px 16px;
	position: sticky;
	top: 12px;
	z-index: 999;
}

nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 !important;
	overflow: visible !important;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	padding: 4px 8px;
}
.nav-brand img {
	height: 38px;
	width: auto;
	filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.4));
	transition: transform 0.3s;
}
.nav-brand:hover img {
	transform: scale(1.05);
}
.nav-brand .brand-text {
	font-family: var(--font-gamer);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.nav-brand .brand-text span {
	color: var(--rose);
}

nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
}

nav ul li {
	position: relative;
}

nav ul li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-muted);
	border-radius: var(--radius-sm);
	transition: all 0.2s;
}
nav ul li a i {
	font-size: 15px;
	color: var(--cyan);
	transition: transform 0.2s;
}
nav ul li a:hover {
	color: var(--text-bright);
	background: rgba(56, 189, 248, 0.1);
	text-shadow: none;
}
nav ul li a:hover i {
	transform: scale(1.15);
}

/* Nav Submenu Dropdown */
nav ul li > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-md) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
	padding: 8px;
	z-index: 1000;
}
nav ul li:hover > ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
nav ul li > ul li a {
	padding: 8px 14px !important;
	font-size: 13.5px;
	border-radius: 6px;
}

/* Nav Right Actions */
.nav-right-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-status-badge {
	display: flex;
	align-items: center;
	gap: 7px;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #34d399;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.pulse-dot {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	box-shadow: 0 0 8px #10b981;
	animation: pulseGlow 1.8s infinite;
}

.btn-nav-register {
	background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
	color: #fff !important;
	font-weight: 700 !important;
	padding: 8px 18px !important;
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.btn-nav-register:hover {
	background: linear-gradient(135deg, #fb7185, #f43f5e) !important;
	box-shadow: 0 6px 20px rgba(244, 63, 94, 0.55);
	transform: translateY(-1px);
}

.btn-nav-login {
	background: rgba(56, 189, 248, 0.12) !important;
	border: 1px solid var(--border-glass) !important;
	color: var(--cyan) !important;
	font-weight: 600 !important;
	padding: 8px 16px !important;
	border-radius: var(--radius-sm);
}
.btn-nav-login:hover {
	background: rgba(56, 189, 248, 0.22) !important;
	color: #fff !important;
}

/* ===================================================================
   PANEL CONTAINERS & LAYOUT
   =================================================================== */
.feedContainer {
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	gap: 24px;
	overflow: visible !important;
}

.leftPane {
	width: calc(72% - 12px);
	background: transparent !important;
	border: none !important;
	float: none !important;
}

.rightPane {
	width: calc(28% - 12px);
	background: transparent !important;
	border: none !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Glass Card Component (.well) */
.well {
	background: var(--bg-glass) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-lg) !important;
	box-shadow: var(--shadow-glass) !important;
	padding: 22px !important;
	margin-bottom: 24px;
	overflow: hidden;
	position: relative;
}

.well:hover {
	border-color: rgba(56, 189, 248, 0.3) !important;
}

.header {
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--cyan) !important;
	background: transparent !important;
	padding: 0 0 14px 0 !important;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--border-glass);
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.01em;
}

/* Top Pane (old social/countdown removal) */
.topPane {
	display: none !important;
}

/* ===================================================================
   HERO PRESENTATION SECTION (HOMEPAGE)
   =================================================================== */
.hero-portal {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(20, 32, 58, 0.85) 100%),
				url('../img/pokemaster_bg_art.png') center/cover no-repeat;
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-glass), 0 0 40px rgba(56, 189, 248, 0.1);
	padding: 42px 36px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
	text-align: center;
}
.hero-portal::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
	pointer-events: none;
}
.hero-logo-img {
	max-width: 440px;
	width: 85%;
	height: auto;
	filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(56, 189, 248, 0.4));
	margin-bottom: 16px;
	animation: floatGentle 4s ease-in-out infinite;
}
.hero-badge-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(56, 189, 248, 0.15);
	border: 1px solid rgba(56, 189, 248, 0.4);
	color: #e0f2fe;
	font-family: var(--font-gamer);
	font-size: 15px;
	font-weight: 700;
	padding: 6px 18px;
	border-radius: 30px;
	margin-bottom: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.hero-headline {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	margin-bottom: 12px;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.hero-headline span {
	background: linear-gradient(135deg, #38bdf8, #818cf8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-subheadline {
	font-size: 16px;
	color: #cbd5e1;
	max-width: 680px;
	margin: 0 auto 28px auto;
	line-height: 1.6;
}

.hero-cta-group {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.btn-cta-main {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, #0284c7, #2563eb);
	color: #fff !important;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	padding: 14px 34px;
	border-radius: var(--radius-md);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.btn-cta-main:hover {
	background: linear-gradient(135deg, #38bdf8, #3b82f6);
	box-shadow: 0 12px 35px rgba(56, 189, 248, 0.6);
	transform: translateY(-2px);
}
.btn-cta-secondary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(244, 63, 94, 0.16);
	border: 1px solid rgba(244, 63, 94, 0.4);
	color: #fca5a5 !important;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	padding: 14px 28px;
	border-radius: var(--radius-md);
	letter-spacing: 0.5px;
}
.btn-cta-secondary:hover {
	background: rgba(244, 63, 94, 0.3);
	color: #fff !important;
	transform: translateY(-2px);
}

.hero-pills {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--text-muted);
}
.hero-pill-item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(15, 23, 42, 0.6);
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-pill-item i {
	color: var(--cyan);
}

/* ===================================================================
   FEATURE CARDS GRID (DIFERENCIAIS DO SERVIDOR)
   =================================================================== */
.features-section-title {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	text-align: center;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.features-section-title span {
	color: var(--cyan);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.feature-card {
	background: var(--bg-glass-card);
	backdrop-filter: blur(12px);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-md);
	padding: 20px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	transition: all 0.25s;
}
.feature-card:hover {
	border-color: rgba(56, 189, 248, 0.45);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.12);
}
.feature-icon-box {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.1));
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: var(--cyan);
}
.feature-content h4 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
}
.feature-content p {
	font-size: 13.5px;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}

/* ===================================================================
   DOWNLOADS PORTAL (MODERN CARDS)
   =================================================================== */
.download-cards-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-bottom: 26px;
}

.download-card {
	background: var(--bg-glass-card);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.download-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #38bdf8, #818cf8);
}
.download-card.android::before {
	background: linear-gradient(90deg, #10b981, #34d399);
}

.dl-card-icon {
	font-size: 52px;
	margin-bottom: 14px;
	color: var(--cyan);
}
.download-card.android .dl-card-icon {
	color: #34d399;
}
.dl-card-title {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 6px;
}
.dl-version-pill {
	display: inline-block;
	background: rgba(56, 189, 248, 0.15);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: var(--cyan);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 18px;
}
.download-card.android .dl-version-pill {
	background: rgba(16, 185, 129, 0.15);
	border-color: rgba(16, 185, 129, 0.3);
	color: #34d399;
}

.dl-specs-table {
	width: 100%;
	font-size: 12.5px;
	border-collapse: collapse;
	margin-bottom: 22px;
	text-align: left;
	background: rgba(11, 15, 25, 0.6);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.dl-specs-table td {
	padding: 8px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
}
.dl-specs-table tr td:first-child {
	font-weight: 600;
	color: #e2e8f0;
	width: 40%;
}

.btn-download-primary {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #0284c7, #2563eb);
	color: #fff !important;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	padding: 13px 20px;
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
	margin-bottom: 10px;
	text-transform: uppercase;
}
.btn-download-primary:hover {
	background: linear-gradient(135deg, #38bdf8, #3b82f6);
	box-shadow: 0 6px 22px rgba(56, 189, 248, 0.6);
	transform: translateY(-2px);
}

.download-card.android .btn-download-primary {
	background: linear-gradient(135deg, #059669, #10b981);
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.download-card.android .btn-download-primary:hover {
	background: linear-gradient(135deg, #10b981, #34d399);
	box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
}

.btn-download-mirror {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text-muted) !important;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: var(--radius-sm);
	margin-bottom: 14px;
}
.btn-download-mirror:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
}

.dl-tip-box {
	font-size: 12.5px;
	color: var(--text-dim);
	line-height: 1.4;
	margin-top: auto;
}
.dl-tip-box b {
	color: var(--cyan);
}

.security-seal-banner {
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.25);
	border-radius: var(--radius-md);
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}
.security-seal-icon {
	font-size: 28px;
	color: #34d399;
}
.security-seal-text h5 {
	margin: 0 0 2px 0;
	font-size: 14.5px;
	color: #34d399;
}
.security-seal-text p {
	margin: 0;
	font-size: 12.5px;
	color: var(--text-muted);
}

/* ===================================================================
   SIDEBAR WIDGETS
   =================================================================== */
.widget {
	background: var(--bg-glass) !important;
	backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-md) !important;
	box-shadow: var(--shadow-glass);
	padding: 18px !important;
	margin-bottom: 0 !important;
}

/* Server Status Widget */
.status-metric-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.status-metric-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	background: rgba(11, 15, 25, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-sm);
	font-size: 13.5px;
}
.status-metric-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-muted);
	font-weight: 500;
}
.status-metric-label i {
	color: var(--cyan);
	width: 16px;
	text-align: center;
}
.status-metric-value {
	font-weight: 700;
	color: #fff;
	font-family: var(--font-gamer);
	font-size: 15px;
}
.status-metric-value.online {
	color: #34d399;
}

/* Form Styles */
.loginForm .well {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-bottom: 12px !important;
}
.loginForm label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
	width: 100% !important;
	height: 42px !important;
	background: var(--bg-input) !important;
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-sm) !important;
	color: #fff !important;
	padding: 8px 14px !important;
	font-size: 14px !important;
	font-family: var(--font-main);
	outline: none !important;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--cyan) !important;
	box-shadow: 0 0 12px var(--cyan-glow) !important;
}

input[type="submit"],
button.submitButton,
.btn-primary-glow {
	width: 100% !important;
	height: 42px !important;
	background: linear-gradient(135deg, #0284c7, #2563eb) !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	color: #fff !important;
	font-family: var(--font-heading);
	font-size: 14.5px !important;
	font-weight: 700 !important;
	cursor: pointer;
	box-shadow: var(--shadow-button);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
input[type="submit"]:hover,
button.submitButton:hover,
.btn-primary-glow:hover {
	background: linear-gradient(135deg, #38bdf8, #3b82f6) !important;
	box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
	transform: translateY(-1px);
}

/* Top Players Ranking Widget */
.top-players-table {
	width: 100%;
	border-collapse: collapse;
}
.top-players-table tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border-radius: 6px;
	margin-bottom: 4px;
	background: rgba(11, 15, 25, 0.4);
	border: 1px solid transparent;
}
.top-players-table tr:hover {
	background: rgba(56, 189, 248, 0.08);
	border-color: rgba(56, 189, 248, 0.2);
}
.rank-badge {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 11.5px;
	font-weight: 800;
	margin-right: 8px;
}
.rank-1 { background: linear-gradient(135deg, #fbbf24, #d97706); color: #000; box-shadow: 0 0 8px rgba(251, 191, 36, 0.5); }
.rank-2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #000; }
.rank-3 { background: linear-gradient(135deg, #d97706, #92400e); color: #fff; }
.rank-other { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }

.player-name-link {
	font-weight: 600;
	color: var(--text-main);
}
.player-lvl-pill {
	font-family: var(--font-gamer);
	font-size: 13px;
	font-weight: 700;
	color: var(--cyan);
	background: rgba(56, 189, 248, 0.1);
	padding: 2px 8px;
	border-radius: 12px;
}

/* Discord Community Banner Widget */
.discord-widget-card {
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(15, 23, 42, 0.8));
	border: 1px solid rgba(88, 101, 242, 0.35);
	border-radius: var(--radius-md);
	padding: 18px;
	text-align: center;
}
.discord-widget-card i {
	font-size: 38px;
	color: #5865f2;
	margin-bottom: 8px;
}
.discord-widget-card h4 {
	margin: 0 0 6px 0;
	font-size: 15px;
	color: #fff;
}
.discord-widget-card p {
	font-size: 12.5px;
	color: #cbd5e1;
	margin: 0 0 14px 0;
}
.btn-discord-join {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #5865f2;
	color: #fff !important;
	font-weight: 700;
	font-size: 13px;
	padding: 9px 20px;
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}
.btn-discord-join:hover {
	background: #4752c4;
	transform: translateY(-2px);
}

/* ===================================================================
   TABLES & GENERAL ZNOTE CONTENT
   =================================================================== */
table {
	width: 100% !important;
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(11, 15, 25, 0.5) !important;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border-glass) !important;
	margin-bottom: 20px;
}
th, tr.yellow td, thead th {
	background: rgba(30, 41, 59, 0.8) !important;
	color: var(--cyan) !important;
	font-weight: 700;
	font-size: 13.5px;
	padding: 12px 14px !important;
	text-align: left;
	border-bottom: 1px solid var(--border-glass) !important;
}
td {
	padding: 10px 14px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
	color: var(--text-main);
	font-size: 13.5px;
}
tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.015);
}
tr:hover td {
	background: rgba(56, 189, 248, 0.05);
}

/* Changelog / News Posts */
.postHolder {
	margin-bottom: 20px;
}
.postHolder .well {
	margin-bottom: 0 !important;
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
	background: rgba(11, 17, 32, 0.75) !important;
	backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass) !important;
	border-radius: var(--radius-lg) !important;
	box-shadow: var(--shadow-glass);
	padding: 24px 30px !important;
	margin-top: 30px;
	text-align: center;
}
footer p {
	margin: 0;
	font-size: 12.5px;
	color: var(--text-dim);
	line-height: 1.6;
}
footer a {
	color: var(--cyan);
}

/* ===================================================================
   GENERIC ZNOTE SUBPAGE ENHANCEMENTS (REGISTER, HIGHSCORES, ETC.)
   =================================================================== */
.leftPane > h1:first-child {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 20px;
	padding: 14px 20px;
	background: var(--bg-glass);
	backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	gap: 10px;
}

.leftPane > form:not(.searchForm) {
	background: var(--bg-glass);
	backdrop-filter: blur(14px);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	padding: 24px;
	box-shadow: var(--shadow-glass);
	margin-bottom: 24px;
}

.leftPane form ul li {
	margin-bottom: 16px;
	font-weight: 600;
	color: var(--text-muted);
}

.leftPane form ul li input,
.leftPane form ul li select {
	margin-top: 8px;
}

.page_highscores .leftPane form select {
	margin-bottom: 12px;
}
.page_highscores .leftPane form input[type="submit"] {
	margin-top: 6px;
	margin-bottom: 10px;
}

#characterProfileTable {
	margin-top: 15px;
}
#characterProfileTable th {
	font-size: 14px;
}

img.flag {
	vertical-align: middle;
	margin-right: 6px;
	border-radius: 2px;
}

/* ===================================================================
   ANIMATIONS & KEYFRAMES
   =================================================================== */
@keyframes floatGentle {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
@keyframes pulseGlow {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.25); }
}
@keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}


/* ===================================================================
   SUPER ADMIN PANEL - DARK GLASS POKEBALL THEME
   =================================================================== */
/* Modern Admin Panel Styles - Dark Glass Pokeball */
.admin-panel-wrapper {
	max-width: 1200px;
	margin: 0 auto 40px auto;
}

.panel-header-card {
	display: flex;
	align-items: center;
	gap: 20px;
	background: linear-gradient(135deg, rgba(20, 24, 38, 0.95), rgba(12, 14, 22, 0.98));
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	padding: 24px 30px;
	margin-bottom: 24px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.header-icon-box {
	width: 60px;
	height: 60px;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, var(--amber), #b45309);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #0b0f19;
	box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
	flex-shrink: 0;
}

.header-info {
	flex: 1;
}

.header-info h2 {
	margin: 0 0 4px 0;
	font-size: 24px;
	font-weight: 800;
	color: var(--text-light);
	letter-spacing: -0.5px;
}

.header-info h2 span {
	color: var(--amber);
}

.header-info p {
	margin: 0;
	font-size: 13.5px;
	color: var(--text-muted);
}

.header-user-status {
	display: flex;
	align-items: center;
	gap: 12px;
}

.admin-badge {
	background: rgba(251, 191, 36, 0.15);
	border: 1px solid rgba(251, 191, 36, 0.35);
	color: var(--amber);
	font-size: 12.5px;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 999px;
}

.btn-admin-logout {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #f87171;
	font-size: 12.5px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	transition: all 0.2s ease;
	text-decoration: none;
}
.btn-admin-logout:hover {
	background: #ef4444;
	color: #fff;
}

.admin-alert {
	padding: 14px 20px;
	border-radius: var(--radius-md);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
}
.alert-success {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #34d399;
}
.alert-danger {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.4);
	color: #f87171;
}

/* Tabs */
.admin-tab-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--glass-border);
	padding-bottom: 12px;
	overflow-x: auto;
}

.admin-tab-btn {
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 700;
	color: var(--text-muted);
	border-radius: var(--radius-md);
	background: rgba(18, 22, 34, 0.7);
	border: 1px solid var(--glass-border);
	text-decoration: none;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}
.admin-tab-btn:hover {
	color: var(--text-light);
	border-color: rgba(255, 255, 255, 0.2);
}
.admin-tab-btn.active {
	background: linear-gradient(135deg, var(--amber), #d97706);
	color: #0b0f19;
	border-color: var(--amber);
	box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}

/* Stats Cards Grid */
.admin-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.stat-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	backdrop-filter: blur(12px);
}

.stat-icon {
	width: 50px;
	height: 50px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.icon-users { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-chars { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-bans  { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.icon-points { background: rgba(251, 191, 36, 0.15); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.3); }

.stat-data { display: flex; flex-direction: column; }
.stat-number { font-size: 26px; font-weight: 800; color: var(--text-light); line-height: 1.1; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Admin Cards */
.admin-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	backdrop-filter: blur(14px);
}
.card-highlight {
	border-color: rgba(251, 191, 36, 0.4);
	box-shadow: 0 0 25px rgba(251, 191, 36, 0.12);
	margin-bottom: 24px;
}

.card-header {
	background: rgba(15, 18, 28, 0.85);
	padding: 16px 22px;
	border-bottom: 1px solid var(--glass-border);
}
.card-header h3 {
	margin: 0;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--text-light);
	display: flex;
	align-items: center;
	gap: 10px;
}
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.card-body { padding: 22px; }

/* Buttons Row */
.action-buttons-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.admin-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: var(--radius-md);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
	border: none;
}
.btn-warning { background: linear-gradient(135deg, var(--amber), #d97706); color: #0b0f19; }
.btn-warning:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35); }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35); }
.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--text-light); border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--glass-border); }
.btn-outline:hover { color: var(--text-light); border-color: rgba(255, 255, 255, 0.3); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* Tables */
.table-responsive { overflow-x: auto; }
.admin-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}
.admin-table th {
	background: rgba(12, 14, 22, 0.85);
	color: var(--text-muted);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 11.5px;
	letter-spacing: 0.5px;
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--glass-border);
}
.admin-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: var(--text-light);
	vertical-align: middle;
}
.admin-table tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.id-tag { font-family: monospace; font-size: 12px; color: var(--text-dim); }
.text-amber { color: var(--amber); }
.acc-tag { font-size: 12px; color: var(--text-muted); background: rgba(255, 255, 255, 0.05); padding: 3px 7px; border-radius: 4px; }
.coord-tag { font-family: monospace; font-size: 12px; color: #60a5fa; }

.badge-role {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	text-transform: uppercase;
}
.badge-adm { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.badge-cm  { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.badge-gm  { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.35); }
.badge-tutor { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-player { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }

.badge-vip {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
}
.vip-active { background: rgba(251, 191, 36, 0.15); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.35); }
.vip-none   { background: rgba(255, 255, 255, 0.05); color: var(--text-dim); }

.points-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(96, 165, 250, 0.12);
	color: #60a5fa;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 12px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
}
.status-ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.status-banned { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.badge-total {
	font-size: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-muted);
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
}

.action-btn-small {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: var(--radius-sm);
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all 0.15s ease;
}
.btn-edit { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.btn-edit:hover { background: #3b82f6; color: #fff; }
.btn-teleport { background: rgba(251, 191, 36, 0.15); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.3); }
.btn-teleport:hover { background: var(--amber); color: #0b0f19; }
.btn-delete { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-delete:hover { background: #ef4444; color: #fff; }
.btn-unban { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.btn-unban:hover { background: #10b981; color: #fff; }

.inline-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Form Grid */
.admin-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
}
.full-width { grid-column: 1 / -1; }

.form-group {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.form-group label {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-light);
}

.admin-input {
	background: rgba(12, 14, 22, 0.85);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	padding: 10px 14px;
	font-size: 13.5px;
	color: var(--text-light);
	outline: none;
	transition: all 0.2s ease;
	width: 100%;
	box-sizing: border-box;
}
.admin-input:focus {
	border-color: var(--amber);
	box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}
.disabled-input {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-dim);
	cursor: not-allowed;
}

.input-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.input-trio {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
}

.checkbox-group label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 13.5px;
	color: var(--text-light);
}
.checkbox-group input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: var(--amber);
}

.action-btn-bar {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}
