:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #00ff9d;
    --secondary-accent: #00b8ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-color: #333;
    --font-heading: 'Fira Code', monospace;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Grid Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 157, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 157, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.glitch-wrapper {
    display: inline-block;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary-accent);
    margin-bottom: 1rem;
}

.role-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

/* Profile Card */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--secondary-accent);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.command-line {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #888;
}
.command-line span {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.bio-text {
    font-size: 1.1rem;
    color: #ccc;
}

/* Links Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer */
footer {
    text-align: center;
    margin-top: auto;
    padding-top: 3rem;
    font-size: 0.9rem;
    color: #666;
    font-family: var(--font-heading);
}

/* Animations */
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.25rem;
    background-color: var(--accent-color);
    margin-left: 2px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }
    .social-btn {
        justify-content: center;
    }
}
