/* ============================================
   SpicyLinks — Public Profile Page
   Premium Visual Design v3 — Full Redesign
   ============================================ */

/* ── Top-level radial light source for depth ── */
body.profile-body {
    background-color: #000;
}

body.profile-body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 70%;
    background: radial-gradient(
        ellipse at 50% 20%,
        color-mix(in srgb, var(--profile-accent, var(--primary)) 8%, transparent) 0%,
        color-mix(in srgb, var(--profile-accent, var(--primary)) 3%, transparent) 35%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.profile-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: var(--profile-bg, var(--bg));
}

/* ── Desktop Side Fade ── */
.profile-bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Left and right fade-to-background vignette */
.profile-bg-decor::before,
.profile-bg-decor::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc(50% - 260px);
    z-index: 2;
}
.profile-bg-decor::before {
    left: 0;
    background: linear-gradient(
        to right,
        var(--profile-bg, var(--bg)) 0%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 90%, transparent) 40%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 50%, transparent) 70%,
        transparent 100%
    );
}
.profile-bg-decor::after {
    right: 0;
    background: linear-gradient(
        to left,
        var(--profile-bg, var(--bg)) 0%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 90%, transparent) 40%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 50%, transparent) 70%,
        transparent 100%
    );
}


/* Side-lines and dots hidden — replaced by side fade */
.profile-bg-decor .side-line,
.profile-bg-decor .side-dot {
    display: none;
}

@media (max-width: 600px) {
    .profile-bg-decor { display: none; }
}

/* ── Report Button (top right) ── */
.profile-report-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-report-btn:hover {
    background: rgba(255, 61, 113, 0.2);
    border-color: rgba(255, 61, 113, 0.35);
    color: #FF3D71;
    transform: scale(1.1);
}

.profile-report-btn:active {
    transform: scale(0.92);
}

/* ── Cover ── */
.profile-cover {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%; /* Default, overridden by inline style from DB */
}

/* Multi-stop fade — smoother, deeper */
.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        var(--profile-bg, var(--bg)) 0%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 85%, transparent) 25%,
        color-mix(in srgb, var(--profile-bg, var(--bg)) 40%, transparent) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.profile-cover-gradient {
    width: 100%;
    height: 100%;
}
.profile-cover-default {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Content ── */
.profile-content {
    width: 100%;
    max-width: 480px;
    padding: 0 var(--space-xl) var(--space-2xl);
    margin: -60px auto 0;
    position: relative;
    z-index: 1;
}

.profile-content.no-cover {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
}

/* ── Avatar ── */
.blk-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blk-avatar .avatar-card {
    position: relative;
    margin-bottom: var(--space-lg);
}

.profile-avatar-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/* Avatar glow — hidden by default, shape variants (heart) re-enable via blocks.css */
.profile-avatar-glow {
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    display: none;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.profile-avatar-glow::after {
    display: none;
}

/* Animated rotating gradient border on avatar */
.profile-avatar-wrap {
    perspective: 400px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s ease, border-color 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.15);
}
.profile-avatar:hover {
    border-color: rgba(255,255,255,0.25);
}

.profile-avatar:hover {
    transform: scale(1.06) rotateY(6deg) rotateX(-3deg);
    box-shadow: 0 10px 32px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.2);
}

/* Heart shape overrides — wider than tall for a broad heart */
.blk-avatar--heart .profile-avatar-wrap {
    width: 116px !important;
    height: 110px !important;
    filter: drop-shadow(0 0 1.5px rgba(255,255,255,.5));
}
.blk-avatar--heart .profile-avatar,
.blk-avatar--heart .profile-avatar-placeholder {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    clip-path: url(#heart-clip);
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: none !important;
}
.blk-avatar--heart .profile-avatar-wrap.avatar-size--small {
    width: 68px !important;
    height: 64px !important;
}
.blk-avatar--heart .profile-avatar-wrap.avatar-size--medium {
    width: 93px !important;
    height: 88px !important;
}

.profile-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--profile-text) 12%, var(--profile-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--profile-text);
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

