@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;900&display=swap');
:root {
	--blue: #0a49a3;
	--dark: #041a35;
	--text: #0b2c55;
	--white: #ffffff;
	--red: #d43030;
	--green: #15a14f;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0
}
html, body {
	height: 100%
}
body {
	font-family: Oxanium, Arial, Helvetica, sans-serif;
	color: var(--text);
	background: #e9edf2 url('assets/img/fundo-claro.png') center top repeat;
}
.app {
	max-width: 430px;
	margin: 0 auto;
	background: #f4f7fb;
	min-height: 100vh;
	position: relative;
	box-shadow: 0 0 40px rgba(0, 0, 0, .35);
}
/* -------- HERO (azul + card) -------- */
.hero {
	background: url('../img/fundo/fundo_azul.webp') center top no-repeat;
	background-size: cover; /* ajusta à largura */
	padding: 18px 14px 28px;
	position: relative;
}
.hero .topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	margin-bottom: 16px;
	font-weight: 900;
}
.topbar .brand {
	display: flex;
	gap: 8px;
	align-items: center
}
.header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
}
.header-left {
	display: flex;
	align-items: center;
	gap: 5px; /* espaço entre points-card e points-text */
}
/* bloco com o saldo/pontos */
.points-card {
	display: flex;
	align-items: center;
	gap: 4px;
	background: #e5e8ef;
	border-radius: 8px;
	padding: 3px 5px;
	font-weight: 700;
}
.points-card img {
	width: 25px;
	height: 25px;
	border-radius: 6px;
	object-fit: contain;
}
.points-text {
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.points-number {
	font-size: 11px; /* número maior */
	font-weight: 900; /* bem grosso */
	color: #fff;
	line-height: 1;
}
.points-label {
	font-size: 7px; /* menor para o texto "PONTOS" */
	font-weight: 500;
	color: #fff;
	line-height: 1;
}
/* ícone de notificação (SVG) */
.notification-card {
	position: relative;
	width: 32px;
	height: 32px;
	background: #e5e8ef;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.notification-card svg {
	width: 22px;
	height: 22px;
}
.notification-badge {
	position: absolute;
	top: 3px;
	right: 4px;
	background: red;
	color: white;
	font-size: 8px;
	font-weight: 900;
	border-radius: 50%;
	width: 10px;
	height: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.card-wrap {
	display: flex;
	justify-content: center;
}
/* Hex-card approximated to match PDF proportions */
.hexcard {
	position: relative;
	width: 360px;
	aspect-ratio: 1.47 / 1; /* visually tuned */
	clip-path: polygon(10% 0, 90% 0, 100% 26%, 100% 74%, 90% 100%, 10% 100%, 0 74%, 0 26%);
	background: linear-gradient(180deg, #ffbf4a 0%, #c57c17 100%);
	box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .12), inset 0 0 0 2px rgba(0, 0, 0, .2), 0 20px 50px rgba(0, 0, 0, .35);
}
.hexcard::before {
	content: "";
	position: absolute;
	inset: 10px;
	clip-path: inherit;
	background: linear-gradient(180deg, #fbc65a 0%, #a5630e 100%);
	filter: brightness(1.05);
	box-shadow: inset 0 0 40px rgba(255, 255, 255, .18);
}
/* inner content */
.hex-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start
}
.badge-num {
	position: absolute;
	left: 18px;
	top: 14px;
	background: rgba(255, 255, 255, .15);
	color: #3b2410;
	border-radius: 10px;
	padding: 6px 10px;
	font-weight: 900
}
.club {
	position: absolute;
	right: 16px;
	top: 20px;
	width: 62px;
	height: 62px;
	background: #fff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	color: #0a2a4f
}
.face {
	position: absolute;
	top: 70px;
	width: 220px;
	height: 220px;
	border-radius: 16px;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, .45)
}
.name-banner {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 80px;
	background: rgba(255, 255, 255, .1);
	padding: 8px 18px;
	border-radius: 10px;
	font-weight: 900;
	color: #3b2410;
	font-size: 22px;
	letter-spacing: .5px;
	text-transform: uppercase;
	backdrop-filter: blur(2px);
}
.xp {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 52px;
	width: 240px;
	height: 18px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .2);
	overflow: hidden;
}
.xp .fill {
	height: 100%;
	width: 80%;
	background: linear-gradient(90deg, #1360ff, #41b5ff)
}
.xp .label {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	text-align: center;
	color: #fff;
	font-weight: 900;
	font-size: 12px
}
.hexstats {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 18px;
	display: flex;
	gap: 22px;
	color: #3b2410;
	font-weight: 900
}
.hexstats small {
	display: block;
	font-weight: 700;
	opacity: .9
}
/* ---------- Sections common ---------- */
.section {
	padding: 16px 12px 8px
}
.section h3 {
	font-weight: 900;
	text-transform: uppercase;
	color: #0a3a8e;
	text-align: center;
	margin: 4px 0 12px
}
/* ---------- Marcar Jogo ---------- */
.marcar .row {
	display: flex;
	gap: 0px;
	align-items: center;
	justify-content: center
}
.blue-pill {
	position: relative;
	width: 44%;
	max-width: 190px;
	aspect-ratio: 5.5 / 1;
	background: url('../img/barra_estatisticas_left.png') center/100% 100% no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	height: 60px;
}
.blue-pill .pic {
	position: absolute;
	left: 10px;
	bottom: 15px;
	height: 120%; /* imagem mais alta que a barra */
	width: auto;
	object-fit: cover;
	border-radius: 0;
	z-index: 2;
}
.blue-pill .meta {
	color: #fff;
	text-align: right;
	margin-left: 55px;
}
.blue-pill .meta .a {
	font-weight: 900;
	font-size: 10px;
	line-height: 1
}
.blue-pill .meta .b {
	font-size: 8px;
	opacity: .85
}
.blue-pill-right {
	position: relative;
	width: 44%;
	max-width: 190px;
	aspect-ratio: 5.5 / 1;
	background: url('../img/barra_estatisticas_right.png') center/100% 100% no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	height: 60px;
}
.blue-pill-right .pic {
	position: absolute;
	right: 10px;
	bottom: 15px;
	height: 120%; /* imagem mais alta que a barra */
	width: auto;
	object-fit: cover;
	border-radius: 0;
	z-index: 2;
}
.blue-pill-right .meta {
	color: #fff;
	text-align: left;
	margin-right: 55px;
}
.blue-pill-right .meta .a {
	font-weight: 900;
	font-size: 10px;
	line-height: 1
}
.blue-pill-right .meta .b {
	font-size: 8px;
	opacity: .85
}
.vs {
	width: 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Poppins', sans-serif; /* ou Roboto */
	font-weight: 900; /* usa o black da fonte */
	color: #0a49a3;
	font-size: 28px;
	letter-spacing: -1px; /* opcional, deixa as letras mais juntas */
}
/* ---------- OURO ESPECIAL (ajuste fino) ---------- */
.ouro-especial {
	position: absolute;
	bottom: -2px; /* ligeiramente abaixo da barra azul */
	right: 22px; /* encostado à borda direita da blue-pill */
	background: url('../img/barra_dourada_ouro_especial.png') center/100% 100% no-repeat;
	color: #fff;
	font-weight: 700;
	font-size: 5.5px;
	text-transform: uppercase;
	text-align: center;
	padding: 4px 10px;
	min-width: 75px;
	height: 18px;
	line-height: 11px;
	box-sizing: border-box;
	z-index: 1 !important; /* sobrepõe a imagem da jogadora */
}
.ouro-especial-right {
	position: absolute;
	bottom: -2px; /* ligeiramente abaixo da barra azul */
	left: 22px; /* encostado à borda direita da blue-pill */
	background: url('../img/barra_dourada_ouro_especial_2.png') center/100% 100% no-repeat;
	color: #fff;
	font-weight: 700;
	font-size: 5.5px;
	text-transform: uppercase;
	text-align: center;
	padding: 4px 10px;
	min-width: 75px;
	height: 18px;
	line-height: 11px;
	box-sizing: border-box;
	z-index: 1 !important; /* sobrepõe a imagem da jogadora */
}
/* ---------- Últimos Jogos ---------- */
.section h3 {
	text-align: center;
	font-size: 22px;
	font-weight: 900;
	margin-bottom: 12px;
}
.section h3 span {
	color: #007bff; /* Azul igual ao da imagem */
}
.legendDV {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 18px;
}
.legendDV div {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	color: #444;
}
.legendDV span {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	color: #fff;
	margin-bottom: 3px;
}
.legendDV .D {
	background: #d33a3a;
}
.legendDV .V {
	background: #16a755;
}
.matches {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.match-bar {
	position: relative;
	width: 100%;
	max-width: 750px;
	aspect-ratio: 4.2 / 1; /* Mais alongado, como na 2ª imagem */
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}
.match-bar.red {
	background-image: url('../img/barra _maior_vermelha.png');
}
.match-bar .side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	width: 45%;
}
.match-bar .left {
	left: 15px;
	justify-content: flex-start;
}
.match-bar .right {
	right: 30px;
	justify-content: flex-end;
	text-align: right;
}
.match-bar .avatar {
	width: 80px;
	height: 73px;
	object-fit: cover;
	position: relative;
	top: -9px; /* sobe a imagem 10px */
}
.match-bar .name {
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* texto alinhado à esquerda */
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.1;
}
.match-bar .name span {
	display: block;
}
.match-bar .name .player {
	font-size: 9px; /* Nome maior */
}
.match-bar .name .team {
	align-self: flex-end;
	font-size: 7px;
	font-weight: 500;
	opacity: 0.95;
}
.match-bar .center {
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	margin-top: 10px;
}
.match-bar .right .name .team {
	align-self: flex-start;
	text-align: left;
}
.match-bar .stats-box {
	background: url('../img/barraestatisticas2.png') no-repeat center;
	background-size: contain; /* mantém proporção */
	width: 90px; /* largura proporcional */
	height: 30px; /* altura definida */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8px; /* ajusta o texto para caber bem */
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.match-bar .score {
	font-size: 23px;
	font-weight: 900;
	position: relative;
	top: 20px;
}
.match-bar .points {
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	opacity: 0.95;
}
.match-bar .name .team, .match-bar .name .gold-btn {
	align-self: flex-end;
}
.match-bar .gold-btn {
	font-size: 4px;
	font-weight: 700;
	color: #fff;
	border: none;
	cursor: pointer;
	/* Fundo com a imagem */
	background: url('../img/barra_ouro.png');
	background-size: cover;
	/* Ajustes do botão (metade do tamanho anterior) */
	width: 47px; /* antes 95px */
	height: 14px; /* antes 28px */
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	border-radius: 0;
	padding: 0;
}
/* ---------- EM DIRETO ---------- */
.tabs {
	display: flex;
	gap: 20px; /* espaço entre os tabs */
	justify-content: center;
	flex-wrap: nowrap; /* impede quebra de linha */
	margin: 12px auto 16px;
	max-width: 100%; /* ocupa toda a largura disponível */
	font-size: 8px;
	font-family: Arial, sans-serif;
	font-weight: 500;
}
.tabs .tab {
	background: none;
	border: none;
	color: #222;
	font-size: 8px;
	font-weight: 500;
	cursor: pointer;
	text-transform: uppercase;
}
.tabs .tab.active {
	color: #0b3a8e; /* azul */
	font-weight: 900; /* bold */
}
.live-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center
}
.live-card {
	position: relative;
	width: 95%;
	max-width: 400px;
	aspect-ratio: 3.84 / 1;
	background: url('assets/img/barra-estatisticas.png') center/100% 100% no-repeat;
}
.live-card .side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	width: 42%
}
.live-card .left {
	left: 14px
}
.live-card .right {
	right: 14px;
	justify-content: flex-end;
	text-align: right
}
.live-card .avatar {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, .35)
}
.live-card .name {
	font-weight: 900;
	color: #fff
}
.live-card .club {
	font-size: 11px;
	color: #fff;
	opacity: .9
}
.live-card .center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff
}
.live-card .badge {
	display: inline-block;
	background: #d43030;
	color: #fff;
	font-weight: 900;
	padding: 6px 8px;
	border-radius: 8px;
	font-size: 12px;
	margin-bottom: 6px
}
.live-card .score {
	font-weight: 900;
	font-size: 20px
}
.match-center {
	text-align: center;
	min-width: 80px !important; /* largura fixa */
	margin-top: -20px !important;
}
.match-center .live {
	display: inline-block;
	background: #e30613;
	color: #fff;
	font-weight: 700;
	font-size: 8px;
	padding: 1px 7px;
	border-radius: 16px;
	text-transform: uppercase;
	margin-bottom: 2px;
}
.match-center .time {
	color: #0b3a8e;
	font-size: 6px;
	font-weight: 600;
	margin-bottom: 0px;
}
.match-center .score {
	font-family: 'Oxanium', Arial, Helvetica, sans-serif;
	font-size: 25px;
	font-weight: 900;
	color: #0b3a8e;
	margin: -3px 0;
	display: inline-block; /* necessário para o transform */
	transform: scaleY(1.0); /* 1.5 = 150% da altura original */
}
.match-center .points {
	font-size: 5px;
	color: #0b3a8e;
	font-weight: 500;
	margin: -3px 0
}
.match-center .points span {
	font-weight: 700;
}
/* ---------- CONQUISTAS ---------- */
.conqs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-width: 400px;
	margin: 10px auto 24px
}
.trophy {
	position: relative;
	width: 100%;
	aspect-ratio: 2.2 / 1;
	background: url('assets/img/barra-conquistas-azul.png') center/100% 100% no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding: 6px 10px
}
.trophy .txt {
	font-weight: 900;
	font-size: 12px;
	line-height: 1.1
}
.trophy .sub {
	display: block;
	font-size: 10px;
	opacity: .85;
	margin-top: 2px
}
/* ---------- FOOTER NAV ---------- */
.bottom {
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	height: 66px;
	background: #0b3a8e;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 8px;
	z-index: 2
}
.bottom a {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #8fb7ff;
	text-decoration: none;
	font-size: 11px
}
.bottom svg {
	width: 22px;
	height: 22px;
	fill: currentColor
}
.space {
	height: 78px
}
.content-bg {
	background: url('../img/fundo/fundo_claro.webp') center top no-repeat;
	background-size: cover; /* ajusta à largura */
	position: relative;
	z-index: 1; /* garante que fique abaixo do menu */
}
nav.bottom img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
/* ====== RESPONSIVIDADE ====== */
.card {
	position: relative;
	width: 400px;
	height: 160px;
	z-index: 2;
}
/* Foto */
.perfil {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: auto;
	object-fit: cover;
	z-index: 1;
}
/* Logo no canto */
.logo {
	position: absolute;
	top: 160px;
	right: 70px;
	width: 60px;
}
/* Manager Formador */
.manager {
	position: absolute;
	top: 170px;
	left: 77px;
	font-family: 'Oxanium', sans-serif;
	font-weight: 900;
	font-size: clamp(8px, 2vw, 13px); /* máximo 15px, mínimo 10px */
	color: #5a1a00;
	text-transform: uppercase;
	line-height: 1.0;
	max-width: 90px; /* largura fixa */
	text-align: left;
	white-space: nowrap; /* evita quebra de linha */
	overflow: hidden; /* evita ultrapassar */
	text-overflow: ellipsis; /* põe "..." se ainda passar */
	letter-spacing: -1px; /* aproxima as letras */
}
/* Número grande */
.numero {
	position: absolute;
	top: 185px;
	left: 76px;
	font-family: 'Oxanium', sans-serif;
	font-weight: 700; /* máximo disponível no Google Fonts */
	font-size: 60px;
	color: #5a1a00;
	letter-spacing: -2px; /* aproxima as letras */
	text-shadow:
		-1px 0 #5a1a00, 1px 0 #5a1a00, 0 -1px #5a1a00, 0 1px #5a1a00; /* engrossa o traço */
}
/* Nome */
.nome {
	position: absolute;
	bottom: 182px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Oxanium', sans-serif;
	font-weight: 900;
	font-size: clamp(12px, 5vw, 30px); /* máximo 35px, mínimo 14px */
	color: #5a1a00;
	text-transform: uppercase;
	letter-spacing: -1px;
	-webkit-text-stroke: 1px #5a1a00;
	max-width: 300px; /* limite fixo */
	text-align: center;
	white-space: nowrap; /* evita quebrar linha */
	overflow: hidden; /* evita passar da caixa */
	text-overflow: ellipsis; /* se passar muito, põe "..." */
}
.xp-bar {
	position: absolute;
	bottom: 165px;
	left: 165px;
	width: 140px;
	height: 22px;
	border-radius: 10px;
	overflow: hidden;
}
.xp-bar .fill {
	width: 90%; /* 68/75 */
	height: 100%;
	background: #1d4ed8;
}
.xp-bar .text {
	position: absolute;
	top: 2px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	font-weight: 700; /* Bold */
	color: #fff;
}
/* Estatísticas */
.stats {
	position: absolute;
	bottom: 150px;
	left: 50%;
	transform: translateX(-50%);
	width: auto; /* ajusta automaticamente ao conteúdo */
	display: flex;
	justify-content: center;
	gap: 20px; /* controla a distância entre cada estatística */
	color: #5a1a00;
	font-weight: 900; /* Black */
	font-size: 10px;
	text-transform: uppercase;
	font-family: 'Oxanium', sans-serif;
	/* Engrossar mais */
	-webkit-text-stroke: 1px #5a1a00;
}
.stats small {
	display: inline;
	font-size: 14px;
	font-weight: 400;
	margin-left: 2px;
}
.stats div {
	display: flex;
	align-items: center;
	gap: 2px;
}
.section {
	padding: 16px 12px 8px;
}
.section h3 {
	font-weight: 900;
	text-transform: uppercase;
	color: #0a3a8e;
	text-align: center;
	margin: 4px 0 12px;
}
.conqs {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 colunas */
	gap: 0px;
	max-width: 900px;
	margin: 10px auto 24px;
}
.trophy {
	position: relative;
	width: 130px;
	aspect-ratio: 1500 / 1186; /* mantém a forma do fundo */
	background: url('assets/img/barra-conquistas-azul.png') center/contain no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding: 4px;
	font-family: 'Montserrat', sans-serif;
}
.trophy.conquered {
	background: url('../img/barra_conquistas_azul.png') center/contain no-repeat;
}
.trophy .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.15;
	transform: scale(1); /* ligeiro ajuste visual */
}

