/* ==================== VARIÁVEIS CSS ==================== */
:root {
    /* Cores principais - Tema Black Premium */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #161616;
    --bg-hover: #1f1f1f;

    /* Cores de destaque */
    --accent-primary: #00ff88;
    --accent-secondary: #00cc6a;
    --accent-glow: rgba(0, 255, 136, 0.3);
    --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);

    /* Cores de texto */
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-muted: #bbbbbb;

    /* Cores de status */
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4466;
    --info: #00aaff;

    /* Bordas e sombras */
    --border-color: #2a2a2a;
    --border-glow: rgba(0, 255, 136, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.15);

    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Bordas */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

/* ==================== RESET E BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background com padrão sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 200, 100, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ==================== TIPOGRAFIA ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.d-flex {
    display: flex;
}


/* ==================== LAYOUT ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: var(--spacing-lg) 0;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-brand .icon {
    font-size: 1.8rem;
}

.navbar-brand span {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    letter-spacing: 0.06em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.1);
}

/* ==================== NAVBAR LOGO ==================== */
.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    text-align: center;
    padding: 0;
    position: relative;
}

.hero-bg {
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-image: url('../images/background.png');
    background-color: #060610;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    position: relative;
    /* Break out of container to go full-width */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    border-radius: 0;
}

/* Dark gradient overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(6, 6, 16, 0.2) 0%,
            rgba(6, 6, 16, 0.05) 20%,
            rgba(6, 6, 16, 0.15) 45%,
            rgba(6, 6, 16, 0.7) 70%,
            rgba(6, 6, 16, 0.92) 85%,
            rgba(6, 6, 16, 1) 100%);
    z-index: 1;
}

/* Smoke / Fog layers */
.hero-smoke {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.hero-smoke-1 {
    background:
        radial-gradient(ellipse 600px 300px at 20% 80%, rgba(0, 255, 136, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 800px 400px at 60% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 500px 250px at 80% 90%, rgba(0, 200, 100, 0.05) 0%, transparent 70%);
    animation: smokeDrift1 18s ease-in-out infinite;
}

.hero-smoke-2 {
    background:
        radial-gradient(ellipse 700px 350px at 40% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 65%),
        radial-gradient(ellipse 600px 300px at 70% 75%, rgba(0, 255, 136, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 10% 70%, rgba(200, 255, 200, 0.04) 0%, transparent 60%);
    animation: smokeDrift2 22s ease-in-out infinite;
}

@keyframes smokeDrift1 {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.35;
    }

    25% {
        transform: translateX(-5%) translateY(-2%);
        opacity: 0.45;
    }

    50% {
        transform: translateX(-10%) translateY(1%);
        opacity: 0.3;
    }

    75% {
        transform: translateX(-3%) translateY(-1%);
        opacity: 0.4;
    }
}

@keyframes smokeDrift2 {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.3;
    }

    30% {
        transform: translateX(4%) translateY(2%);
        opacity: 0.4;
    }

    60% {
        transform: translateX(8%) translateY(-1%);
        opacity: 0.25;
    }

    80% {
        transform: translateX(2%) translateY(1%);
        opacity: 0.35;
    }
}

/* Subtle floating particles / sparkle effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 15% 25%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 15%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 35%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 25% 55%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 45%, rgba(200, 255, 200, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 35% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 65% 75%, rgba(0, 255, 136, 0.3) 0%, transparent 100%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2rem 2.5rem;
    max-width: 800px;
}

/* Title: Anton — green with white glow */
.hero h1 {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: 7.5rem;
    font-weight: 400;
    margin-bottom: 0.15rem;
    line-height: 0.95;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00ff88;
    text-shadow:
        0 0 8px rgba(0, 255, 136, 0.35),
        0 0 25px rgba(0, 255, 136, 0.15),
        0 0 50px rgba(0, 255, 136, 0.06),
        0 2px 4px rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    /* Reset */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    -webkit-text-stroke: none;
}

/* White shine sweep across the full title */
.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, 0.7) 44%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(255, 255, 255, 0.7) 56%,
            transparent 62%,
            transparent 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes titleShine {

    0%,
    15% {
        background-position: 150% center;
    }

    85%,
    100% {
        background-position: -50% center;
    }
}

