@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --background: #101010;
    --panel-bg: rgba(22, 22, 24, 0.7); 
    --text-primary: #EAEAEA;
    --text-secondary: #A0A0A0;
    --accent-color: #0091FF;
    --border-color: rgba(88, 166, 255, 0.2);
    --glow-color: rgba(0, 145, 255, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    -webkit-font-smoothing: antialiased;
}

.background-shapes {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    filter: blur(100px);
}

#background-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.main-container {
    width: 100%;
    max-width: 600px;
    z-index: 1;
}

.profile-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 145, 255, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.profile-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 145, 255, 0.5);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.panel::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(0, 145, 255, 0.2), transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.panel:hover { border-color: rgba(0, 145, 255, 0.5); }
.panel:hover::before { opacity: 1; }
.panel > * { position: relative; z-index: 2; }

.profile-panel, .stack-panel {
    grid-column: span 2;
}

.profile-panel { text-align: center; }
.name { font-size: 1.75rem; font-weight: 700; margin: 0; }
.title { font-size: 1rem; color: var(--text-secondary); margin: 4px 0 0; }
.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0 0;
    text-align: left; 
}

.stack-panel { text-align: center; }
.stack-panel h3 {
    margin: 0 0 1rem; font-size: 0.9rem;
    color: var(--text-secondary); text-transform: uppercase;
}
.tech-pills {
    display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.tech-pills span {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    font-size: 0.9rem; font-weight: 500;
    transition: box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.tech-pills span:hover {
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 145, 255, 0.5);
    transform: scale(1.05);
}

.link-panel { padding: 0; }
.link-button {
    text-decoration: none; color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 1.5rem;
}
.link-button i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.link-button .link-text {
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.link-button .arrow {
    margin-left: auto;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}
.link-button:hover .link-text { color: var(--accent-color); }
.link-button:hover i,
.link-button:hover .arrow { color: var(--text-primary); }
.link-button:hover .arrow { transform: translateX(5px); }

@media (max-width: 640px) {
    body { padding: 1rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .panel { grid-column: span 1 !important; }
}


