* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #09090b;
    display: flex;
    justify-content: center;
    color: #fff;
    overflow-x: hidden;
}

/* Blurred background image (desktop) */
.bg-blur {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-blur img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(40px) brightness(0.4);
    transform: scale(1.2);
}

/* Main card */
.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: #0d0d0d;
    overflow: hidden;
}

/* Hero image */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, #0d0d0d 0%, rgba(13,13,13,0.6) 40%, transparent 100%);
    pointer-events: none;
}

/* Profile */
.profile {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -80px;
    padding: 0 24px 4px;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d0d0d;
}

.profile h1 {
    font-size: 1.6rem;
    font-weight: 750;
    color: #fff;
    margin-top: 8px;
    letter-spacing: 0.25px;
}

.handle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
    margin-bottom: 20px;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px 40px;
}

.link-btn {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #1f1f1f;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.2s ease;
    line-height: 22px;
}

.link-btn:hover {
    background: #2a2a2a;
}

.link-btn:active {
    background: #252525;
}

/* Featured button (Fanvue) */
.link-btn.featured {
    background: linear-gradient(135deg, #1a2a1a, #1f2f1f);
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15), 0 0 40px rgba(34, 197, 94, 0.06);
    animation: glow-pulse 2.5s ease-in-out infinite;
}

.link-btn.featured:hover {
    background: linear-gradient(135deg, #1f3520, #253a25);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.3), 0 0 50px rgba(34, 197, 94, 0.1);
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.15), 0 0 40px rgba(34, 197, 94, 0.06); }
    50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3), 0 0 50px rgba(34, 197, 94, 0.12); }
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.link-icon svg {
    display: block;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.link-text {
    flex: 1;
    text-align: center;
    padding-right: 42px;
}

/* Desktop: card is centered with blurred bg showing on sides */
@media (min-width: 481px) {
    .card {
        border-radius: 30px;
        margin: 0 auto;
        min-height: 100vh;
    }
}
