@import url("https://fonts.cdnfonts.com/css/panton");

html, body {
    font-family: "Panton", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Globale: Navbar condivisa */
.navbar {
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(6, 7, 12, 0.45);
    pointer-events: auto;
}

.nav-links a {
    pointer-events: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 40px;
    filter: drop-shadow(0 0 6px #6b21a8);
}

.nav-logo span {
    font-size: 22px;
    font-weight: 600;
    color: #a855f7;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    text-decoration: none;
    color: #e5e7eb;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.20);
}

.nav-links a.active {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.25);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Small screens */
@media (max-width: 720px) {
    .navbar { padding: 12px 18px; }
    .nav-links { gap: 12px; font-size: 14px; }
    .nav-logo span { font-size: 18px; }
}

/* Utility button used in the navbar (Discord etc.) */
.btn-ghost {
    background: rgba(5, 8, 20, 0.9);
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-ghost:hover {
    background: rgba(10, 14, 32, 0.95);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.btn-ghost:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}