.trophy .name {
	font-weight: 700;
	font-size: 6.5px;
	letter-spacing: 0.3px;
}

.trophy .action {
	font-size: 5px;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 3px;
}

.trophy .highlight {
	font-weight: 900;
	font-size: 7.2px;
	text-transform: uppercase;
	margin: 2px 0;
	line-height: 1.1;
}

.trophy .bonus {
	font-size: 5px;
	opacity: 0.9;
	margin-bottom: 3px;
}

.trophy .date {
	font-size: 4px;
	opacity: 0.7;
	margin-top: 2px;
	line-height: 1.1;
}

.info-carteira {
	text-align: center;
	margin-top: 55px;
	padding-top: 15px;
	position: relative;
	margin-bottom: 25px;
}

.info-transfere {
	text-align: center;
	margin-top: 15px;
	padding-top: 15px;
	position: relative;
	margin-bottom: 25px;
}

.info-carteira::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	height: 4px;
	background: radial-gradient(ellipse at center, #00308f 0%, #00308f 40%, transparent 70%);
	border-radius: 50%;
	z-index: 2;
}

.info-carteira h2 {
	color: #00308f;
	font-size: 1.0em;
	font-weight: 900;
	margin-bottom: 4px;
}

.info-carteira p {
	display: inline-block;
	width: 250px;
	color: #000;
	font-size: 0.4em;
	line-height: 1.4em;
	font-weight: 500;
	text-align: center;
}

