:root {
    --bg-light: #f1f5f9;
    --card-white: #ffffff;
    --terminal-head: #e2e8f0;
    --text-main: #334155;
    --text-muted: #64748b;
    --accent: #2563eb;
    --code-keyword: #7c3aed;
    --code-variable: #2563eb;
    --code-string: #059669;
    --code-type: #d97706;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    overflow: hidden;
}

.page-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.02) 2px, transparent 2px);
    background-size: 200px 200px;
}

.code-symbols span {
    position: absolute;
    color: rgba(37, 99, 235, 0.08);
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Fira Code', monospace;
    user-select: none;
    pointer-events: none;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.main-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.dev-card-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header / Tabs */
.dev-header {
    background: var(--terminal-head);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dev-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.dev-tab {
    background: var(--card-white);
    padding: 8px 16px;
    border-radius: 6px 6px 0 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
}

.dev-tab i { color: #f59e0b; }

/* Content Area */
.dev-content {
    display: flex;
    padding: 40px 0;
}

.line-numbers {
    padding: 0 20px;
    text-align: right;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #cbd5e1;
    border-right: 1px solid #f1f5f9;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.code-body {
    padding: 0 40px;
    flex: 1;
}

.code-line {
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    margin-bottom: 4px;
}

.indent { padding-left: 24px; }

.keyword { color: var(--code-keyword); font-weight: 500; }
.class-name { color: var(--code-type); }
.variable { color: var(--code-variable); }
.type { color: var(--code-type); }
.string { color: var(--code-string); }

/* Profile Section */
.profile-header {
    margin: 40px 0 20px;
}

.display-name {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.05em;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-top: 10px;
    border-radius: 2px;
}

.professional-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Tech Grid */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.tech-item {
    background: #eff6ff;
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

/* Contact & Action */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-link i { color: var(--accent); width: 16px; }

.dev-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dev-btn:hover {
    background: #1e293b;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .line-numbers { display: none; }
    .code-body { padding: 0 24px; }
    .display-name { font-size: 2.2rem; }
}
