﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
	/* backgrounds */
	--primary: linear-gradient(135deg, rgb(30,33,40) 0%, rgb(40,45,55) 100%);
	--secondary: linear-gradient(135deg, rgb(25,28,33) 0%, rgb(35,40,48) 100%);
	--third: #e0e6ed;
	--border: rgb(45,50,60);
	--card-bg: linear-gradient(135deg, rgba(35,40,48, 0.95) 0%, rgba(45,50,60, 0.95) 100%);
	--glass-bg: rgba(255, 255, 255, 0.05);
	--shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	--shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);

	/* text */
	--font-color: rgb(240,245,255);
	--font-color-secondary: rgb(200,210,230);
	--heading-color: rgb(255,255,255);

	/* Links / anchors */
	--anchor: #629fb3;
	--anchor-hover: #24a9e7;

	/* buttons or alert boxes with different colors */
	--bg-danger: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
	--color-danger: #ffeaea;
	--border-danger: #ff3838;

	--bg-warning: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
	--color-warning: #fff8e1;
	--border-warning: #fb8c00;

	--bg-info: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
	--color-info: #e3f2fd;
	--border-info: #1976d2;

	--bg-success: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
	--color-success: #e8f5e8;
	--border-success: #388e3c;

	--bg-default: linear-gradient(135deg, rgb(25,30,40) 0%, rgb(35,40,50) 100%);
	--color-default: #c8d6e5;
	--border-default: rgb(45,50,60);

	/* Spacing */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.375rem;
	--spacing-md: 0.5rem;
	--spacing-lg: 0.75rem;
	--spacing-xl: 1rem;
	--spacing-xxl: 1.5rem;

	/* Border radius */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 15px;
	--radius-xl: 20px;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--font-color);
	line-height: 1.6;
	font-size: 16px;
	font-weight: 400;
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


body, ul {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--anchor);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

a:hover {
	color: var(--anchor-hover);
	text-decoration: none;
}

a:hover, button:hover, input[type="submit"]:hover {
	cursor: pointer;
}

* {
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

*:hover {
	-webkit-transition-duration: 0.15s;
	-moz-transition-duration: 0.15s;
	-o-transition-duration: 0.15s;
	transition-duration: 0.15s;
}

nav {
	background: var(--primary);
	border-radius: var(--radius-xl);
	margin: var(--spacing-xs) auto var(--spacing-sm) auto;
	box-shadow: var(--shadow);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border);
	position: relative;
	overflow: visible;
	height: 45px;
	padding: 0;
	width: min(1100px, 95vw);
}

nav::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
	pointer-events: none;
	border-radius: inherit;
}

nav .container {
	padding: 0 var(--spacing-lg);
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	height: 45px;
	position: relative;
	z-index: 2;
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	border-radius: inherit;
}

nav .container > div > ul {
	display: flex !important;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
	align-items: center;
	height: 100%;
}

nav .container > div > ul > li {
	position: relative;
	display: inline-block;
}

nav .container > div > ul > li > a {
	padding: var(--spacing-sm) var(--spacing-md);
	display: flex !important;
	align-items: center;
	gap: var(--spacing-sm);
	color: var(--font-color) !important;
	font-weight: 500;
	border-radius: var(--radius-md);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
	font-size: 0.9em;
	min-height: 25px;
	text-decoration: none;
	visibility: visible !important;
	opacity: 1 !important;
}

nav .container > div > ul > li > a:hover {
	background: rgba(79, 172, 254, 0.1);
	color: var(--anchor-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

nav .container > div > ul > li > a i {
	font-size: 1em;
	margin-right: var(--spacing-xs);
}

nav .container > div > ul > li > ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--card-bg);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-hover);
	border: 1px solid var(--border);
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
	backdrop-filter: blur(10px);
}

nav .container > div > ul > li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

nav .container > div > ul > li > ul > li > a {
	padding: var(--spacing-sm) var(--spacing-md);
	display: block;
	color: var(--font-color);
	transition: all 0.2s ease;
	border-radius: 0;
	margin: 0;
	white-space: nowrap;
	font-size: 0.9em;
}

nav .container > div > ul > li > ul > li > a:hover {
	background: rgba(79, 172, 254, 0.1);
	color: var(--anchor-hover);
}

.modIcon:hover > i:nth-child(2) {
	display: inline-block;
}
.preventCollapse, .ellipsis { overflow: hidden; }

