/* ============================================
   FIGURINHAS COPA DO MUNDO 2026
   Stylesheet Principal
   Design: Premium Sports Trading Platform
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --green: #009C3B;
    --green-dark: #006B28;
    --green-light: #00C853;
    --green-bg: #0a2e17;
    --yellow: #FFDF00;
    --yellow-gold: #FFD700;
    --yellow-bg: #3d3500;
    --blue: #002776;
    --blue-light: #1a3a8a;
    --blue-bg: #0a1430;
    --white: #FFFFFF;
    --dark: #0d1f12;
    --dark-1: #0f2818;
    --dark-2: #132a1a;
    --dark-3: #1a3322;
    --gray: #1e3526;
    --gray-light: #2a4532;
    --gray-text: #8aab95;
    --red: #E53935;

    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Bebas Neue', cursive;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(0, 156, 59, 0.3);
    --shadow-yellow: 0 0 30px rgba(255, 223, 0, 0.3);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(180deg, #0a1a10 0%, #0d2a18 30%, #0f1f28 70%, #0a1020 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Padrão brasileiro de fundo (losangos sutis) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 156, 59, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 223, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(0, 39, 118, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grade de losangos verde/amarelo muito sutis */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(0, 156, 59, 0.015) 40px, rgba(0, 156, 59, 0.015) 41px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 223, 0, 0.01) 40px, rgba(255, 223, 0, 0.01) 41px);
    pointer-events: none;
    z-index: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

button {
    cursor: pointer;
    font-family: var(--font-primary);
    border: none;
    outline: none;
}

input, select, textarea {
    font-family: var(--font-primary);
    outline: none;
}

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.15;
    animation: floatUp linear infinite;
}

.particle:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; width: 6px; height: 6px; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 4s; background: var(--yellow); }
.particle:nth-child(4) { left: 40%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 3s; background: var(--blue-light); }
.particle:nth-child(6) { left: 60%; width: 6px; height: 6px; animation-duration: 16s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: 2s; background: var(--yellow); }
.particle:nth-child(8) { left: 80%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 6s; }
.particle:nth-child(9) { left: 90%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: 7s; }
.particle:nth-child(11) { left: 25%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: 8s; background: var(--blue-light); }
.particle:nth-child(12) { left: 55%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 3s; background: var(--yellow); }
.particle:nth-child(13) { left: 75%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 9s; }
.particle:nth-child(14) { left: 85%; width: 5px; height: 5px; animation-duration: 16s; animation-delay: 4s; }
.particle:nth-child(15) { left: 5%; width: 4px; height: 4px; animation-duration: 18s; animation-delay: 10s; background: var(--green-light); }

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Grass overlay */
.grass-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 107, 40, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 39, 118, 0.95) 0%, rgba(0, 107, 40, 0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 223, 0, 0.3);
    transition: var(--transition);
}

.main-nav.scrolled {
    background: linear-gradient(180deg, rgba(0, 39, 118, 0.98) 0%, rgba(0, 107, 40, 0.95) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    animation: bounceSlow 2s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--yellow);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--green-light);
    border-radius: 1px;
}

.nav-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* User menu */
.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notifications-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.notifications-bell:hover {
    background: rgba(255, 255, 255, 0.12);
}

.notifications-bell .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.user-menu { position: relative; }

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--yellow-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--dark);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 8px;
    display: none;
    box-shadow: var(--shadow-card);
    z-index: 100;
}