.hero-top {
    text-align: center;
}

.hero-subtitle {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.2rem;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.btn-hero-partidas {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    padding: 0.6rem 1.6rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}

.btn-hero-partidas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.btn-lances {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-lances:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-lances svg {
    flex-shrink: 0;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    color: var(--text-secondary);
}

/* Grid de cards - configurado auto-fit para preencher o espaco disponivel garantindo minmax para telas pequenas, podendo chegar ate 4 por linha num full-hd */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== PARTIDA CARDS (com background) ==================== */
.partida-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}

/* Team logos overlay on card background */
.partida-logo {
    position: absolute;
    z-index: 1;
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: 0.18;
    pointer-events: none;
    filter: grayscale(20%) brightness(1.2);
    top: 50%;
    transform: translateY(-50%);
}

.partida-logo-left {
    left: 25px;
}

.partida-logo-right {
    right: 25px;
}

.partida-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    z-index: 3;
}

.partida-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 15, 0.7) 0%, rgba(5, 5, 15, 0.88) 60%, rgba(5, 5, 15, 0.96) 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.partida-card.has-bg .partida-card-overlay {
    background: linear-gradient(180deg, rgba(5, 5, 15, 0.4) 0%, rgba(5, 5, 15, 0.75) 40%, rgba(5, 5, 15, 0.93) 100%);
}

.partida-card:hover .partida-card-overlay {
    background: linear-gradient(180deg, rgba(5, 5, 15, 0.3) 0%, rgba(5, 5, 15, 0.7) 40%, rgba(5, 5, 15, 0.9) 100%);
}

.partida-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.partida-card .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.partida-card .card-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.02em;
}

