:root {
    --bg-dark: #0a0816;
    --bg-sidebar: rgba(13, 10, 29, 0.75);
    --bg-panel: rgba(20, 16, 38, 0.65);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.25);

    --primary: #a855f7;
    --primary-grad: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --primary-hover: #c084fc;
    --secondary: #ec4899;
    --accent: #3b82f6;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 40%);
}

/* Glassmorphism utility */
.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

/* App Layout - Centered Viewport Emulator */
.app-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.app-viewport {
    width: 100%;
    max-width: 480px;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

/* Tab Views */
.tab-content-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Space for bottom nav bar */
}

/* View Header */
.view-header {
    margin-bottom: 16px;
}
.view-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}
.view-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 8, 22, 0.85);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 12px;
    z-index: 10;
}

.nav-item {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    flex-grow: 1;
    height: 100%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 10px;
    font-weight: 500;
}

.nav-item i {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.nav-item:hover {
    color: var(--text-muted);
}

.nav-item.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.nav-item.active i {
    transform: scale(1.12);
    color: var(--secondary);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-container h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s infinite alternate;
}

.sidebar-section {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.sidebar-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Inputs & Form Controls */
.form-group {
    margin-bottom: 12px;
}

.form-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.select-control,
.input-control,
.textarea-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.select-control:focus,
.input-control:focus,
.textarea-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--border-glow);
    background: rgba(255, 255, 255, 0.08);
}

.select-control option {
    background: #0f0d23;
    color: var(--text-main);
}

.textarea-control {
    resize: none;
    height: 80px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-grad);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

/* User Selection Row */
.user-select-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Scrollable Container for Companion List */
.companion-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.companion-list::-webkit-scrollbar {
    width: 4px;
}

.companion-list::-webkit-scrollbar-track {
    background: transparent;
}

.companion-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.companion-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Companion Card */
.companion-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
}

.companion-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.companion-card.active {
    background: rgba(168, 85, 247, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--border-glow);
}

.btn-delete-companion:hover {
    opacity: 1 !important;
    background: rgba(239, 68, 68, 0.15) !important;
    transform: scale(1.1);
}

.companion-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.companion-info {
    flex-grow: 1;
}

.companion-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.companion-role-badge {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
}

.companion-card-stats {
    display: flex;
    gap: 8px;
    font-size: 11px;
    margin-top: 6px;
    color: var(--text-muted);
}

/* Main Chat Area */
.chat-main {
    flex-grow: 1;
    height: 100%;
    background: var(--bg-panel);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
}

.empty-state h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
    font-size: 14px;
}

/* Chat Header */
.chat-header {
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 10, 29, 0.4);
}

.header-companion-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-info h3 {
    font-size: 16px;
    font-weight: 600;
}

.header-status-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.badge-role {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-relationship {
    background: rgba(236, 72, 153, 0.2);
    color: #fbcfe8;
    border: 1px solid rgba(236, 72, 153, 0.3);
}



/* Chat Messages Box */
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Message Bubble */
.message-row {
    display: flex;
    width: 100%;
}

.message-row.user,
.message-row.usuario {
    justify-content: flex-end;
}

.message-row.companion,
.message-row.companheiro {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 65%;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: messageSlideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.message-row.user .message-bubble,
.message-row.usuario .message-bubble {
    background: var(--primary-grad);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.message-row.companion .message-bubble,
.message-row.companheiro .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 6px;
    text-align: right;
    display: block;
}

.message-row.user .message-time,
.message-row.usuario .message-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Chat Footer / Input Panel */
.chat-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(13, 10, 29, 0.3);
}

.input-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--border-glow);
    background: rgba(255, 255, 255, 0.08);
}

.btn-send {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-grad);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-send:active {
    transform: scale(0.95);
}

/* Typing Indicator */
.typing-row {
    display: flex;
    justify-content: flex-start;
    padding-left: 24px;
    margin-bottom: 12px;
}

.typing-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

/* Floating Attributes Change Notification */
.floating-notif-container {
    position: absolute;
    top: 90px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    z-index: 100;
}

.floating-notif {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: notifSlideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards,
        notifFadeOut 0.4s 2.6s ease forwards;
}



.notif-status-change {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Modal Overlay for Creating Users */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0f0d23;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 400px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes notifSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notifFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Login Overlay Screen */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0.95) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.login-card {
    max-width: 420px;
    width: 90%;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-logo h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.login-logo p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.heart-pulse {
    font-size: 44px;
    animation: heartPulse 1.8s infinite ease-in-out;
    display: inline-block;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.login-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.login-section h3 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.login-user-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

.login-user-list::-webkit-scrollbar {
    width: 4px;
}

.login-user-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.login-user-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-user-card:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(4px);
}

.login-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 13px;
}

.login-user-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-divider:not(:empty)::before {
    margin-right: .8em;
}

.login-divider:not(:empty)::after {
    margin-left: .8em;
}



/* ================= DATING APP INTERFACE ================= */
.discovery-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    height: 100%;
    overflow-y: auto;
}

.discovery-header-info {
    text-align: center;
    margin-bottom: 24px;
}

.discovery-header-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.discovery-header-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Tinder-like Profile Card */
.dating-app-card {
    width: 100%;
    max-width: 360px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(25, 20, 50, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(20px);
}

.dating-card-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--text-dim);
}

.heart-pulse-icon {
    font-size: 48px;
    animation: heartPulse 1.5s infinite;
}

.dating-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Profile Cover / Header image placeholder */
.profile-cover {
    height: 220px;
    position: relative;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
    display: flex;
    align-items: flex-end;
}

.profile-avatar {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-grad);
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.profile-cover-overlay {
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(10, 8, 22, 0.9) 0%, rgba(10, 8, 22, 0.4) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.profile-name {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.profile-age {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-gender-dating {
    align-self: flex-start;
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Profile Details & Attributes */
.profile-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.profile-bio {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    font-style: italic;
    border-left: 2px solid var(--primary);
    padding-left: 10px;
}

.profile-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attr-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.attr-badge i {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}

/* Floating Action Buttons */
.profile-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 24px 24px;
}

.btn-action-skip,
.btn-action-match {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-action-skip {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
}

.btn-action-skip:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    transform: scale(1.1);
}

.btn-action-match {
    width: 60px;
    height: 60px;
    background: var(--primary-grad);
    color: white;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
}

.btn-action-match:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.5);
}

.btn-action-match i {
    width: 24px;
    height: 24px;
    animation: heartPulse 1.5s infinite alternate;
}

/* Mobile responsive navigation details */
@media (max-width: 991px) {
    .mobile-discovery-header {
        display: flex !important;
    }
    .discovery-stage {
        padding-top: 80px; /* space for header */
        justify-content: flex-start;
    }
}

.pref-btn.active {
    background: var(--primary-grad) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}