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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    position: relative;
}

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

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

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ffe66d, #ffa07a);
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #d299c2, #fef9d7);
    bottom: 30%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

.greeting {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

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

.links-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    animation: fadeInUp 1s ease-out backwards;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }

.link-button:hover {
    transform: translateY(-4px) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.link-button:active {
    transform: translateY(-2px) scale(1);
}

.button-icon {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke: white;
}


/* Tooltip styles */
.link-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    font-weight: 400;
    letter-spacing: 0.3px;
    visibility: hidden;
}

.link-button:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.link-button[data-tooltip=""]::after {
    display: none !important;
}

/* Specific button colors on hover */
.email:hover {
    background: rgba(255, 107, 107, 0.3);
}

.linkedin:hover {
    background: rgba(0, 119, 181, 0.3);
}

.substack:hover {
    background: rgba(255, 165, 0, 0.3);
}

.goodreads:hover {
    background: rgba(140, 70, 20, 0.3);
}

.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .greeting {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 3rem;
    }
    
    .links-container {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .link-button {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .link-button::after {
        bottom: calc(100% + 10px);
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .shape {
        filter: blur(40px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    .greeting {
        margin-bottom: 2.5rem;
    }
    
    .links-container {
        gap: 1rem;
    }
}

