:root {
    --bg-color: #f0f0f2;
    --text-color: #1a1a1a;
    --accent-color: #ff3344; /* Vibrant red for hover accent */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden; /* Prevent scrolling */
    font-family: sans-serif;
    user-select: none; /* Prevent text selection during drag */
    -webkit-user-select: none;
}

/* Matter.js canvas */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Profile Links Container */
.profile-links {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 20;
    pointer-events: auto; /* Clickable */
}

.link-item {
    font-family: 'Playwrite US Modern', cursive;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 400;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin-left: -12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
}

/* Vibrant hover effect */
.link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
    opacity: 0;
}

.link-item:hover {
    color: var(--text-color);
    transform: translateX(12px) rotate(-1.5deg) scale(1.05);
    text-shadow: 2px 2px 0px rgba(255, 51, 68, 0.3);
}

.link-item:hover::before {
    width: 100%;
    opacity: 0.15;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-links {
        bottom: 30px;
        right: 30px;
        gap: 12px;
    }
    
    .link-item {
        font-size: 1.1rem;
    }
}