.topPane {
	margin-bottom: var(--spacing-md);
	background: linear-gradient(135deg, rgba(20,34,54,0.92), rgba(32,52,82,0.94));
	border-radius: var(--radius-lg);
	padding: var(--spacing-sm) var(--spacing-md);

	backdrop-filter: blur(10px);

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 96px;
	position: relative;

	/* Aura temática */
	border: 1px solid rgba(79,172,254,0.4);
	box-shadow:
		0 0 0 1px rgba(79,172,254,0.12),
		0 12px 40px rgba(15,76,129,0.35),
		inset 0 1px 0 rgba(255,255,255,0.05);
}

.topPane img {
	filter: drop-shadow(0 0 6px rgba(79,172,254,0.35));
	transition: transform 0.25s ease, filter 0.25s ease;
}

.topPane a:hover img {
	transform: translateY(-2px) scale(1.03);
	filter: drop-shadow(0 0 12px rgba(79,172,254,0.5));
}

.server-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	min-width: 180px;
	border-radius: 999px;
	background: rgba(0, 255, 94, 0.08);
	border: 1px solid rgba(57, 255, 20, 0.6);
	box-shadow:
		0 0 8px rgba(57, 255, 20, 0.35),
		inset 0 1px 0 rgba(255,255,255,0.08);
	color: #39ff14;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-shadow: 0 0 6px rgba(57, 255, 20, 0.6);
}

.status-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url('../../pokebola.ico') center/contain no-repeat;
	filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.6));
}

.status-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9em;
	text-align: center;
	width: 100%;
}
.welcome-strip {
	margin: var(--spacing-sm) auto var(--spacing-md) auto;
	width: calc(100vw - 20px);
	max-width: 1088px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(79,172,254,0.35);
	box-shadow:
		0 0 0 1px rgba(79,172,254,0.12),
		0 10px 32px rgba(15,76,129,0.28),
		inset 0 1px 0 rgba(255,255,255,0.05);
	background: linear-gradient(135deg, rgba(20,34,54,0.92), rgba(32,52,82,0.94));
	backdrop-filter: blur(10px);
	z-index: 3;
}

.welcome-marquee {
	position: relative;
	width: 100%;
	height: 26px;
	overflow: hidden;
	pointer-events: none;
	padding: 6px var(--spacing-md);
}

.marquee-track {
	display: inline-flex;
}

.welcome-marquee span {
	display: inline-block;
	white-space: nowrap;
	min-width: max-content;
	color: #cfe9ff;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-shadow:
		0 0 6px rgba(116,187,255,0.45),
		0 2px 6px rgba(0,0,0,0.35);
	font-size: 0.9em;
	animation: marquee-lr 12s linear infinite;
}

@keyframes marquee-lr {
	from { transform: translateX(-100%); }
	to   { transform: translateX(100vw); }
}


.banner {
	position: relative;

	margin-bottom: 20px;
	border-radius: 14px;
	overflow: hidden;

	/* MantÃ©m proporÃ§Ã£o responsiva */
	aspect-ratio: 16 / 6;
	min-height: 180px;

	/* AURA AZUL (MESMA IDEIA DO TOPPANE) */
	border: 1px solid rgba(61,169,255,0.35);
	box-shadow:
		0 0 0 1px rgba(61,169,255,0.15),
		0 8px 30px rgba(61,169,255,0.25),
		0 0 40px rgba(61,169,255,0.35);
}




.banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0.0),
		rgba(0,0,0,0.0)
	);
	pointer-events: none;
}




.leftSidebar {
	width: 22%;
	float: left;
	box-sizing: border-box;
	min-height: 200px;
	background: rgba(255,255,255,0.03);
	border-radius: var(--radius-lg);
	padding: calc(var(--spacing-md) + 4px);
	border: 1px solid rgba(255,255,255,0.08);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	margin-right: 12px;
}

.leftPane {
	width: calc(100% - 22% - 26% - 24px);
	float: left;
	border-radius: var(--radius-lg);
	padding: var(--spacing-md);
	background: var(--card-bg);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	margin-right: 12px;
	box-sizing: border-box;
	min-height: 200px;
}

.rightPane {
	width: 26%;
	float: right;

	box-sizing: border-box;
	min-height: 200px;

	/* VISUAL */
	background: rgba(255,255,255,0.03);
	border-radius: var(--radius-lg);
	padding: calc(var(--spacing-md) + 4px);

	border: 1px solid rgba(255,255,255,0.08);
	backdrop-filter: blur(12px);

	box-shadow:
		0 8px 24px rgba(0,0,0,0.25);
}