/* ── Animated Avatar Ring (radiating pulse glow) ── */
/* --ring-color can be set inline to override the default accent color */
.avatar-ring::before,
.avatar-ring::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ── Pulse: breathing blur glow — clip-path off so blur flows outward ── */
.avatar-ring--pulse::before {
    background: var(--ring-color, var(--profile-accent, #4DA6FF));
    filter: blur(14px);
    width: 100%; height: 100%;
    animation: ringBreathe 2.5s ease-in-out infinite;
}
/* Non-heart: remove clip-path, keep border-radius for shape */
.blk-avatar--circle .avatar-ring--pulse::before,
.blk-avatar--rounded .avatar-ring--pulse::before,
.blk-avatar--square .avatar-ring--pulse::before {
    clip-path: none;
}
/* Heart pulse: hide pseudo, use glow div (blur on parent, clip-path on child) */
.blk-avatar--heart .avatar-ring--pulse::before {
    display: none;
}
.blk-avatar--heart .avatar-ring--pulse .profile-avatar-glow {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 105%; height: 105%;
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    background: none;
    animation: ringBreathe 2.5s ease-in-out infinite;
}
.blk-avatar--heart .avatar-ring--pulse .profile-avatar-glow::before {
    content: '';
    display: block;
    width: 100%; height: 100%;
    clip-path: url(#heart-clip);
    background: var(--ring-color, var(--profile-accent, #4DA6FF));
}
.avatar-ring--pulse::after {
    display: none;
}
@keyframes ringBreathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .15; }
    50%      { transform: translate(-50%, -50%) scale(1.08);  opacity: .4; }
}

/* ── Gradient: rotating 2-color glow halo ── */
.avatar-ring--gradient::before {
    border: none;
    width: 112%; height: 112%;
    background: conic-gradient(
        from var(--ring-angle, 0deg),
        var(--ring-color, var(--profile-accent, #4DA6FF)),
        var(--ring-color2, color-mix(in srgb, var(--ring-color, var(--profile-accent, #4DA6FF)) 40%, #fff)),
        var(--ring-color, var(--profile-accent, #4DA6FF)),
        var(--ring-color2, color-mix(in srgb, var(--ring-color, var(--profile-accent, #4DA6FF)) 40%, #fff)),
        var(--ring-color, var(--profile-accent, #4DA6FF))
    );
    filter: blur(8px);
    opacity: .4;
    animation: ringGlowRotate 4s linear infinite;
}
.avatar-ring--gradient::after {
    display: none;
}
@property --ring-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes ringGlowRotate {
    to { --ring-angle: 360deg; }
}
/* Fallback: rotate element if @property not supported */
@supports not (animation-timeline: auto) {
    .avatar-ring--gradient::before { animation: ringRotateFallback 4s linear infinite; }
}

/* ── Rainbow: rotating rainbow glow ── */
.avatar-ring--rainbow::before {
    border: none;
    width: 112%; height: 112%;
    background: conic-gradient(
        from var(--ring-angle, 0deg),
        #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #9b59b6, #ff6b6b
    );
    filter: blur(8px);
    opacity: .35;
    animation: ringGlowRotate 5s linear infinite;
}
.avatar-ring--rainbow::after {
    display: none;
}

/* Shape-aware glow: clip-path prevents visible GPU layer rectangle */
.blk-avatar--circle .avatar-ring::before,
.blk-avatar--circle .avatar-ring::after {
    border-radius: 50%;
    clip-path: circle(50%);
}
.blk-avatar--rounded .avatar-ring::before,
.blk-avatar--rounded .avatar-ring::after {
    border-radius: 18%;
    clip-path: inset(0 round 18%);
}
.blk-avatar--square .avatar-ring::before,
.blk-avatar--square .avatar-ring::after {
    border-radius: 6px;
    clip-path: inset(0 round 6px);
}
.blk-avatar--heart .avatar-ring::before,
.blk-avatar--heart .avatar-ring::after {
    border-radius: 0;
    clip-path: url(#heart-clip);
}

@keyframes ringRotateFallback {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Info Section — entrance animation ── */
.profile-info {
    text-align: center;
    margin-bottom: var(--space-md);
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

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

.profile-display-name {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: var(--profile-font-weight-name, 800);
    letter-spacing: var(--profile-letter-spacing, -0.03em);
    text-transform: var(--profile-text-transform, none);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    text-shadow: 0 0 50px color-mix(in srgb, var(--profile-accent) 15%, transparent);
}

.profile-badge {
    font-size: var(--text-2xs);
    font-weight: var(--weight-semibold);
    padding: 2px 10px;
    background: var(--gradient-hot);
    color: #fff;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.profile-verified {
    color: var(--info);
    font-size: var(--text-lg);
}

/* Verified Badge with theme-aware glow + micro-interaction */
.verified-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--profile-accent, #4DA6FF) 50%, rgba(77, 166, 255, 0.5)));
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1);
    animation: verifiedPulse 3s ease-in-out infinite;
    cursor: default;
}

.verified-badge:hover {
    transform: scale(1.18) rotate(8deg);
    filter: drop-shadow(0 0 16px color-mix(in srgb, var(--profile-accent, #4DA6FF) 70%, rgba(77, 166, 255, 0.7)));
}

.profile-display-name:hover .verified-badge {
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--profile-accent, #4DA6FF) 65%, rgba(77, 166, 255, 0.6)));
}

@keyframes verifiedPulse {
    0%, 100% { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--profile-accent, #4DA6FF) 40%, rgba(77,166,255,0.4))); }
    50%      { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--profile-accent, #4DA6FF) 60%, rgba(77,166,255,0.6))); }
}

.profile-username {
    font-size: var(--text-sm);
    color: var(--profile-text);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.03em;
    opacity: 0.55;
}

.profile-bio {
    font-size: var(--text-sm);
    color: var(--profile-text, var(--text-secondary));
    line-height: 1.4;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
    opacity: 0.85;
    word-wrap: break-word;
    white-space: pre-line;
    padding: 0 var(--space-sm);
    font-style: italic;
    letter-spacing: 0.01em;
}

.profile-bio-divider {
    width: 60%;
    height: 1px;
    margin: 12px auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--profile-accent) 10%, var(--profile-border, rgba(255,255,255,0.08))),
        transparent
    );
}

/* ── Social Icons — entrance animation ── */
.profile-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.profile-social-icon {
    --_brand: #fff;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--_brand) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--_brand) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    color: var(--_brand);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-social-icon:hover {
    transform: translateY(-4px) scale(1.08);
    background: color-mix(in srgb, var(--_brand) 22%, transparent);
    border-color: color-mix(in srgb, var(--_brand) 35%, transparent);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--_brand) 30%, transparent),
                0 0 0 1px color-mix(in srgb, var(--_brand) 10%, transparent);
}

.profile-social-icon:active {
    transform: translateY(0) scale(0.95);
    transition-duration: 0.1s;
}

/* Social SVG Icons */
.profile-social-icon svg {
    width: var(--_icon-size, 22px);
    height: var(--_icon-size, 22px);
    color: var(--_brand);
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--_brand) 30%, transparent));
}

/* ── Icon Size variants ── */
.blk-socials--sz-small  { --_icon-size: 16px; --_box-size: 36px; }
.blk-socials--sz-medium { --_icon-size: 22px; --_box-size: 46px; }
.blk-socials--sz-large  { --_icon-size: 28px; --_box-size: 54px; }
.blk-socials--sz-small .profile-social-icon  { width: var(--_box-size); height: var(--_box-size); }
.blk-socials--sz-medium .profile-social-icon { width: var(--_box-size); height: var(--_box-size); }
.blk-socials--sz-large .profile-social-icon  { width: var(--_box-size); height: var(--_box-size); }
/* Pill size adjusts padding, not box */
.blk-socials--pill.blk-socials--sz-small .profile-social-icon  { width: auto; height: auto; padding: 6px 12px 6px 10px; }
.blk-socials--pill.blk-socials--sz-medium .profile-social-icon { width: auto; height: auto; padding: 8px 16px 8px 12px; }
.blk-socials--pill.blk-socials--sz-large .profile-social-icon  { width: auto; height: auto; padding: 10px 20px 10px 14px; }
/* Minimal size adjusts icon only */
.blk-socials--minimal .profile-social-icon { width: auto; height: auto; }

/* ── Social Brand Colors (always visible) ── */
.profile-social-icon[data-platform="instagram"]  { --_brand: #E4405F; }
.profile-social-icon[data-platform="tiktok"]     { --_brand: #ff0050; }
.profile-social-icon[data-platform="x"]          { --_brand: #A8B5C4; }
.profile-social-icon[data-platform="youtube"]    { --_brand: #FF0000; }
.profile-social-icon[data-platform="telegram"]   { --_brand: #26A5E4; }
.profile-social-icon[data-platform="snapchat"]   { --_brand: #D5A800; }
.profile-social-icon[data-platform="onlyfans"]   { --_brand: #00AFF0; }
.profile-social-icon[data-platform="fansly"]     { --_brand: #1FA7F2; }
.profile-social-icon[data-platform="website"]    { --_brand: #FF2B55; }
.profile-social-icon[data-platform="email"]      { --_brand: #FF7A1A; }
.profile-social-icon[data-platform="whatsapp"]   { --_brand: #25D366; }
.profile-social-icon[data-platform="reddit"]     { --_brand: #FF4500; }

/* ── Social Design: Filled — solid brand-color circles, white icon ── */
.blk-socials--filled .profile-social-icon {
    background: var(--_brand);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--_brand) 35%, transparent);
}
.blk-socials--filled .profile-social-icon svg {
    color: #fff;
    filter: none;
}
.blk-socials--filled .profile-social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--_brand);
    border-color: transparent;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--_brand) 50%, transparent);
    filter: brightness(1.15);
}

/* ── Social Design: Outline — transparent bg, brand-colored ring ── */
.blk-socials--outline .profile-social-icon {
    background: transparent;
    border: 2px solid color-mix(in srgb, var(--_brand) 60%, transparent);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.blk-socials--outline .profile-social-icon svg {
    filter: none;
}
.blk-socials--outline .profile-social-icon:hover {
    background: color-mix(in srgb, var(--_brand) 12%, transparent);
    border-color: var(--_brand);
    box-shadow: 0 0 16px color-mix(in srgb, var(--_brand) 25%, transparent);
}

/* ── Social Design: Minimal — just the icon, no container ── */
.blk-socials--minimal .profile-social-icon {
    background: none;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 8px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.blk-socials--minimal .profile-social-icon svg {
    width: calc(var(--_icon-size, 22px) + 4px);
    height: calc(var(--_icon-size, 22px) + 4px);
    filter: none;
    opacity: 0.75;
}
.blk-socials--minimal .profile-social-icon:hover {
    background: none;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-2px) scale(1.15);
}
.blk-socials--minimal .profile-social-icon:hover svg {
    opacity: 1;
    filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--_brand) 40%, transparent));
}

/* ── Social Design: Pill — rounded pill with icon + platform name ── */
.blk-socials--pill .profile-social-icon {
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: 8px 16px 8px 12px;
    gap: 8px;
    background: color-mix(in srgb, var(--_brand) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--_brand) 20%, transparent);
}
.blk-socials--pill .profile-social-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: none;
}
.blk-socials--pill .profile-social-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--_brand);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.blk-socials--pill .profile-social-icon:hover {
    background: color-mix(in srgb, var(--_brand) 20%, transparent);
    border-color: color-mix(in srgb, var(--_brand) 40%, transparent);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--_brand) 25%, transparent);
}
/* Pill grid needs wider columns */
.blk-socials--pill .blk-socials--grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

/* Hide name span for non-pill designs */
.profile-social-name { display: none; }
.blk-socials--pill .profile-social-name { display: inline; }

/* ── Announcement Bar ── */
.profile-announcement {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: color-mix(in srgb, var(--profile-accent) 8%, var(--profile-bg));
    border: 1px solid color-mix(in srgb, var(--profile-accent) 15%, transparent);
    border-left: 3px solid var(--profile-accent);
    border-radius: var(--profile-radius, var(--radius-xl));
    font-size: var(--text-sm);
    color: var(--profile-text, var(--text));
    margin-bottom: var(--space-xl);
    text-align: center;
    justify-content: center;
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.profile-announcement-icon {
    flex-shrink: 0;
    animation: announcePulse 2s ease-in-out infinite;
}

@keyframes announcePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15) rotate(-5deg); }
}

/* ── Contact Button ── */
.profile-contact {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.profile-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 13px 30px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--profile-accent) 14%, var(--profile-icon-bg)),
        color-mix(in srgb, var(--profile-secondary) 8%, var(--profile-icon-bg))
    );
    border: 1px solid color-mix(in srgb, var(--profile-accent) 20%, transparent);
    border-radius: var(--radius-full);
    color: var(--profile-text, var(--text));
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.profile-contact-btn:hover {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--profile-accent) 22%, var(--profile-bg)),
        color-mix(in srgb, var(--profile-secondary) 14%, var(--profile-bg))
    );
    border-color: color-mix(in srgb, var(--profile-accent) 40%, transparent);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 28px color-mix(in srgb, var(--profile-accent) 20%, transparent),
        0 0 0 1px color-mix(in srgb, var(--profile-accent) 8%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-contact-btn:active {
    transform: translateY(0) scale(0.96);
    transition-duration: 0.1s;
}

.profile-contact-btn svg {
    transition: transform 0.3s ease;
}

.profile-contact-btn:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

/* ── Link Cards ── */
.profile-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: var(--space-2xl);
}

.profile-link-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    background: var(--profile-card);
    border: var(--profile-card-border-width, 1px) solid var(--profile-border);
    border-radius: var(--profile-radius, var(--radius-xl));
    text-decoration: none;
    color: var(--profile-text);
    transition: all var(--profile-transition-speed, 0.3s) cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 2px 10px rgba(0, 0, 0, 0.12),
        0 0 0 0 color-mix(in srgb, var(--profile-accent) 0%, transparent);
}

/* Shine sweep on hover */
.profile-link-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 60%,
        transparent 75%
    );
    transition: left 0.55s ease;
    pointer-events: none;
}

.profile-link-card:hover::after {
    left: 130%;
}

.profile-link-card:hover {
    background: var(--profile-card-hover);
    border-color: color-mix(in srgb, var(--profile-accent) 28%, transparent);
    transform: translateY(var(--profile-hover-lift, -4px)) scale(var(--profile-hover-scale, 1.01));
    box-shadow:
        0 12px 36px color-mix(in srgb, var(--profile-accent) 12%, transparent),
        0 4px 10px rgba(0, 0, 0, 0.15),
        0 0 0 1px color-mix(in srgb, var(--profile-accent) 6%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile-link-card:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

/* Highlighted cards — premium glow treatment */
/* ═══ Highlight Styles ═══ */
/* Highlight styles — apply to both standard and featured layouts */
.profile-link-card.highlighted,
.blk-big-link-card.highlighted {
    position: relative;
    z-index: 1;
    border-color: color-mix(in srgb, var(--profile-accent) 50%, transparent);
}
.profile-link-card.highlighted::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}

/* ── Glow (default) ── */
.profile-link-card.highlight-glow {
    box-shadow:
        0 0 15px color-mix(in srgb, var(--profile-accent) 35%, transparent),
        0 0 40px color-mix(in srgb, var(--profile-accent) 18%, transparent),
        0 0 80px color-mix(in srgb, var(--profile-accent) 8%, transparent);
    animation: hlGlow 2.5s ease-in-out infinite;
}
.profile-link-card.highlight-glow::before {
    background: linear-gradient(90deg, var(--profile-accent), var(--profile-secondary, var(--profile-accent)), var(--profile-accent));
    background-size: 200% 100%;
    animation: hlShimmer 3s linear infinite;
    opacity: 0.6;
}
@keyframes hlGlow {
    0%, 100% {
        box-shadow:
            0 0 15px color-mix(in srgb, var(--profile-accent) 35%, transparent),
            0 0 40px color-mix(in srgb, var(--profile-accent) 18%, transparent),
            0 0 80px color-mix(in srgb, var(--profile-accent) 8%, transparent);
    }
    50% {
        box-shadow:
            0 0 25px color-mix(in srgb, var(--profile-accent) 50%, transparent),
            0 0 60px color-mix(in srgb, var(--profile-accent) 28%, transparent),
            0 0 120px color-mix(in srgb, var(--profile-accent) 12%, transparent);
    }
}
@keyframes hlShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Pulse ── */
.profile-link-card.highlight-pulse {
    animation: hlPulse 1.8s ease-in-out infinite;
}
.profile-link-card.highlight-pulse::before {
    background: linear-gradient(135deg, var(--profile-accent), var(--profile-secondary, var(--profile-accent)));
    animation: hlPulseBorder 1.8s ease-in-out infinite;
}
@keyframes hlPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px color-mix(in srgb, var(--profile-accent) 20%, transparent);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 35px color-mix(in srgb, var(--profile-accent) 35%, transparent);
    }
}
@keyframes hlPulseBorder {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* ── Rainbow ── */
.profile-link-card.highlight-rainbow {
    animation: hlRainbowShadow 4s linear infinite;
}
.profile-link-card.highlight-rainbow::before {
    background: conic-gradient(from var(--hl-angle, 0deg), #ff0040, #ff8000, #ffff00, #00ff40, #00ffff, #0080ff, #8000ff, #ff0080, #ff0040);
    animation: hlRainbowSpin 3s linear infinite;
    opacity: 0.7;
}
@property --hl-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hlRainbowSpin {
    to { --hl-angle: 360deg; }
}
@keyframes hlRainbowShadow {
    0% { box-shadow: 0 0 20px rgba(255,0,64,0.3), 0 0 50px rgba(255,0,64,0.1); }
    25% { box-shadow: 0 0 20px rgba(0,255,64,0.3), 0 0 50px rgba(0,255,64,0.1); }
    50% { box-shadow: 0 0 20px rgba(0,128,255,0.3), 0 0 50px rgba(0,128,255,0.1); }
    75% { box-shadow: 0 0 20px rgba(128,0,255,0.3), 0 0 50px rgba(128,0,255,0.1); }
    100% { box-shadow: 0 0 20px rgba(255,0,64,0.3), 0 0 50px rgba(255,0,64,0.1); }
}

/* ── Neon ── */
.profile-link-card.highlight-neon {
    border: 1px solid var(--profile-accent);
    box-shadow:
        0 0 5px var(--profile-accent),
        0 0 15px var(--profile-accent),
        0 0 40px color-mix(in srgb, var(--profile-accent) 50%, transparent),
        inset 0 0 15px color-mix(in srgb, var(--profile-accent) 10%, transparent);
    animation: hlNeon 2s ease-in-out infinite;
}
.profile-link-card.highlight-neon::before {
    display: none;
}
@keyframes hlNeon {
    0%, 100% {
        box-shadow:
            0 0 5px var(--profile-accent),
            0 0 15px var(--profile-accent),
            0 0 40px color-mix(in srgb, var(--profile-accent) 50%, transparent),
            inset 0 0 15px color-mix(in srgb, var(--profile-accent) 10%, transparent);
    }
    50% {
        box-shadow:
            0 0 8px var(--profile-accent),
            0 0 25px var(--profile-accent),
            0 0 60px color-mix(in srgb, var(--profile-accent) 60%, transparent),
            inset 0 0 25px color-mix(in srgb, var(--profile-accent) 15%, transparent);
    }
}

/* ── Shake (attention) ── */
.profile-link-card.highlight-shake {
    box-shadow: 0 0 20px color-mix(in srgb, var(--profile-accent) 25%, transparent);
    animation: hlShake 3s ease-in-out infinite;
}
.profile-link-card.highlight-shake::before {
    background: linear-gradient(135deg, var(--profile-accent), var(--profile-secondary, var(--profile-accent)));
    opacity: 0.4;
}
@keyframes hlShake {
    0%, 85%, 100% { transform: translateX(0); }
    88% { transform: translateX(-4px) rotate(-1deg); }
    91% { transform: translateX(4px) rotate(1deg); }
    94% { transform: translateX(-3px) rotate(-0.5deg); }
    97% { transform: translateX(2px) rotate(0.5deg); }
}

/* ── All highlights: hover state ── */
.profile-link-card.highlighted:hover {
    animation-play-state: paused;
    box-shadow:
        0 0 30px color-mix(in srgb, var(--profile-accent) 40%, transparent),
        0 0 60px color-mix(in srgb, var(--profile-accent) 20%, transparent);
    border-color: var(--profile-accent);
    transform: scale(1.01);
    transition: transform 0.2s, border-color 0.2s;
}

/* Countdown block */
.blk-countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--profile-card-radius, 14px);
    background: color-mix(in srgb, var(--profile-accent) 8%, var(--profile-card, rgba(255,255,255,0.06)));
    border: 1px solid color-mix(in srgb, var(--profile-accent) 20%, transparent);
}
.blk-countdown-icon { font-size: 1.2em; }
.blk-countdown-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--profile-text);
    opacity: 0.9;
}
.blk-countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}
.blk-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 42px;
    padding: 6px 4px;
    background: color-mix(in srgb, var(--profile-accent) 12%, transparent);
    border-radius: 8px;
}
.blk-cd-num {
    font-size: 1.3rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--profile-accent, #9d4edd);
    line-height: 1.2;
}
.blk-cd-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    color: var(--profile-text);
}
.blk-cd-sep {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.3;
    color: var(--profile-text);
}

