/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism card */
.glass-card {
    background: rgba(20, 20, 40, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Skill bars */
.skill-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}
.skill-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 999px;
    transition: width 1s ease-out;
}


/* Skills grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.skill-category {
    background: rgba(20, 25, 35, 0.5);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(79,172,254,0.2);
    transition: 0.2s;
}
.skill-category i { font-size: 2rem; color: #00f2fe; margin-bottom: 12px; display: inline-block; }
.skill-category h3 { font-size: 1.3rem; margin-bottom: 10px; }
.skill-category p { color: #b0c4de; font-size: 0.9rem; }

/* Cursor trail elements - make sure these are not overwritten */
.cursor-trail {
    position: fixed !important;
    width: 8px !important;
    height: 8px !important;
    background: radial-gradient(circle, #06b6d4, #8b5cf6) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    filter: blur(1px);
    opacity: 0.8;
    transition: transform 0.05s linear;
    box-shadow: 0 0 12px #06b6d4, 0 0 4px #8b5cf6;
    will-change: transform;
}

.cursor-trail.head {
    width: 14px !important;
    height: 14px !important;
    background: radial-gradient(circle, #fff, #06b6d4) !important;
    filter: blur(0px) !important;
    opacity: 1 !important;
    box-shadow: 0 0 20px #0ff, 0 0 8px #8b5cf6;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(8px);
    }
    h1 {
        font-size: 2.5rem !important;
    }
}