.partida-card .card-body {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.partida-card .card-body p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.partida-card .evento-info-item {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.partida-card .evento-status {
    text-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.partida-card .btn {
    text-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==================== MATCH CARD LAYOUT ==================== */
.match-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-team {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.match-team-full {
    font-size: 1.3rem;
}

.match-vs {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    line-height: 1;
}

.match-score {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-primary);
    text-shadow: 0 0 25px rgba(0, 255, 136, 0.7), 0 0 50px rgba(0, 255, 136, 0.3), 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1;
    flex-shrink: 0;
}

.match-scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.3rem 0;
}

.match-score-separator {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.match-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.match-info-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.match-action {
    text-align: center;
    padding-top: 0.4rem;
    margin-top: auto;
}

/* ==================== MATCH HEADER VERTICAL (long team names) ==================== */
.match-header-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-header-vertical .match-team {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.match-header-vertical .match-vs {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 0.05rem 0;
}

/* ==================== MATCH INFO CENTERED ==================== */
.match-info-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0;
    text-align: center;
}

.match-info-centered .match-info-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    display: block;
    text-align: center;
}

/* ==================== EVENTO DETALHE CARD ==================== */
.evento-detalhe-card {
    min-height: 280px;
}

.evento-detalhe-card .partida-card-content {
    min-height: 240px;
    padding: 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.evento-detalhe-card .partida-logo {
    width: 180px;
    height: 180px;
    opacity: 0.22;
}

.evento-detalhe-card .partida-logo-left {
    left: 10px;
}

.evento-detalhe-card .partida-logo-right {
    right: 10px;
}

.evento-detalhe-card .match-header-vertical {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0.25rem;
}

.evento-detalhe-card .match-team {
    font-size: 1.15rem;
}

.evento-detalhe-card .match-score {
    font-size: 3rem;
}

.evento-detalhe-card .match-scoreboard {
    gap: 1.2rem;
    padding: 0.4rem 0;
}

.evento-detalhe-card .match-score-separator {
    font-size: 1.8rem;
}

.evento-detalhe-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.evento-detalhe-info .match-info-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Disable hover lift on detail card */
.evento-detalhe-card:hover {
    transform: none;
}

/* ==================== STATS TABLE CARDS ==================== */
.stats-table-card {
    overflow: hidden;
}

.stats-table-card:hover {
    transform: none;
}


.stats-table-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

/* Gols card styles */

.stats-card-gol {
    background: linear-gradient(145deg, #0d3a25 0%, #071a12 100%) !important;
    border: 1px solid rgba(0, 255, 136, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(0, 255, 136, 0.15);
}

.stats-card-gol .stats-table-header {
    background: rgba(0, 255, 136, 0.2) !important;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3) !important;
}

.stats-card-gol .stats-table-header .stats-table-title,
.stats-card-gol .stats-table-header .stats-table-icon {
    color: var(--accent-primary) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.stats-card-gol .stats-table thead th {
    background: rgba(255, 255, 255, 0.03) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.stats-card-gol .stats-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.05) !important;
}

.stats-card-gol .stats-table-player {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.stats-card-gol .stats-table-team {
    color: rgba(255, 255, 255, 0.6) !important;
}

.stats-card-gol .stats-qty-gol {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 1.1rem !important;
}

.stats-card-gol .stats-table-empty {
    color: rgba(255, 255, 255, 0.7) !important;
}


.stats-table-header-amarelo {
    background: linear-gradient(90deg, rgba(255, 214, 0, 0.08) 0%, transparent 100%);
    border-left: 3px solid #ffd600;
}

.stats-table-header-vermelho {
    background: linear-gradient(90deg, rgba(255, 68, 68, 0.08) 0%, transparent 100%);
    border-left: 3px solid #ff4444;
}

.stats-table-header-cartao {
    background: linear-gradient(90deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 214, 0, 0.05) 50%, transparent 100%);
    border-left: 3px solid #ff4444;
}

.stats-table-header-pontos {
    background: linear-gradient(90deg, rgba(100, 180, 255, 0.1) 0%, transparent 100%);
    border-left: 3px solid #64b4ff;
}

.stats-table-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.stats-table-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.stats-table-body {
    padding: 0;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table thead th {
    text-align: left;
    padding: 0.6rem 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.stats-table .stats-qty-amarelo,
.stats-table .stats-qty-vermelho {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.stats-table tbody tr {
    transition: var(--transition-fast);
}

.stats-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.04);
}

.stats-table tbody tr:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-table tbody td {
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
}

.stats-table-player {
    font-weight: 600;
    color: var(--text-primary);
}

.stats-table-team {
    color: var(--text-muted);
    font-size: 0.8rem !important;
}

.stats-table-qty {
    text-align: center !important;
    width: 80px;
}

.stats-qty-gol {
    font-weight: 800;
    color: var(--accent-primary);
    font-size: 1rem !important;
}

.stats-qty-amarelo {
    font-weight: 700;
    color: #ffd600;
}

.stats-qty-vermelho {
    font-weight: 700;
    color: #ff4444;
}

.stats-table-empty {
    text-align: center;
    padding: 1.25rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Points mini bar */
.stats-pontos-mini {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    gap: 1rem;
}

.stats-pontos-mini-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stats-pontos-mini-val {
    font-size: 0.9rem;
    font-weight: 800;
}

.stats-pontos-mini-val.win {
    color: var(--accent-primary);
}

.stats-pontos-mini-val.draw {
    color: #ffd600;
}

.stats-pontos-mini-val.loss {
    color: var(--text-muted);
}

.stats-pontos-mini-team {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stats-pontos-mini-sep {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}





/* ==================== STATS STRIP ==================== */
.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    gap: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: var(--transition-normal);
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.6;
}

.stats-strip:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.stats-strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: default;
}

.stats-strip-item:hover {
    background: rgba(0, 255, 136, 0.06);
    transform: translateY(-2px);
}

.stats-strip-icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.2));
    flex-shrink: 0;
}

.stats-strip-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stats-strip-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.stats-strip-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.stats-strip-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent 0%, var(--border-color) 30%, rgba(0, 255, 136, 0.2) 50%, var(--border-color) 70%, transparent 100%);
    flex-shrink: 0;
    margin: 0 0.3rem;
}

/* Legacy evento-card support */
.evento-card {
    position: relative;
    overflow: hidden;
}

.evento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.evento-card .evento-status,
.partida-card .evento-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.evento-status.ativo {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
}

.evento-status.encerrado {
    background: rgba(255, 68, 102, 0.15);
    color: var(--error);
}

.evento-info {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

.evento-info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
}

/* ==================== BOTÕES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-danger {
    background: rgba(255, 68, 102, 0.15);
    color: var(--error);
    border: 1px solid rgba(255, 68, 102, 0.3);
}

.btn-danger:hover {
    background: var(--error);
    color: var(--text-primary);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.85rem;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

/* ==================== FORMULÁRIOS ==================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.upload-area:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.08);
}

.upload-area.drag-over {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
    transform: scale(1.01);
}

.upload-area.has-image {
    border-style: solid;
    border-color: var(--accent-primary);
    padding: var(--spacing-sm);
}

.upload-icon {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.7;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upload-text small {
    color: var(--text-muted);
    opacity: 0.7;
}

.upload-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

select.form-control {
    cursor: pointer;
}

/* ==================== TABELAS ==================== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: var(--spacing-md);
    text-align: left;
}

th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

tr:hover td {
    background: var(--bg-hover);
}

/* ==================== CLASSIFICAÇÃO ==================== */
.classificacao-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
}