/* Public profile stats */
.profile-public-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: var(--profile-text);
    opacity: 0.45;
}
.profile-public-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Link thumbnail */
.profile-link-thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Link icon — subtle accent tint */
.profile-link-icon {
    font-size: 1.05rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--profile-accent) 8%, var(--profile-icon-bg));
    border: 1px solid color-mix(in srgb, var(--profile-accent) 8%, transparent);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-link-icon--default svg {
    opacity: 0.5;
}

.profile-link-card:hover .profile-link-icon {
    background: color-mix(in srgb, var(--profile-accent) 15%, var(--profile-icon-bg));
    border-color: color-mix(in srgb, var(--profile-accent) 20%, transparent);
}

.profile-link-card:hover .profile-link-icon--default svg {
    opacity: 0.8;
}

.profile-link-icon--platform {
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-link-icon--platform svg {
    flex-shrink: 0;
}

.profile-link-title {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-align: center;
    color: var(--profile-text);
}

/* Title + Description inline in button */
.profile-link-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: center;
    min-width: 0;
}
.profile-link-text-wrap .profile-link-title {
    flex: unset;
}
.profile-link-subtitle {
    font-size: 0.7rem;
    color: color-mix(in srgb, var(--profile-text) 50%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-link-arrow {
    color: var(--text-faint);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.4;
}

.profile-link-arrow svg {
    width: 15px;
    height: 15px;
}

.profile-link-card:hover .profile-link-arrow {
    color: var(--profile-accent);
    transform: translateX(4px);
    opacity: 1;
}

/* ── Link Description (expandable) ── */
.profile-link-wrap {
    display: flex;
    flex-direction: column;
}
.profile-link-wrap--has-desc .profile-link-card {
    border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0;
}
.profile-link-desc {
    padding: 6px 16px 10px;
    background: var(--profile-card, var(--surface, rgba(255,255,255,0.04)));
    border: 1px solid var(--profile-border, var(--border, rgba(255,255,255,0.06)));
    border-top: none;
    border-radius: 0 0 var(--radius-lg, 14px) var(--radius-lg, 14px);
}
.profile-link-desc-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--profile-text-muted, var(--text-muted, rgba(255,255,255,0.45)));
    margin: 0;
    text-align: center;
}
/* Long description: collapsed by default */
.profile-link-desc--long .profile-link-desc-text {
    max-height: 2.5em;
    overflow: hidden;
    position: relative;
}
.profile-link-desc--long:not(.profile-link-desc--expanded) .profile-link-desc-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.4em;
    background: linear-gradient(transparent, var(--profile-card, var(--surface, #14141e)));
    pointer-events: none;
}
.profile-link-desc--expanded .profile-link-desc-text {
    max-height: none;
}
.profile-link-desc-toggle {
    display: block;
    margin: 4px auto 0;
    padding: 2px 8px;
    background: none;
    border: none;
    color: var(--profile-accent, #9d4edd);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.profile-link-desc-toggle:hover { opacity: 1; }

/* Staggered entrance now handled by .blk class in blocks.css */

/* ── Footer ── */
.profile-footer {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    position: relative;
}

.profile-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--profile-accent) 10%, var(--profile-border)),
        transparent
    );
}