.searchForm {
	width: 100%;
	max-width: 300px;
}

.body {
	padding: var(--spacing-lg) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
}

td {
	padding: var(--spacing-md);
	border-bottom: 1px solid var(--border);
	transition: background-color 0.2s ease;
}

td:hover {
	background: rgba(255, 255, 255, 0.02);
}

.header {
	color: var(--heading-color);
	font-weight: 600;
	font-size: 1.25rem;
	margin-bottom: var(--spacing-md);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.feedContainer {
	margin: var(--spacing-md) 0;
	border-radius: var(--radius-lg);
	background: var(--card-bg);
	backdrop-filter: blur(10px);
	padding: var(--spacing-md);

	position: relative;
	overflow: hidden;
	clear: both;

	/* AURA AZUL */
	border: 1px solid rgba(61,169,255,0.25);
	box-shadow:
		0 0 0 1px rgba(61,169,255,0.1),
		0 10px 35px rgba(61,169,255,0.22),
		0 0 50px rgba(61,169,255,0.35);
}


.feedContainer::after {
	content: '';
	display: table;
	clear: both;
	height: 0;
	visibility: hidden;
}
.pull-left { float: left !important; }
.pull-right { float: right !important; }
.well, .header { width: auto;}
.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }


.searchForm input {
	width: 100%;
	height: 48px;
	border: 2px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--font-color);
	font-size: 1em;
	font-family: inherit;
	padding: 0 var(--spacing-md);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.searchForm input:focus {
	outline: none;
	border-color: var(--anchor);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

#countDownTimer {
	line-height: 2.3;
	padding: 0px 10px;
	color: #ff0000;
}

.modIcon > i:nth-child(2) {
	display: none;
}
.modIcon:hover > i:nth-child(1) {
	display: none;
}

.loginForm {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.loginForm button {
	width: 100%;
	margin-top: var(--spacing-md);
	background: var(--bg-info);
	color: var(--color-info);
	height: 48px;
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	font-size: 1em;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.loginForm button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.loginForm button:hover::before {
	left: 100%;
}

.loginForm button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(66, 165, 245, 0.4);
	background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

.loginForm input {
	width: 100%;
	height: 48px;
	border: 2px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--font-color);
	font-size: 1em;
	font-family: inherit;
	padding: 0 var(--spacing-md);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.loginForm input:focus {
	outline: none;
	border-color: var(--anchor);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}


.main {
	width: min(1100px, 95vw);
	margin: 0 auto;
	position: relative;
	z-index: 1;
	padding: 0 var(--spacing-sm);
	box-sizing: border-box;
}

body {
	background:
		linear-gradient(135deg, rgba(20,25,35, 0.95) 0%, rgba(30,35,45, 0.95) 100%),
		url("../img/umbreon_bg.png");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-blend-mode: overlay;
	min-height: 100vh;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
	z-index: -1;
}


.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
}



.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: var(--radius-md);
	border: 2px solid var(--third);
	margin: 0 auto var(--spacing-lg) auto;
	text-align: center;
	padding: var(--spacing-md);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.alert-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
	pointer-events: none;
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
	border-color: var(--border-default);
}
.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
	border-color: var(--border-info);
}
.alert-success {
    background: var(--bg-success);
    color: var(--color-success);
    border-color: var(--border-success);
}
.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
	border-color: var(--border-warning);
}
.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
	border-color: var(--border-danger);
}
.alert-collapse {display:inline-block;}
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }


nav .container > div > ul > li > ul > li > a:hover,
.searchForm input, #countDownTimer, .loginForm input,
nav, table, .header, .feedContainer {
	background: var(--primary);
}

/* Override to keep nav inner container transparent */
nav .container {
	background: transparent !important;
}

.feedContainer {	
	border-radius: 10px;
}

footer {
	background: var(--primary);
	border-radius: var(--radius-lg);
	margin-top: var(--spacing-xxl);
	padding: var(--spacing-lg);
	text-align: center;
	color: var(--font-color-secondary);
	font-size: 0.9em;
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
}

.loginForm .well {
	width: 100%;
}

nav .container,
nav .container > div > ul > li > ul,
.leftPane, .rightPane, .topPane,
tr:nth-child(2n+1) {
	background: var(--secondary);
}

footer, .feedContainer,
nav .container, .topPane {
	border-bottom: 2px solid var(--border)
}