.classificacao-pos.top-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a1a;
}

.classificacao-pos.top-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #9a9a9a 100%);
    color: #1a1a1a;
}

.classificacao-pos.top-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #a56628 100%);
    color: #1a1a1a;
}

.classificacao-pos.normal {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.team-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
}

.team-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-tertiary);
}

/* ==================== ALERTS / FLASH ==================== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 68, 102, 0.1);
    border: 1px solid rgba(255, 68, 102, 0.3);
    color: var(--error);
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    color: var(--info);
}

/* ==================== ADMIN SIDEBAR ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.admin-sidebar-brand span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-nav {
    list-style: none;
}

.admin-nav-item {
    margin-bottom: var(--spacing-xs);
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: var(--spacing-xl);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.admin-title {
    font-size: 1.75rem;
}

/* ==================== STATS CARDS ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* ==================== LOGIN PAGE ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
}

.login-logo {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.login-logo h1 {
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-logo p {
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ==================== MODAL ==================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-fast);
}

.modal-backdrop.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--error);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--text-muted);
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-error {
    color: var(--error);
}

.text-warning {
    color: var(--warning);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--spacing-sm);
}

.gap-2 {
    gap: var(--spacing-md);
}

.gap-3 {
    gap: var(--spacing-lg);
}

.hidden {
    display: none;
}

/* ==================== CLASSIFICAÇÃO PAGE ==================== */
.classificacao-page {
    max-width: 1000px;
    margin: 0 auto;
}

.classificacao-header {
    text-align: center;
    margin-bottom: 2rem;
}

.classificacao-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Emojis dentro do h1 não devem herdar o -webkit-text-fill-color transparent */
.classificacao-header h1 .emoji-icon {
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    display: inline-block;
}

.classificacao-card {
    overflow: hidden;
}

.classificacao-table {
    width: 100%;
    border-collapse: collapse;
}

.classificacao-table thead th {
    background: var(--bg-tertiary);
    padding: 1rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
}

.classificacao-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.classificacao-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.04);
}

.classificacao-table tbody tr.top-zone {
    background: rgba(0, 255, 136, 0.03);
}

.classificacao-table tbody td {
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
}

/* Position Badges */
.pos-badge {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.pos-badge.pos-1 {
    font-size: 1.3rem;
}

.pos-badge.pos-2 {
    font-size: 1.3rem;
}

.pos-badge.pos-3 {
    font-size: 1.3rem;
}

/* Team Row */
.team-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
}

.team-logo-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 2px solid rgba(0, 255, 136, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.team-name-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Stats Cells */
.pts-cell {
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem !important;
    color: var(--accent-primary);
}

.stat-v {
    color: var(--success);
    font-weight: 600;
}

.stat-e {
    color: var(--warning);
    font-weight: 600;
}

.stat-d {
    color: var(--error);
    font-weight: 600;
}

.sg-cell {
    font-weight: 700;
}

.sg-pos {
    color: var(--success);
}

.sg-neg {
    color: var(--error);
}

/* Legenda */
.legenda-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legenda-item strong {
    color: var(--accent-primary);
    margin-right: 0.25rem;
}

.classificacao-footer {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
}

.legenda-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.8rem;
    padding: 0.25rem 0;
}