.profile-footer-actions {
    margin-bottom: var(--space-md);
}

.profile-footer-actions a {
    font-size: var(--text-xs);
    color: var(--text-faint);
    text-decoration: none;
}

.profile-footer-actions a:hover {
    color: var(--text-muted);
}

.profile-powered {
    display: inline-block;
    font-size: var(--text-xs);
    color: color-mix(in srgb, var(--profile-text) 55%, transparent);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 6px 14px;
    border-radius: 20px;
}

.profile-powered a {
    color: color-mix(in srgb, var(--profile-text) 70%, transparent);
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: var(--weight-medium);
}

.profile-powered a:hover {
    color: var(--profile-accent, var(--primary));
}

/* ═══ Profile Actions Bar ═══ */
.profile-actions-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: var(--space-xl) 0 var(--space-md);
    flex-wrap: wrap;
}
.pf-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--profile-border);
    background: color-mix(in srgb, var(--profile-card) 60%, transparent);
    color: color-mix(in srgb, var(--profile-text) 80%, transparent);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pf-action-btn:hover {
    border-color: var(--profile-border-hover);
    background: var(--profile-card-hover);
    color: var(--profile-text);
    transform: translateY(-1px);
}
.pf-action-btn--follow {
    background: color-mix(in srgb, var(--profile-accent) 15%, transparent);
    border-color: color-mix(in srgb, var(--profile-accent) 30%, transparent);
    color: var(--profile-accent);
}
.pf-action-btn--follow:hover {
    background: color-mix(in srgb, var(--profile-accent) 25%, transparent);
    border-color: color-mix(in srgb, var(--profile-accent) 45%, transparent);
}

/* ═══ Share Row ═══ */
.profile-share-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-lg);
    animation: fadeSlideUp 0.3s ease;
}
.pf-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--profile-border);
    background: color-mix(in srgb, var(--profile-card) 50%, transparent);
    color: color-mix(in srgb, var(--profile-text) 70%, transparent);
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pf-share-btn:hover { transform: translateY(-2px); }
.pf-share--x:hover { background: rgba(0,0,0,0.8); color: #fff; border-color: rgba(255,255,255,0.15); }
.pf-share--wa:hover { background: rgba(37,211,102,0.15); color: #25D366; border-color: rgba(37,211,102,0.3); }
.pf-share--tg:hover { background: rgba(38,165,224,0.15); color: #26A5E0; border-color: rgba(38,165,224,0.3); }
.pf-share--mail:hover { background: color-mix(in srgb, var(--profile-accent) 15%, transparent); color: var(--profile-accent); border-color: color-mix(in srgb, var(--profile-accent) 30%, transparent); }

/* ═══ Updated Timestamp ═══ */
.profile-updated {
    font-size: 0.7rem;
    color: color-mix(in srgb, var(--profile-text) 35%, transparent);
    margin-bottom: var(--space-sm);
    font-family: 'Inter', sans-serif;
}

/* Theme Toggle Button */
.profile-theme-toggle {
    position: fixed;
    top: 16px;
    right: 52px;
    z-index: 100;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--profile-border);
    background: color-mix(in srgb, var(--profile-card) 80%, transparent);
    color: color-mix(in srgb, var(--profile-text) 60%, transparent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s;
}
.profile-theme-toggle:hover {
    color: var(--profile-text);
    border-color: var(--profile-border-hover);
    transform: scale(1.1);
}

/* Creator Level Badge on Profile */
.profile-level-badge {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    vertical-align: middle;
    margin-left: 4px;
}

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

/* ============================================
   Button Style Variants
   ============================================ */

/* Pill */
.btn-style-pill .profile-link-card {
    border-radius: 50px;
    padding-left: 28px;
    padding-right: 28px;
}
.btn-style-pill .profile-link-icon { border-radius: 50%; }
.btn-style-pill .profile-social-icon { border-radius: 50%; }
.btn-style-pill .profile-announcement { border-radius: 50px; }
.btn-style-pill .profile-contact-btn { border-radius: 50px; }

/* Square */
.btn-style-square .profile-link-card { border-radius: 6px; }
.btn-style-square .profile-link-icon { border-radius: 4px; }
.btn-style-square .profile-social-icon { border-radius: 6px; }
.btn-style-square .profile-announcement { border-radius: 6px; }
.btn-style-square .profile-contact-btn { border-radius: 6px; }

/* Outline */
.btn-style-outline .profile-link-card {
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--profile-border) 80%, var(--profile-accent));
    box-shadow: none;
}
.btn-style-outline .profile-link-card:hover {
    background: color-mix(in srgb, var(--profile-accent) 6%, var(--profile-card));
    border-color: color-mix(in srgb, var(--profile-accent) 50%, transparent);
    box-shadow: 0 0 28px color-mix(in srgb, var(--profile-accent) 14%, transparent);
}
.btn-style-outline .profile-link-card.highlighted {
    border-color: color-mix(in srgb, var(--profile-accent) 50%, transparent);
    background: transparent;
}
.btn-style-outline .profile-link-card.highlighted:hover {
    background: color-mix(in srgb, var(--profile-accent) 8%, var(--profile-card));
}

/* Glass */
.btn-style-glass .profile-link-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 4px 18px rgba(0, 0, 0, 0.1);
}
.btn-style-glass .profile-link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-style-glass .profile-social-icon {
    background: color-mix(in srgb, var(--_brand) 8%, rgba(255,255,255,0.04));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: color-mix(in srgb, var(--_brand) 14%, transparent);
}

/* Neon */
.btn-style-neon .profile-link-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 30%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--profile-accent) 8%, transparent);
}
.btn-style-neon .profile-link-card:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 65%, transparent);
    box-shadow:
        0 0 18px color-mix(in srgb, var(--profile-accent) 22%, transparent),
        0 0 45px color-mix(in srgb, var(--profile-accent) 10%, transparent),
        inset 0 0 28px color-mix(in srgb, var(--profile-accent) 5%, transparent);
}
.btn-style-neon .profile-social-icon {
    border-color: color-mix(in srgb, var(--_brand) 30%, transparent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--_brand) 12%, transparent);
}
.btn-style-neon .profile-social-icon:hover {
    border-color: color-mix(in srgb, var(--_brand) 60%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--_brand) 35%, transparent),
                0 0 44px color-mix(in srgb, var(--_brand) 15%, transparent);
}

