.lore-tooltip-term {
    color: inherit;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
    cursor: help;
    position: relative;
    font-weight: inherit;
    transition: border-bottom-color 0.3s ease;
}

.lore-tooltip-term:hover {
    border-bottom-color: rgba(0, 0, 0, 0.6);
}

/* Tooltip Container */
.lore-tooltip-box {
    position: fixed;
    z-index: 9999;
    width: 300px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.lore-tooltip-box.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lore-tooltip-content {
    display: flex;
    flex-direction: column;
}

.lore-tooltip-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.lore-tooltip-text {
    padding: 15px;
}

.lore-tooltip-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.lore-tooltip-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

/* Mobile & Tablet responsiveness */
@media (max-width: 768px) {
    .lore-tooltip-box {
        width: calc(100vw - 40px);
        left: 20px !important;
        bottom: 20px !important;
        top: auto !important;
        transform: translateY(100%);
    }

    .lore-tooltip-box.is-active {
        transform: translateY(0);
    }
}