/* ============================================
   POKE BYTE - Componentes Extras
   Estilos para páginas específicas do site
   ============================================ */

/* ============================================
   HIGHSCORES / LEADERBOARD
   ============================================ */
.highscores-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.highscores-table thead {
	background: linear-gradient(135deg, 
		rgba(59, 130, 246, 0.2), 
		rgba(251, 191, 36, 0.1)
	);
}

.highscores-table thead th {
	padding: 1rem;
	font-weight: 700;
	color: var(--poke-yellow);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.875rem;
}

.highscores-table tbody tr {
	transition: all var(--transition-base);
	border-bottom: 1px solid var(--divider);
}

.highscores-table tbody tr:hover {
	background: rgba(59, 130, 246, 0.1);
	transform: scale(1.01);
}

.highscores-table tbody tr:nth-child(1) {
	background: linear-gradient(90deg, 
		rgba(251, 191, 36, 0.15),
		transparent
	);
}

.highscores-table tbody tr:nth-child(1) td:first-child::before {
	content: '🥇';
	margin-right: 0.5rem;
}

.highscores-table tbody tr:nth-child(2) {
	background: linear-gradient(90deg, 
		rgba(156, 163, 175, 0.15),
		transparent
	);
}

.highscores-table tbody tr:nth-child(2) td:first-child::before {
	content: '🥈';
	margin-right: 0.5rem;
}

.highscores-table tbody tr:nth-child(3) {
	background: linear-gradient(90deg, 
		rgba(205, 127, 50, 0.15),
		transparent
	);
}

.highscores-table tbody tr:nth-child(3) td:first-child::before {
	content: '🥉';
	margin-right: 0.5rem;
}

.highscores-table tbody td {
	padding: 0.875rem 1rem;
	color: var(--text-secondary);
}

.highscores-table tbody td:first-child {
	font-weight: 700;
	color: var(--text-primary);
	font-size: 1.125rem;
}

/* ============================================
   CHARACTER PROFILE
   ============================================ */
.character-info-card {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-xl);
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-lg);
	box-shadow: var(--shadow-md);
}

.character-header {
	display: flex;
	align-items: center;
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
	padding-bottom: var(--spacing-lg);
	border-bottom: 2px solid var(--divider);
}

.character-outfit {
	width: 128px;
	height: 128px;
	background: rgba(59, 130, 246, 0.1);
	border: 2px solid var(--poke-blue);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--glow-blue);
}

.character-details h2 {
	margin-bottom: var(--spacing-sm);
	color: var(--poke-yellow);
	font-size: 2rem;
}

.character-level {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-sm);
	background: rgba(251, 191, 36, 0.1);
	border: 1px solid var(--poke-yellow);
	border-radius: var(--radius-full);
	padding: 0.5rem 1rem;
	color: var(--poke-yellow);
	font-weight: 700;
	font-size: 1.125rem;
}

.character-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--spacing-md);
}

.stat-item {
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border-secondary);
	border-radius: var(--radius-md);
	padding: var(--spacing-md);
	transition: all var(--transition-base);
}

.stat-item:hover {
	border-color: var(--poke-blue);
	transform: translateY(-2px);
}

.stat-label {
	display: block;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: var(--spacing-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--poke-blue-light);
}

/* ============================================
   GUILD DISPLAY
   ============================================ */
.guild-card {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-xl);
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-lg);
	box-shadow: var(--shadow-md);
	transition: all var(--transition-base);
}

.guild-card:hover {
	border-color: var(--poke-blue);
	box-shadow: var(--shadow-lg), var(--glow-blue);
}

.guild-header {
	display: flex;
	align-items: center;
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
}

.guild-logo {
	width: 96px;
	height: 96px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--poke-blue);
	box-shadow: var(--glow-blue);
}

.guild-info h3 {
	color: var(--poke-yellow);
	margin-bottom: var(--spacing-sm);
}

.guild-members {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	color: var(--text-secondary);
}

.guild-members i {
	color: var(--poke-blue-light);
}

/* ============================================
   SHOP / MARKET
   ============================================ */
.shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--spacing-lg);
}

.shop-item {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-xl);
	padding: var(--spacing-lg);
	transition: all var(--transition-base);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.shop-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, 
		transparent, 
		rgba(59, 130, 246, 0.1), 
		transparent
	);
	transition: left var(--transition-slow);
}

.shop-item:hover {
	border-color: var(--poke-yellow);
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl), var(--glow-yellow);
}

.shop-item:hover::before {
	left: 100%;
}

.shop-item-image {
	width: 100%;
	height: 200px;
	background: rgba(17, 24, 39, 0.6);
	border-radius: var(--radius-lg);
	margin-bottom: var(--spacing-md);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid var(--border-secondary);
}

.shop-item-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.shop-item-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: var(--spacing-sm);
}

.shop-item-description {
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: var(--spacing-md);
	line-height: 1.6;
}

.shop-item-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: var(--spacing-md);
	border-top: 1px solid var(--divider);
}

.shop-item-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--poke-yellow);
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
}

.shop-item-buy-btn {
	padding: 0.625rem 1.25rem;
	background: linear-gradient(135deg, var(--poke-blue), var(--poke-blue-dark));
	color: var(--text-primary);
	border: none;
	border-radius: var(--radius-full);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-base);
	box-shadow: var(--glow-blue);
}

.shop-item-buy-btn:hover {
	background: linear-gradient(135deg, var(--poke-yellow), var(--poke-yellow-dark));
	box-shadow: var(--glow-yellow-hover);
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */
.download-section {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-xl);
	padding: var(--spacing-2xl);
	margin-bottom: var(--spacing-xl);
	text-align: center;
}

.download-section h2 {
	color: var(--poke-yellow);
	margin-bottom: var(--spacing-md);
	font-size: 2.5rem;
}

.download-section p {
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto var(--spacing-xl) auto;
	line-height: 1.8;
}

.download-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-md);
	justify-content: center;
	margin-top: var(--spacing-xl);
}

.download-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: 1.25rem 2.5rem;
	background: linear-gradient(135deg, var(--poke-blue), var(--poke-blue-dark));
	color: var(--text-primary);
	font-weight: 700;
	font-size: 1.125rem;
	border-radius: var(--radius-lg);
	border: 2px solid var(--poke-blue-light);
	text-decoration: none;
	transition: all var(--transition-base);
	box-shadow: var(--glow-blue), var(--shadow-md);
	position: relative;
	overflow: hidden;
}

.download-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--poke-yellow), var(--poke-yellow-dark));
	opacity: 0;
	transition: opacity var(--transition-base);
}

.download-btn:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: var(--glow-yellow-hover), var(--shadow-xl);
	border-color: var(--poke-yellow);
}

.download-btn:hover::before {
	opacity: 1;
}

.download-btn i {
	font-size: 1.5rem;
	position: relative;
	z-index: 1;
}

.download-btn span {
	position: relative;
	z-index: 1;
}

.download-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-lg);
	margin-top: var(--spacing-2xl);
}

.download-info-item {
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border-secondary);
	border-radius: var(--radius-lg);
	padding: var(--spacing-lg);
	text-align: center;
}

.download-info-item i {
	font-size: 2.5rem;
	color: var(--poke-blue-light);
	margin-bottom: var(--spacing-md);
}

.download-info-item h4 {
	color: var(--text-primary);
	margin-bottom: var(--spacing-sm);
}

.download-info-item p {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin-bottom: 0;
}

/* ============================================
   NEWS / CHANGELOG
   ============================================ */
.news-post {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-xl);
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-xl);
	transition: all var(--transition-base);
}

.news-post:hover {
	border-color: var(--poke-blue);
	box-shadow: var(--shadow-lg), var(--glow-blue);
}

.news-header {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding-bottom: var(--spacing-md);
	margin-bottom: var(--spacing-md);
	border-bottom: 2px solid var(--divider);
}

.news-date {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-xs);
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid var(--poke-blue);
	border-radius: var(--radius-full);
	padding: 0.5rem 1rem;
	color: var(--poke-blue-light);
	font-size: 0.875rem;
	font-weight: 600;
}