/* Gradient */
.btn-style-gradient .profile-link-card {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 14%, var(--profile-card)),
        color-mix(in srgb, var(--profile-secondary) 10%, var(--profile-card))
    );
    border-color: color-mix(in srgb, var(--profile-accent) 14%, transparent);
}
.btn-style-gradient .profile-link-card:hover {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 22%, var(--profile-card)),
        color-mix(in srgb, var(--profile-secondary) 16%, var(--profile-card))
    );
    border-color: color-mix(in srgb, var(--profile-accent) 28%, transparent);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--profile-accent) 14%, transparent);
}
.btn-style-gradient .profile-link-card.highlighted {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 22%, var(--profile-card)),
        color-mix(in srgb, var(--profile-secondary) 18%, var(--profile-card))
    );
}

/* ============================================
   Per-Block Width Classes
   ============================================ */
.blk.blk-width-wide { width: 80%; margin-left: auto; margin-right: auto; }
.blk.blk-width-compact { width: 60%; margin-left: auto; margin-right: auto; }

/* ============================================
   Per-Block Button Color (custom color override)
   ============================================ */
/* Default style: custom color as subtle accent (not full background) */
.blk[style*="--btn-color"] .profile-link-card {
    background: color-mix(in srgb, var(--btn-color) 10%, var(--profile-card));
    border-color: color-mix(in srgb, var(--btn-color) 25%, transparent);
    color: var(--profile-text);
}
.blk[style*="--btn-color"] .profile-link-card:hover {
    background: color-mix(in srgb, var(--btn-color) 18%, var(--profile-card));
    border-color: color-mix(in srgb, var(--btn-color) 40%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--btn-color) 20%, transparent);
}
.blk[style*="--btn-color"] .profile-link-title,
.blk[style*="--btn-color"] .profile-link-arrow { color: var(--profile-text); }
.blk[style*="--btn-color"] .profile-link-icon {
    background: color-mix(in srgb, var(--btn-color) 15%, transparent);
    color: var(--btn-color);
}
.blk[style*="--btn-color"] .profile-contact-btn {
    background: color-mix(in srgb, var(--btn-color) 10%, var(--profile-card));
    border-color: color-mix(in srgb, var(--btn-color) 25%, transparent);
    color: var(--profile-text);
}
.blk[style*="--btn-color"] .profile-contact-btn:hover {
    background: color-mix(in srgb, var(--btn-color) 18%, var(--profile-card));
    transform: translateY(-2px);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--btn-color) 40%, transparent);
}

/* Outline style with custom color */
.blk-style-outline[style*="--btn-color"] .profile-link-card {
    background: transparent;
    border: 1.5px solid var(--btn-color);
    color: var(--btn-color);
    box-shadow: none;
}
.blk-style-outline[style*="--btn-color"] .profile-link-card:hover {
    background: color-mix(in srgb, var(--btn-color) 10%, transparent);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--btn-color) 20%, transparent);
}
.blk-style-outline[style*="--btn-color"] .profile-link-title,
.blk-style-outline[style*="--btn-color"] .profile-link-arrow { color: var(--btn-color); }
.blk-style-outline[style*="--btn-color"] .profile-link-icon {
    background: color-mix(in srgb, var(--btn-color) 12%, transparent);
    color: var(--btn-color);
}
.blk-style-outline[style*="--btn-color"] .profile-contact-btn {
    background: transparent;
    border: 1.5px solid var(--btn-color);
    color: var(--btn-color);
}
.blk-style-outline[style*="--btn-color"] .profile-contact-btn:hover {
    background: color-mix(in srgb, var(--btn-color) 10%, transparent);
}

/* Glass style with custom color tint */
.blk-style-glass[style*="--btn-color"] .profile-link-card {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--btn-color) 12%, rgba(255,255,255,0.06)),
        rgba(255,255,255,0.03));
    border-color: color-mix(in srgb, var(--btn-color) 20%, rgba(255,255,255,0.12));
}
.blk-style-glass[style*="--btn-color"] .profile-contact-btn {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--btn-color) 12%, rgba(255,255,255,0.06)),
        rgba(255,255,255,0.03));
    border-color: color-mix(in srgb, var(--btn-color) 20%, rgba(255,255,255,0.12));
}

/* Neon style with custom color glow */
.blk-style-neon[style*="--btn-color"] .profile-link-card {
    border-color: color-mix(in srgb, var(--btn-color) 50%, transparent);
    box-shadow:
        0 0 12px color-mix(in srgb, var(--btn-color) 20%, transparent),
        0 0 30px color-mix(in srgb, var(--btn-color) 10%, transparent);
}
.blk-style-neon[style*="--btn-color"] .profile-link-card:hover {
    border-color: color-mix(in srgb, var(--btn-color) 80%, transparent);
    box-shadow:
        0 0 20px color-mix(in srgb, var(--btn-color) 35%, transparent),
        0 0 50px color-mix(in srgb, var(--btn-color) 18%, transparent);
}
.blk-style-neon[style*="--btn-color"] .profile-link-title {
    text-shadow: 0 0 12px color-mix(in srgb, var(--btn-color) 40%, transparent);
}
.blk-style-neon[style*="--btn-color"] .profile-contact-btn {
    border-color: color-mix(in srgb, var(--btn-color) 50%, transparent);
    box-shadow:
        0 0 12px color-mix(in srgb, var(--btn-color) 20%, transparent),
        0 0 30px color-mix(in srgb, var(--btn-color) 10%, transparent);
}
.blk-style-neon[style*="--btn-color"] .profile-contact-btn:hover {
    border-color: color-mix(in srgb, var(--btn-color) 80%, transparent);
    box-shadow:
        0 0 20px color-mix(in srgb, var(--btn-color) 35%, transparent),
        0 0 50px color-mix(in srgb, var(--btn-color) 18%, transparent);
}

/* ============================================
   Per-Block Button Styles (override global)
   ============================================ */

/* Filled — voller Accent-BG, weiß, 3D */
/* Filled + custom color: full bg, text follows profile text color */
.blk-style-filled[style*="--btn-color"] .profile-link-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--btn-color) 85%, white), var(--btn-color));
    border-color: transparent;
    color: var(--profile-text);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--btn-color) 35%, transparent), inset 0 1px 0 rgba(255,255,255,0.2);
}
.blk-style-filled[style*="--btn-color"] .profile-link-title,
.blk-style-filled[style*="--btn-color"] .profile-link-arrow { color: var(--profile-text); }
.blk-style-filled[style*="--btn-color"] .profile-link-icon {
    background: color-mix(in srgb, var(--profile-text) 15%, transparent);
    color: var(--profile-text);
}
.blk-style-filled[style*="--btn-color"] .profile-link-card:hover {
    background: linear-gradient(145deg, color-mix(in srgb, var(--btn-color) 95%, white), color-mix(in srgb, var(--btn-color) 90%, black));
    box-shadow: 0 8px 25px color-mix(in srgb, var(--btn-color) 45%, transparent), inset 0 1px 0 rgba(255,255,255,0.25);
}
/* Filled without custom color: accent bg, profile text color */
.blk-style-filled .profile-link-card {
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--profile-accent) 85%, white),
        var(--profile-accent));
    border-color: transparent;
    color: var(--profile-text);
    box-shadow:
        0 4px 14px color-mix(in srgb, var(--profile-accent) 35%, transparent),
        0 1px 3px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
.blk-style-filled .profile-link-card:hover {
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--profile-accent) 95%, white),
        color-mix(in srgb, var(--profile-accent) 90%, black));
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px color-mix(in srgb, var(--profile-accent) 45%, transparent),
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
.blk-style-filled .profile-link-title,
.blk-style-filled .profile-link-arrow { color: var(--profile-text); }
.blk-style-filled .profile-link-icon {
    background: color-mix(in srgb, var(--profile-text) 15%, transparent);
    color: var(--profile-text);
}
.blk-style-filled .profile-contact-btn {
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--profile-accent) 85%, white),
        var(--profile-accent));
    border-color: transparent;
    color: var(--profile-text);
    box-shadow:
        0 4px 14px color-mix(in srgb, var(--profile-accent) 35%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
.blk-style-filled .profile-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px color-mix(in srgb, var(--profile-accent) 45%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Outline — transparenter BG, farbiger Rand */
.blk-style-outline .profile-link-card {
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--profile-accent) 55%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--profile-accent) 8%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.03);
}
.blk-style-outline .profile-link-card:hover {
    background: color-mix(in srgb, var(--profile-accent) 8%, transparent);
    border-color: color-mix(in srgb, var(--profile-accent) 75%, transparent);
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px color-mix(in srgb, var(--profile-accent) 18%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
.blk-style-outline .profile-contact-btn {
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--profile-accent) 55%, transparent);
    box-shadow: none;
}
.blk-style-outline .profile-contact-btn:hover {
    background: color-mix(in srgb, var(--profile-accent) 10%, transparent);
    border-color: color-mix(in srgb, var(--profile-accent) 75%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--profile-accent) 18%, transparent);
}

