@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Styles */
body {
    background-color: #0f0f0f;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism - Optimized */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    /* Reduced from 10px for performance */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(0);
    /* Hardware Acceleration Trigger */
    will-change: transform, opacity;
}

.glass-nav {
    background: rgba(15, 15, 15, 0.9);
    /* More opacity, less blur dependence */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    /* Slimmer */
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}