/* ============================================
   UNOBIX - CSS Principal Completo
   v2.1 - Tema Verde/Cyan com todos os componentes
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Cores principais - Paleta Unobix */
    --primary: #00E5CC;
    --primary-dark: #00b8a3;
    --primary-glow: rgba(0, 229, 204, 0.4);
    --secondary: #7BF542;
    --accent: #B8FF00;
    
    /* Cores de status */
    --success: #00FF88;
    --warning: #ffd166;
    --danger: #ff4757;
    --info: #00d4ff;
    
    /* Cores de fundo */
    --deep-space: #0a0a0f;
    --space-dark: #0f1018;
    --card-bg: rgba(15, 16, 24, 0.95);
    --card-bg-hover: rgba(20, 22, 35, 0.95);
    
    /* Texto */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-light: #ffffff;
    --text-dim: #8892a4;
    --text-color: #ffffff;
    
    /* Bordas */
    --border-color: rgba(0, 229, 204, 0.15);
    --border-hover: rgba(0, 229, 204, 0.4);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00E5CC 0%, #7BF542 50%, #B8FF00 100%);
    --gradient-button: linear-gradient(135deg, #00E5CC, #00FF88);
    
    /* Sombras */
    --shadow-glow: 0 0 20px rgba(0, 229, 204, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--deep-space);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   COSMIC BACKGROUND - AAA+ SPACE THEME
   ============================================ */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        /* Nebulosa principal - tons cyan/verde */
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0, 229, 204, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 75% 75%, rgba(123, 245, 66, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 100, 150, 0.06) 0%, transparent 60%),
        /* Nebulosa secundária - tons roxo/azul */
        radial-gradient(ellipse 40% 30% at 85% 15%, rgba(100, 50, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 35% 45% at 10% 80%, rgba(50, 100, 180, 0.06) 0%, transparent 50%),
        /* Base escura do espaço */
        linear-gradient(180deg, #050508 0%, #0a0a12 50%, #080810 100%);
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Camada de estrelas distantes (estáticas) */
.cosmic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 40% 15%, rgba(200, 230, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 55% 45%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 70% 25%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 85% 55%, rgba(200, 255, 230, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 15% 65%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 45% 70%, rgba(200, 230, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 60% 90%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 90% 85%, rgba(200, 255, 230, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 5% 40%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 20% 55%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 35% 30%, rgba(200, 230, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 50% 5%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 65% 60%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 80% 40%, rgba(200, 255, 230, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 95% 20%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 8% 95%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    pointer-events: none;
}

/* Camada de estrelas com brilho animado */
.cosmic-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 15% 25%, rgba(0, 229, 204, 0.9) 30%, rgba(0, 229, 204, 0.3) 60%, transparent 100%),
        radial-gradient(2px 2px at 45% 12%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(2px 2px at 72% 38%, rgba(123, 245, 66, 0.8) 30%, rgba(123, 245, 66, 0.2) 60%, transparent 100%),
        radial-gradient(2px 2px at 88% 62%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(2px 2px at 28% 78%, rgba(200, 230, 255, 0.8) 30%, rgba(200, 230, 255, 0.2) 60%, transparent 100%),
        radial-gradient(2px 2px at 62% 85%, rgba(0, 229, 204, 0.75) 30%, rgba(0, 229, 204, 0.2) 60%, transparent 100%),
        radial-gradient(2px 2px at 5% 52%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(2px 2px at 38% 48%, rgba(123, 245, 66, 0.7) 30%, rgba(123, 245, 66, 0.2) 60%, transparent 100%),
        radial-gradient(2px 2px at 82% 18%, rgba(200, 230, 255, 0.85) 30%, rgba(200, 230, 255, 0.2) 60%, transparent 100%),
        radial-gradient(2px 2px at 52% 68%, rgba(255, 255, 255, 0.75) 30%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
    pointer-events: none;
    animation: starsTwinkle 8s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   SPACE EFFECTS - Dynamic Elements (JS-powered)
   ============================================ */

/* Star Field Container */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    transform: translateZ(0);
}

/* Individual Stars */
.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    will-change: opacity, transform;
}

.star--small { width: 1px; height: 1px; }
.star--medium { 
    width: 2px; 
    height: 2px; 
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
.star--large { 
    width: 3px; 
    height: 3px; 
    box-shadow: 0 0 6px rgba(0, 229, 204, 0.6), 0 0 12px rgba(0, 229, 204, 0.3);
}

.star--cyan {
    background: var(--primary);
    box-shadow: 0 0 4px var(--primary), 0 0 8px rgba(0, 229, 204, 0.4);
}

.star--green {
    background: var(--secondary);
    box-shadow: 0 0 4px var(--secondary), 0 0 8px rgba(123, 245, 66, 0.4);
}

/* Star Twinkle Animations */
@keyframes twinkle1 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes twinkle2 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    25% { opacity: 1; transform: scale(1.1); }
    75% { opacity: 0.4; transform: scale(0.95); }
}

@keyframes twinkle3 {
    0%, 100% { opacity: 0.4; }
    33% { opacity: 1; }
    66% { opacity: 0.6; }
}

/* Meteor Container */
.meteor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    transform: translateZ(0);
}

/* Meteors / Shooting Stars */
.meteor {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(0, 229, 204, 0.8), transparent);
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.4), rgba(255, 255, 255, 0.6));
    transform: translateY(-50%);
}

.meteor--active {
    animation: meteorFall 1.5s ease-out forwards;
}

.meteor--fast { animation-duration: 1s; }
.meteor--slow { animation-duration: 2s; }

@keyframes meteorFall {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg);
    }
    10% { opacity: 1; }
    70% { opacity: 0.8; }
    100% {
        opacity: 0;
        transform: translate(-400px, 400px) rotate(-45deg);
    }
}

/* Floating Particles */
.particle-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    transform: translateZ(0);
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    will-change: transform;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

/* Ambient Glow */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(0, 229, 204, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 80% 70%, rgba(123, 245, 66, 0.02) 0%, transparent 70%);
    animation: ambientPulse 15s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

/* Distant Galaxy */
.distant-galaxy {
    position: fixed;
    width: 300px;
    height: 150px;
    background: 
        radial-gradient(ellipse at center, rgba(0, 229, 204, 0.05) 0%, rgba(123, 245, 66, 0.02) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
    animation: galaxyDrift 60s ease-in-out infinite alternate;
    will-change: transform;
}

.distant-galaxy--1 {
    top: 10%;
    right: 5%;
    transform: rotate(-15deg);
}

.distant-galaxy--2 {
    bottom: 15%;
    left: 10%;
    width: 200px;
    height: 100px;
    transform: rotate(20deg);
    animation-delay: -20s;
}

@keyframes galaxyDrift {
    0% { transform: translateX(0) translateY(0) rotate(-15deg); }
    100% { transform: translateX(20px) translateY(10px) rotate(-10deg); }
}

/* ============================================
   SPACE BACKGROUND - PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .cosmic-bg::after,
    .star,
    .meteor,
    .particle,
    .ambient-glow,
    .distant-galaxy {
        animation: none !important;
    }
    
    .cosmic-bg::after {
        opacity: 0.8;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .distant-galaxy {
        display: none;
    }
    
    .cosmic-bg::after {
        animation-duration: 12s;
    }
    
    .meteor::before {
        width: 50px;
    }
}

/* Small screen optimizations */
@media (max-width: 480px) {
    .particle-field {
        display: none;
    }
    
    .cosmic-bg::before {
        opacity: 0.7;
    }
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon img,
.logo img,
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.wallet-btn {
    background: var(--gradient-button);
    color: var(--deep-space);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Wallet Button - Estilo quando conectado (com avatar) */
.wallet-btn.connected {
    background: rgba(0, 229, 204, 0.1);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    gap: 6px;
}

.wallet-btn.connected:hover {
    border-color: var(--primary);
    background: rgba(0, 229, 204, 0.15);
}

.wallet-btn.connected img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.wallet-btn.connected span {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallet-btn.connected i {
    color: var(--primary);
    font-size: 1.1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   CONNECT OVERLAY (Login)
   ============================================ */
.connect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.connect-overlay.active {
    opacity: 1;
    visibility: visible;
}

.connect-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.connect-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(0, 229, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.connect-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.connect-desc {
    color: var(--text-dim);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--deep-space);
}

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

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

.btn-outline:hover {
    background: rgba(0, 229, 204, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #00d4aa);
    color: var(--deep-space);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #ff6b7a);
    color: white;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a8e8);
    color: white;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    text-align: center;
    padding: 40px 0 30px;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-dim);
    font-size: 1rem;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   STATS GRID (Dashboard)
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.stat-card.success { border-color: rgba(0, 255, 136, 0.3); }
.stat-card.warning { border-color: rgba(255, 209, 102, 0.3); }

.stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.stat-card.success .stat-icon { color: var(--success); }
.stat-card.warning .stat-icon { color: var(--warning); }

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ============================================
   ACTION GRID (Dashboard)
   ============================================ */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.15);
}

.action-card.play {
    background: linear-gradient(135deg, rgba(0, 229, 204, 0.1), transparent);
    border-color: var(--primary);
}

.action-card.wallet {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent);
}

.action-card.staking {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), transparent);
}

.action-card.affiliate {
    background: linear-gradient(135deg, rgba(123, 245, 66, 0.1), transparent);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: rgba(0, 229, 204, 0.1);
    color: var(--primary);
}

.action-card.wallet .action-icon { background: rgba(0, 255, 136, 0.1); color: var(--success); }
.action-card.staking .action-icon { background: rgba(255, 209, 102, 0.1); color: var(--warning); }
.action-card.affiliate .action-icon { background: rgba(123, 245, 66, 0.1); color: var(--secondary); }

.action-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.action-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.action-link {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   ACTIVITY LIST (Dashboard)
   ============================================ */
.activity-list {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.activity-item:last-child { margin-bottom: 0; }

.activity-item:hover {
    background: rgba(0, 0, 0, 0.3);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 204, 0.1);
    color: var(--primary);
}

.activity-icon.positive {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.activity-info {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.activity-desc {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.activity-amount {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.activity-amount.positive {
    color: var(--success);
}

.activity-date {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dim);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-hover);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   FAQ STYLES
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 229, 204, 0.05);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-dim);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* ============================================
   CONTENT PAGE
   ============================================ */
.content-page {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.content-page h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.content-page h2:first-child {
    margin-top: 0;
}

.content-page p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-page ul {
    color: var(--text-dim);
    margin: 15px 0;
    padding-left: 25px;
}

.content-page ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.hidden { display: none !important; }

/* ============================================
   USER AVATAR
   ============================================ */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--space-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Wallet button mobile - apenas avatar */
    .wallet-btn span {
        display: none;
    }
    
    .wallet-btn.connected {
        padding: 4px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
    
    .wallet-btn.connected img {
        width: 28px;
        height: 28px;
    }
    
    .wallet-btn:not(.connected) {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .content-page {
        padding: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .connect-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon img,
    .logo img,
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
}
