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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e8e8e8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.08s ease-out;
    mix-blend-mode: difference;
    will-change: transform;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.custom-cursor.click {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 3rem;
    align-items: center;
}

.profile-section {
    grid-column: 1 / -1;
    text-align: center;
    position: relative;
    padding: 2rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-wrapper {
    position: relative;
    padding: 4px;
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a, #2a2a2a, #404040);
    background-size: 300% 300%;
    border-radius: 50%;
    animation: subtleShift 6s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.avatar:hover {
    transform: scale(1.05);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    background: #f23f43;
    box-shadow: 0 0 20px rgba(242, 63, 67, 0.6);
    transition: all 0.3s ease;
    z-index: 3;
}

.status-indicator.online {
    background: #00d26a;
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.6);
}

.status-indicator.idle {
    background: #ffb347;
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.6);
}

.status-indicator.dnd {
    background: #f23f43;
    box-shadow: 0 0 20px rgba(242, 63, 67, 0.6);
}

.profile-info {
    text-align: left;
}

.name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 600;
    color: #226A8E;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}



.bio {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.activity-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.discord-status {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1), rgba(20, 20, 20, 0.8));
}

.spotify-section {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(20, 20, 20, 0.8));
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #e8e8e8;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.link-item::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.6s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(40, 40, 40, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.link-icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.link-item:hover .link-icon-container {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.link-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.link-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.skills-section {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.skill-name {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

.footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer p {
    font-size: 0.8rem;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

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

.profile-section {
    animation: fadeInUp 0.8s ease-out;
}

.left-column {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.right-column {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.copy-notification {
    position: fixed;
    top: 24px;
    right: 20px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    z-index: 10000;
    transform: translateX(120%) scale(0.9);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.copy-notification.show {
    transform: translateX(0) scale(1);
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-activity.last-activity {
    opacity: 0.8;
    border-left: 3px solid #7289da;
    padding: 1rem;
    padding-left: 1.5rem;
    background: rgba(114, 137, 218, 0.08);
    border-radius: 12px;
    border-top: none;
    margin-top: 1rem;
    position: relative;
}

.discord-activity.last-activity::before {
    content: "Dernière activité";
    position: absolute;
    top: -8px;
    left: 12px;
    background: rgba(15, 15, 15, 0.9);
    color: #7289da;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(114, 137, 218, 0.3);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.activity-state {
    font-size: 0.875rem;
    color: #a0a0a0;
    line-height: 1.4;
}

.discord-activity.last-activity .activity-name {
    color: #7289da;
    font-weight: 500;
}

.discord-activity.last-activity .activity-state {
    color: #9ca3af;
    font-size: 0.8rem;
}

.discord-activity.last-activity .activity-icon {
    filter: grayscale(30%) opacity(0.9);
    border: 2px solid rgba(114, 137, 218, 0.2);
}


.copy-notification::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 1px;
    bottom: 1px;
    width: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.copy-notification::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.copy-notification .notification-text {
    flex: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    opacity: 0.95;
    padding-left: 8px;
}

@keyframes notificationSlide {
    0% {
        transform: translateX(120%) scale(0.9) rotate(2deg);
        opacity: 0;
    }
    50% {
        transform: translateX(-8px) scale(1.02) rotate(-0.5deg);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.copy-notification.show {
    animation: notificationSlide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes notificationFadeOut {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }
}

.copy-notification.hide {
    animation: notificationFadeOut 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.discord-logo, .spotify-logo {
    width: 24px;
    height: 24px;
}

.discord-logo {
    color: #7289da;
}

.spotify-logo {
    color: #1db954;
}

.status-text {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.activity-details {
    flex: 1;
}

.activity-name {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.activity-state {
    font-size: 0.9rem;
    color: #888;
}

.spotify-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.album-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.spotify-info {
    flex: 1;
    min-width: 0;
}

.spotify-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-artist {
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1db954, #1ed760);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
}