/* Glass — Glasmorphism mit Accent-Tint */
.blk-style-glass .profile-link-card {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 10%, rgba(255,255,255,0.06)),
        rgba(255,255,255,0.03));
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 15%, rgba(255,255,255,0.12));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -1px 0 rgba(255,255,255,0.03),
        0 4px 18px rgba(0,0,0,0.15);
}
.blk-style-glass .profile-link-card:hover {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 15%, rgba(255,255,255,0.1)),
        rgba(255,255,255,0.06));
    border-color: color-mix(in srgb, var(--profile-accent) 25%, rgba(255,255,255,0.2));
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 10px 35px rgba(0,0,0,0.22);
}
.blk-style-glass .profile-contact-btn {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 10%, rgba(255,255,255,0.06)),
        rgba(255,255,255,0.03));
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 15%, rgba(255,255,255,0.12));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 4px 18px rgba(0,0,0,0.15);
}
.blk-style-glass .profile-contact-btn:hover {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--profile-accent) 15%, rgba(255,255,255,0.1)),
        rgba(255,255,255,0.06));
    border-color: color-mix(in srgb, var(--profile-accent) 25%, rgba(255,255,255,0.2));
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 10px 35px rgba(0,0,0,0.22);
}

/* Neon — dunkler BG, leuchtender Glow */
.blk-style-neon .profile-link-card {
    background: rgba(0,0,0,0.5);
    border: 1.5px solid color-mix(in srgb, var(--profile-accent) 50%, transparent);
    box-shadow:
        0 0 12px color-mix(in srgb, var(--profile-accent) 20%, transparent),
        0 0 30px color-mix(in srgb, var(--profile-accent) 10%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
.blk-style-neon .profile-link-card:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 80%, transparent);
    transform: translateY(-2px);
    box-shadow:
        0 0 20px color-mix(in srgb, var(--profile-accent) 35%, transparent),
        0 0 50px color-mix(in srgb, var(--profile-accent) 18%, transparent),
        inset 0 0 30px color-mix(in srgb, var(--profile-accent) 8%, transparent);
}
.blk-style-neon .profile-link-title {
    text-shadow: 0 0 12px color-mix(in srgb, var(--profile-accent) 40%, transparent);
}
.blk-style-neon .profile-contact-btn {
    background: rgba(0,0,0,0.5);
    border: 1.5px solid color-mix(in srgb, var(--profile-accent) 50%, transparent);
    box-shadow:
        0 0 12px color-mix(in srgb, var(--profile-accent) 20%, transparent),
        0 0 30px color-mix(in srgb, var(--profile-accent) 10%, transparent);
}
.blk-style-neon .profile-contact-btn:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 80%, transparent);
    transform: translateY(-2px);
    box-shadow:
        0 0 20px color-mix(in srgb, var(--profile-accent) 35%, transparent),
        0 0 50px color-mix(in srgb, var(--profile-accent) 18%, transparent);
}

/* ── Social Card Style ── */
.blk-style-social .profile-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--profile-accent) 8%, rgba(20, 20, 35, 0.85));
    border: 1px solid color-mix(in srgb, var(--profile-accent) 15%, rgba(255, 255, 255, 0.06));
    border-radius: 14px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    justify-content: flex-start;
}
.blk-style-social .profile-link-card:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--profile-accent) 14%, rgba(25, 25, 40, 0.9));
    border-color: color-mix(in srgb, var(--profile-accent) 30%, rgba(255, 255, 255, 0.1));
    box-shadow:
        0 4px 12px color-mix(in srgb, var(--profile-accent) 15%, transparent),
        0 12px 32px rgba(0, 0, 0, 0.2);
}
.blk-style-social .blk-social-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--profile-accent) 85%, #fff), var(--profile-accent));
    color: #fff;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--profile-accent) 30%, transparent);
}
.blk-style-social .blk-social-icon svg {
    width: 20px;
    height: 20px;
}
.blk-style-social .blk-social-icon--emoji {
    font-size: 1.4rem;
    line-height: 1;
}
.blk-style-social .blk-social-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.blk-style-social .blk-social-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--profile-text, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blk-style-social .blk-social-desc {
    font-size: 0.75rem;
    color: color-mix(in srgb, var(--profile-accent) 60%, rgba(255, 255, 255, 0.5));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blk-style-social .blk-social-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-left: auto;
    transition: transform 0.2s;
}
.blk-style-social .profile-link-card:hover .blk-social-arrow {
    transform: translateX(3px);
    color: rgba(255, 255, 255, 0.5);
}

/* Social Card with custom color */
.blk-style-social[style*="--btn-color"] .profile-link-card {
    background: color-mix(in srgb, var(--btn-color) 10%, rgba(20, 20, 35, 0.85));
    border-color: color-mix(in srgb, var(--btn-color) 18%, rgba(255, 255, 255, 0.06));
}
.blk-style-social[style*="--btn-color"] .profile-link-card:hover {
    background: color-mix(in srgb, var(--btn-color) 16%, rgba(25, 25, 40, 0.9));
    border-color: color-mix(in srgb, var(--btn-color) 35%, rgba(255, 255, 255, 0.1));
    box-shadow:
        0 4px 12px color-mix(in srgb, var(--btn-color) 18%, transparent),
        0 12px 32px rgba(0, 0, 0, 0.2);
}
.blk-style-social[style*="--btn-color"] .blk-social-icon {
    background: linear-gradient(135deg, color-mix(in srgb, var(--btn-color) 85%, #fff), var(--btn-color));
    box-shadow: 0 2px 8px color-mix(in srgb, var(--btn-color) 30%, transparent);
}
.blk-style-social[style*="--btn-color"] .blk-social-desc {
    color: color-mix(in srgb, var(--btn-color) 55%, rgba(255, 255, 255, 0.5));
}

/* Social Card — hide default elements that conflict */
.blk-style-social .profile-link-icon,
.blk-style-social .profile-link-arrow {
    display: none;
}

/* ============================================
   Divider Block Styles
   ============================================ */
.blk-divider { text-align: center; }

/* Line */
.divider-line {
    border: none;
    border-top: 1px solid var(--divider-color, var(--profile-border, rgba(255,255,255,0.1)));
    margin: 0;
}

/* Dashed */
.divider-dashed {
    border: none;
    border-top: 2px dashed var(--divider-color, var(--profile-border, rgba(255,255,255,0.15)));
    margin: 0;
}

/* Dots */
.divider-dots {
    letter-spacing: 8px;
    opacity: 0.4;
    color: var(--divider-color, var(--profile-text, #fff));
    font-size: 1rem;
}

/* Gradient */
.divider-gradient {
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--divider-color, var(--profile-accent, rgba(255,255,255,0.3))) 50%,
        transparent);
}

/* Zigzag */
.divider-zigzag {
    color: var(--divider-color, var(--profile-border, rgba(255,255,255,0.15)));
    line-height: 0;
}
.divider-zigzag svg {
    width: 100%;
    height: 8px;
}

/* Space — invisible on public, visible in builder */
.divider-space {
    height: 1px;
}

/* Divider with custom color */
.blk-divider[style*="--divider-color"] .divider-dots {
    opacity: 0.7;
}

/* ============================================
   Age Gate
   ============================================ */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 8, 0.92);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ageGateFadeIn 0.4s ease-out;
}

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

.age-gate-card {
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(20, 20, 30, 0.95) 0%, rgba(10, 10, 16, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(122, 32, 65, 0.08);
    animation: ageGateCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Card shimmer */
.age-gate-shimmer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0.03) 55%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: ageGateShimmer 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Inner glow border */
.age-gate-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        160deg,
        rgba(122, 32, 65, 0.2) 0%,
        transparent 30%,
        transparent 70%,
        rgba(157, 78, 221, 0.12) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

@keyframes ageGateCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.age-gate-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.5;
}

.age-gate-orb--1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -40px;
    background: rgba(122, 32, 65, 0.15);
    animation: ageOrbFloat1 7s ease-in-out infinite;
}

.age-gate-orb--2 {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: -30px;
    background: rgba(157, 78, 221, 0.12);
    animation: ageOrbFloat2 8s ease-in-out infinite;
}

@keyframes ageOrbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-12px, 8px) scale(1.06); }
    66% { transform: translate(8px, -6px) scale(0.95); }
}
@keyframes ageOrbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -8px) scale(1.05); }
    66% { transform: translate(-6px, 5px) scale(0.96); }
}

