@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap');

body { 
    font-family: 'Outfit', sans-serif; 
    background-color: #f8fafc; 
    color: #1e293b; 
    overflow-x: hidden;
}

/* --- ANIMATIONS --- */
.fade-in { animation: fadeIn 0.4s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-enter { animation: dropIn 0.1s ease-out forwards; transform-origin: top right; }
@keyframes dropIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* New Popup Animation */
.popup-enter { animation: popupScale 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popupScale { 
    from { opacity: 0; transform: scale(0.9) translateY(20px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}

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

/* --- UTILS --- */
section { display: none; }
section.active { display: block; animation: fadeIn 0.3s ease-out; }

.mention-link { color: #9333ea; font-weight: bold; text-decoration: none; }
.mention-link:hover { text-decoration: underline; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Cropper */
.cropper-view-box, .cropper-face { border-radius: 12px; }
.crop-round .cropper-view-box, .crop-round .cropper-face { border-radius: 50%; }

/* Studio Tag Badge */
.studio-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    padding: 2px 6px 2px 2px; border-radius: 999px;
    margin-left: 6px; font-size: 10px; font-weight: 800;
    color: #475569; text-transform: uppercase;
    vertical-align: middle; cursor: pointer; transition: all 0.2s;
}
.studio-tag:hover { background: #e2e8f0; color: #1e293b; border-color: #cbd5e1; }
.studio-tag img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }

/* Markdown & Comments */
.markdown-body p { margin-bottom: 0.8em; line-height: 1.6; }
.markdown-body a { color: #9333ea; font-weight: 600; text-decoration: underline; }
.comment-reply { margin-left: 36px; padding-left: 12px; border-left: 2px solid #e2e8f0; }

/* Popup Overlay */
#popup-overlay {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.4);
}

