body {
    overflow-x: hidden;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.dash-h {
    position: absolute;
    left: -100vw;
    right: -100vw;
    height: 1px;
    background: linear-gradient(to right, #d1d5db 50%, transparent 50%);
    background-size: 16px 1px;
    z-index: -1;
}
.dash-v {
    position: absolute;
    top: -100vh;
    bottom: -1vh;
    width: 1px;
    background: linear-gradient(to bottom, #d1d5db 50%, transparent 50%);
    background-size: 1px 16px;
    z-index: -1;
}
.dark .dash-h {
    position: absolute;
    left: -100vw;
    right: -100vw;
    height: 1px;
    background: linear-gradient(to right, #333333 50%, transparent 50%);
    background-size: 16px 1px;
    z-index: -1;
}
.dark .dash-v {
    position: absolute;
    top: -100vh;
    bottom: -1vh;
    width: 1px;
    background: linear-gradient(to bottom, #333333 50%, transparent 50%);
    background-size: 1px 16px;
    z-index: -1;
}

/* ── Floating Nav ────────────────────────────────────────────────── */
.floating-nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: calc(72rem - 10rem);
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.dark .floating-nav {
    background-color: rgba(21, 21, 21, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}
.floating-nav.nav-hidden {
    transform: translate(-50%, -150%);
}

/* ── Button and Input Corner Radius ──────────────────────────────── */
.btn,
button,
input,
textarea,
a[class*="border-2"] {
    border-radius: 10px !important;
}

/* ── Navigation and Button Spacing ───────────────────────────────── */
.floating-nav .nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px !important;
}
.floating-nav .mobile-menu {
    gap: 8px !important;
}
.floating-nav .mobile-menu:not(.hidden) {
    display: flex !important;
}
