/* ===================== TOPBAR ===================== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 29, 32, .98);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .8);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.school-logo {
    height: 52px;
    filter: drop-shadow(0 0 8px rgba(255, 158, 27, .5));
}

.logo-bounce {
    animation: logoBounce .7s ease infinite;
}

.brand {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 158, 27, .4);
}

.sub-text {
    font-family: var(--fm);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--orange);
    opacity: .8;
    text-transform: uppercase;
}

.nav-left a {
    margin-right: 0;
    text-decoration: none;
    color: var(--muted);
    font-family: var(--fd);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .3s;
    padding: 0 20px;
    border-right: 1px solid var(--border);
}

.nav-left a:last-child {
    border-right: none;
}

.nav-left a:hover,
.nav-left a.active {
    color: var(--orange);
    text-shadow: 0 0 10px rgba(255, 158, 27, .5);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(255, 255, 255, .05);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.social-icons img {
    width: 22px;
    height: 22px;
    filter: opacity(.7);
    transition: all .3s;
}

.social-icons a:hover {
    background: rgba(255, 158, 27, .1);
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 158, 27, .3);
}

.social-icons a:hover img {
    filter: opacity(1) drop-shadow(0 0 5px var(--orange));
    transform: scale(1.1);
}

/* DISCORD LOGIN + DROPDOWN */
.login-area {
    position: relative;
}

.discord-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #5865F2;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s;
    cursor: pointer;
}

.discord-login-btn:hover {
    background-color: #4752C4;
}

.logout-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.logout-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1a1d20;
    border: 1px solid var(--orange);
    min-width: 140px;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

.logout-dropdown.active {
    display: block;
}

.logout-dropdown a,
.logout-dropdown a:link,
.logout-dropdown a:visited {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background-color: #5865F2;
    color: #ffffff;
    text-decoration: none;
    box-sizing: border-box;
}

.logout-dropdown a:hover {
    background-color: #4752C4;
    color: #ffffff;
}

/* ===================== FOOTER ===================== */
footer {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 99;
    background: rgba(15, 18, 20, .98);
    border-top: 2px solid var(--orange);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .7);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 50px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-inner p {
    margin: 0;
    font-family: var(--fm);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 6px 18px;
    font-family: var(--fd);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.footer-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 158, 27, .08);
    box-shadow: 0 0 10px rgba(255, 158, 27, .2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        text-align: center;
    }
}