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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.1);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    min-height: calc(93.5vh - 80px);
}

.profile {
    text-align: center;
    margin-bottom: 50px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffd700;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.profile h1 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.bio {
    font-size: 1.1rem;
    color: #ffd700;
    font-weight: 300;
    letter-spacing: 3px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 215, 0, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.link-card:hover::before {
    width: 100%;
}

.link-card:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.link-card i:first-child {
    font-size: 1.8rem;
    color: #ffd700;
}

.link-card span {
    flex: 1;
}

.link-card i:last-child {
    font-size: 1.5rem;
    color: #ffd700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.link-card:hover i:last-child {
    opacity: 1;
    transform: translateX(0);
}

.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #e0e0e0;
    font-size: 1rem;
}

.contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-size: 1rem;
}

.contact i {
    color: #ffd700;
    font-size: 1.2rem;
}

.contact a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

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

    .bio {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .link-card {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .link-card i:first-child {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
    }

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

    .bio {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .link-card {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .link-card i:first-child {
        font-size: 1.4rem;
    }

    .footer {
        padding: 30px 15px;
    }

    .copyright,
    .contact {
        font-size: 0.9rem;
    }
}
