.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.97), rgba(10, 25, 47, 0.97)),
                repeating-linear-gradient(0deg,
                    transparent 0%,
                    rgba(100, 255, 218, 0.1) 50%,
                    transparent 100%);
    background-size: cover, 3px 3px;
    z-index: -1;
    pointer-events: none;
}

.terminal-header {
    background: var(--secondary-color);
    padding: 0.5rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background: #ff5f56;
}

.terminal-button:nth-child(2) {
    background: #ffbd2e;
}

.terminal-button:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    color: var(--text-secondary);
    margin-left: 1rem;
    font-size: 0.9rem;
}

.terminal-content {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
}

.terminal-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.terminal-left {
    flex: 1;
}

.profile-image {
    flex-shrink: 0;
    margin-top: 1rem;
}

.profile-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
    max-width: 300px;
    height: auto;
}

.typing-effect {
    color: var(--accent-color);
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-color);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color) }
}

.description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0;
    justify-content: center;
    align-items: center;
}

.skill-tag {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.intro-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.intro-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem auto;
    width: auto;  
}

.social-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;  
    justify-content: center;  
}

.social-badge.github {
    background: linear-gradient(45deg, #24292e, #404448);
    color: white;
}

.social-badge.linkedin {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
    color: white;
}

.social-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-badge i {
    margin-right: 0.5rem;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 900px), (max-device-width: 900px) {
    .profile-image {
        display: none !important;
    }

    .terminal-flex {
        flex-direction: column;
        gap: 1.5rem;
    }

    .terminal-left {
        width: 100%;
    }

    .terminal-content {
        padding: 1.5rem;
    }

    .typing-effect {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.9rem;
    }
}