.news-author {
	color: var(--text-muted);
	font-size: 0.875rem;
}

.news-author a {
	color: var(--poke-yellow);
	font-weight: 600;
}

.news-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--poke-yellow);
	margin-bottom: var(--spacing-md);
}

.news-content {
	color: var(--text-secondary);
	line-height: 1.8;
}

.news-content img {
	max-width: 100%;
	border-radius: var(--radius-lg);
	margin: var(--spacing-lg) 0;
	box-shadow: var(--shadow-md);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-sm);
	margin: var(--spacing-xl) 0;
}

.pagination-btn,
.pagination-page {
	padding: 0.75rem 1.25rem;
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border-secondary);
	border-radius: var(--radius-md);
	color: var(--text-secondary);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
}

.pagination-btn:hover,
.pagination-page:hover {
	background: rgba(59, 130, 246, 0.1);
	border-color: var(--poke-blue);
	color: var(--text-primary);
}

.pagination-page.active {
	background: linear-gradient(135deg, var(--poke-blue), var(--poke-blue-dark));
	border-color: var(--poke-blue-light);
	color: var(--text-primary);
	box-shadow: var(--glow-blue);
}

/* ============================================
   VOTING WIDGET
   ============================================ */
.vote-widget {
	background: linear-gradient(135deg, 
		rgba(59, 130, 246, 0.1), 
		rgba(251, 191, 36, 0.05)
	);
	border: 2px solid var(--poke-blue);
	border-radius: var(--radius-xl);
	padding: var(--spacing-lg);
	text-align: center;
}

.vote-widget h3 {
	color: var(--poke-yellow);
	margin-bottom: var(--spacing-md);
}

.vote-widget p {
	color: var(--text-secondary);
	margin-bottom: var(--spacing-lg);
	font-size: 0.875rem;
}

.vote-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-sm);
	padding: 1rem 2rem;
	background: linear-gradient(135deg, var(--poke-yellow), var(--poke-yellow-dark));
	color: var(--bg-primary);
	font-weight: 700;
	border-radius: var(--radius-full);
	text-decoration: none;
	transition: all var(--transition-base);
	box-shadow: var(--glow-yellow), var(--shadow-md);
}

.vote-btn:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: var(--glow-yellow-hover), var(--shadow-xl);
}

/* ============================================
   SERVER INFO
   ============================================ */
.server-status {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

.status-item {
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border-secondary);
	border-radius: var(--radius-md);
	padding: var(--spacing-md);
	text-align: center;
	transition: all var(--transition-base);
}

.status-item:hover {
	border-color: var(--poke-blue);
	transform: translateY(-2px);
}

.status-label {
	display: block;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: var(--spacing-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.status-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--poke-blue-light);
}

.status-online {
	color: var(--success);
}

.status-offline {
	color: var(--danger);
}

/* ============================================
   BADGES E CONQUISTAS
   ============================================ */
.badges-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: var(--spacing-md);
}

.badge-item {
	aspect-ratio: 1;
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border-secondary);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--spacing-md);
	transition: all var(--transition-base);
	cursor: pointer;
}

.badge-item:hover {
	border-color: var(--poke-yellow);
	transform: scale(1.1);
	box-shadow: var(--glow-yellow);
}

.badge-icon {
	font-size: 2rem;
	margin-bottom: var(--spacing-xs);
}

.badge-name {
	font-size: 0.75rem;
	color: var(--text-muted);
	text-align: center;
}

.badge-locked {
	opacity: 0.3;
	filter: grayscale(100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 768px) {
	.download-section {
		padding: var(--spacing-lg);
	}

	.download-section h2 {
		font-size: 2rem;
	}

	.download-btn {
		width: 100%;
		justify-content: center;
	}

	.shop-grid {
		grid-template-columns: 1fr;
	}

	.character-header {
		flex-direction: column;
		text-align: center;
	}

	.character-stats {
		grid-template-columns: 1fr;
	}
}
