/* static/css/style.css */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
    background-color: #081425;
    color: #d8e3fb;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.ledger-gradient {
    background: linear-gradient(135deg, #adc6ff 0%, #4d8eff 100%);
}

.glass-nav {
    background: rgba(8, 20, 37, 0.6);
    backdrop-filter: blur(20px);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1) !important;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Terminal Blinking Cursor --- */
.cursor::after {
    content: '_'; /* The cursor character */
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Online Status Indicator --- */
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e; /* Bright Green */
    border-radius: 50%;
    margin-left: 8px;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-green 2s infinite;
    vertical-align: middle;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- 180 Degree Card Flip --- */
.perspective-1000 {
    perspective: 1000px;
}
.transform-style-3d {
    transform-style: preserve-3d;
}
.backface-hidden {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.rotate-y-180 {
    transform: rotateY(180deg);
}
.is-flipped {
    transform: rotateY(180deg) !important;
}

/* --- Dropdown Terminal Accordion --- */
.terminal-dropdown {
    max-height: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.6s ease;
}

.terminal-dropdown.is-open {
    max-height: 350px; /* Enough room for the terminal text */
    border-top-color: rgba(66, 71, 84, 0.2); /* Adds a subtle divider line when open */
}

/* --- Cross-Wire Matrix States --- */
.job-card.dimmed {
    opacity: 0.3;
}
.skill-pill.dimmed {
    opacity: 0.2;
    border-color: rgba(66, 71, 84, 0.1);
}
.skill-pill.glowing {
    background-color: rgba(173, 198, 255, 0.1); /* Faint primary blue */
    border-color: #adc6ff; /* Solid primary blue */
    color: #adc6ff;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(173, 198, 255, 0.2);
}

/* --- System Ping Animation --- */
@keyframes systemPing {
    0% { 
        box-shadow: 0 0 0 0 rgba(173, 198, 255, 0.4); 
        border-color: rgba(173, 198, 255, 0.8); 
    }
    70% { 
        box-shadow: 0 0 0 20px rgba(173, 198, 255, 0); 
        border-color: rgba(66, 71, 84, 0.3); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(173, 198, 255, 0); 
        border-color: rgba(66, 71, 84, 0.3); 
    }
}

.system-ping-active {
    animation: systemPing 1.5s cubic-bezier(0.0, 0.0, 0.2, 1);
    border-color: #adc6ff !important; 
}