table, .header, .well, .smedia a {
	padding: 10px;
}

.searchForm input,
.loginForm input,
.alert-box {
	padding: 5px;
}

/* Znote AAC */
/* adding modern button style to select and inputs */
select {
	background: rgba(255, 255, 255, 0.05);
	color: rgb(134 137 143);
	height: 48px;
	border: 2px solid var(--border);
	border-radius: var(--radius-md);
	font-size: 1em;
	font-family: inherit;
	padding: 0 var(--spacing-md);
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	box-sizing: border-box;
}

select:focus {
	outline: none;
	border-color: var(--anchor);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

input {
	background: rgba(255, 255, 255, 0.05);
	color: var(--font-color);
	height: 48px;
	border: 2px solid var(--border);
	border-radius: var(--radius-md);
	font-size: 1em;
	font-family: inherit;
	padding: 0 var(--spacing-md);
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

input:focus {
	outline: none;
	border-color: var(--anchor);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

input[type="submit"] {
	background: var(--bg-info);
	color: var(--color-info);
	border: 2px solid transparent;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(66, 165, 245, 0.4);
	background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}
#loginContainer li {
	text-align: right;
}

div .displayPoints {
	position: relative;
	padding: 5px 15px 5px 15px;
}

div .displayPoints a {
	border: 1px solid #33a7d1;
	width: calc(50% - 10px);
	margin-bottom: 16px;
	text-align: center;
	text-align: center;
}

ul.linkbuttons {
	margin-top: 8px;
	padding: 0 8px;
}
ul.linkbuttons li {
	border: 2px solid var(--anchor);
	width: calc(50% - var(--spacing-sm));
	margin-bottom: var(--spacing-lg);
	text-align: center;
	float: left;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.02);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(51, 167, 209, 0.2);
}

ul.linkbuttons li:nth-child(odd) {
	margin-right: var(--spacing-lg);
}

ul.linkbuttons li:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(51, 167, 209, 0.3);
	border-color: var(--anchor-hover);
	background: rgba(255, 255, 255, 0.05);
}

ul.linkbuttons li a {
	padding: var(--spacing-md) 0;
	display: inline-block;
	width: 100%;
	text-align: center;
	font-weight: 500;
	color: var(--font-color);
	transition: color 0.3s ease;
}
ul.linkbuttons:after {
	content: '';
	display: block;
	clear: both;
}
.widget,
.widget .body,
.search_widget,
.search_widget .body {
	padding-bottom: 0;
}
.top5-widget {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(79, 172, 254, 0.25);
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(79, 172, 254, 0.15);
}
.top5-leftbar {
	margin-bottom: var(--spacing-lg);
}
.top5-widget .header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
	position: relative;
	padding-right: 0;
}
.top5-badge {
	position: relative;
	right: auto;
	top: auto;
	padding: 5px 9px;
	border-radius: 999px;
	border: 1px solid rgba(79, 172, 254, 0.6);
	background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(36, 169, 231, 0.4));
	color: var(--heading-color);
	font-size: 0.74em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 28px;
}
.top5-badge::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	background: url('../../pokebola.ico') center/contain no-repeat;
	filter: drop-shadow(0 0 4px rgba(0,0,0,0.35));
}
.top5-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}
.top5-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-sm) var(--spacing-md);
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.00));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 8px 20px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}
.top5-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, rgba(79, 172, 254, 0.9), rgba(36, 169, 231, 0.4));
	opacity: 0.7;
}
.top5-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.rank-badge {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 800;
	color: #0d1117;
	background: linear-gradient(135deg, #8bd5ff, #4facfe);
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.35);
}
.top5-rank-1 .rank-badge {
	background: linear-gradient(135deg, #f6d365, #fda085);
	color: #33230a;
}
.top5-rank-2 .rank-badge {
	background: linear-gradient(135deg, #cfd9df, #e2ebf0);
	color: #1f2937;
}
.top5-rank-3 .rank-badge {
	background: linear-gradient(135deg, #fbc2eb, #a18cd1);
	color: #2c1c40;
}
.top5-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.top5-name {
	color: var(--heading-color);
	font-weight: 700;
	font-size: 0.94em;
}
.top5-name:hover {
	color: var(--anchor-hover);
}
.top5-level {
	color: var(--font-color-secondary);
	font-size: 0.82em;
}
.widget center {
	margin: auto;
}
.widget h3 {
	margin-bottom: 0;
}
.search_widget form {
	margin: auto;
}
.search_widget input {
	width: 100%;
	float: left;
}
.search_widget label {
	padding: 9px;
	float: left;
}
.search_widget form:after {
	display: block;
	content: '';
	clear: both;
}
div.relative {
	position: relative;
}
.search_widget #name_suggestion {
	position: absolute;
	width: 280px;
	left: -290px;
	display: none;
}
.search_widget #name_suggestion.show {
	display: block;
}
.search_widget .sname {
	text-align: right;
}
.search_widget .sname a {
	display: inline-block;
	background-color: black;
	padding: 10px 20px;
	border-bottom: 1px solid rgb(30,33,40);
}
.page_credits .feedContainer .pull-left.leftPane {
	box-sizing: border-box;
	padding-left: 8px;
	padding-right: 8px;
}

.page_characterprofile #characterProfileTable thead th:first-of-type {
	position: relative;
	width: 28%;
}
.page_characterprofile #characterProfileTable thead th:last-of-type {
	text-align: left;
	padding-left: 16px;
}
.page_characterprofile .outfit {
	position: absolute;
	top: 0;
	left: 0;
}
.page_characterprofile .flag {
	position: absolute;
	top: 16px;
	right: 16px;
}
.postHolder iframe {
	display: block;
	margin: auto;
}

