:root {
    --bg-gradient-start: #fbc2eb;
    --bg-gradient-end: #a6c1ee;
    --profile-border-color: #e7d8ff;
    --social-link-bg: #d8bfd8;
    --social-link-hover-bg: #c9aed9;
    --cursor-color: #ff85a1;
    --cursor-trail-color: rgba(255, 133, 161, 0.5);
}

.theme-minty-blue {
    --bg-gradient-start: #a8e6cf;
    --bg-gradient-end: #dcedc1;
    --profile-border-color: #b4e0d0;
    --social-link-bg: #88d8b0;
    --social-link-hover-bg: #7ac7a0;
    --cursor-color: #88d8b0;
    --cursor-trail-color: rgba(136, 216, 176, 0.5);
}

.theme-sunny-peach {
    --bg-gradient-start: #ffdab9;
    --bg-gradient-end: #ffefd5;
    --profile-border-color: #ffccab;
    --social-link-bg: #ffb347;
    --social-link-hover-bg: #ffa337;
    --cursor-color: #ffb347;
    --cursor-trail-color: rgba(255, 179, 71, 0.5);
}

body {
    background-color: #f0f8ff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.5s ease;
    user-select: none;
    cursor: none;
    overflow: hidden;
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
}

.blob:nth-child(1) {
    width: 200px;
    height: 200px;
    background-color: var(--bg-gradient-start);
    animation: move 10s infinite alternate;
}

.blob:nth-child(2) {
    width: 250px;
    height: 250px;
    background-color: var(--bg-gradient-end);
    animation: move 12s infinite alternate-reverse;
    right: 0;
    bottom: 0;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
        border-radius: 50%;
    }
    to {
        transform: translate(100px, 50px) scale(1.2);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.cursor {
    width: 10px;
    height: 10px;
    background-color: var(--cursor-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow: 0 0 10px var(--cursor-color), 0 0 20px var(--cursor-color);
    transition: transform 0.1s ease, background-color 0.5s ease, box-shadow 0.5s ease;
}

.trail {
    width: 4px;
    height: 4px;
    background-color: var(--cursor-trail-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.5s ease;
}

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

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5em;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.container {
    text-align: center;
}

.profile {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
    max-width: 400px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform-style: preserve-3d;
}

.profile > * {
    transform: translateZ(20px);
}

.profile.active {
    opacity: 1;
    transform: translateY(0);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--profile-border-color);
    transition: transform 0.3s ease-in-out, border-color 0.5s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.name {
    font-size: 2em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
    position: relative;
}

.email-display {
    font-size: 1em;
    color: #888;
    margin-bottom: 20px;
}

.name::after {
    content: "|";
    animation: blink 1s infinite;
}

.greeting {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.bio {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 20px;
}

.social-link {
    text-decoration: none;
    color: #fff;
    background-color: var(--social-link-bg);
    padding: 10px 20px;
    border-radius: 20px;
    margin: 0 10px;
    transition: background-color 0.3s, transform 0.3s ease-in-out, background-color 0.5s ease;
}

.social-link:hover {
    background-color: var(--social-link-hover-bg);
    transform: translateY(-5px);
}

.quote-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quote {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

.quote-author {
    display: block;
    margin-top: 10px;
    font-size: 0.8em;
    font-style: normal;
    text-align: right;
    font-weight: bold;
}

@media (max-width: 600px) {
    .profile {
        padding: 20px;
        width: 90%;
    }

    .name {
        font-size: 1.8em;
    }

    .bio {
        font-size: 1em;
    }

    .social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        margin: 8px 0;
        width: 80%;
    }

    .theme-switcher {
        top: 10px;
        right: 10px;
        font-size: 1.2em;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .cursor, .trail {
        display: none;
    }
}