:root {
    --bg-color: #050505;
    --accent-primary: #00d4ff;
    --accent-secondary: #7000ff;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(20, 20, 50, 0.6), rgba(15, 15, 30, 0.6)), url('assets/back.jpg');
    background-size: cover;
    background-position: center;
}

canvas {
    display: block;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.2));
}

main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
}

.layout-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.side-panel {
    flex: 1;
    max-width: 250px;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.side-panel.placeholder {
    opacity: 0.5;
}

.placeholder-content {
    text-align: center;
    color: var(--text-dim);
}

.steam-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    filter: grayscale(1);
    opacity: 0.5;
}

.glass-card {
    flex: 0 1 550px;
    background: rgba(25, 25, 35, 0.65);
    backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 212, 255, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Rest of the styles... */

.glass-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 212, 255, 0.25);
}

.avatar-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 24px;
    position: relative;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #0a0a0a;
    border: 3px solid #0a0a0a;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 32px;
}

.bio {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.short-text {
    display: none;
}

.btn {
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn.primary {
    background: linear-gradient(45deg, #000000, #222);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 255, 255, 0.15);
    background: linear-gradient(45deg, #111, #333);
}

.btn.github {
    background: linear-gradient(45deg, #161b22, #30363d);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn.github:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #1f242c, #3d444d);
}

.btn.linkedin {
    background: linear-gradient(45deg, #004182, #0077b5);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 65, 130, 0.4);
}

.btn.linkedin:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 65, 130, 0.6);
}

.btn.itch {
    background: linear-gradient(45deg, #fa5c5c, #ff8080);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(250, 92, 92, 0.4);
}

.btn.itch:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(250, 92, 92, 0.6);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-dim);
    opacity: 0.6;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Base animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .layout-container {
        flex-direction: column;
        align-items: center;
    }

    .side-panel {
        max-width: 550px;
        width: 100%;
        min-height: 100px;
    }

    .side-panel.left {
        order: 2;
    }

    .glass-card {
        order: 1;
    }

    .side-panel.right {
        order: 3;
    }

    /* Change buttons to single letters below 1024px */
    .links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .btn {
        padding: 15px;
        min-width: 60px;
        aspect-ratio: 1/1;
        border-radius: 14px;
        font-size: 1.4rem;
    }

    .full-text {
        display: none !important;
    }

    .short-text {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 30px 15px;
        border-radius: 20px;
        flex: 1 1 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    .links {
        gap: 10px;
        width: 100%;
    }

    .btn {
        padding: 12px;
        min-width: 75px;
        flex: 1 1 calc(50% - 10px);
        font-size: 1.6rem;
    }
}