/* Fonts */
.font-syne { font-family: 'Syne', sans-serif; }
body { cursor: none; }

/* Cursor */
.cursor-dot { width: 8px; height: 8px; background-color: #22d3ee; border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 9999; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(34, 211, 238, 0.5); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 9998; transition: width 0.2s, height 0.2s, background-color 0.2s; }
body:hover .cursor-outline.hovered { width: 80px; height: 80px; background-color: rgba(34, 211, 238, 0.1); border-color: #22d3ee; }

/* Base & Glass */
.glass-card { background: rgba(225, 218, 218, 0.03); backdrop-filter: blur(10px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
#bg-container { transition: filter 0.1s linear, transform 0.1s linear; will-change: filter, transform; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #22d3ee; }

/* Animations */
.equalizer .bar { animation: eq 1s infinite ease-in-out; }
.equalizer .bar:nth-child(2) { animation-delay: 0.2s; }
.equalizer .bar:nth-child(3) { animation-delay: 0.4s; }
.paused .equalizer .bar { animation: none; height: 2px; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-bounce-slow { animation: bounce 3s infinite; }

/* Components - General */
.skill-tag { padding: 0.25rem 0.75rem; background-color: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 9999px; font-size: 0.75rem; font-family: monospace; transition: all 0.3s; cursor: default; }
.skill-tag:hover { background-color: #22d3ee; color: black; }

.btn-link { padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 0.5rem; font-size: 0.875rem; font-weight: bold; transition: all 0.2s; }
.btn-link:hover { background-color: white; color: black; }

.btn-link-primary { padding: 0.5rem 1rem; background-color: #06b6d4; color: black; border-radius: 0.5rem; font-size: 0.875rem; font-weight: bold; transition: all 0.2s; }
.btn-link-primary:hover { background-color: #22d3ee; }

/* Legacy Project Card Hover (Optional) */
.project-card:hover { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 30px rgba(34, 211, 238, 0.1); }


/* --- VERTICAL LINE PROJECT LAYOUT STYLES --- */

.skill-tag-line {
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: monospace;
    transition: all 0.3s ease;
    cursor: default;
}

.project-line-card:hover .skill-tag-line {
    border-color: #22d3ee;
    color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.line-btn {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.line-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.line-btn:hover {
    color: black;
    border-color: white;
}

.line-btn:hover::before {
    width: 100%;
}

.line-btn-fill {
    padding: 1rem 2rem;
    background: #22d3ee;
    color: black;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px solid #22d3ee;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
    text-decoration: none;
    display: inline-block;
}

.line-btn-fill:hover {
    background: transparent;
    color: #22d3ee;
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.4);
}

/* --- MOBILE OPTIMIZATIONS (CLEAN) --- */
@media (max-width: 768px) {
    /* Bring back the normal cursor on mobile/tablet */
    body {
        cursor: auto !important;
    }
    
    /* Hide the custom cursor elements completely to save performance */
    .cursor-dot, 
    .cursor-outline {
        display: none !important;
    }
}