/* Fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

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

/* Loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

.card {
    background-color: #ffffff;
    color: #333;
    width: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: url('https://cdn.bsky.app/img/avatar/plain/did:plc:hwgt3ozeqfo3qeeopu6ah7px/bafkreigmkiewi466xby5d7wgi5hg26nqqq7p5kcz7m7pctaqnbtbx6uvbu@jpeg') center/cover;
    height: 120px;
    position: relative;
}

.title-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.card-body {
    padding: 50px 20px 20px;
    text-align: center;
}

.card h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin: 10px 0;
    color: #777;
}

.location i {
    color: #777;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a {
    text-decoration: none;
    color: #555;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #0077b5;
    transform: scale(1.1);
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s;
}

.social-icons a:hover svg {
    transform: scale(1.1);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.button {
    background-color: #0077b5;
    border: none;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #005f8d;
    transform: translateY(-2px);
}

.vsco-logo {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-icons a:hover .vsco-logo {
    transform: scale(1.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 15px;
    }

    .social-icons a {
        font-size: 28px;
    }

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

    .card h1 {
        font-size: 22px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .card {
        width: 100%;
        max-width: 300px;
    }

    .social-icons a {
        font-size: 24px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}