:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --terminal-bg: #010409;
    --accent-color: #58a6ff;
    --cursor-color: #3fb950;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.container {
    width: 75%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-section {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #bc8cff);
    padding: 3px;
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.4);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--terminal-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.glow-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(201, 209, 217, 0.4);
    letter-spacing: -1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b949e;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #30363d;
    border-radius: 6px;
    background-color: var(--terminal-bg);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    transition: fill 0.2s ease;
}

.terminal-window {
    width: 100%;
    background-color: var(--terminal-bg);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    border: 1px solid #30363d;
    animation: slideUp 1s ease-out;
}

.terminal-header {
    background-color: #161b22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close { background-color: #ff5f56; }
.minimize { background-color: #ffbd2e; }
.maximize { background-color: #27c93f; }

.terminal-title {
    flex-grow: 1;
    text-align: center;
    color: #8b949e;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-right: 44px;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cursor-color);
    min-height: 300px;
}

.command {
    color: var(--accent-color);
}

.output {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.comment {
    color: #8b949e;
    font-style: italic;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background-color: var(--cursor-color);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 1.5rem;
    }
    .glow-text {
        font-size: 1.1rem;
    }
    .terminal-body {
        font-size: 0.9rem;
    }
}