/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary: #0052FF;
    --primary-dark: #0041CC;
    --primary-light: #336DFF;
    --secondary: #00C896;
    --accent: #FF6B35;
    --accent-light: #FF8E53;
    --danger: #FF4757;
    --warning: #FFA502;
    --success: #2ED573;
    
    --dark: #1A1D29;
    --dark-light: #2A2F42;
    --gray: #8F9BB3;
    --gray-light: #C5CEE0;
    --light: #F7F9FC;
    --white: #FFFFFF;
    --black: #000000;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0A0F2D 0%, var(--dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 82, 255, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 82, 255, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 82, 255, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 82, 255, 0.20);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.login-page,
body.register-page {
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COMPONENTES BASE ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.logo-pulse {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    animation: pulse 2s infinite;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-main-white {
    color: var(--white);
}

.logo-main-black {
    color: var(--black);
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-notification {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-notification:hover {
    background: var(--light);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/img/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 45, 0.8);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 45, 0.5); /* TRANSPARÊNCIA AQUI - 0.5 = 50% */
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 82, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    /* Removi o linear-gradient e url('/img/bg1.png') */
    z-index: 0; /* Garante que fique sobre a imagem mas abaixo do texto */
    pointer-events: none; /* Permite cliques nos elementos abaixo */
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-light);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== MATCH COMPONENTS ===== */
.match-preview {
    background: rgba(255, 255, 255, 0.15); /* Aumentei um pouco a opacidade */
    backdrop-filter: blur(25px); /* Aumentei o blur */
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borda mais visível */
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 4; /* Garante que fique acima do pattern (z-index: 2) */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2), /* Sombra externa para destaque */
        inset 0 1px 0 rgba(255, 255, 255, 0.1); /* Sombra interna para profundidade */
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.match-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.match-status.live {
    background: var(--danger);
    color: var(--white);
}

.match-time {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.team-logo.small {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.team-logo.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.team-logo.secondary {
    background: var(--gradient-accent);
    color: var(--white);
}

.team-name-demo {
    font-weight: 600;
    text-align: center;
}

.team-score {
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

.vs {
    font-weight: 700;
    color: var(--gray-light);
    margin: 0 16px;
}

.match-events {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.event {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: var(--font-size-sm);
}

.event .goal {
    color: var(--success);
}

/* ===== LIVE MATCHES SECTION ===== */
.live-matches {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.match-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.match-card.live {
    border-left: 4px solid var(--danger);
}

.match-card.upcoming {
    border-left: 4px solid var(--warning);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.match-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-info {
    text-align: center;
    margin: 0 20px;
}

.match-date {
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.match-hour {
    font-size: var(--font-size-sm);
    color: var(--gray);
}

.match-actions {
    display: flex;
    gap: 12px;
}

/* ===== STATISTICS SECTION ===== */
.statistics {
    padding: 80px 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.stats-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-light);
}

.stats-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.stats-header i {
    font-size: 24px;
    color: var(--primary);
}

.player-rank {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.player-rank:last-child {
    border-bottom: none;
}

.rank-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.player-info {
    flex: 1;
}

.player-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.player-team {
    font-size: var(--font-size-sm);
    color: var(--gray);
}

.player-stats {
    text-align: right;
}

.stat-value {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary);
}

/* ===== RANKING SECTION ===== */
.ranking {
    padding: 80px 0;
    background: var(--white);
}

.ranking-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th {
    background: var(--light);
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    color: var(--gray);
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--gray-light);
}

.ranking-table th:first-child {
    text-align: left;
    padding-left: 24px;
}

.ranking-table th:last-child {
    text-align: right;
    padding-right: 24px;
}

.ranking-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
    font-weight: 500;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table tr:hover {
    background: var(--light);
}

.position {
    font-weight: 800;
    color: var(--dark);
    text-align: left;
    padding-left: 24px;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.positive {
    color: var(--success);
    font-weight: 700;
}

.points {
    font-weight: 800;
    color: var(--primary);
}

.form {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.form-indicator {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--white);
}

.form-indicator.win {
    background: var(--success);
}

.form-indicator.draw {
    background: var(--warning);
}

.form-indicator.loss {
    background: var(--danger);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.cta-text p {
    font-size: var(--font-size-lg);
    color: var(--gray-light);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    color: var(--gray-light);
    margin: 16px 0 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-light);
}

.contact-item i {
    width: 16px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ===== LOGIN & REGISTER STYLES ===== */
.login-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/img/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 15, 45, 0.85);
    z-index: -1;
}

.login-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 82, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.login-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: clamp(40px, 10vh, 120px) 0;
}

body.register-page .login-content {
    max-height: none;
    overflow: visible;
    padding: 40px 0;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

body.register-page .login-card {
    max-height: none;
    overflow: visible;
}

.login-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: var(--white);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0;
}

.login-subtitle {
    color: var(--gray-light);
    text-align: center;
    margin-top: 8px;
    font-size: var(--font-size-sm);
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}

.input-wrapper.focused {
    transform: translateY(-2px);
}

.login-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
    outline: none;
}

.login-input::placeholder {
    color: var(--gray-light);
}

.login-input.success {
    border-color: var(--success);
}

.login-input.error {
    border-color: var(--danger);
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
    pointer-events: none;
}

.input-hint {
    color: var(--gray-light);
    font-size: var(--font-size-xs);
    margin-top: 4px;
    display: block;
}

.terms-group {
    margin: 20px 0;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-light);
    font-size: var(--font-size-sm);
    cursor: pointer;
    line-height: 1.4;
}

.terms-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.terms-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-label a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-label a:hover {
    text-decoration: underline;
    color: var(--white);
}

.login-submit {
    width: 100%;
    padding: 16px;
    font-size: var(--font-size-lg);
    margin-top: 10px;
}

.login-submit.success {
    background: var(--success);
}

.login-submit.error {
    background: var(--danger);
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer-text {
    color: var(--gray-light);
    text-align: center;
    font-size: var(--font-size-sm);
    margin-bottom: 15px;
}

.login-register-btn {
    width: 100%;
    padding: 12px;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.login-register-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.login-links {
    margin-top: 20px;
    text-align: center;
}

.forgot-password-link {
    color: var(--gray-light);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--white);
}

.security-info {
    margin-top: 30px;
    text-align: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: var(--font-size-sm);
}

.security-badge i {
    color: var(--success);
}

/* ===== NOTIFICATION STYLES ===== */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-toast.success {
    background: var(--success);
    color: var(--white);
}

.notification-toast.error {
    background: var(--danger);
    color: var(--white);
}

.notification-toast.info {
    background: var(--primary);
    color: var(--white);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        display: contents; /* Permite reordenar os filhos individualmente */
    }
    
    /* REORDENAÇÃO APENAS NO MOBILE */
    .hero-badge {
        order: 1;
    }
    
    .hero-title {
        order: 2;
        margin-bottom: 0;
    }
    
    .hero-visual {
        order: 3;
        margin: 15px 0;
        display: flex;
        justify-content: center;
    }
    
    .hero-description {
        order: 4;
        margin-bottom: 0;
    }
    
    .api-warning {
        order: 5;
    }
    
    .participant-status {
        order: 6;
    }
    
    .hero-stats {
        order: 7;
    }
    
    .hero-actions {
        order: 8;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions .btn-login span {
        display: none;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .login-content {
        padding: 80px 20px;
        max-width: 100%;
    }
    
    .login-card {
        padding: 24px;
        margin: 0 10px;
    }
    
    .login-header h2 {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 25px;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: 0;
    }
    
    .hero-visual {
        margin: 10px 0;
    }
    
    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: 0;
    }
    
    .api-warning {
        margin: 15px 0;
        padding: 12px;
        font-size: var(--font-size-sm);
    }
    
    .participant-status {
        flex-direction: column;
        gap: 10px;
        margin: 15px 0;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .team {
        flex-direction: column;
        text-align: center;
    }
    
    .match-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .match-actions {
        flex-direction: column;
    }
    
    .login-content {
        padding: 60px 15px;
    }
    
    .login-card {
        padding: 20px;
    }
    
    .login-input {
        padding: 14px 16px;
    }
    
    .login-submit {
        padding: 14px;
        font-size: var(--font-size-base);
    }
}

/* ===== SESSION STATS STYLES ===== */
.session-stats-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    margin-bottom: 20px;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.session-header h3 {
    margin: 0;
    font-size: var(--font-size-xl);
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count {
    background: #f0f8ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===== SESSIONS LIST COMPACT STYLE ===== */
.sessions-list {
    margin-bottom: 20px;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: var(--light);
    transition: all 0.2s ease;
    border-left: none; /* Removida a borda esquerda */
    position: relative;
}

.session-item:hover {
    background: #f0f7ff;
    transform: translateX(3px);
}

.session-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

/* Primeiro lugar - AMARELO (OURO) */
.session-item.today {
    /*background: rgba(255, 193, 7, 0.15) !important;*/
    border-left: 3px solid #ffd700 !important;
}

.session-item.today .session-title,
.session-item.today .time,
.session-item.today .session-status,
.session-item.today .location {
    color: var(--dark) !important;  /* Cor padrão escura */
    font-weight: 600;
}

/* Segundo lugar - PRATA */
.session-item.tomorrow {
    /*background: rgba(13, 110, 253, 0.08) !important;*/
    border-left: 3px solid #d8d8d8 !important;
}

.session-item.tomorrow .session-title {
    color: var(--dark) !important;  /* Cor padrão escura */
    font-weight: 600;
}

/* Terceiro lugar - BRONZE */
.session-item.this-week {
   /* background: rgba(40, 167, 69, 0.08) !important;*/
    border-left: 3px solid #e39e5e !important;
}

.session-item.this-week .session-title {
    color: var(--dark) !important;  /* Cor padrão escura */
    font-weight: 600;
}

/* Lugares do 4º em diante - Cor padrão mais neutra */
.session-item:not(.today):not(.tomorrow):not(.this-week) {
    background: #f9f9f9 !important; /* Cinza muito claro */
    border-left: none !important;
}

.date-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    text-align: center;
}

.date-badge {
    background: var(--dark-light); /* Escuro Oficial */
    color: #fff !important; /* Branco para contraste */
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Cores das medalhas com melhor contraste */
.today .date-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important; /* Gradiente dourado */
    color: #333 !important;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.tomorrow .date-badge {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%) !important; /* Gradiente prata */
    color: #333 !important;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.this-week .date-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #e39e5e 100%) !important; /* Gradiente bronze */
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
}

/* Lugares do 4º em diante - cinza padrão mas com contraste */
.session-item:not(.today):not(.tomorrow):not(.this-week) .date-badge {
    background: var(--dark-light); !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.date-display {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.time {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

.session-content {
    flex: 1;
    min-width: 0; /* Para evitar overflow */
}

.session-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--gray);
}

.session-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.session-status {
    font-weight: 600;
    font-size: 0.8rem;
}

.status-scheduled { color: #28a745; }        /* Verde vivo para agendado */
.status-active { color: #007bff; }           /* Azul para em andamento */
.status-completed { color: #6c757d; }        /* Cinza para concluído */
.status-cancelled { color: #dc3545; }        /* Vermelho para cancelado */

.session-status i {
    font-size: 0.5rem;
}

.session-stats {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-top: 18px;
}

.session-stats h4 {
    margin: 0 0 14px 0;
    font-size: var(--font-size-lg);
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.session-stats-grid .stat-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}

.session-stats-grid .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.session-stats-grid .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Estilo para as estrelas dos jogadores - cor uniforme */
.session-status .fa-star {
    color: var(--warning); /* Usando a variável CSS existente */
    font-size: 0.7rem;
    margin-left: 3px;
}

.empty-stats {
    text-align: center;
    padding: 24px;
    color: var(--gray);
    background: var(--light);
    border-radius: var(--radius-md);
    border: 1px dashed #ddd;
}

.empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.error-connection,
.error-query {
    background: #ffebee;
    color: var(--danger);
    padding: 14px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.85rem;
    border-left: 3px solid var(--danger);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .session-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .date-indicator {
        flex-direction: row;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
        min-width: auto;
        margin-bottom: 6px;
    }
    
    .date-badge {
        width: auto;
        min-width: 60px;
        margin-bottom: 0;
    }
    
    .session-content {
        width: 100%;
    }
    
    .session-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .session-stats-container {
        padding: 16px;
    }
}

/* Estilo para tema de futebol */
.session-stats-grid .stat-box {
    border-top: 2px solid var(--primary);
}
