/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Scene Background */
.scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    perspective: 1000px;
    overflow: hidden;
}
.grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(90deg, rgba(147, 51, 234, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(147, 51, 234, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(60deg);
    animation: gridMove 20s ease-in-out infinite;
}
@keyframes gridMove {
    0%, 100% { transform: rotateX(60deg) translateY(0); }
    50% { transform: rotateX(60deg) translateY(20px); }
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 40px;
}
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    margin-bottom: 20px;
    position: relative;
}
.profile-img::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 25px;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.4), transparent 70%);
    z-index: -1;
    filter: blur(10px);
}
.name {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.link:hover {
    background: rgba(147, 51, 234, 0.1);
    transform: translateY(-2px);
    border-color: rgba(147, 51, 234, 0.4);
}
.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}
.link:hover::before {
    left: 100%;
}
.icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 10px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Styling (just placeholders – ideally use inline SVGs or real icons) */
.github::before       { content: "🐙"; font-size: 20px; }
.telegram::before     { content: "✈️"; font-size: 18px; }
.discord::before      { content: "💬"; font-size: 18px; }
.web::before          { content: "🌐"; font-size: 18px; }

/* Responsive */
@media (max-width: 480px) {
    .profile-img { width: 100px; height: 100px; }
    .name { font-size: 24px; }
    .link { padding: 14px 16px; }
}
