/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Ensure scrolling still works */
html, body {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Global styles for all devices */
body {
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .navbar {
        padding: 0.5rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(var(--bg-rgb), 0.8);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-icon {
        font-size: 1.2rem;
        transition: transform 0.2s ease;
    }
    
    .nav-icon:active {
        transform: scale(0.95);
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .navbar {
        padding: 0.25rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-icon {
        font-size: 1rem;
    }
}