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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite reverse;
    pointer-events: none;
}

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

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.container {
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

.profile {
    margin-bottom: 32px;
}

.logo {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.logo img {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: cover;
    box-shadow: 
        0 -2px 4px rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 12px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.bio {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    font-weight: 500;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.links a:nth-child(1) {
    animation: slideIn 0.6s ease-out 0.2s backwards;
}

.links a:nth-child(2) {
    animation: slideIn 0.6s ease-out 0.4s backwards;
}

.links a:nth-child(3) {
    animation: slideIn 0.6s ease-out 0.6s backwards;
}

.links a:nth-child(4) {
    animation: slideIn 0.6s ease-out 0.8s backwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.link-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

.link-button.apple {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
}

.link-button.apple:hover {
    background: linear-gradient(135deg, #333 0%, #444 100%);
}

.link-button.google {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    color: #1a1a1a;
}

.link-button.google:hover {
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
}

.link-button.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
}

.link-button.instagram:hover {
    background: linear-gradient(135deg, #9b4dca 0%, #ff3b3b 50%, #ffc65c 100%);
}

.link-button.tiktok {
    background: linear-gradient(135deg, #010101 0%, #1a1a1a 100%);
    color: white;
}

.link-button.tiktok:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-button:hover .store-icon {
    transform: scale(1.1);
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.small-text {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative elements */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .link-button {
        padding: 12px 20px;
    }
    
    .big-text {
        font-size: 16px;
    }
    
    .store-icon {
        width: 24px;
        height: 24px;
    }
}

/* Safe area padding for devices with notches */
@supports (padding: max(0px)) {
    body {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}
