/* ========================================
   AirBid - Airsoft Auction Platform
   Tema Scuro Professionale
   ======================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-air { color: #ff3333; }
.logo-bid { color: #e0e0e0; }

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 51, 51, 0.1);
}

.nav-links a.active {
    color: #ff3333;
    background: rgba(255, 51, 51, 0.1);
}

.nav-highlight {
    background: linear-gradient(135deg, #ff3333, #cc0000) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.nav-highlight:hover {
    background: linear-gradient(135deg, #ff4444, #dd0000) !important;
    transform: translateY(-1px);
}

/* BP Bar */
.bp-bar {
    background: #141428;
    border-bottom: 1px solid #2a2a4a;
}

.bp-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.bp-bar-content strong {
    color: #ff3333;
    font-size: 16px;
}

.btn-small {
    padding: 5px 14px;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-small:hover {
    background: linear-gradient(135deg, #ff4444, #dd0000);
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: #0f0f1a;
    border-top: 1px solid #222;
    padding: 50px 25px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #888;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff3333;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff3333; }

/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.auction-card {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: auto;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .bp-bar-content {
        padding: 8px 15px;
    }
}

/* Selezione testo */
::selection {
    background: rgba(255, 51, 51, 0.3);
    color: #fff;
}