.age-gate-content {
    position: relative;
    z-index: 2;
    padding: 36px 28px 28px;
    text-align: center;
}

.age-gate-shield {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(122, 32, 65, 0.14), rgba(157, 78, 221, 0.1));
    border: 1px solid rgba(122, 32, 65, 0.15);
    color: #ff4d7a;
    margin-bottom: 22px;
    animation: ageShieldPulse 3s ease-in-out infinite;
}

@keyframes ageShieldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(122, 32, 65, 0); }
    50% { box-shadow: 0 0 20px rgba(122, 32, 65, 0.15), 0 0 40px rgba(122, 32, 65, 0.05); }
}

.age-gate-shield-badge {
    position: absolute;
    bottom: -6px;
    right: -8px;
    background: linear-gradient(135deg, #7A2041, #D4A843);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(122, 32, 65, 0.4);
}

.age-gate-card h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: var(--weight-bold);
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

.age-gate-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.age-gate-buttons {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}

.age-gate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px 11px 16px;
    border-radius: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.age-gate-btn-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.age-gate-btn-text strong {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.age-gate-btn-text small {
    font-size: 0.66rem;
    opacity: 0.55;
    font-weight: 400;
}

.age-gate-btn svg {
    flex-shrink: 0;
}

.age-gate-btn--accept {
    background: linear-gradient(135deg, #7A2041 0%, #D4A843 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(122, 32, 65, 0.3), 0 0 0 1px rgba(122, 32, 65, 0.1);
}

.age-gate-btn--accept::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.age-gate-btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(122, 32, 65, 0.4), 0 0 0 1px rgba(122, 32, 65, 0.2);
}

.age-gate-btn--accept:active {
    transform: translateY(0);
}

.age-gate-btn--leave {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.age-gate-btn--leave:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
}

.age-gate-legal {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}

.age-gate-legal svg {
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.4;
}

/* ============================================
   In-App Browser Detection — Banner & Modal
   ============================================ */

/* ── Animations ── */
@keyframes inappSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes inappStepIn {
    from { opacity: 0; transform: translateX(-16px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes inappOrbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-15px, 10px) scale(1.05); }
    66% { transform: translate(10px, -8px) scale(0.95); }
}
@keyframes inappOrbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -10px) scale(1.08); }
    66% { transform: translate(-8px, 6px) scale(0.94); }
}
@keyframes inappShimmer {
    0% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes inappNumGlow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}
@keyframes inappFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes inappFloatDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@keyframes inappTargetPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}
@keyframes inappSonar {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes inappDashFlow {
    to { stroke-dashoffset: -22; }
}
@keyframes inappArrowFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes inappCheckPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ── Banner ── */
.inapp-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 13, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.inapp-banner.visible {
    transform: translateY(0);
}
.inapp-banner-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.inapp-banner-icon svg {
    width: 18px;
    height: 18px;
}
.inapp-banner-text {
    flex: 1;
    min-width: 0;
}
.inapp-banner-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 1px;
}
.inapp-banner-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.inapp-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.inapp-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.inapp-btn-copy:active {
    transform: scale(0.95);
}
.inapp-btn-copy svg {
    width: 14px;
    height: 14px;
}
.inapp-btn-copied {
    filter: brightness(1.2);
}
.inapp-btn-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.inapp-btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── Modal ── */
.inapp-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(4, 4, 8, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.inapp-modal.visible {
    opacity: 1;
}
.inapp-modal-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: linear-gradient(145deg, rgba(22, 22, 30, 0.96), rgba(12, 12, 18, 0.98));
    border: 1px solid; /* color set via inline style per-app */
    border-radius: 24px;
    padding: 36px 28px 28px;
    text-align: center;
    overflow: hidden;
    transform: scale(0.9) translateY(24px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.inapp-modal.visible .inapp-modal-card {
    transform: scale(1) translateY(0);
}

/* ── Decorative Orbs (brand-colored, animated) ── */
.inapp-modal-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
}
.inapp-modal-orb--1 {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
    animation: inappOrbDrift1 6s ease-in-out infinite;
}
.inapp-modal-orb--2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -40px;
    animation: inappOrbDrift2 7s ease-in-out infinite;
}

/* ── Card shimmer sweep ── */
.inapp-modal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.03) 55%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: inappShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* ── Card inner glow border ── */
.inapp-modal-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.12) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255,255,255,0.06) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* ── App Badge ── */
.inapp-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: inappSlideIn 0.5s ease 0.2s both;
}
.inapp-modal-badge-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inapp-modal-badge-icon svg {
    width: 18px;
    height: 18px;
}
.inapp-modal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}
.inapp-modal-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* ── Steps ── */
.inapp-steps {
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}
.inapp-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    position: relative;
    opacity: 0;
    animation: inappStepIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.inapp-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Connector line between steps */
.inapp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    bottom: -6px;
    width: 2px;
    height: 8px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.inapp-step-num {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Glow ring behind active step number */
.inapp-step:first-child .inapp-step-num::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    border: 1.5px solid;
    border-color: inherit;
    opacity: 0.35;
    animation: inappNumGlow 2s ease-in-out infinite;
}

.inapp-step--done .inapp-step-num {
    opacity: 0.7;
}
.inapp-step--done .inapp-step-num svg {
    animation: inappCheckPop 0.4s ease forwards;
    animation-delay: inherit;
}
.inapp-step-content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}
.inapp-step-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.inapp-step-text strong {
    font-weight: 700;
}
.inapp-step-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.76rem;
    margin-top: 2px;
}
.inapp-step--done {
    opacity: 0.6;
}
.inapp-step--done .inapp-step-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

/* ── Screen-Edge Arrow Indicator ── */
/* Arrow indicator (arrow line + pill label — floats) */
.inapp-screen-arrow {
    position: fixed;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    animation: inappArrowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* Tap Target — fixed in corner, half off-screen, pulses in place */
.inapp-arrow-ring {
    position: fixed;
    z-index: 10003;
    pointer-events: none;
    opacity: 0;
    animation: inappArrowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.inapp-arrow-ring-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ring-color) 0%, color-mix(in srgb, var(--ring-color) 55%, transparent) 50%, transparent 72%);
    animation: inappTargetPulse 2s ease-in-out infinite;
}
.inapp-arrow-ring-sonar {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 1.5px solid var(--ring-color);
    opacity: 0;
    animation: inappSonar 2s ease-out infinite;
}
.inapp-arrow-ring-sonar:nth-child(3) {
    animation-delay: 0.7s;
}

