@charset "UTF-8";
/* profile.css - Public Profile Specific Styles */

.public-profile {
    overflow: hidden;
    /* Prevent scroll until entered */
    height: 100vh;
}

/* 
 * Click to Enter Overlay
 * Needs to look premium, blurred, and fade out smoothly.
 */
.enter-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity var(--dur-slow) var(--ease-smooth), backdrop-filter var(--dur-slow);
}

.enter-screen p {
    font-size: var(--font-lg);
    font-weight: 500;
    letter-spacing: 2px;
    animation: breathing 3s infinite ease-in-out;
}

@keyframes breathing {
    0% {
        opacity: 0.4;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
}

/* 
 * Profile Content Reveal wrapper 
 */
.hidden-until-enter {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
}

.entered .hidden-until-enter {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.preview-inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-4);
    position: relative;
    z-index: 10;
}

.entered .public-profile {
    overflow-y: auto;
}

/* 
 * Particles Layer 
 */
.particle-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* View Counter */
.view-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-4);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--c-border);
    font-size: var(--font-xs);
    color: var(--c-text-secondary);
    backdrop-filter: blur(10px);
}

/* Audio Toggle Position */
.audio-toggle {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--c-border);
    color: var(--c-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all var(--dur-fast) var(--ease-snappy);
}

.audio-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.audio-toggle.muted svg {
    opacity: 0.5;
}

/*
 * Verification Layer Visual Priority
 * Profile cards with verified badge have an extra subtle glow 
 * that non-verified users cannot replicate.
 */
.profile-card.priority-verified {
    box-shadow: 0 0 40px rgba(29, 161, 242, 0.15), var(--shadow-lg);
    border-color: rgba(29, 161, 242, 0.3);
}

/* ===== Premium SVG Badges ===== */
.badges-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: inherit;
    margin-bottom: var(--space-2);
}

.badge-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    cursor: pointer;
    /* Change to pointer to hint interactivity */
}

/* Premium Badge Tooltip */
.badge-icon::after {
    content: attr(data-badge-name);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.95);
    background: rgba(20, 20, 23, 0.95);
    color: #e4e4e7;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.badge-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.badge-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.badge-icon:hover {
    transform: scale(1.2) translateY(-2px) !important;
    z-index: 10;
}

/* Rare Badge Animation */
.badge-anim-float {
    animation: premiumFloat 3s ease-in-out infinite;
}

@keyframes premiumFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 12px currentColor);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.badge-anim-float:hover {
    animation: none;
}

/* ===== Internal Card Layouts ===== */

/* Profile card width increase to allow horizontal layout */
.profile-card {
    position: relative;
    width: 650px;
    max-width: 95vw;
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: var(--space-4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s var(--ease-snappy);
    transform-style: preserve-3d;
    background: rgba(15, 15, 18, 0.6);
    /* Slightly darker/more premium glass */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Sophisticated border */
}

/* Premium Hover Lift effect */
.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.profile-card.layout-classic {
    text-align: center;
    align-items: center;
}

.profile-card.layout-classic .card-header {
    align-items: center;
}

.profile-card.layout-left {
    align-items: flex-start;
    text-align: left;
}

.profile-card.layout-left .card-header,
.profile-card.layout-left .card-body,
.profile-card.layout-left .card-footer {
    width: 100%;
}

.profile-card.layout-left .badges-wrapper {
    justify-content: flex-start;
}

.profile-card.layout-left .social-wrapper {
    justify-content: flex-start;
}

.profile-card.layout-minimal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-2);
}

.profile-card.layout-minimal .card-header {
    flex: 1;
    min-width: 50%;
}

.profile-card.layout-minimal .badges-wrapper {
    justify-content: flex-start;
    margin-bottom: 2px;
}

.profile-card.layout-minimal .card-body {
    flex-basis: 100%;
    order: 3;
    padding-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card.layout-minimal .card-footer {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-card.layout-minimal .social-wrapper {
    justify-content: flex-end;
    margin-top: 0;
}

/* Base text overrides */
.card-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Audio Toggle Override for nicer animation */
.audio-toggle {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audio-toggle:hover {
    transform: scale(1.15) rotate(10deg);
}

/* Mobile adjustments */
@media (max-width: 700px) {
    .profile-card {
        width: 100%;
        padding: var(--space-4);
    }
}