.info-transfere h2 {
	color: #00308f;
	font-size: 1.0em;
	font-weight: 900;
	margin-bottom: 4px;
}

.info-transfere p {
	display: inline-block;
	width: 250px;
	color: #000;
	font-size: 0.4em;
	line-height: 1.4em;
	font-weight: 500;
	text-align: center;
}

.grafico-container {
	position: relative;
	width: 200px; 
	height: 200px;
	left: 25%;
}

/* === Canvas === */
canvas {
	position: relative;
	z-index: 1;
}

.borda-brilho {
	position: absolute;
	top: -7px;
	left: -7px;
	right: -7px;
	bottom: -7px;
	border-radius: 50%;
	z-index: 0;
	filter: blur(9px);
}

.centro {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 120px;
	height: 80px;
	background: url('../img/quadrado_azul.png') center/contain no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-align: center;
	font-weight: bold;
	z-index: 2;
}

.centro h1 {
	font-size: 21px;
	line-height: 1;       /* remove espaço extra vertical */
	margin: 0;            /* garante zero margem */
}

.centro p {
	font-size: 6.5px;
	margin: 0;            /* remove margem superior/inferior */
	line-height: 1;       /* ajusta espaçamento interno */
}

.container-saldos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* espaçamento reduzido */
  margin-top: 15px;
}

