/* =====================================================
   TORNEO AGNOSINE - STYLE GLOBALE
===================================================== */

* { box-sizing: border-box; }

body {
    background: #0b1220;
    color: white;
    padding-bottom: 80px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

/* ====================== NAVBAR DESKTOP ====================== */
.navbar-custom {
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    color: #22c55e !important;
    font-weight: 800;
    font-size: 22px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: white !important;
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: 0.2s;
    display: inline-block;
}

.nav-link:hover { background: #1f2937; }

.nav-toggler {
    display: none;
    background: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
}

/* ====================== MOBILE BOTTOM BAR ====================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111827;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
}

.bottom-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    flex: 1;
}

.bottom-link div {
    font-size: 22px;
}

.bottom-link:hover { color: #22c55e; }

@media (min-width: 768px) {
    .bottom-nav { display: none; }
}

@media (max-width: 767px) {
    .nav-links { display: none; width: 100%; flex-direction: column; }
    .nav-links.open { display: flex; }
    .nav-toggler { display: inline-block; }
}

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

input, select, textarea {
    font-family: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}
