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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-gradient-start: #667eea;
    --bg-gradient-end: #764ba2;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-hover: rgba(255, 255, 255, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    max-width: 680px;
    width: 100%;
    animation: fadeIn 0.6s ease;
}

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

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 2rem;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    background: var(--card-bg);
}

.profile h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* Links Section */
.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: slideIn 0.5s ease backwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.15s; }
.link-card:nth-child(3) { animation-delay: 0.2s; }
.link-card:nth-child(4) { animation-delay: 0.25s; }
.link-card:nth-child(5) { animation-delay: 0.3s; }
.link-card:nth-child(6) { animation-delay: 0.35s; }
.link-card:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--card-hover);
    border-color: rgba(99, 102, 241, 0.3);
}

.link-card:active {
    transform: translateY(-2px) scale(1.01);
}

.link-card .icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card .icon svg,
.link-card .icon img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.link-card .icon svg {
    stroke: var(--text-dark);
}

.link-card:hover .icon svg {
    stroke: var(--primary-color);
    transform: scale(1.1);
}

/* Twitter X icon animation */
.link-card:hover .twitter-x {
    animation: twitterBounce 0.5s ease;
}

@keyframes twitterBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-10deg); }
    75% { transform: scale(1.1) rotate(10deg); }
}

/* VR icon animation */
.vr-icon {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
    filter: brightness(0);
    transition: all 0.3s ease;
}

.link-card:hover .vr-icon {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(224deg) brightness(97%) contrast(92%);
    animation: vrFloat 0.6s ease;
}

@keyframes vrFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(2deg); }
}

/* Email icon animation */
.link-card:hover .email-icon {
    animation: emailSend 0.5s ease;
}

@keyframes emailSend {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.link-card .link-text {
    flex: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    .profile h1 {
        font-size: 1.75rem;
    }

    .bio {
        font-size: 0.95rem;
    }

    .link-card {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .link-card .icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile h1 {
        font-size: 1.5rem;
    }

    .link-card {
        padding: 0.875rem 1rem;
    }
}
