/* ScoreArena Custom Typography */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

/* Variáveis de fonte */
:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base body text - Lato */
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Títulos principais - Poppins */
h1, h2, h3, h4, h5, h6,
.logo,
.card-title,
.section-title,
.page-title {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Elementos de UI - Inter */
.nav-links,
.btn,
button,
.badge,
.label,
input,
select,
textarea,
.form-control,
.form-label,
.dropdown-content,
.table thead,
.stat-label,
.tab-button,
.filter-label {
    font-family: var(--font-secondary);
    letter-spacing: -0.01em;
}

/* Botões */
.btn,
button {
    font-weight: 500;
    letter-spacing: 0;
}

/* Badges e Labels */
.badge {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

/* Tabelas */
.table {
    font-family: var(--font-secondary);
}

.table thead th {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.table tbody {
    font-family: var(--font-body);
}

/* Cards */
.card {
    font-family: var(--font-body);
}

.card-header {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Navegação */
nav {
    font-family: var(--font-secondary);
}

.logo {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Estatísticas e Números */
.stat-value,
.points-value,
.score-value,
.number-big {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Texto de apoio */
.text-muted,
.helper-text,
.description {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 0.875rem;
}

/* Melhorias de legibilidade */
p {
    font-family: var(--font-body);
    line-height: 1.7;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

/* Responsividade - ajuste de tamanhos */
@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .logo {
        font-size: 1.375rem;
    }
}

/* Ajustes específicos para elementos do ScoreArena */

/* Cards de jogadores */
.player-card .player-name {
    font-family: var(--font-primary);
    font-weight: 600;
}

.player-card .player-position {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pontuação */
.points-display {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Match cards */
.match-team {
    font-family: var(--font-primary);
    font-weight: 600;
}

.match-score {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.match-date,
.match-venue {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 0.875rem;
}

/* Fantasy elements */
.fantasy-team-name {
    font-family: var(--font-primary);
    font-weight: 600;
}

.fantasy-points {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Análises */
.analysis-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.analysis-stat {
    font-family: var(--font-secondary);
    font-weight: 500;
}

/* Footer */
footer {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Anti-aliasing para melhor renderização */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
