/* ================= HEADER ================= */

.header{
    background:linear-gradient(135deg,#2563eb 0%,#1e40af 100%);
    padding:8px 12px;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.header-content{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
}

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

.logo-img{
    width:38px;
    height:38px;
    border-radius:8px;
    object-fit:cover;
}

.logo-text h1{
    margin:0;
    color:#fff;
    font-size:17px;
    font-weight:700;
    line-height:1;
}

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

.header-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    color:#fff;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
}

.header-icon i{
    font-size:18px;
}

.detect-header-btn{
    width:125px;
    height:34px;
    background:#1d4ed8;
    border:1px solid rgba(255,255,255,.15);
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

#animatedText{
    color:#fff;
    font-size:12px;
    font-weight:600;
    opacity:1;
    transition:opacity .35s ease;
    white-space:nowrap;
}

/* ================= FOOTER ================= */

.bottom-nav-modern{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#2563eb;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:4px 10px 8px;
    height:58px;
    z-index:1000;
    box-shadow:0 -2px 10px rgba(0,0,0,.12);
}

.decorative-symbol{
    width:28px;
    height:28px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.nav-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
}

.nav-icon-wrapper{
    width:30px;
    height:30px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    display:flex;
    align-items:center;
    justify-content:center;
}

.nav-icon-wrapper i{
    font-size:13px;
    color:#fff;
}

.nav-label{
    font-size:9px;
    font-weight:500;
    color:#fff;
}

.center-btn{
    margin-top:-18px;
}

.center-btn .nav-icon-wrapper{
    width:48px;
    height:48px;
    border-radius:50%;
    background:linear-gradient(135deg,#f97316,#ef4444);
    box-shadow:0 4px 12px rgba(0,0,0,.20);
}

.center-btn .nav-icon-wrapper i{
    font-size:18px;
}

/* ================= MOBILE ================= */

@media(max-width:480px){

    .header{
        padding:6px 10px;
    }

    .logo-img{
        width:34px;
        height:34px;
    }

    .logo-text h1{
        font-size:15px;
    }

    .header-icon{
        width:32px;
        height:32px;
    }

    .header-icon i{
        font-size:16px;
    }

    .detect-header-btn{
        width:115px;
        height:32px;
    }

    #animatedText{
        font-size:11px;
    }

    .bottom-nav-modern{
        height:54px;
        padding:4px 8px 6px;
    }

    .decorative-symbol{
        width:24px;
        height:24px;
        font-size:9px;
    }

    .nav-icon-wrapper{
        width:28px;
        height:28px;
    }

    .nav-icon-wrapper i{
        font-size:12px;
    }

    .center-btn{
        margin-top:-16px;
    }

    .center-btn .nav-icon-wrapper{
        width:44px;
        height:44px;
    }

    .center-btn .nav-icon-wrapper i{
        font-size:16px;
    }

    .nav-label{
        font-size:8px;
    }
}