.quadro {
  width: 150px;
  height: 100px;
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  z-index: 2;
  cursor: pointer; /* para indicar que é clicável */
  transition: transform 0.2s ease, filter 0.2s ease;
}

.quadro.quadro_azul{
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}

.quadro.quadro_silver{
  background: url('../img/quadrado_silver.png') center/contain no-repeat;
  color: #333;
}

/* HOVER – mesmo efeito dos valores */
.quadro:hover {
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}

/* ATIVO (selecionado) – igual ao .valor-qd.ativo */
.quadro.ativo {
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}



.quadro h1 {
  font-size: 30px; /* texto proporcional ao novo tamanho */
  line-height: 1;
  margin-top: 0px;
}

.quadro p {
  font-size: 6px;
  margin: 0;
  line-height: 1;
}

.container-valores-qd {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;             /* permite quebrar linha */
  gap: 10px;                   /* espaçamento entre os quadrados */
  width: 260px;                /* controla 4 por linha (ajuste conforme o tamanho) */
  margin: 20px auto;           /* centraliza no meio da tela */
}

.valor-qd {
  width: 55px;                 /* tamanho proporcional */
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.valor-qd.quadro_azul{
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}

.valor-qd.quadro_silver{
  background: url('../img/quadrado_silver.png') center/contain no-repeat;
  color: #333;
}

/* efeito hover e ativo (selecionado) */
.valor-qd:hover {
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}

.valor-qd.ativo {
  background: url('../img/quadrado_azul.png') center/contain no-repeat;
  color: #fff;
}

.movimento {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin: 8px auto;
  width: 100%;
  max-width: 430px;
  font-family: Arial, sans-serif;
}

/* === Barra principal === */
.barra {
  flex: 1;
  height: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 35px;
  color: #fff;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

/* Fundos das barras */
.barra.verde {
  background: url('../img/barra_verde_movimentos.png') center/cover no-repeat;
}

.barra.azul {
  background: url('../img/barra_azul_movimento.png') center/cover no-repeat;
}

.barra.vermelha {
  background: url('../img/barra_vermelho_movimento.png') center/cover no-repeat;
}

/* === Ícone com bola e seta === */
.icone {
  flex-shrink: 0;
  margin-right: 6px;
}

.circulo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circulo img {
  width: 24px;
  height: 24px;
}

/* === Informação do texto === */
.info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.1;
}

.info .titulo {
  font-size: 10px;
  margin: 0;
}

.info .descricao {
  font-size: 9px;
  margin: 0;
}

.info .data {
  font-size: 7px;
  opacity: 0.8;
  margin: 0;
}

/* === Pontos à direita === */
.pontos {
  text-align: right;
  margin-left: 8px;
}

.pontos h2 {
  font-size: 16px;
  margin: 0;
  line-height: 1;
}

.pontos p {
  font-size: 8px;
  margin: 0;
}

/* === Quadrado azul (saldo) === */
.saldo {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.saldo.card_azul{
  background: url('../img/quadrado_azul_movimento.png') center/contain no-repeat;
}

.saldo.card_vermelho{
  background: url('../img/quadrado_vermelho_movimento.png') center/contain no-repeat;
}

.saldo.card_verde{
  background: url('../img/quadrado_verde_movimento.png') center/contain no-repeat;
}

.saldo p {
  font-size: 10px;
  margin: 0;
}

.saldo span {
  font-size: 7px;
  text-transform: uppercase;
  margin: 0;
}

.movimentos-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}
.tab {
  display: none;
}

.tab.active {
  display: block;
}

.tabs-controles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.tabs-controles .dot {
  width: 10px;
  height: 10px;
  background-color: #0047ba;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.tabs-controles .dot.active {
  background-color: transparent;
  border: 2px solid #0047ba;
}





.legenda {
	position: absolute;
	font-weight: bold;
	line-height: 1.2;
}

.mls {
	left: -90px;
	top: 31%;
	transform: translateY(-50%);
	text-align: right;
	color: #004fce;
}

.gaming {
	right: -90px;
	bottom: 22%;
	text-align: left;
	color: #004fce;
}

.extra {
	right: -100px;
	top: 18%;
	text-align: left;
	color: #888;
}

.legenda .titulo {
	font-size: 10px;
	letter-spacing: 0.2px;
	display: block;
}

.legenda .linha {
	display: inline-block;
	vertical-align: middle;
	width: 18px;
	height: 0.7px;
	background-color: currentColor;
	margin: 0 3px;
	opacity: 0.7;
}

.legenda .valor {
	font-size: 10px;
	font-weight: 600;
	opacity: 0.9;
}

.section.marcar {
  justify-content: center; 
  align-items: center;
  position: relative;
}
/* --- MODAL DE PESQUISA --- */
.pesquisa-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  animation: fadeIn 0.4s ease;
}