.legenda-item {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Equipes Grid Mini */
.equipes-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
}

.equipe-card-mini {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem 0.6rem;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    /* Tamanho fixo — todos os cards iguais independente do nome */
    width: 100px;
    min-width: 100px;
    height: 108px;
    position: relative;
    overflow: hidden;
}

.equipe-card-mini:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.1);
}

.equipe-logo-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.equipe-logo-mini-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.equipe-nome-mini {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    /* Truncar nomes longos — 2 linhas máx */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    line-height: 1.25;
}

/* Badge de medalha no canto superior do card */
.equipe-medal-badge {
    position: absolute;
    top: 4px;
    right: 5px;
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

/* Equipes Grid */
.equipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.equipe-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition-normal);
}

.equipe-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.equipe-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    display: block;
    border: 3px solid var(--border-color);
    background: var(--bg-primary);
}

.equipe-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    display: block;
    border: 3px solid var(--border-color);
    background: var(--bg-primary);
}

.equipe-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 3px solid rgba(0, 255, 136, 0.3);
    margin: 0 auto 0.75rem;
}

.equipe-nome {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.equipe-stats {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.equipe-stats span:first-child {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 0.85rem;
}

/* ==================== PARTIDAS PAGE ==================== */
.partidas-page {
    max-width: 1100px;
    margin: 0 auto;
}

.partidas-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partidas-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.rodada-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.rodada-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition-fast);
    min-width: 40px;
}

.rodada-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.08);
}

.rodada-btn.active {
    color: #fff;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .navbar-nav-scroll {
        width: 100%;
        overflow-x: auto;
        display: flex;
        justify-content: center;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        padding: 0 0.5rem;
        gap: 0.2rem;
        margin: 0 auto;
        justify-content: center;
    }

    .navbar-nav a {
        padding: 0.35rem 0.55rem;
        font-size: 0.88rem;
        letter-spacing: -0.02em;
    }

    .main-content {
        padding-top: 0;
    }

    .hero-bg {
        margin-top: -1px;
        min-height: 60vh;
        flex-direction: column;
        align-items: center;
        background-size: auto 100%;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(6, 6, 16, 0.5) 0%,
                rgba(6, 6, 16, 0.15) 20%,
                rgba(6, 6, 16, 0.2) 50%,
                rgba(6, 6, 16, 0.7) 75%,
                rgba(6, 6, 16, 0.95) 90%,
                rgba(6, 6, 16, 1) 100%);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        width: 100%;
        padding: 2rem 1.2rem 1.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: 0.08em;
        margin-bottom: 0;
        padding-top: 0.5rem;
        text-shadow:
            0 0 10px rgba(0, 255, 136, 0.4),
            0 0 25px rgba(0, 255, 136, 0.18),
            0 0 50px rgba(0, 255, 136, 0.07),
            0 3px 6px rgba(255, 255, 255, 0.08),
            0 4px 25px rgba(0, 0, 0, 0.7);
    }

    .hero-top {
        text-align: center;
    }

    .hero-bottom {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.2em;
        margin-top: 0.1rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn-hero-partidas {
        padding: 0.55rem 1.4rem;
        font-size: 0.88rem;
    }

    .btn-lances {
        padding: 0.45rem 1.2rem;
        font-size: 0.82rem;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .classificacao-header h1 {
        font-size: 1.8rem;
    }

    .classificacao-table thead th,
    .classificacao-table tbody td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .team-logo-img,
    .team-logo-placeholder {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
    }

    .team-name-text {
        font-size: 0.8rem;
    }

    .equipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legenda-grid {
        gap: 0.5rem 1rem;
    }

    .partida-card {
        min-height: 140px;
        padding: 0.8rem;
    }

    .partida-logo {
        width: 115px;
        height: 115px;
        opacity: 0.15;
    }

    .partida-logo-left {
        left: 35px;
    }

    .partida-logo-right {
        right: 35px;
    }

    .partida-card-content {
        min-height: 100px;
    }

    .match-team {
        font-size: 0.78rem;
    }

    .match-vs {
        font-size: 0.85rem;
    }

    .match-score {
        font-size: 1.6rem;
    }

    .match-score-separator {
        font-size: 1rem;
    }

    .match-scoreboard {
        gap: 0.5rem;
        padding: 0.15rem 0;
    }

    .match-info {
        gap: 0.5rem;
    }

    .match-info-item {
        font-size: 0.7rem;
    }

    .match-header-vertical {
        gap: 0.1rem;
        padding-bottom: 0.3rem;
        margin-bottom: 0.3rem;
    }

    .match-header-vertical .match-team {
        font-size: 0.78rem;
    }

    .match-header-vertical .match-vs {
        font-size: 0.8rem;
        margin: 0;
    }

    .match-action {
        padding-top: 0.2rem;
    }

    .match-action .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .match-info-centered {
        gap: 0.2rem;
        padding: 0.2rem 0;
    }

    .match-info-centered .match-info-item {
        font-size: 0.7rem;
    }

    .stats-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }

    .stats-strip-divider {
        display: none;
    }

    .stats-strip-item {
        justify-content: flex-start;
        padding: 0.5rem 0.6rem;
        gap: 0.6rem;
    }

    .stats-strip-icon {
        font-size: 1.3rem;
    }

    .stats-strip-value {
        font-size: 0.85rem;
    }

    .stats-strip-label {
        font-size: 0.65rem;
    }

    .champion-card {
        padding: 2rem 1.2rem;
    }

    .champion-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .champion-team-name {
        font-size: 1.6rem;
    }

    .champion-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }
}

