@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    min-height: 100vh;
}

/* Social Cards */
.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.social-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.2);
}

.icon-container {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-card:hover .icon-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(168, 85, 247, 0.4));
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Aesthetic Icons */
.aesthetic-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.badge-lavender {
    background: rgba(139, 92, 246, 0.15);
    /* lavender-500 */
    color: #c4b5fd;
    /* lavender-300 */
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-lavender:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.badge-pastel {
    background: rgba(168, 85, 247, 0.15);
    /* pastel-purple-500 */
    color: #d8b4fe;
    /* pastel-purple-300 */
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-pastel:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

.badge-deep {
    background: rgba(124, 58, 237, 0.15);
    /* lavender-600 */
    color: #a78bfa;
    /* lavender-400 */
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.badge-deep:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #a855f7);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7c3aed, #9333ea);
}

/* Glow Effects */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #8b5cf6, #a855f7, #8b5cf6);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social-card {
        padding: 1rem;
    }

    .icon-container {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Typewriter Cursor */
.cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #c4b5fd;
    /* lavender-300 to match the gradient start */
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Terminal Emulator */
.terminal-window {
    background: #1e1e2e;
    /* Catppuccin Mocha Base */
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.terminal-header {
    background: #181825;
    /* Mantle */
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.dot-red {
    background: #f38ba8;
}

.dot-yellow {
    background: #f9e2af;
}

.dot-green {
    background: #a6e3a1;
}

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: #a6adc8;
    font-size: 0.875rem;
    opacity: 0.8;
}

.terminal-body {
    padding: 1.5rem;
    color: #cdd6f4;
    /* Text */
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    min-height: 680px;
}

.prompt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.prompt-user {
    color: #89b4fa;
    font-weight: bold;
}

/* Blue */
.prompt-at {
    color: #cdd6f4;
}

.prompt-host {
    color: #89b4fa;
    font-weight: bold;
}

.prompt-path {
    color: #f5c2e7;
}

/* Pink */
.prompt-symbol {
    color: #a6e3a1;
}

/* Green */

.input-line {
    display: inline-block;
}

.cursor-block {
    display: inline-block;
    width: 0.6em;
    height: 1.2em;
    background: #cdd6f4;
    vertical-align: text-bottom;
    animation: blink-block 1s step-end infinite;
}

@keyframes blink-block {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.neofetch-output {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-direction: column;
}

@media(min-width: 768px) {
    .neofetch-output {
        flex-direction: row;
        align-items: flex-start;
    }

    .logo-art {
        flex-shrink: 0;
    }
}

.logo-art {
    color: #89b4fa;
    /* Arch Blue */
    font-weight: bold;
    white-space: pre;
    line-height: 1.2;
}

.sys-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.info-line {
    white-space: pre-wrap;
    word-break: break-word;
}

.info-key {
    color: #89b4fa;
    /* Blue */
    font-weight: bold;
}

.info-val {
    color: #cdd6f4;
}