.pesquisa-content {
  text-align: center;
  color: #222;
  padding: 40px 20px;
  width: 350px;
}

.pesquisa-content h4 {
  color: #00308f;
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.pesquisa-content h2 {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pesquisa-content h2 span {
  color: #00308f;
}

.pesquisa-content p {
  font-size: 9px;
  margin-bottom: 10px;
  color: #333;
}

/* --- FILTROS MODERNOS --- */
.filtros {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 8px;
  color: #222;
  user-select: none;
}

.filtros label {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.filtros label:hover {
  color: #00308f;
}

/* Oculta o radio original */
.filtros input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #00308f;
  border-radius: 50%;
  outline: none;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Efeito quando selecionado */
.filtros input[type="radio"]:checked {
  border-color: #00308f;
  background-color: #00308f;
  box-shadow: 0 0 4px rgba(0, 48, 143, 0.4);
}

/* Bolinha interna (usando pseudo-elemento) */
.filtros input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.campo-pesquisa {
  position: relative;
  display: flex;
  justify-content: center;
}

.campo-pesquisa input {
  border: none;
  border-bottom: 2px solid #00308f;
  font-size: 15px;
  padding: 8px;
  width: 100%;
  text-align: center;
  background: transparent;
  outline: none;
}

.campo-pesquisa .btn-pesquisar {
  position: absolute;
  right: 0%;
  background: none;
  border: none;
  cursor: pointer;
  transform: translateY(5px);
}

.campo-pesquisa svg {
  width: 20px;
  height: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Ícone "X" moderno no canto superior direito */
.btn-fechar {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-fechar::before,
.btn-fechar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #00308f;
  transform-origin: center;
  transition: background 0.25s ease;
}

.btn-fechar::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-fechar::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-fechar:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

.btn-fechar:hover::before,
.btn-fechar:hover::after {
  background: #001f5a;
}

/* --- LOADING DO GRÁFICO --- */
.loading-grafico {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 48, 143, 0.2);
  border-top-color: #00308f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Oculta o loading com fade */
.loading-hide {
  opacity: 0;
  transition: opacity 0.4s ease;
}