/* ==================== CHAMPION SECTION ==================== */
.champion-section {
    margin-bottom: 1rem;
}

.champion-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0d6b2e 0%, #0a5a25 25%, #07491c 55%, #064517 75%, #0a5a25 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 8px 40px rgba(0, 100, 50, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.champion-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, rgba(0, 200, 100, 0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: championGlow 4s ease-in-out infinite;
}

@keyframes championGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.champion-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.champion-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.champion-image-wrapper {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
}

.champion-image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.25), 0 12px 40px rgba(0, 0, 0, 0.5);
}

.champion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.champion-team-name {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
    line-height: 1.1;
}

.champion-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    margin: 0;
}

/* Champion card decorative corners */
.champion-card::before,
.champion-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 215, 0, 0.15);
    pointer-events: none;
}

.champion-card::before {
    top: 14px;
    left: 14px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.champion-card::after {
    bottom: 14px;
    right: 14px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0;
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #0d6b2e 0%, #0a5a25 30%, #07491c 60%, #053a15 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 140px;
    height: auto;
    animation: preloaderPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.4)) drop-shadow(0 0 60px rgba(0, 255, 136, 0.15));
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.4)) drop-shadow(0 0 60px rgba(0, 255, 136, 0.15));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.6)) drop-shadow(0 0 80px rgba(0, 255, 136, 0.25));
    }
}

.preloader-bar-container {
    margin-top: 2rem;
    width: 220px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: visible;
    position: relative;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    border-radius: 6px;
    animation: preloaderProgress 1.2s ease-in-out forwards;
    position: relative;
}

.preloader-ball {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    animation: ballRoll 1s linear infinite;
}

@keyframes preloaderProgress {
    0% {
        width: 0%;
    }

    30% {
        width: 35%;
    }

    60% {
        width: 65%;
    }

    100% {
        width: 100%;
    }
}

@keyframes ballRoll {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.preloader-text {
    margin-top: 1.2rem;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.8);
    animation: preloaderTextFade 1.2s ease-in-out infinite;
}

@keyframes preloaderTextFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Decorative glow circle behind logo */
.preloader::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, transparent 70%);
    animation: preloaderGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes preloaderGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* ==================== NAVBAR SCROLLABLE ==================== */
.navbar-nav-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav-scroll::-webkit-scrollbar {
    display: none;
}

.navbar-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== HERO PLAY ICON ==================== */
.play-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    color: #00cc6a;
    margin-right: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.play-icon-wrapper svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    margin-left: 2px;
}

/* ==================== REGISTRO FORM ==================== */
.registro-section {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.registro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.registro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.registro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registro-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.registro-header h1 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
}