.topDownloadButton {
	text-align: center;
	width: 120px;
	height: auto;
	display: inline-block;
	padding: var(--spacing-sm) var(--spacing-lg);
	border: 2px solid var(--anchor);
	border-radius: var(--radius-md);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	color: var(--anchor);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9em;
	background: rgba(255, 255, 255, 0.02);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
	position: relative;
	overflow: hidden;
}

.topDownloadButton::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.1), transparent);
	transition: left 0.6s;
}

.topDownloadButton:hover::before {
	left: 100%;
}

.topDownloadButton:hover {
	border-color: var(--anchor-hover);
	color: var(--anchor-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
	background: rgba(79, 172, 254, 0.05);
}

/* Animations and Effects */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(79, 172, 254, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200px 0;
	}
	100% {
		background-position: calc(200px + 100%) 0;
	}
}

/* Apply animations to main elements */
.main {
	animation: fadeInUp 0.8s ease-out;
}

nav {
	animation: fadeInScale 0.6s ease-out;
}

.feedContainer {
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.leftSidebar, .leftPane, .rightPane {
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

footer {
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hover effects */
.well:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-box:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Loading animation for buttons */
.loading {
	position: relative;
	pointer-events: none;
}

.loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	margin: auto;
	border: 2px solid transparent;
	border-top-color: currentColor;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0turn);
	}
	to {
		transform: rotate(1turn);
	}
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--secondary);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--anchor);
}

/* Focus visible for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
	outline: 2px solid var(--anchor);
	outline-offset: 2px;
}

/* News and Changelog Styles */
.changelog-section {
	margin-bottom: var(--spacing-lg);
}

.news-post {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    overflow: hidden; /* â­ ISSO resolve o vazamento */
}
.news-post img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-md) - 4px);
}

.news-post:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.news-post table {
	margin: 0;
	background: transparent;
	box-shadow: none;
	border: none;
}

.news-post .yellow {
	background: var(--bg-info);
	color: var(--color-info);
	font-weight: 600;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.news-post .zheadline {
	font-size: 0.95em;
	padding: var(--spacing-md);
}

.news-post td {
	padding: var(--spacing-md);
	line-height: 1.6;
}

.news-post p {
	margin: 0;
	color: var(--font-color);
}

.news-post a {
	color: var(--anchor);
	font-weight: 500;
}

.news-post a:hover {
	color: var(--anchor-hover);
}

.pagination-container {
	text-align: center;
	padding: var(--spacing-lg);
	background: var(--card-bg);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
}

.pagination-container select {
	margin-top: var(--spacing-sm);
	min-width: 120px;
}

/* Responsive adjustments for news */
@media screen and (max-width: 768px) {
	.news-post {
		padding: var(--spacing-md);
		margin-bottom: var(--spacing-md);
	}

	.changelog-section {
		margin-bottom: var(--spacing-md);
	}

	.pagination-container {
		padding: var(--spacing-md);
	}
}

/* Print styles */
@media print {
	* {
		background: transparent !important;
		color: black !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	nav,
	.topPane,
	footer {
		display: none !important;
	}

	body {
		background: white !important;
	}
}