.user-dropdown.show { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover { background: rgba(255, 255, 255, 0.06); }

.dropdown-item.logout { color: var(--red); }

.user-dropdown hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

/* ============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: linear-gradient(180deg, rgba(0, 107, 40, 0.95) 0%, rgba(0, 39, 118, 0.97) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid rgba(255, 223, 0, 0.3);
    z-index: 1000;
    padding: 0 8px;
    align-items: center;
    justify-content: space-around;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: var(--transition);
    min-width: 60px;
    position: relative;
}

.bottom-nav-link i {
    font-size: 1.3rem;
    transition: var(--transition);
}

.bottom-nav-link:hover {
    color: var(--white);
}

.bottom-nav-link.active {
    color: var(--green-light);
}

.bottom-nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--green-light);
    border-radius: 0 0 3px 3px;
}

.bottom-nav-link.active i {
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.5));
}

/* ============================================
   DEV BAR (faixa desenvolvimento)
   ============================================ */
.dev-bar {
    background: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    border-bottom: 2px solid #009C3B;
    position: relative;
    z-index: 10;
}

.dev-text {
    color: #555;
}

.dev-led {
    font-weight: 700;
    animation: ledBrasil 2s ease-in-out infinite;
}

@keyframes ledBrasil {
    0%   { color: #009C3B; text-shadow: 0 0 6px rgba(0, 156, 59, 0.6); }
    25%  { color: #00C853; text-shadow: 0 0 8px rgba(0, 200, 83, 0.7); }
    50%  { color: #FFDF00; text-shadow: 0 0 8px rgba(255, 223, 0, 0.7); }
    75%  { color: #002776; text-shadow: 0 0 8px rgba(0, 39, 118, 0.7); }
    100% { color: #009C3B; text-shadow: 0 0 6px rgba(0, 156, 59, 0.6); }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

/* ============================================
   LANDING PAGE
   ============================================ */
.landing-page {
    background: linear-gradient(180deg, #0a1a10 0%, #0d2a18 30%, #0f1f28 70%, #0a1020 100%);
    background-attachment: fixed;
}

#heroCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.landing-header.scrolled {
    background: linear-gradient(180deg, rgba(0, 39, 118, 0.95) 0%, rgba(0, 107, 40, 0.92) 100%);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 223, 0, 0.3);
}

.landing-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-landing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-pulse {
    font-size: 32px;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.logo-text-landing {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.landing-nav-links {
    display: flex;
    gap: 12px;
}

.btn-outline-light {
    padding: 10px 24px;
    border: 2px solid rgba(255, 223, 0, 0.4);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    border-color: var(--yellow);
    background: rgba(255, 223, 0, 0.1);
    box-shadow: var(--shadow-yellow);
}

.btn-primary-light {
    padding: 10px 24px;
    background: var(--green);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-light:hover {
    background: var(--green-light);
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    z-index: 1;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(0, 156, 59, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray-text);
    margin-bottom: 32px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-title .title-line {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--yellow), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--yellow-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* CTA Button */
.hero-cta { text-align: center; }

.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 60px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 156, 59, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-start:hover::before { left: 100%; }

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 156, 59, 0.5);
}

.btn-start-large { padding: 24px 48px; font-size: 1.4rem; }

.btn-start-icon { font-size: 1.4em; }

.btn-start-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-start:hover .btn-start-arrow {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.3);
}

.cta-sub {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.cta-sub span { color: var(--yellow); font-weight: 600; }

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0.15;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.floating-card.card-2 { top: 15%; right: 12%; animation-delay: 1s; }
.floating-card.card-3 { top: 60%; left: 8%; animation-delay: 2s; }
.floating-card.card-4 { top: 55%; right: 8%; animation-delay: 0.5s; }
.floating-card.card-5 { top: 35%; left: 85%; animation-delay: 1.5s; }
.floating-card.card-6 { top: 75%; left: 50%; animation-delay: 3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    75% { transform: translateY(10px) rotate(-3deg); }
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -10px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-text);
    font-size: 0.8rem;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin: 8px auto 0;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
    background: linear-gradient(to bottom, transparent, rgba(0, 39, 118, 0.08), rgba(0, 107, 40, 0.08), transparent);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-sub {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(0, 39, 118, 0.08);
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(0, 156, 59, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 223, 0, 0.4);
    box-shadow: var(--shadow-yellow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--green), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--yellow-gold), #FFA000);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--blue-light), #6A1B9A);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, var(--green-light), #00BCD4);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   CATALOG PREVIEW
   ============================================ */
.catalog-preview {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    overflow: hidden;
}

.catalog-marquee {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.catalog-marquee::-webkit-scrollbar { display: none; }

.marquee-card {
    flex-shrink: 0;
    width: 120px;
    padding: 20px 16px;
    background: rgba(0, 39, 118, 0.08);
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.marquee-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    background: rgba(0, 156, 59, 0.1);
    box-shadow: 0 8px 25px rgba(0, 156, 59, 0.15);
}

.marquee-flag { font-size: 2rem; margin-bottom: 8px; }
.marquee-num { font-weight: 700; color: var(--yellow); font-size: 0.9rem; }
.marquee-name { font-size: 0.8rem; color: var(--gray-text); margin-top: 4px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 120px 24px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(0, 156, 59, 0.1), transparent 70%);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 223, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.cta-text {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   AUTH PAGES (Login / Cadastro)
   ============================================ */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

#authCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    margin-bottom: 24px;
    transition: var(--transition);
}

.auth-back:hover { color: var(--white); }

.auth-card {
    background: rgba(15, 40, 24, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 156, 59, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.auth-header { text-align: center; margin-bottom: 32px; }

.auth-logo { margin-bottom: 16px; }

.logo-icon-large { font-size: 48px; }

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 20px; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-text);
}

.form-group label i { width: 16px; text-align: center; color: var(--green-light); }

.form-group input {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder { color: rgba(255, 255, 255, 0.2); }

.form-group small {
    color: var(--gray-text);
    font-size: 0.75rem;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-password:hover { color: var(--white); }

.btn-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 4px;
}

.btn-auth-submit:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-forgot {
    background: transparent;
    color: var(--gray-text);
    font-size: 0.85rem;
    padding: 8px;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-forgot:hover { color: var(--yellow); }

.recover-info { color: var(--gray-text); font-size: 0.85rem; text-align: center; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-text);
    font-size: 0.9rem;
}

.auth-footer a { color: var(--yellow); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: var(--red);
}

.alert-success {
    background: rgba(0, 156, 59, 0.1);
    border: 1px solid rgba(0, 156, 59, 0.3);
    color: var(--green-light);
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-page { padding-bottom: 60px; }

.dashboard-header {
    background: linear-gradient(135deg, var(--green-dark), var(--blue));
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 223, 0, 0.15), transparent);
}

.dashboard-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
}

.dh-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.dh-greeting h1 { font-size: 2rem; font-weight: 700; }
.dh-greeting h1 .highlight { color: var(--yellow); }
.dh-greeting p { opacity: 0.8; font-size: 1rem; }

.dh-trophy { font-size: 4rem; animation: bounceSlow 2s ease-in-out infinite; }

.dashboard-container {
    max-width: 1200px;
    margin: -20px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border: 1px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-2px); }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.stat-green::before { background: var(--green); }
.stat-card.stat-yellow::before { background: var(--yellow); }
.stat-card.stat-blue::before { background: var(--blue-light); }
.stat-card.stat-gold::before { background: var(--yellow-gold); }

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.stat-green .stat-card-icon { background: rgba(0, 156, 59, 0.15); color: var(--green-light); }
.stat-yellow .stat-card-icon { background: rgba(255, 223, 0, 0.15); color: var(--yellow); }
.stat-blue .stat-card-icon { background: rgba(0, 71, 171, 0.15); color: var(--blue-light); }
.stat-gold .stat-card-icon { background: rgba(255, 215, 0, 0.15); color: var(--yellow-gold); }

.stat-card-number {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.stat-card-label { color: var(--gray-text); font-size: 0.85rem; margin-top: 4px; }

.stat-card-progress {
    margin-top: 16px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 3px;
    transition: width 1s ease;
}

.stat-card-pct {
    position: absolute;
    top: 24px;
    right: 24px;
    font-weight: 700;
    color: var(--green-light);
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(0, 156, 59, 0.08), rgba(0, 39, 118, 0.08));
    border: 1px solid rgba(0, 156, 59, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--white);
}

.quick-action-card:hover {
    border-color: var(--yellow);
    background: linear-gradient(135deg, rgba(0, 156, 59, 0.12), rgba(255, 223, 0, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 156, 59, 0.15);
}

.qac-icon { font-size: 2rem; }

.qac-text { flex: 1; }

.qac-text h3 { font-size: 1rem; font-weight: 600; }
.qac-text p { color: var(--gray-text); font-size: 0.8rem; margin-top: 2px; }

/* Dashboard 2-col */
.dashboard-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.dash-panel {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.1));
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 223, 0, 0.1);
    background: rgba(0, 156, 59, 0.05);
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-link { color: var(--green-light); font-size: 0.85rem; font-weight: 500; }
.panel-link:hover { text-decoration: underline; }

.panel-body { padding: 20px 24px; }

.panel-empty {
    text-align: center;
    padding: 30px 0;
    color: var(--gray-text);
}

.empty-icon { font-size: 2.5rem; margin-bottom: 12px; }

.panel-empty p { margin-bottom: 16px; }

/* Sticker mini list */
.sticker-mini-list { display: flex; flex-direction: column; gap: 8px; }

.sticker-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.sm-num { font-weight: 700; color: var(--yellow); min-width: 35px; }
.sm-name { flex: 1; font-weight: 500; }
.sm-team { color: var(--gray-text); font-size: 0.8rem; }

/* Suggestions */
.suggestions-list { display: flex; flex-direction: column; gap: 10px; }

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.suggestion-item:hover { background: rgba(255, 255, 255, 0.06); }

.si-user { display: flex; align-items: center; gap: 10px; }

.si-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.si-info strong { font-size: 0.9rem; }
.si-info span { display: block; color: var(--gray-text); font-size: 0.75rem; }

.si-actions { display: flex; align-items: center; gap: 8px; }

.fav-badge { color: var(--red); font-size: 0.9rem; }

.btn-sm-green {
    padding: 8px 16px;
    background: var(--green);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-sm-green:hover { background: var(--green-light); }

/* Activity list */
.activity-list { display: flex; flex-direction: column; gap: 8px; }

.activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.activity-item:last-child { border-bottom: none; }

.ai-user { color: var(--green-light); font-weight: 600; }
.ai-action { color: var(--gray-text); }
.ai-num { color: var(--yellow); font-weight: 700; }
.ai-team { color: var(--gray-text); }

/* Ranking mini */
.ranking-mini { display: flex; flex-direction: column; gap: 6px; }

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.ranking-item.top-1 { background: rgba(255, 215, 0, 0.08); }

.ri-pos { font-weight: 700; color: var(--yellow); min-width: 30px; }
.ri-name { flex: 1; font-weight: 500; }
.ri-count { color: var(--gray-text); }

/* ============================================
   FIGURINHAS PAGE
   ============================================ */
.figurinhas-page,
.trocas-page,
.ranking-page,
.perfil-page { padding-bottom: 60px; }

.page-header {
    text-align: center;
    padding: 40px 24px 20px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.page-header p { color: var(--gray-text); font-size: 1rem; }

.page-header-destaque {
    display: inline-block;
    padding: 14px 28px;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(0, 156, 59, 0.15), rgba(255, 223, 0, 0.08));
    border: 1px solid rgba(0, 156, 59, 0.3);
    border-radius: 50px;
    color: var(--green-light) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 156, 59, 0.2); }
    50% { box-shadow: 0 0 20px 4px rgba(0, 156, 59, 0.1); }
}

/* ============================================
   BANNER BRASILEIRO
   ============================================ */
.br-banner {
    position: relative;
    overflow: hidden;
    padding: 40px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #009C3B 0%, #006B28 30%, #FFDF00 30.5%, #FFDF00 35%, #002776 35.5%, #002776 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.br-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.br-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.br-banner-stripes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.stripe {
    position: absolute;
    left: 0;
    right: 0;
}

.stripe-green {
    top: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(0, 156, 59, 0.6), rgba(0, 156, 59, 0.2));
}

.stripe-yellow {
    top: 35%;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 223, 0, 0.5), rgba(255, 223, 0, 0.15));
}

.stripe-blue {
    top: 65%;
    height: 35%;
    background: linear-gradient(180deg, rgba(0, 39, 118, 0.4), rgba(0, 39, 118, 0.6));
}

.br-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.br-banner-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.br-banner-content .highlight {
    color: var(--yellow);
    text-shadow: 0 0 20px rgba(255, 223, 0, 0.6);
}

.br-banner-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* Versão compacta para perfil */
.perfil-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.perfil-banner-content .perfil-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    border: 3px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.perfil-banner-content .perfil-info {
    flex: 1;
    min-width: 200px;
}

.perfil-banner-content .perfil-info h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.perfil-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 4px 0;
}

.perfil-joined {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.perfil-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.figurinhas-container,
.trocas-container,
.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Toolbar */
.toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-text);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--dark-2);
    border: 1px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.08);
}

.filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 14px 16px;
    background: var(--dark-2);
    border: 1px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.filter-select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.08); }
.filter-select option { background: var(--dark-2); color: var(--white); }

.btn-filter-toggle {
    padding: 12px 20px;
    background: var(--dark-2);
    border: 1px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-filter-toggle:hover { border-color: var(--yellow); background: rgba(255, 223, 0, 0.06); }
.btn-filter-toggle.active { background: var(--green); border-color: var(--green); }

/* Counter */
.figurinhas-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--gray-text);
    font-size: 0.85rem;
}

/* Figurinhas Grid */
.figurinhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    min-height: 300px;
}

/* Sticker Card */
.sticker-card {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.08));
    border: 2px solid rgba(0, 156, 59, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sticker-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 223, 0, 0.5);
    box-shadow: 0 8px 30px rgba(0, 156, 59, 0.15);
}

.sticker-card.repetida {
    border-color: var(--green);
    background: rgba(0, 156, 59, 0.08);
}

.sticker-card.repetida::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 14px;
    width: 24px;
    height: 24px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}


.sticker-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.sticker-num {
    font-weight: 700;
    color: var(--yellow);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.sticker-flag { font-size: 2.5rem; margin: 4px 0; }

.sticker-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.sticker-team {
    color: var(--gray-text);
    font-size: 0.75rem;
}


.sticker-qty {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: var(--green);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ========================================
   NOVO LAYOUT: Figurinhas agrupadas por time
   ======================================== */

.figurinhas-status-bar {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.status-count strong { color: var(--green-light); }

.status-legend {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-dot {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: var(--dark-2);
}

.legend-dot.repetida {
    background: var(--green);
    border-color: var(--green);
}

/* Container principal */
.figurinhas-all {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Seções */
.fig-secao { margin-bottom: 40px; }

.fig-secao-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.fig-secao.especiais .fig-secao-title {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grupo por seleção */
.fig-grupo {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.08));
    border: 1px solid rgba(0, 156, 59, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.fig-grupo:hover { border-color: rgba(0, 156, 59, 0.3); }

.fig-grupo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 223, 0, 0.08);
}

.fig-grupo-flag { font-size: 1.4rem; line-height: 1; }

.fig-grupo-nome {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    flex: 1;
}

.fig-grupo-count {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Botão "História" no header do grupo */
.fig-grupo-historico {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 223, 0, 0.08);
    border: 1px solid rgba(255, 223, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fig-grupo-historico:hover {
    background: rgba(255, 223, 0, 0.15);
    border-color: var(--yellow);
    transform: translateY(-1px);
}

/* ========================================
   MODAL DE CONTEXTO HISTÓRICO
   ======================================== */

.modal-historico {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal-historico.show { display: flex; }

.modal-historico-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 10, 0.8);
    backdrop-filter: blur(4px);
}

.modal-historico-content {
    position: relative;
    z-index: 1;
    margin: auto;
    width: 90%;
    max-width: 640px;
    max-height: 85vh;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-historico-close {
    position: sticky;
    top: 12px;
    right: 12px;
    float: right;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 50%;
    color: var(--gray-text);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.modal-historico-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: var(--white);
}

.modal-historico-body {
    padding: 32px 28px 28px;
}

/* Header do histórico */
.historico-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.historico-bandeira {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.historico-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--white);
    margin: 0 0 4px;
}

.historico-sub {
    font-size: 0.8rem;
    color: var(--yellow);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contexto */
.historico-contexto {
    background: var(--dark-1);
    border-left: 3px solid var(--yellow);
    padding: 18px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 24px;
}

.historico-contexto p {
    color: #c8d6cc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Detalhes */
.historico-detalhes { margin-bottom: 24px; }

.historico-detail {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.historico-detail:last-child { border-bottom: none; }

.historico-detail i {
    font-size: 1.1rem;
    color: var(--yellow);
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.historico-detail strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.historico-detail p {
    color: var(--gray-text);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* Botão fechar no conteúdo */
.btn-close-historico {
    width: 100%;
    padding: 14px;
    background: var(--dark-1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-close-historico:hover {
    background: var(--green);
    border-color: var(--green);
}

.fig-grupo-numeros {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Botão de número */
.fig-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 39, 118, 0.15);
    border: 2px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-sm);
    color: var(--gray-text);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.fig-num:hover {
    border-color: var(--yellow);
    background: rgba(0, 156, 59, 0.12);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(255, 223, 0, 0.15);
}

.fig-num:active { transform: scale(0.94); }

.fig-num.repetida {
    background: var(--green);
    border-color: var(--yellow);
    color: white;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 156, 59, 0.3);
}

.fig-num.repetida:hover {
    background: #00b844;
    border-color: var(--yellow-gold);
    box-shadow: 0 0 16px rgba(0, 200, 83, 0.4);
}

/* Loading spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--gray-text);
    grid-column: 1 / -1;
}

.spinner-football {
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--dark-2);
    border: 1px solid rgba(0, 156, 59, 0.15);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.pagination button:hover { border-color: var(--yellow); background: rgba(255, 223, 0, 0.06); }
.pagination button.active { background: var(--green); border-color: var(--green); }
.pagination button:disabled { opacity: 0.3; cursor: not-allowed; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
}

.modal.show { display: block; }

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 20, 10, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 80px auto 0;
    background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
    border: 1px solid rgba(0, 156, 59, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.modal-close:hover { background: rgba(255, 255, 255, 0.12); }

/* ============================================
   TROCAS PAGE
   ============================================ */
.trocas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.trade-card {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.1));
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.trade-card:hover {
    border-color: rgba(255, 223, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 156, 59, 0.12);
}

.trade-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.trade-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trade-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--yellow-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.trade-user-info strong { font-size: 1.05rem; }
.trade-user-info span { display: block; color: var(--gray-text); font-size: 0.8rem; }

.btn-favorite-card {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: var(--gray-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-favorite-card:hover { color: var(--red); background: rgba(229, 57, 53, 0.1); }
.btn-favorite-card.active { color: var(--red); }

.trade-stickers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.trade-sticker-tag {
    padding: 6px 12px;
    background: rgba(0, 156, 59, 0.08);
    border: 1px solid rgba(0, 156, 59, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--green-light);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #25D366;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20BD5A;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Botão "Ver todas" nos cards de troca */
.btn-ver-todas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: rgba(0, 156, 59, 0.08);
    border: 1px dashed rgba(0, 156, 59, 0.3);
    border-radius: var(--radius-sm);
    color: var(--green-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ver-todas:hover {
    background: rgba(0, 156, 59, 0.15);
    border-color: var(--green);
    color: var(--white);
}

/* ============================================
   RANKING PAGE
   ============================================ */
.minha-posicao-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--green-dark), var(--blue));
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    margin-bottom: 40px;
}

.mpc-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.mpc-info { flex: 1; display: flex; align-items: center; gap: 24px; }
.mpc-pos { font-family: var(--font-display); font-size: 3rem; color: var(--yellow); }
.mpc-name { font-size: 1.3rem; font-weight: 600; }
.mpc-stats { display: flex; gap: 16px; margin-left: auto; }
.mpc-stats span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.mpc-stats i { color: var(--yellow); }

/* Podio */
.podio {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.podio-item { text-align: center; }

.podio-card {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.1));
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    margin-bottom: 16px;
    position: relative;
}

.podio-item.primeiro .podio-card {
    border-color: var(--yellow-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
}
.podio-item.segundo .podio-card { border-color: rgba(192,192,192,0.6); }
.podio-item.terceiro .podio-card { border-color: rgba(0, 156, 59, 0.5); }

.podio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}

.podio-avatar.gold { background: linear-gradient(135deg, var(--yellow-gold), #FFA000); }

.podio-crown { font-size: 2rem; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); }

.podio-name { font-weight: 600; margin-bottom: 4px; }
.podio-count { color: var(--gray-text); font-size: 0.85rem; }

.podio-base {
    padding: 16px;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 156, 59, 0.08);
}

.podio-base.gold { background: linear-gradient(135deg, var(--yellow-gold), #B8860B); }
.podio-item.primeiro .podio-base { font-size: 1.3rem; padding: 20px; }
.podio-medal { font-size: 2rem; display: block; }

/* Ranking Table */
.ranking-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.ranking-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.ranking-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ranking-table tr.highlight-row { background: rgba(0, 156, 59, 0.08); }

.ranking-user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: var(--transition);
}

.ranking-user-link:hover { color: var(--green-light); }

.ru-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
}

.progress-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-progress {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.perfil-banner {
    position: relative;
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, var(--blue), var(--green-dark));
    overflow: hidden;
}

.perfil-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 223, 0, 0.1), transparent);
}

.perfil-banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.perfil-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow-gold), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.perfil-info h1 { font-size: 1.8rem; margin-bottom: 4px; }
.perfil-bio { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 4px; }
.perfil-joined { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.perfil-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-favorite,
.btn-trade-profile {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-favorite {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-favorite:hover { background: rgba(229, 57, 53, 0.2); border-color: var(--red); }
.btn-favorite.active { background: var(--red); border-color: var(--red); }

.btn-trade-profile {
    background: var(--green);
    color: var(--white);
    text-decoration: none;
}

.btn-trade-profile:hover { background: var(--green-light); }

/* Perfil stats */
.perfil-stats {
    max-width: 800px;
    margin: -20px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.perfil-stat {
    background: linear-gradient(135deg, var(--dark-2), rgba(0, 39, 118, 0.1));
    border: 1px solid rgba(0, 156, 59, 0.12);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.ps-number { font-family: var(--font-display); font-size: 2rem; }
.ps-label { color: var(--gray-text); font-size: 0.85rem; margin-top: 4px; }

.perfil-progress {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.perfil-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.perfil-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 4px;
}

.perfil-progress span { color: var(--gray-text); font-size: 0.85rem; white-space: nowrap; }

.perfil-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.perfil-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perfil-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ============================================
   ERROR PAGE
   ============================================ */
.error-page {
    text-align: center;
    padding: 100px 24px;
}

.error-icon { font-size: 5rem; margin-bottom: 20px; }
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--gray-text); margin-bottom: 24px; }

.btn-primary {
    padding: 14px 28px;
    background: var(--green);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--green-light);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 16px 20px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInToast 0.3s ease;
    min-width: 280px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--blue-light); }

.toast.removing {
    animation: slideOutToast 0.3s ease forwards;
}

@keyframes slideInToast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutToast {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: linear-gradient(180deg, transparent, rgba(0, 39, 118, 0.06));
    border-top: 1px solid rgba(0, 156, 59, 0.15);
    padding: 60px 24px 30px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-logo-icon { font-size: 1.5rem; }

.footer-desc { color: var(--gray-text); font-size: 0.85rem; line-height: 1.6; }

.footer-links-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--gray-text);
}

.footer-links-col a {
    display: block;
    padding: 6px 0;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links-col a:hover { color: var(--green-light); }

.social-icons { display: flex; gap: 8px; }

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover { background: var(--green); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--gray-text);
    font-size: 0.8rem;
}

.footer-disclaimer { margin-top: 4px; font-size: 0.75rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-actions { grid-template-columns: 1fr; }
    .dashboard-grid-2col { grid-template-columns: 1fr; }
    .trocas-grid { grid-template-columns: 1fr; }
    .perfil-banner-content { flex-direction: column; text-align: center; }
    .perfil-actions { margin-left: 0; flex-direction: row; }
    .perfil-stats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .user-name-nav { display: none; }

    /* Mobile bottom nav */
    .mobile-bottom-nav { display: flex; }

    /* Espaço extra para a barra inferior */
    .main-content { padding-bottom: 80px; }
    .main-footer { padding-bottom: 90px; }

    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .figurinhas-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 2rem; }

    .podio { flex-direction: column; align-items: center; }
    .podio-item { width: 100%; max-width: 250px; }

    .footer-container { grid-template-columns: 1fr; gap: 30px; }

    .auth-card { padding: 30px 24px; }
    .perfil-banner-content { flex-direction: column; text-align: center; }
    .perfil-actions { flex-direction: column; }
    .perfil-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ps-number { font-size: 1.5rem; }

    .toolbar { flex-direction: column; }
    .filter-group { width: 100%; }
    .filter-select { flex: 1; }

    .ranking-container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding: 100px 16px 40px; }
    .figurinhas-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sticker-card { padding: 12px; }
    .trade-card { padding: 16px; }

    .fig-num {
        width: 35px;
        height: 35px;
        font-size: 0.78rem;
    }
    .fig-grupo-numeros { gap: 4px; }
    .fig-grupo { padding: 12px; }
    .fig-grupo-header { margin-bottom: 10px; padding-bottom: 8px; }
    .fig-grupo-historico { padding: 5px 10px; font-size: 0.7rem; gap: 4px; }
    .modal-historico-content { width: 95%; max-width: none; margin: 16px; max-height: 90vh; }
    .modal-historico-body { padding: 24px 16px 20px; }
    .historico-bandeira { font-size: 2.5rem; }
    .historico-header h2 { font-size: 1.2rem; }
}