.registro-subtitle {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.registro-form .form-group {
    margin-bottom: 1.25rem;
}

.registro-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-label-icon {
    margin-right: 0.2rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-upload-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    overflow: hidden;
}

.form-upload-area:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.03);
}

.form-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.upload-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.upload-preview {
    max-width: 150px;
    max-height: 150px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--accent-primary);
}

.btn-registro {
    width: 100%;
    padding: 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.registro-nota {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted) !important;
    margin-top: 1rem;
}

/* ==================== ARTILHARIA TABLE ==================== */
.artilharia-section {
    padding-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
}

.artilharia-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.artilharia-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.artilharia-table thead {
    background: var(--bg-tertiary);
}

.artilharia-table th {
    padding: 0.9rem 0.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.artilharia-table th.th-jogador,
.artilharia-table th.th-time {
    text-align: left;
}

.artilharia-table td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.artilharia-table td.td-jogador,
.artilharia-table td.td-time {
    text-align: left;
}

.artilharia-row:hover {
    background: rgba(0, 255, 136, 0.04);
}

.artilharia-top1 {
    background: rgba(255, 215, 0, 0.06);
}

.artilharia-top2 {
    background: rgba(192, 192, 192, 0.05);
}

.artilharia-top3 {
    background: rgba(205, 127, 50, 0.05);
}

.pos-medal {
    font-size: 1.3rem;
}

.pos-number {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.jogador-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.jogador-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.jogador-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 0.85rem;
}

.jogador-nome {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.td-gols {
    font-weight: 800;
    color: var(--accent-primary) !important;
    font-size: 1.1rem;
}

/* ==================== ADMIN JOGADOR THUMBS ==================== */
.jogador-thumb {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.jogador-thumb-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 0.85rem;
}

.jogador-row-pendente {
    background: rgba(255, 170, 0, 0.04);
}

/* ==================== MODAL SECTIONS (Goleadores/Cartões) ==================== */
.modal-section {
    margin-top: 1rem;
}

.modal-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.modal-hint {
    font-size: 0.78rem;
    color: var(--text-muted) !important;
    text-align: center;
    margin: 0.3rem 0 0;
}

.modal-player-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.modal-player-row .form-select {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
}

/* ==================== ADMIN FORM ROWS ==================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-form .form-group {
    margin-bottom: 1.25rem;
}

.admin-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

/* ==================== BTN SUCCESS / DANGER ==================== */
.btn-success {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #000;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* ==================== GAP UTILITY ==================== */
.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

@media (max-width: 768px) {

    .artilharia-table th.th-posicao,
    .artilharia-table td.td-posicao {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .registro-card {
        padding: 1.5rem 1rem;
    }

    .partidas-page,
    .classificacao-page {
        margin-top: 3.5rem;
    }

    .partidas-title {
        margin-top: 1.5rem;
        text-align: center;
    }

    .rodada-filter-desktop {
        display: none !important;
    }

    .rodada-filter-mobile {
        display: block !important;
        max-width: 320px;
        margin: 1.2rem auto;
    }
}

/* ==================== RODADA FILTER STYLES ==================== */
.partidas-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.rodada-filter-mobile {
    display: none;
}

.rodada-filter-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.rodada-btn {
    padding: 0.5rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.rodada-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.rodada-btn.active {
    background: var(--accent-gradient);
    color: #000;
    border-color: transparent;
}

.rodada-select {
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== LANCES DA RODADA ==================== */
.lances-rodada-section {
    margin: 1.5rem auto 1rem;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 10px;
}

.lances-inner {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.lances-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
    padding: 0.9rem 0.75rem;
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--accent-primary);
}

.lances-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.lances-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.2;
}

.lances-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Video wrapper — 16:9 ratio (only for actual video) */
.lances-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.lances-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Placeholder — compact, no aspect-ratio */
.lances-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, #060a10 0%, #0a1018 100%);
    overflow: hidden;
}

.lances-placeholder-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Play button circle */
.lances-play-btn {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.08);
    border: 2px solid rgba(0, 255, 136, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    animation: lancesPulseBtn 2.5s ease-in-out infinite;
}

.play-svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #00ff88;
    fill: #00ff88;
    /* No margin — pure flexbox centering */
}

@keyframes lancesPulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.35);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.lances-placeholder-title {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lances-placeholder-sub {
    position: relative;
    z-index: 2;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 0.25rem 0 0;
}

/* Mobile tweaks — only minor sizing, same design */
@media (max-width: 480px) {
    .lances-rodada-section {
        margin: 1rem 0;
        padding: 8px;
    }

    .lances-header {
        padding: 0.7rem 0.5rem;
    }

    .lances-title {
        font-size: 0.9rem;
    }

    .lances-play-btn {
        width: 48px;
        height: 48px;
    }

    .play-svg {
        width: 18px;
        height: 18px;
    }

    .lances-placeholder {
        padding: 1.5rem 0.75rem;
    }

    .lances-placeholder-title {
        font-size: 0.82rem;
    }
}

/* ==================== BOTTOM NAV (MOBILE) ==================== */
.bottom-nav {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 768px) {

    /* Hide top navbar links on mobile — logo stays */
    .navbar-nav-scroll {
        display: none !important;
    }

    /* Show bottom nav */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #000;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        height: 60px;
        align-items: flex-end;
        justify-content: space-around;
        padding: 0 4px 6px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    }

    /* Add body padding so content doesn't hide behind the bar */
    .footer {
        padding-bottom: 70px !important;
    }

    /* Each nav item */
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        flex: 1;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.4);
        transition: color 0.2s;
        padding-bottom: 2px;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .bottom-nav-item span {
        font-size: 0.6rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1;
    }

    /* Active state */
    .bottom-nav-item.active {
        color: var(--accent-primary);
    }

    .bottom-nav-item.active svg {
        filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.4));
    }

    /* Center FAB (Vídeos) */
    .bottom-nav-center {
        position: relative;
        color: var(--accent-primary);
    }

    .bottom-nav-center span {
        color: var(--accent-primary);
        font-weight: 700;
    }

    .bottom-nav-fab {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00cc66 0%, #00ff88 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -26px;
        /* Elevate above the bar */
        box-shadow: 0 4px 16px rgba(0, 255, 136, 0.35), 0 0 0 4px #000;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .bottom-nav-fab svg {
        width: 24px;
        height: 24px;
        color: #000;
        fill: #000;
        margin-left: 2px;
        /* Optical centering for play triangle */
    }

    .bottom-nav-center:active .bottom-nav-fab {
        transform: scale(0.92);
        box-shadow: 0 2px 8px rgba(0, 255, 136, 0.5), 0 0 0 4px #000;
    }
}