/* Ring positions — locked half off-screen */
.inapp-arrow-ring--top-right {
    top: -30px;
    right: 4px;
}
.inapp-arrow-ring--bottom-right {
    bottom: -30px;
    right: 4px;
}
.inapp-arrow-ring--bottom-center {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Curved arrow line */
.inapp-arrow-svg {
    width: 60px;
    height: 75px;
}
.inapp-arrow-svg--vertical {
    width: 34px;
}
.inapp-arrow-svg path[stroke-dasharray] {
    animation: inappDashFlow 1.2s linear infinite;
}

/* Pill label */
.inapp-arrow-pill {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ── Arrow Positions ── */
/* Top-right: Instagram, TikTok, Snapchat etc. */
.inapp-screen-arrow--top-right {
    top: 14px;
    right: 16px;
    animation: inappArrowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards,
               inappFloat 2.5s ease-in-out 1.3s infinite;
}
/* Bottom-right: Facebook */
.inapp-screen-arrow--bottom-right {
    bottom: 14px;
    right: 16px;
    animation: inappArrowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards,
               inappFloatDown 2.5s ease-in-out 1.3s infinite;
}
/* Bottom-center: X/Twitter, LINE */
.inapp-screen-arrow--bottom-center {
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    animation: inappArrowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards,
               inappFloatDown 2.5s ease-in-out 1.3s infinite;
}

/* ── Modal Buttons ── */
.inapp-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.inapp-btn-copy--full {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.inapp-btn-copy--full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.inapp-btn-copy--full:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.inapp-btn-copy--full:active {
    transform: scale(0.97);
}

/* ── Dismiss ── */
.inapp-dismiss-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.inapp-dismiss-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #9d4edd;
    cursor: pointer;
}
.inapp-dismiss-row label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.2s;
}
.inapp-dismiss-row:hover label {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .inapp-banner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 14px;
    }
    .inapp-banner-hint {
        white-space: normal;
    }
    .inapp-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .inapp-modal-card {
        padding: 28px 20px 22px;
        border-radius: 20px;
    }
    .inapp-modal h2 {
        font-size: 1.05rem;
    }
    .inapp-step {
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inapp-step { animation: none; opacity: 1; }
    .inapp-modal-orb { animation: none; }
    .inapp-modal-card::before { animation: none; }
    .inapp-step-num::after { animation: none; }
    .inapp-modal-badge { animation: none; opacity: 1; }
    .inapp-screen-arrow { animation: none; opacity: 1; }
    .inapp-arrow-ring-sonar { animation: none; }
    .inapp-arrow-ring-circle { animation: none; }
    .inapp-arrow-svg path { animation: none; }
    .inapp-banner { transition: none; }
    .inapp-modal { transition: none; }
    .inapp-modal-card { transition: none; }
}

/* ============================================
   Report Modal — Compact Inline Style
   ============================================ */
.report-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    animation: reportBackdropIn 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.report-modal.active { display: flex; }

.report-modal-card {
    background: rgba(18, 18, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: reportCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes reportCardPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.report-modal-header {
    padding: 16px 24px 10px;
    text-align: left;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ef4444;
}

.report-modal-icon svg {
    width: 16px;
    height: 16px;
}

.report-modal-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: 0;
}

.report-modal-desc {
    display: none;
}

.report-modal-body {
    padding: 8px 24px 4px;
}

.report-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.report-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 80px;
}

.report-textarea:focus {
    outline: none;
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.report-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: var(--text-xs);
}

.report-modal-footer {
    padding: 12px 24px 20px;
    display: flex;
    gap: 8px;
}

.report-modal-footer .btn {
    flex: 1;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: var(--text-sm);
}

.report-modal-footer .btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-modal-footer .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


/* ============================================
   Toast Notification
   ============================================ */
.profile-toast {
    position: fixed;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface-elevated);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    box-shadow: var(--shadow-xl);
    z-index: calc(var(--z-modal) + 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
}

.profile-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.profile-toast.toast-success {
    border-color: rgba(34, 197, 94, 0.3);
}

.profile-toast.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .profile-avatar-glow,
    .profile-bg-decor::before,
    .profile-bg-decor::after,
    .profile-bg-decor .side-dot,
    .profile-announcement-icon,
    .profile-link-card,
    .blk,
    .profile-info,
    .profile-socials,
    .profile-contact,
    .profile-announcement {
        animation: none !important;
    }

    .profile-link-card::after {
        display: none;
    }

    .profile-link-card.highlighted::before {
        animation: none !important;
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .profile-content { padding: 0 var(--space-md) var(--space-2xl); }
    .profile-link-card { padding: 13px 18px; width: 100%; }
    .profile-bio { max-width: 100%; }
    .age-gate-content { padding: 32px 24px 26px; }
    .report-modal-header { padding: var(--space-xl) var(--space-xl) var(--space-md); }
    .report-modal-body { padding: var(--space-lg) var(--space-xl); }
    .report-modal-footer { padding: var(--space-md) var(--space-xl) var(--space-xl); }
}

@media (max-width: 480px) {
    body.profile-body::before { display: none; }
    .profile-avatar,
    .profile-avatar-placeholder { width: 95px; height: 95px; font-size: 2rem; }
    .blk-avatar--heart .profile-avatar-wrap { width: 100px !important; height: 95px !important; }
    .profile-avatar-glow { width: 120px; height: 120px; }
    .profile-avatar-glow::after { display: none; }
    .profile-content { margin-top: -50px; padding: 0 var(--space-sm) var(--space-2xl); }
    .profile-display-name { font-size: var(--text-xl); }
    .profile-socials { gap: var(--space-sm); }
    .profile-social-icon { width: 40px; height: 40px; }
    .profile-link-card { padding: 12px 16px; gap: var(--space-sm); width: 100%; }
    .profile-link-card::after { display: none; }
    .profile-link-icon { width: 30px; height: 30px; font-size: 0.95rem; }
    .profile-link-title { font-size: var(--text-sm); }
    .age-gate { padding: 16px; }
    .age-gate-card { border-radius: 24px; }
    .age-gate-content { padding: 28px 20px 22px; }
    .age-gate-shield { width: 60px; height: 60px; border-radius: 16px; }
    .age-gate-card h2 { font-size: 1.15rem; }
    .age-gate-card p { font-size: 0.78rem; margin-bottom: 22px; }
    .age-gate-btn { padding: 12px 16px; gap: 12px; border-radius: 14px; }
    .age-gate-btn-text strong { font-size: 0.82rem; }
    .age-gate-btn-text small { font-size: 0.68rem; }
    .age-gate-legal { font-size: 0.6rem; margin-top: 18px; padding-top: 14px; }
    .report-modal-card { border-radius: var(--radius-xl); }
    .report-modal-footer { flex-direction: column; }
    .report-modal-footer .btn { width: 100%; }
}

/* ── Profile Theme Banner (from Landing Theme) ── */
.profile-theme-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-theme-banner .banner-line-1 {
    font-weight: 700;
}

.profile-theme-banner .banner-line-2 {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .profile-theme-banner {
        flex-direction: column;
        gap: 2px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ── Promo Banner ── */
.promo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.35);
}
.promo-banner__text1 {
    font-weight: 700;
    letter-spacing: -0.01em;
}
.promo-banner__text2 {
    opacity: 0.88;
    font-weight: 400;
}

/* Animation: Slide Up */
.promo-banner--slide-up {
    animation: promoBannerSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 1s;
}
@keyframes promoBannerSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Animation: Pulse */
.promo-banner--pulse {
    animation: promoBannerPulse 3s ease-in-out infinite;
}
@keyframes promoBannerPulse {
    0%, 100% { box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25); }
    50%      { box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(157, 78, 221, 0.15); }
}

/* Animation: Shimmer */
.promo-banner--shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: promoBannerShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes promoBannerShimmer {
    0%   { left: -100%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}

/* Animated Gradient Background */
.promo-banner--gradient {
    animation: promoBannerGradient 6s ease infinite;
    background-size: 600% 600% !important;
}
/* Combine slide-up + gradient */
.promo-banner--gradient.promo-banner--slide-up {
    animation: promoBannerSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both,
               promoBannerGradient 6s ease infinite;
    animation-delay: 1s, 0s;
}
/* Combine pulse + gradient */
.promo-banner--gradient.promo-banner--pulse {
    animation: promoBannerPulse 3s ease-in-out infinite,
               promoBannerGradient 6s ease infinite;
}
@keyframes promoBannerGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 600px) {
    .promo-banner {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 10px 16px;
        font-size: 0.78rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .promo-banner__text1,
    .promo-banner__text2 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── Featured Link Card: inherit all highlight styles from profile-link-card ── */
.blk-big-link-card.highlighted { position:relative;z-index:1;border-color:color-mix(in srgb,var(--profile-accent) 50%,transparent);overflow:hidden; }
.blk-big-link-card.highlighted::before { content:'';position:absolute;inset:-2px;border-radius:inherit;z-index:-1;pointer-events:none; }
.blk-big-link-card.highlight-glow { box-shadow:0 0 15px color-mix(in srgb,var(--profile-accent) 35%,transparent),0 0 40px color-mix(in srgb,var(--profile-accent) 18%,transparent);animation:hlGlow 2.5s ease-in-out infinite; }
.blk-big-link-card.highlight-glow::before { background:linear-gradient(90deg,var(--profile-accent),var(--profile-secondary,var(--profile-accent)),var(--profile-accent));background-size:200% 100%;animation:hlShimmer 3s linear infinite;opacity:0.6; }
.blk-big-link-card.highlight-pulse { animation:hlPulse 1.8s ease-in-out infinite; }
.blk-big-link-card.highlight-pulse::before { background:linear-gradient(135deg,var(--profile-accent),var(--profile-secondary,var(--profile-accent)));animation:hlPulseBorder 1.8s ease-in-out infinite; }
.blk-big-link-card.highlight-rainbow { animation:hlRainbowShadow 4s linear infinite; }
.blk-big-link-card.highlight-rainbow::before { background:conic-gradient(from var(--hl-angle,0deg),#ff0040,#ff8000,#ffff00,#00ff40,#00ffff,#0080ff,#8000ff,#ff0080,#ff0040);animation:hlRainbowSpin 3s linear infinite;opacity:0.7; }
.blk-big-link-card.highlight-neon { box-shadow:0 0 8px var(--profile-accent),0 0 20px color-mix(in srgb,var(--profile-accent) 50%,transparent),inset 0 0 12px color-mix(in srgb,var(--profile-accent) 15%,transparent);animation:hlNeonFlicker 3s ease-in-out infinite; }
.blk-big-link-card.highlight-neon::before { border:2px solid var(--profile-accent);background:transparent;opacity:0.8; }
.blk-big-link-card.highlight-shake { animation:hlShake 0.5s ease-in-out infinite; }
.blk-big-link-card.highlight-shake::before { background:linear-gradient(135deg,var(--profile-accent),var(--profile-secondary,var(--profile-accent)));animation:hlPulseBorder 1s ease-in-out infinite; }