/* ==================== REELS MODAL ==================== */
.reels-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reels-modal.active {
    display: flex;
    opacity: 1;
}

/* Header */
.reels-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.reels-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.reels-close-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
    stroke: #fff;
}

.reels-close-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.25);
}

.reels-header-title {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Floating action buttons */
.reels-actions {
    position: absolute;
    right: 12px;
    bottom: 120px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.reels-action-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.reels-action-btn svg {
    width: 22px;
    height: 22px;
    color: #fff;
    fill: #fff;
}

.reels-action-btn:active {
    transform: scale(0.88);
    background: rgba(255, 255, 255, 0.25);
}

.reels-action-btn.muted {
    background: rgba(255, 68, 68, 0.25);
}

/* Video container */
.reels-container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

/* Each slide */
.reels-slide {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.reels-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Match info overlay at bottom */
.reels-match-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 16px 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.reels-match-name {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
}

.reels-match-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.reels-match-tag::before {
    content: '⚽';
    font-size: 0.7rem;
}

/* Video loading indicator per slide */
.reels-slide-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.reels-slide-loader .reels-spinner {
    width: 32px;
    height: 32px;
}

/* Loading spinner */
.reels-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.reels-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: reelsSpin 0.8s linear infinite;
}

@keyframes reelsSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty state */
.reels-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-align: center;
}

/* Tap to play overlay */
.reels-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.reels-play-overlay.visible {
    opacity: 1;
}

.reels-play-overlay svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 3px;
}

/* Progress bar at the top of each slide */
.reels-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 12;
}

.reels-progress-bar {
    height: 100%;
    background: #00ff88;
    width: 0%;
    transition: width 0.25s linear;
}